All exams← All AWS Certified Advanced Networking - Specialty notes

Large-Scale Network Architectures: AWS Certified Advanced Networking - Specialty revision notes

Revision notes

## Large-Scale Network Architectures on AWS

Designing large-scale network architectures on AWS involves connecting numerous Virtual Private Clouds (VPCs), on-premises data centers, and providing global access while ensuring high performance, security, and cost-efficiency. AWS offers a suite of services to build robust and scalable networks.

## Centralized Connectivity with Transit Gateway

The AWS Transit Gateway (TGW) is a cornerstone for large-scale networks, acting as a central hub for connecting thousands of VPCs and on-premises networks. It simplifies network topology by eliminating complex full-mesh peering relationships. Key features include inter-region peering for global reach, multicast support, and flexible Transit Gateway route tables for granular traffic control. TGW integrates seamlessly with Direct Connect Gateway (DXGW), allowing multiple Direct Connect connections to access multiple VPCs and TGWs across different AWS Regions.

## Hybrid Connectivity and Global Performance

For hybrid cloud environments, Direct Connect (DX) provides dedicated private connections to AWS, offering consistent network performance. When combined with TGW and Site-to-Site VPN, it forms resilient hybrid architectures with built-in redundancy. To optimize global user experience, AWS Global Accelerator uses the AWS global network and anycast IP addresses to route traffic to the nearest healthy endpoint, improving application performance. Amazon Route 53 further enhances global reach with advanced routing policies like latency-based, geolocation, and weighted routing.

## Network Security and Segmentation

Implementing robust security is paramount. AWS Network Firewall provides a managed, highly available firewall service directly within your VPCs, offering intrusion prevention and web filtering. For integrating third-party network virtual appliances (e.g., firewalls, IDS/IPS) transparently, the Gateway Load Balancer (GWLB) acts as a single entry/exit point, simplifying appliance insertion and scaling. Effective network segmentation using multiple VPCs, Security Groups, and Network Access Control Lists (NACLs) is crucial for isolating workloads and limiting blast radius.

## Design Considerations

Key considerations for large-scale designs include scalability, resilience (e.g., multiple DX connections, VPN failover), cost optimization (data transfer costs), and automation using tools like AWS CloudFormation.

Key facts

Flashcards

What AWS service acts as a central hub for connecting thousands of VPCs and on-premises networks, simplifying network topology?
AWS Transit Gateway (TGW)
tap to reveal
Which AWS service allows a single Direct Connect connection to access multiple VPCs and Transit Gateways across different AWS Regions?
Direct Connect Gateway (DXGW)
tap to reveal
How does AWS Global Accelerator improve performance for global users?
By using anycast IP addresses and routing traffic over the AWS global network to the nearest healthy endpoint.
tap to reveal
Which AWS service provides a managed, highly available firewall directly within your VPCs for intrusion prevention and web filtering?
AWS Network Firewall
tap to reveal
What is the primary purpose of the Gateway Load Balancer (GWLB) in a large-scale architecture?
To transparently insert and scale third-party network virtual appliances (e.g., firewalls, IDS/IPS) into network traffic paths.
tap to reveal
What is a key limitation of VPC Peering that Transit Gateway overcomes in large-scale environments?
VPC Peering is non-transitive, meaning peered VPCs cannot communicate with other VPCs peered to the same central VPC without a direct peering relationship. TGW provides transitive routing.
tap to reveal
Name two advanced Amazon Route 53 routing policies beneficial for global application performance.
Latency-based routing and Geolocation routing.
tap to reveal
What are the three main AWS services typically combined to build a resilient hybrid cloud connectivity solution?
AWS Direct Connect, AWS Site-to-Site VPN, and AWS Transit Gateway.
tap to reveal
Practice questions

Large-Scale Network Architectures: 5 practice questions

Q1. A global enterprise has deployed separate AWS Transit Gateways (TGWs) in the `us-east-1` and `eu-west-1` regions. They need to enable full-mesh, private connectivity for all VPCs attached to both TGWs. What is the most scalable, AWS-native method to achieve this inter-region communication?
  • A.  Attach both Transit Gateways to a single Direct Connect Gateway.
  • B.  Establish a Transit Gateway peering connection between the two TGWs.
  • C.  Create a Site-to-Site VPN connection between the two Transit Gateways.
  • D.  Set up VPC peering between a designated 'hub' VPC in each region.
Show answer & explanation
✓ Answer: B. Establish a Transit Gateway peering connection between the two TGWs.
Transit Gateway peering is the specifically designed feature for connecting TGWs in different AWS regions, providing a scalable and high-bandwidth backbone for global network architectures.
Q2. A financial institution requires end-to-end encryption for their 10 Gbps AWS Direct Connect connection, including security at Layer 2 (the data link layer) to protect against threats like MAC spoofing. The connection is a dedicated one, terminating on a company-controlled router. Which Direct Connect feature should be implemented?
  • A.  An IPsec VPN tunnel configured over the public VIF.
  • B.  MACsec (Media Access Control Security) configured on the connection.
  • C.  AWS PrivateLink to encrypt traffic to specific AWS services.
  • D.  A Transit VIF with jumbo frames enabled for higher throughput.
Show answer & explanation
✓ Answer: B. MACsec (Media Access Control Security) configured on the connection.
MACsec (IEEE 802.1AE) provides point-to-point security at Layer 2, encrypting data between the customer's router and the AWS Direct Connect location. This meets the requirement for data link layer encryption.
Q3. A company hosts a real-time, multi-player gaming application on EC2 instances behind a Network Load Balancer. The application uses a custom UDP-based protocol. Players across the globe are experiencing high latency and jitter. Which AWS service is best suited to improve performance by routing player traffic over the AWS global network?
  • A.  Amazon CloudFront with a custom origin.
  • B.  AWS Global Accelerator.
  • C.  Amazon Route 53 with a latency-based routing policy.
  • D.  An Accelerated Site-to-Site VPN connection.
Show answer & explanation
✓ Answer: B. AWS Global Accelerator.
AWS Global Accelerator is designed for non-HTTP traffic (like TCP/UDP) and stateful applications. It uses the AWS global network and anycast IP addresses to route users to the optimal application endpoint, reducing latency and jitter.
Q4. An organization uses an AWS Transit Gateway to connect dozens of spoke VPCs. A new security policy requires all outbound internet traffic from these VPCs to be inspected by a firewall appliance fleet located in a central 'Egress' VPC. How should routing be configured to enforce this traffic flow?
  • A.  In each spoke VPC route table, add a 0.0.0.0/0 route to the TGW. In the TGW route table for spokes, add a 0.0.0.0/0 route to the Egress VPC attachment.
  • B.  Configure a NAT Gateway in each spoke VPC and peer them with the Egress VPC.
  • C.  Create VPC peering connections from every spoke VPC to the Egress VPC and update route tables accordingly.
  • D.  In the Internet Gateway of the Egress VPC, add routes back to each spoke VPC CIDR range.
Show answer & explanation
✓ Answer: A. In each spoke VPC route table, add a 0.0.0.0/0 route to the TGW. In the TGW route table for spokes, add a 0.0.0.0/0 route to the Egress VPC attachment.
This configuration creates a two-step path: spokes send default traffic to the TGW, and the TGW then forwards that traffic to the Egress VPC for inspection before it is sent to the Internet Gateway. This is the standard centralized egress pattern.
Q5. A company has a primary 10 Gbps Direct Connect connection and a backup Site-to-Site VPN for hybrid connectivity. To ensure the Direct Connect path is always preferred when available, how should BGP be configured on the on-premises router?
  • A.  Advertise more specific routes (e.g., /25) over the VPN and less specific routes (e.g., /24) over Direct Connect.
  • B.  Advertise routes with a lower MED (Multi-Exit Discriminator) value over the VPN connection.
  • C.  Advertise routes over the VPN connection with a longer AS_PATH by using AS_PATH prepending.
  • D.  Configure BGP communities on the routes advertised over the Direct Connect connection only.
Show answer & explanation
✓ Answer: C. Advertise routes over the VPN connection with a longer AS_PATH by using AS_PATH prepending.
The BGP routing algorithm prefers the path with the shortest AS_PATH. By artificially lengthening the AS_PATH for routes advertised over the backup VPN, you make the Direct Connect path more preferable.
Test yourself
See the AWS Certified Advanced Networking - Specialty page

More AWS Certified Advanced Networking - Specialty topics