Hybrid Network with AWS Transit Gateway

An on-premises network reaches a global Direct Connect gateway through a transit virtual interface, then a regional Transit Gateway routes to application and shared-data VPC spokes.

Explore diagram

Explore on mobile. Create and edit manually or with AI on a computer.

Hybrid AWS network diagram with an on-premises data center, Direct Connect, a global Direct Connect gateway, regional Transit Gateway, and application and data VPC spokesExplore diagram

Hybrid AWS network diagram with an on-premises data center, Direct Connect, a global Direct Connect gateway, regional Transit Gateway, and application and data VPC spokes. Open the image to explore this ready-made diagram.

Overview

An on-premises network reaches AWS over Direct Connect. A transit virtual interface connects through a Direct Connect gateway to the regional Transit Gateway, which applies routing policy before traffic reaches separate application and data-service VPC spokes.

Components

  • AWS Direct Connect: A dedicated connection and transit virtual interface reach the globally scoped Direct Connect gateway.
  • AWS Transit Gateway: The regional hub connects the private circuit and multiple VPC attachments.
  • Application and data VPCs: Separate spokes create workload and policy boundaries while sharing the network hub.

Hybrid Routing Flow

  1. On-premises prefixes enter over Direct Connect and its transit virtual interface to the global Direct Connect gateway.
  2. Transit Gateway evaluates attachment and route-table policy for each destination.
  3. Approved traffic reaches the application or shared data services spoke VPC.

Customize First

  • Add redundant Direct Connect locations and a tested VPN backup path.
  • Separate production, non-production, inspection, and shared-service route tables.
  • Plan overlapping CIDR remediation before attaching acquired or legacy networks.

Related AWS guides

Use these practical explanations to compare services, failure boundaries, and operating tradeoffs before adapting the architecture.

Design rationale

Decisions that shape this architecture

1

Separate connectivity from VPC routing

Direct Connect provides the private circuit, while Transit Gateway handles attachments and route policy. Each layer can change without redesigning every VPC.

2

Use VPC spokes as blast-radius boundaries

Application and data services live in separate spokes so route tables and inspection policy can allow only required communication.

3

Centralize route intent

Transit Gateway route tables make shared services, segmentation, and propagation policy visible rather than relying on many independent peering relationships.

Before production

Operational checks

Use redundant Direct Connect connections in separate locations and test the backup path.

Monitor BGP sessions, route changes, packet loss, attachment health, and capacity.

Validate segmentation with route-table and firewall tests from every trust zone.

Maintain an address plan that prevents overlapping CIDRs across attached networks.

Scope and tradeoffs

What this diagram does not solve

One drawn connection is not a resilient design

Production connectivity normally needs redundant circuits, locations, customer devices, and a tested VPN or alternate path.

Transit Gateway does not inspect traffic by itself

Add an inspection VPC, firewalls, and explicit routing when policy requires traffic filtering beyond security groups and network ACLs.

Common questions

Frequently asked questions

Why use Transit Gateway instead of VPC peering?

Transit Gateway provides a central routing hub and scales operationally better when many VPCs and hybrid networks need controlled connectivity.

Does Direct Connect encrypt traffic?

A private circuit is not automatically end-to-end encryption. Use supported encryption options or an overlay such as IPsec when confidentiality requirements demand it.

Can this design span multiple Regions?

Yes. Regional Transit Gateways can be peered, but cross-Region routing, inspection, failure handling, and cost should be designed explicitly.

Keep exploring

Explore the library
Two-AZ AWS VPC diagram with a shared public Application Load Balancer, NAT gateways A and B, private application replicas, and RDS Multi-AZ
Getting Startedbasic

Public and Private Subnets in an AWS VPC

This VPC pattern makes exposure and availability decisions explicit. A shared ALB distributes traffic across private application capacity in two zones, each with independent NAT egress. RDS Multi-AZ provides a primary and synchronous standby in private data subnets. Security-group references restrict traffic between tiers; VPC endpoints, flow logs, route-table details, and scaling policies can be added around this baseline.

Explore the architecture
AWS web platform with Route 53, CloudFront, WAF, ALB, multi-AZ web and API fleets, zonal NAT gateways, ElastiCache, and distinct RDS primary, standby, and read replica
Web Applicationadvanced

Production-Grade Highly Available Web Platform on AWS

This reference expands the three-tier baseline with a global edge, separate scaling domains, caching, read scaling, and private egress. Secrets management, backup policies, and observability are important additions to design around the visible application path.

Explore the architecture
AWS database migration diagram with an on-premises source, AWS DMS, Application Load Balancer, ECS application, and Amazon Aurora
Migrationadvanced

Database Migration to Amazon Aurora with AWS DMS

This migration architecture separates continuous data replication from application traffic cutover. It helps teams reason about compatibility, target validation, replication lag, reconciliation, write freeze, rollback, and the exact moment Aurora becomes the production system of record.

Explore the architecture

Ready-made AWS diagram

Explore this AWS architecture

Open the diagram from this guide and explore how it works. Create and edit manually or with AI on a computer.

Explore diagram