## Hybrid Network Connectivity
Hybrid network connectivity enables seamless integration between on-premises networks and AWS cloud environments. This is crucial for extending data centers, disaster recovery, and migrating workloads. Key services include AWS Direct Connect, Site-to-Site VPN, Transit Gateway, and Route 53 Resolver.
## AWS Direct Connect (DX)
AWS Direct Connect (DX) provides a dedicated, private network connection from your premises to AWS. This bypasses the public internet, offering consistent network performance, reduced bandwidth costs, and enhanced security. DX connections can be Dedicated Connections (1Gbps, 10Gbps, 100Gbps) or Hosted Connections (50Mbps to 10Gbps) provided by an AWS Direct Connect Partner.
DX uses Virtual Interfaces (VIFs) to define traffic types:
For resiliency and high availability, it's recommended to provision multiple DX connections to different AWS Direct Connect locations and/or using diverse customer routers. BGP communities can be used for traffic engineering and influencing routing decisions (e.g., local preference). MACsec (Media Access Control Security) provides Layer 2 encryption for dedicated Direct Connect connections, ensuring data confidentiality and integrity.
## AWS Site-to-Site VPN
AWS Site-to-Site VPN creates encrypted tunnels over the public internet between your on-premises network and your AWS VPCs. It's a cost-effective alternative or complement to Direct Connect. It uses IPsec for encryption and authentication. Components include a Customer Gateway (CGW) on your side and an AWS Virtual Private Gateway (VGW) or Transit Gateway (TGW) on the AWS side. For improved performance, Accelerated Site-to-Site VPN can leverage AWS Global Accelerator's global network.
## AWS Transit Gateway (TGW)
AWS Transit Gateway (TGW) acts as a central network hub, simplifying network architecture by connecting VPCs, VPNs, and Direct Connect connections. It eliminates the need for full mesh peering. TGW supports attachments for VPCs, VPNs, and Direct Connect Gateways. Routing domains within TGW allow for network segmentation and isolation. TGW also supports inter-region peering to connect TGWs in different AWS regions.
## Hybrid DNS with Route 53 Resolver
Amazon Route 53 Resolver provides hybrid DNS resolution. Inbound Endpoints allow on-premises DNS servers to forward queries to Route 53 Resolver for resolving AWS-hosted resources. Outbound Endpoints enable AWS resources to forward DNS queries to on-premises DNS servers for resolving on-premises resources.