Narlim / ali-terraform

create aliyun ecs for proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ali-terraform

create ali ecs for proxy

usage

$ terraform init

replace ssh public_key, access_key and secret_key

create resources:
$ terraform apply

get ecs ip address:
$ terraform show

delete all resources:
$ terraform destroy

base64 command

apt update && apt install shadowsocks-libev -y && sed -i 's/"::1", "127.0.0.1"/"0.0.0.0"/g; s/"password":.*/"password":"EvFREdGAz+kZdbykhZdj5w==",/g' /etc/shadowsocks-libev/config.json && systemctl restart shadowsocks-libev

About

create aliyun ecs for proxy


Languages

Language:HCL 100.0%