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
AWS account and AWS Access key and Secret key cre...
palak-bhawsar.hashnode.dev5 min read