A company has deployed a high-throughput reporting application on Amazon EC2 instances in a private subnet. The application queries and writes transaction records to an Amazon DynamoDB table in the same AWS Region. The network architecture currently routes all outbound traffic () from the private subnet through a NAT gateway. The company is seeking to reduce its monthly AWS bills, as the DynamoDB-related data transfer charges through the NAT gateway have become significant, totaling approximately per month. Which architecture change will resolve the high data transfer costs at the lowest expense?
- ADeploy an interface VPC endpoint (AWS PrivateLink) for Amazon DynamoDB in the private subnet and update the application configuration.
- BReplace the NAT gateway with a self-managed NAT instance to eliminate NAT gateway data processing fees.
- Create a gateway VPC endpoint for Amazon DynamoDB and associate it with the route table of the private subnet.Cevap
- DConfigure the DynamoDB table to use Provisioned Capacity Mode with auto scaling enabled to manage the increased request rate.
Cevap
Create a gateway VPC endpoint for Amazon DynamoDB and associate it with the route table of the private subnet.
The correct answer is to create a gateway VPC endpoint for Amazon DynamoDB and associate it with the private subnet's route table. Unlike interface endpoints or NAT gateways, gateway endpoints do not charge any hourly or data processing fees. Routing the of monthly DynamoDB traffic directly through the gateway endpoint bypasses the NAT gateway, eliminating the high NAT gateway processing fees.
Adım Adım Çözüm
Anahtar Kavram
Gateway VPC Endpoints provide free, private routing to Amazon S3 and Amazon DynamoDB, bypassing the NAT Gateway and eliminating data transfer processing charges.
Tahmini Süre:1m 30s