Terraform scripts to create a quick Outline VPN server (https://getoutline.org) in the cloud (AWS, Google (GCP), more to come). Can be trivially modified to work with other cloud providers.
-
For AWS, be sure your AWS profile is setup (i.e.,
$HOME/.aws/config
). -
For GCP, be sure to generate your
account.json
from Google Application Default Credentials or, more easily, simply login withgcloud auth application-default login
. -
For Azure, be sure you have the Azure CLI installed and complete an
az login
-
Create your SSH keys:
cd TerraformOutlineVPN
ssh-keygen -N '' -f ./certs/outline
-
In the cloud provider you're using, edit the region in
variables.tf
as needed (default is Canada). -
For GCP, be sure you've created a new project and noted it in
variables.tf
. -
cd to the cloud provider directory and perform a
terraform apply
.
- Finish client installation instructions
- Better use of variables and file hierarchy to allow for a single variables file and one place to execute the
apply
command. - Enable this repository to be used as a module.
- Fix Azure implementation to use API/metadata to retrieve external IP.