jubel-han / shadowsocks-provider

Providing the containerized shadowsocks with kcptun enabled in seconds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shadowsocks Provider

Providing the containerized Shadowsocks with KCPTun enabled on AWS by the Terraform and Ansible in seconds.

prerequisite

  • AWS Account
  • Terraform installed
  • Ansible installed

Get started

Step One

Create the IAM Access Keys from AWS Management Console.

Step Two

  • Generate the your own SSH Key for accessing the EC2 instance
ssh-keygen -P '' -f ~/.ssh/aws_shadowsocks_ssh_key
  • Update the variables

Update the variables in terraform.tfvars accordingly.

  • Step Three

Initial and Apply the terraform state

terraform init
terraform apply

FAQ

Perform the ansible palybook manually if it is necessary.

ansible-playbook -i hosts site.yml -e "$(terraform output --json)"
ansible-playbook -i hosts provision.yml -e "$(terraform output --json)"

About

Providing the containerized shadowsocks with kcptun enabled in seconds.


Languages

Language:HCL 67.6%Language:Dockerfile 18.7%Language:Smarty 12.0%Language:Shell 1.6%