A media company hosts a video transcoding application on Amazon EC2 instances located in a private subnet. The application downloads high-definition video files from an Amazon S3 bucket, transcodes them, and uploads the processed files back to the same S3 bucket. The application processes approximately of raw video data daily. Currently, the EC2 instances access Amazon S3 through a NAT Gateway. A solutions architect needs to redesign the network routing to reduce data transfer costs. Which solution is the most cost-effective way to meet these requirements?
- Create a Gateway VPC endpoint for Amazon S3 in the VPC and associate it with the route tables of the private subnet.Cevap
- BKeep the existing NAT Gateway and configure a NAT Instance in the public subnet to handle the S3 traffic.
- CEstablish an AWS Site-to-Site VPN connection and route all S3 traffic through the on-premises network gateway.
- DMove the S3 bucket's data to the Amazon S3 Standard-Infrequent Access (S3 Standard-IA) storage class to lower overall costs.
Cevap
Create a Gateway VPC endpoint for Amazon S3 in the VPC and associate it with the route tables of the private subnet.
Creating a Gateway VPC endpoint for Amazon S3 allows instances in the private subnet to access S3 directly over the AWS network without traversing the NAT Gateway. Gateway endpoints do not incur any hourly or data processing charges, making this the most cost-effective and secure routing option.
Adım Adım Çözüm
Anahtar Kavram
Gateway VPC Endpoints for S3 eliminate NAT Gateway data processing charges for traffic between private EC2 instances and S3.
Tahmini Süre:1m 30s