All exams← All AWS Certified Advanced Networking - Specialty notes

Hybrid Network Connectivity: AWS Certified Advanced Networking - Specialty revision notes

Revision notes

## 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:

  • Private VIF: Connects to a Virtual Private Gateway (VGW) or Direct Connect Gateway (DXGW) for private IP space communication with your VPCs.
  • Public VIF: Connects to AWS public services (e.g., S3, DynamoDB) using public IP addresses.
  • Transit VIF: Connects to a Direct Connect Gateway (DXGW) which is associated with one or more Transit Gateways (TGWs), allowing connectivity to multiple VPCs and VPNs attached to the TGW.

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.

Key facts

Flashcards

What is the primary benefit of AWS Direct Connect over Site-to-Site VPN?
Direct Connect provides a private, dedicated network connection with consistent network performance and lower latency, unlike VPN which uses the public internet.
tap to reveal
What are the three types of Virtual Interfaces (VIFs) used with AWS Direct Connect?
Private VIF (for VPCs/DXGW), Public VIF (for AWS public services), and Transit VIF (for Transit Gateway via DXGW).
tap to reveal
How can you achieve high availability for AWS Direct Connect?
By establishing multiple Direct Connect connections to different AWS Direct Connect locations and/or using multiple customer routers.
tap to reveal
What is the purpose of an AWS Direct Connect Gateway?
To connect multiple Direct Connect connections (from different locations) to multiple VPCs and/or Transit Gateways across different AWS regions.
tap to reveal
What AWS service acts as a central network hub for connecting VPCs, VPNs, and Direct Connect?
AWS Transit Gateway (TGW).
tap to reveal
How does AWS Route 53 Resolver support hybrid DNS resolution?
By using Inbound Endpoints (on-premises to AWS) and Outbound Endpoints (AWS to on-premises DNS).
tap to reveal
What is the primary use case for MACsec on a Direct Connect connection?
To provide Layer 2 encryption for data in transit over the Direct Connect dedicated connection, enhancing security.
tap to reveal
Practice questions

Hybrid Network Connectivity: 5 practice questions

Q1. A company has multiple VPCs in different AWS Regions that all need to access an on-premises data center via a single 10 Gbps AWS Direct Connect connection. Which AWS service is specifically designed to facilitate this multi-region connectivity over a single Direct Connect connection?
  • A.  Virtual Private Gateway
  • B.  Transit Gateway
  • C.  Direct Connect Gateway
  • D.  VPC Peering
Show answer & explanation
✓ Answer: C. Direct Connect Gateway
A Direct Connect Gateway is a global resource that allows you to use a single Direct Connect connection to access VPCs in any AWS Region (except AWS China Regions).
Q2. An organization is using an AWS Site-to-Site VPN connection attached to a Transit Gateway and needs to increase the total throughput beyond the ~1.25 Gbps limit of a single IPsec tunnel. How can they achieve higher aggregate bandwidth using the Transit Gateway?
  • A.  Enable Jumbo Frames on the Transit Gateway VPN attachment.
  • B.  Use an Accelerated Site-to-Site VPN connection.
  • C.  Configure Equal-Cost Multi-Path (ECMP) routing over multiple VPN connections.
  • D.  Attach a second Virtual Private Gateway to the Transit Gateway.
Show answer & explanation
✓ Answer: C. Configure Equal-Cost Multi-Path (ECMP) routing over multiple VPN connections.
Transit Gateway supports ECMP for VPN attachments. This allows you to load-balance traffic across multiple VPN tunnels to the same destination, increasing total throughput.
Q3. A network engineer is configuring a highly resilient AWS Direct Connect setup from two separate on-premises routers to two different AWS DX locations. To influence traffic leaving AWS and ensure one location is preferred, which BGP attribute should be manipulated on the routes advertised from the on-premises routers to AWS?
  • A.  MED (Multi-Exit Discriminator)
  • B.  AS_PATH Prepending
  • C.  Local Preference
  • D.  Community Tags
Show answer & explanation
✓ Answer: B. AS_PATH Prepending
To influence AWS's outbound routing decisions, you can use AS_PATH prepending. AWS prefers the path with the shorter AS_PATH. Prepending makes a path seem longer and thus less preferred.
Q4. A company needs to connect their on-premises network to an AWS Transit Gateway using AWS Direct Connect. Which type of Virtual Interface (VIF) must be created and attached to a Direct Connect Gateway to enable this connectivity?
  • A.  Private VIF
  • B.  Public VIF
  • C.  Transit VIF
  • D.  Hosted VIF
Show answer & explanation
✓ Answer: C. Transit VIF
A Transit VIF is the specific VIF type required to attach a Direct Connect connection to a Direct Connect Gateway, which can then be associated with one or more Transit Gateways.
Q5. Your AWS VPCs need to resolve DNS queries for hostnames in your on-premises data center (e.g., 'server.corp.local'). The data center is connected via Direct Connect. Which Route 53 Resolver configuration is required to forward these specific queries to your on-premises DNS servers?
  • A.  An inbound endpoint to receive queries, and a forwarding rule for the 'corp.local' domain.
  • B.  An outbound endpoint to send queries, and a forwarding rule for the 'corp.local' domain.
  • C.  A private hosted zone for 'corp.local' with records pointing to on-premises IP addresses.
  • D.  A public hosted zone for 'corp.local' associated with the VPC.
Show answer & explanation
✓ Answer: B. An outbound endpoint to send queries, and a forwarding rule for the 'corp.local' domain.
A Route 53 Resolver outbound endpoint sends DNS queries out of the VPC. A forwarding rule is then used to direct queries for a specific domain (e.g., 'corp.local') to your on-premises DNS servers.
Test yourself
See the AWS Certified Advanced Networking - Specialty page

More AWS Certified Advanced Networking - Specialty topics