Prepare the environment
Deploy the DNS stack
The second template creates the Route 53 building blocks used in section 4.4:
- A private hosted zone named
s3.<region>.amazonaws.com, associated with VPC Cloud.
- A Route 53 Resolver inbound endpoint in VPC Cloud – it answers DNS queries that come from outside the VPC.
- A Route 53 Resolver outbound endpoint in VPC On-prem – it forwards selected DNS queries to another resolver.
- In the CloudFormation console choose Create stack → With new resources (standard), upload fcj-s3vpce-dns.yaml, name the stack fcj-s3vpce-dns and create it.
- The stack takes 3–5 minutes. You can continue with the next steps while it is being created.

The DNS template imports the VPC, subnet and security-group IDs exported by fcj-s3vpce-base, so you do not need to enter any parameters.
Route the on-premises network to VPC Cloud
The base stack already created the VPC peering connection (Hybrid link On-prem to Cloud) and the route from VPC Cloud back to 172.16.0.0/16. You now finish the “hybrid link” by adding the route on the on-premises side.
- Open VPC console → Route tables, select RT On-prem, open the Routes tab and choose Edit routes.

- Choose Add route:
- Destination:
10.10.0.0/16 (VPC Cloud)
- Target: Peering Connection →
pcx-... (Hybrid link On-prem to Cloud)
- Choose Save changes.

- The route
10.10.0.0/16 → pcx-... is Active.
