Skip to content

FAQ

Choose based on connectivity scope, OSI layer, and CIDR constraints:

NeedRecommended pattern
Simplest cross-account service exposurePrivateLink
Point-to-point VPC-to-VPC with distinct CIDRsVPC Peering
L7 routing with service policiesVPC Lattice
Hub-and-spoke for many VPCs in one regionTransit Gateway
Multi-region global network with segmentsCloud WAN

See the Pattern Comparison page for OSI layer, cost drivers, and detailed trade-offs. Deploy one pattern at a time — each has independent Terraform state and CIDR allocations.

Cost increases with infrastructure footprint and data processing:

PatternRelative costPrimary cost drivers
VPC PeeringLowestFree same-region data transfer; no gateway hourly charges
PrivateLinkLow–mediumNLB, interface endpoint hourly charges, and data processing
VPC LatticeMediumService network associations and data processing per GB
Transit GatewayMediumTGW hourly charge, VPC attachments, and per-GB data processing
Cloud WANHighestCore network, edge locations, attachments, and multi-region data

Primary_Region (ap-southeast-2) is the default deployment region for four of the five patterns (VPC Peering, PrivateLink, VPC Lattice, and Transit Gateway). The upstream demo uses this region because:

  • It provides a consistent, single-region lab environment for comparing patterns fairly
  • All four single-region patterns share the same regional context, simplifying profile and output handoffs
  • Session Manager, NAT, and VPC resources are exercised in one well-understood region

Cloud WAN is the exception — it spans Cloud_WAN_Regions (ap-southeast-2, ap-southeast-6, ap-southeast-1) to demonstrate multi-region segment routing. Adapt regions to your organization; the walkthrough principles remain the same.

What is the relationship between this site and the upstream demo repo?

Section titled “What is the relationship between this site and the upstream demo repo?”
ComponentLocationContains
This sitejajera/aws-private-connectivity-patterns-walkthroughDocumentation, diagrams, walkthrough steps, reference pages
Upstream demojajera/aws-private-connectivity-patterns-demoAll Terraform modules, pattern roots, and local.env configuration

This site is the documentation companion. It explains architecture, apply order, verification, and teardown. The upstream repo is where you clone, configure local.env, and run terraform apply.

No — not in this walkthrough. Each pattern owns separate Terraform state, VPC CIDR blocks, and resource naming under terraform/patterns/<pattern-name>/. The recommended workflow is:

  1. Deploy one pattern (shared-services, then consumer)
  2. Verify connectivity
  3. Tear down (consumer first, then shared-services)
  4. Move to the next pattern

Running multiple patterns simultaneously increases cost, may cause resource conflicts in the consumer account, and defeats the purpose of isolated comparison.

Why does Cloud WAN RAM sharing use us-east-1?

Section titled “Why does Cloud WAN RAM sharing use us-east-1?”

The Cloud WAN core network is a global resource. AWS Resource Access Manager (RAM) requires shares of global resources — including Cloud WAN core networks — to be created and accepted in RAM_Region (us-east-1), regardless of where workload VPCs are deployed.