Terraform: Create VPC, Subnets, and EC2 instances in multiple availability zones
In this article, I will demonstrate how to create VPC, Subnets, EC2 instances, Internet gateway, NAT gateway, and Security groups using Terraform in two availability zones.
Architecture
Prerequisite
samarthgarde00.hashnode.dev5 min read