Quickly setup a Wireguard VPN on AWS.
- AWS
- Launch a EC2 instance.
- Connect to the instance and run the following commands.
sudo -i aws s3 cp s3://quick-vpn/setup.zip . unzip setup.zip ./setup.sh rm setup.zip setup.sh
- Download a key from from the S3 bucket created during setup. The name is the instances hostname.
- Import the key into your Wireguard client and activate the tunnel.
- Update the setup.sh installer script.
- Create a zip file and upload it to S3.
rm setup.zip zip setup.zip setup.sh 10-wireguard.conf vpnif.firewall-* aws s3 cp setup.zip s3://quick-vpn