Soru

Zorluk: KolayNetworking and Connectivity Design

A company is designing a new AWS environment with a single VPC containing private subnets across two Availability Zones: us-west-2a and us-west-2b. The workloads in the private subnets must access external APIs on the internet for updates. The solutions architect must design a highly available outbound connectivity solution that prevents an outage in one Availability Zone from impacting internet access in the other Availability Zone. Which networking configuration satisfies these requirements?

  1. Deploy a NAT Gateway in a public subnet in us-west-2a and another NAT Gateway in a public subnet in us-west-2b. Route outbound traffic (0.0.0.0/00.0.0.0/0) from the private subnet in each Availability Zone to the NAT Gateway in the same zone.Cevap
  2. B
    Deploy a single NAT Gateway in a public subnet in us-west-2a. Route outbound traffic (0.0.0.0/00.0.0.0/0) from the private subnets in both Availability Zones to this single NAT Gateway.
  3. C
    Deploy an AWS Transit Gateway, attach the VPC to the Transit Gateway, and configure the route tables of both private subnets to route outbound traffic (0.0.0.0/00.0.0.0/0) directly to the Transit Gateway without any NAT Gateways.
  4. D
    Deploy a single NAT Gateway in a public subnet in us-west-2a. Create a Route 53 Private Hosted Zone for the external API domains and associate it with the VPC to route outbound 0.0.0.0/00.0.0.0/0 traffic.

Cevap

Deploy a NAT Gateway in a public subnet in us-west-2a and another NAT Gateway in a public subnet in us-west-2b, and route outbound traffic (0.0.0.0/00.0.0.0/0) from the private subnet in each Availability Zone to the NAT Gateway in the same zone.
To prevent an outage in one Availability Zone from impacting internet access in another, the architecture must avoid cross-AZ network dependencies. Deploying a NAT Gateway in each Availability Zone and configuring the respective private subnet route tables to use the NAT Gateway in the same zone ensures high availability and isolates failures to a single zone.

Adım Adım Çözüm

1
Analyze availability constraints.
Identified that internet access must be resilient to a single Availability Zone outage.
This establishes that a single, centralized NAT Gateway will not meet the redundancy requirement.
2
Evaluate NAT Gateway deployment layout.
Select a multi-NAT Gateway architecture with one NAT Gateway per Availability Zone.
Deploying a NAT Gateway in each zone ensures that the network path to the internet remains entirely within the boundaries of each active zone.
3
Configure VPC route tables.
Create separate route tables for the private subnets in us-west-2a and us-west-2b, routing (0.0.0.0/00.0.0.0/0) traffic to the NAT Gateway in the respective zone.
This prevents cross-AZ dependencies and satisfies the high-availability constraint.

Anahtar Kavram

Availability Zone Redundancy for Outbound NAT Traffic
Tahmini Süre:1m 0s
Bu soruyu puanla