Creates an AWS user (and a group) for running the infrastructure Terraform code, which creates an EC2 instance for hosting the VPN server.
WARNING: not suitable for use in an automated pipeline.
Terraform is required to run the following instructions. It can be installed, or used from Docker.
# Always required:
export AWS_ACCESS_KEY_ID="AFG..."
export AWS_SECRET_ACCESS_KEY="ASR..."
# May be necessary:
export AWS_SESSION_TOKEN="WIo..."
terraform init
terraform apply
After running "terraform apply", the access keys (access key id and secret acess key) will be printed to the screen in clear text. The keys will also be stored in the local Terraform state files (it's recommended to delete these files to avoid unintended access). Use them to follow the README in the infrastructure folder, not the one in the terraform_backend folder.
terraform destroy