Skip to content

Overview

This site is an operational walkthrough companion that teaches platform engineers how to deploy, verify, and compare five independent AWS private cross-account connectivity patterns. Each pattern connects a Shared_Services_Account
Provider/hub AWS account accessed via the `shared-services` CLI profile — owns shared apps, endpoint services, TGW, Lattice networks, and the Cloud WAN core network.
(provider) to a Dev_Account
Consumer/spoke AWS account accessed via the `dev` CLI profile — hosts consumer VPCs, test EC2, endpoints, and attachments.
(consumer) using a different networking approach — from simple point-to-point peering to global multi-region Cloud WAN
AWS Cloud WAN — managed global L3 network with multi-region edges and segment-based isolation policies.
segmentation.

You will learn when to choose each pattern, how the account topology maps to your environment, and the exact apply, verification, and teardown sequence for each option. All Terraform code lives in the upstream demo repository
jajera/aws-private-connectivity-patterns-demo — Terraform for all five patterns; this site is the documentation companion only.
; this site documents how to run it safely.

This walkthrough is written for platform engineers, cloud network architects, and DevOps engineers who:

  • Manage multi-account AWS environments with separate provider and consumer accounts
  • Need hands-on experience comparing VPC Peering
    L3 point-to-point connection between two VPCs. Requires non-overlapping CIDRs, acceptance, and optional DNS resolution enablement.
    , PrivateLink
    AWS PrivateLink — L4 private connectivity via interface VPC endpoints to a provider endpoint service, without shared CIDR routing.
    , VPC Lattice
    AWS VPC Lattice — L7 service networking with service networks, discovery, routing, and auth policies shared across accounts via RAM.
    , Transit Gateway
    AWS Transit Gateway — regional L3 hub connecting many VPCs. Cross-account use needs RAM share, attachment acceptance, and routes.
    , and Cloud WAN
    AWS Cloud WAN — managed global L3 network with multi-region edges and segment-based isolation policies.
  • Are comfortable with AWS CLI profiles, Terraform, and Session Manager
    AWS Systems Manager Session Manager — interactive shell on private EC2 without SSH or bastions; used for curl verification in this walkthrough.
  • Want a repeatable lab workflow: deploy one pattern, verify connectivity, tear down, then try the next

You do not need prior experience with every pattern, but familiarity with VPCs, routing, and IAM is assumed.

After completing this walkthrough, you should be able to:

  1. Explain the trade-offs among all five patterns and recommend one for a given use case
  2. Deploy any single pattern end-to-end using the upstream Terraform roots
  3. Verify cross-account connectivity via Session Manager and HTTP checks
  4. Tear down resources in the correct order without orphaned dependencies
  5. Distinguish this documentation site from the upstream Terraform repository

This site does not:

  • Provide production-ready Terraform modules for your organization
  • Cover public internet connectivity, VPN, or Direct Connect patterns
  • Replace official AWS documentation for service configuration details
  • Support running multiple patterns simultaneously in the same accounts
  • Include infrastructure-as-code — all Terraform lives upstream
What this isWhat this is not
A documentation companion deployed as an Astro + Starlight site on GitHub PagesThe Terraform source repository
Step-by-step walkthroughs, architecture diagrams, and reference materialA one-click deploy button or managed lab environment
A documentation companion for the upstream Terraform demoA living substitute for the upstream repository
Safe to publish publicly using Placeholder_ID
Synthetic AWS identifier used in docs (e.g. `123456789012`, ARNs ending in EXAMPLE) instead of real account IDs or hostnames.
values only
A place to store real account IDs, ARNs, or credentials

All Terraform code, modules, and pattern roots live in the Upstream_Demo_Repo (jajera/aws-private-connectivity-patterns-demo). Clone that repository to apply infrastructure; use this site to understand and operate it.

PatternScopeComplexityPrimary use case
VPC PeeringSingle-regionLowPoint-to-point L3 connectivity between two VPCs with non-overlapping CIDR blocks.
PrivateLinkSingle-regionLowExpose a provider service to consumer VPCs without requiring CIDR coordination.
VPC LatticeSingle-regionMediumL7 service discovery, routing, and auth policies across VPCs and accounts.
Transit GatewaySingle-regionMediumHub-and-spoke routing connecting multiple VPCs through a central gateway.
Cloud WANMulti-regionHighGlobal multi-region routing with segment-based isolation and policy controls.