A company runs a data processing application on Amazon EC2 instances in a private subnet. The application daily downloads of data from an Amazon S3 bucket in the same AWS Region and writes transactional updates to an Amazon DynamoDB table. Currently, all traffic to S3 and DynamoDB is routed through a NAT Gateway, resulting in high data transfer charges. Which of the following configurations should the solutions architect implement to minimize network data transfer costs? (Select TWO.)
- Create a Gateway VPC endpoint for Amazon S3 and associate it with the route table of the private subnet.Answer
- Create a Gateway VPC endpoint for Amazon DynamoDB and associate it with the route table of the private subnet.Answer
- CCreate Interface VPC endpoints (AWS PrivateLink) for Amazon S3 and DynamoDB to route the traffic.
- DConfigure AWS Budgets to alert the administrator when the NAT Gateway data processing charges exceed a set limit.
- EChange the DynamoDB table capacity mode to Provisioned Capacity Mode with Auto Scaling enabled.
Answer
To minimize network data transfer costs, the solutions architect should create Gateway VPC endpoints for both Amazon S3 and Amazon DynamoDB, and associate them with the route table of the private subnet.
Creating Gateway VPC endpoints for Amazon S3 and Amazon DynamoDB and associating them with the route table of the private subnet redirects all traffic destined for these services directly over the AWS internal network. This routes the traffic without traversing the NAT Gateway, completely eliminating the per-GB data processing fees for these transfers.
Step-by-Step Solution
Key Concept
Gateway VPC Endpoints provide free, direct routing to Amazon S3 and Amazon DynamoDB from private subnets, eliminating NAT Gateway data processing fees.