git clone https://github.com/jpolara2016/Terraform-GCP-Compute-Cluster.git
cd terraform_ecs
terraform init
terraform validate
terraform plan
terraform apply
- VPC Network
- High-availability (Multi-AZ deployment)
- Public Subnet (Internet access via IG)
- Private Subnet (Internet access via NAT Gateway)
- Hily Available NAT Gateway for each private subnet
- High-availability (Multi-AZ deployment)
- Security
- Firewall for Instances in Public Subnet
- Firewall for Instances in Private Subnet (Access from only Public Subnet)
- Firewall for SSH through IAP Tunnel
- Compute VM instance
- In Private & Public Subnet
terraform graph | dot -Tsvg > graph.svg
You can open graph.svg in any browser.