Refer to Magic Castle Documentation for a complete step-by-step guide.
TL;DR:
- Export the following environment variables :
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY. - Download the latest release of Magic Castle for AWS.
- Unpack the release.
- Adapt the parameters in
main.tffile. - In a terminal, change your current directory to the directory containing
main.tf. - Initiate the Terraform state :
terraform init. - Verify the Terraform plan :
terraform plan. - Apply the Terraform plan :
terraform apply.
To tear down the cluster, call: terraform destroy.