In my case, I use t2.micro on AWS.
Make sure the security group is configured to allow incoming connection to port 28388
git clone https://github.com/litaxc/shadowsocks-server-setup.gitcd shadowsocks-server-setup
sh ./up.shsudo lsof -nPi | grep 28388