A financial services company hosts an application on Amazon EC2 instances in a private subnet. The application downloads of daily reports from an Amazon S3 bucket in the same AWS Region. The private subnet is configured with a route that sends all internet-bound traffic through a NAT Gateway. Which routing solution should a solutions architect implement to minimize data transfer costs?
- APurchase a Compute Savings Plan to offset the NAT Gateway data processing charges.
- Create a Gateway VPC endpoint for Amazon S3 and associate it with the route table of the private subnet.Cevap
- CCreate an Interface VPC endpoint for Amazon S3 in the private subnet and update the route table.
- DKeep using the existing NAT Gateway to route the Amazon S3 traffic.
Cevap
Creating a Gateway VPC endpoint for Amazon S3 and associating it with the private subnet's route table is the most cost-effective option, as Gateway VPC endpoints are free of charge and keep traffic entirely within the AWS network.
Creating a Gateway VPC endpoint for Amazon S3 is the most cost-effective solution. Gateway VPC endpoints are provided at no additional cost, and all data transfers through them are free of charge. This allows private EC2 instances to communicate securely with Amazon S3 without routing traffic through a NAT Gateway, avoiding both NAT Gateway data processing and hourly charges.
Adım Adım Çözüm
Anahtar Kavram
Gateway VPC Endpoints for S3 allow private instances to access S3 directly without going through a NAT Gateway or incurring data transfer/processing charges.
Tahmini Süre:1m 0s