Refer to Magic Castle Documentation for a complete step-by-step guide.
TL;DR:
- Install the Google Cloud SDK
- Login to your Google account :
gcloud auth application-default login
- Download the latest release of Magic Castle for Google Cloud.
- Unpack the release.
- Adapt the parameters in
main.tf
file. - 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
.