Soru

Zorluk: OrtaCost-Effective Network Routing and Data Transfer Optimization

A company hosts a data processing application on Amazon EC2 instances in private subnets within VPC A. The application replicates approximately 30 TB30\text{ TB} of data monthly to a database cluster hosted on EC2 instances in VPC B within the same AWS Region. Currently, the VPCs are connected using an AWS Transit Gateway, and the application connects to the database cluster using its public DNS hostname, which routes traffic through NAT Gateways. Which configuration should a solutions architect recommend to minimize the data transfer costs?

  1. Establish a VPC peering connection between VPC A and VPC B, and update the route tables to route traffic destined for the database replica's private IP range through the peering connection.Cevap
  2. B
    Keep the AWS Transit Gateway connection, but update the application configuration to connect to the database replica using its private IP address.
  3. C
    Establish an AWS Site-to-Site VPN connection between VPC A and VPC B to route the database replication traffic over private IP addresses.
  4. D
    Purchase a Compute Savings Plan to offset the data processing charges incurred by the NAT Gateway and the AWS Transit Gateway.

Cevap

Establish a VPC peering connection between VPC A and VPC B, and update the route tables to route traffic destined for the database replica's private IP range through the peering connection.
Establishing a VPC peering connection eliminates the AWS Transit Gateway processing fee of 0.02perGB.ConfiguringtheapplicationtousethedatabasesprivateIPrangeinsteadofitspublicDNShostnameroutesthetrafficdirectlythroughthepeeredVPCs,bypassingtheNATGatewaysandeliminatingtheNATGatewaydataprocessingchargeof0.02 per GB. Configuring the application to use the database's private IP range instead of its public DNS hostname routes the traffic directly through the peered VPCs, bypassing the NAT Gateways and eliminating the NAT Gateway data processing charge of 0.045 per GB.

Adım Adım Çözüm

1
Identify the sources of data processing charges in the current architecture.
The current architecture incurs NAT Gateway data processing charges (0.045/GB)andAWSTransitGatewaydataprocessingcharges(0.045/GB) and AWS Transit Gateway data processing charges ( 0.02/GB).
Analyzing the components that contribute to the network data transfer fees is necessary to target cost optimization.
2
Evaluate a lower-cost VPC connection method.
A VPC peering connection has no data processing fees, making it highly cost-effective for point-to-point data transfer within the same Region.
Replacing the Transit Gateway for this high-volume path removes the processing fee.
3
Reroute the traffic using private IP addresses.
Routing the traffic through the VPC peering connection using private IP addresses bypasses the NAT Gateways.
Using private IPs avoids NAT Gateway data processing charges entirely.

Anahtar Kavram

Bypassing intermediate NAT Gateways and Transit Gateways for high-volume inter-VPC traffic using VPC Peering and private IP routing to eliminate data processing fees.
Bu soruyu puanla