Infrastructure
Terraform is used to manage the infrastructure. If you don’t have that, you’ll need to install it.
You’ll need the following environment variables in your shell to run the Terraform plans:
CLOUDFLARE_API_TOKEN
DIGITALOCEAN_TOKEN
DOPPLER_TOKEN
TERRAFORM_OPTS="-var doppler_token=$DOPPLER_TOKEN"
Deploying
Previewing Changes
terraform plan $TERRAFORM_OPTS
Applying Changes
terraform apply $TERRAFORM_OPTS
Nuke From Orbit
terraform destroy $TERRAFORM_OPTS
Debugging
To get all values that are output by Terraform run:
$ terraform output
ip_address = "xxx.xxx.xxx.xxx"
SSH is available using the digital_ocean
key.
ssh -i ~/.ssh/digital_ocean root@<ip-address>