Setup
The setup phase gets your base infrastructure running on both clouds. After this, you’ll have a working VPC on AWS and GCP with compute instances ready, plus the Direct Connect Gateway waiting for the interconnect link.
What gets created
Section titled “What gets created”Roughly 20 resources across AWS and GCP:
- AWS: VPC, private subnet, Virtual Private Gateway, route table, EC2 instance (t3.micro), 3 VPC interface endpoints for SSM, DX Gateway + association
- GCP: VPC network, subnet, firewall rules (ICMP, SSH, IAP), GCE instance (e2-micro)
Steps in this section
Section titled “Steps in this section”- Configure variables — edit
terraform.tfvarswith your project details - Apply Terraform — create the base infrastructure
- GCP prep — enable the Network Connectivity API and service agent