A healthcare provider runs a medical imaging application on Amazon EC2 instances within a private subnet. The application processes high-resolution MRI scans and archives approximately of data weekly to an Amazon S3 bucket in the same AWS Region. Currently, the EC2 instances access Amazon S3 through a NAT Gateway, resulting in high data processing charges. The company wants to eliminate these NAT Gateway data processing charges while keeping the EC2 instances in the private subnet.
Which two actions should a solutions architect recommend to meet these requirements cost-effectively? (Select TWO.)
- Create a Gateway VPC endpoint for Amazon S3 in the VPC.Answer
- Update the route tables associated with the private subnet to route traffic destined for Amazon S3 through the gateway endpoint.Answer
- CCreate an Interface VPC endpoint (AWS PrivateLink) for Amazon S3 in the private subnet.
- DDeploy an AWS Transit Gateway and configure it to route S3 traffic from the private subnet.
- EProvision a NAT instance in a public subnet and update the private subnet's route table to route S3 traffic through it.
Answer
Create a Gateway VPC endpoint for Amazon S3 in the VPC and update the route tables associated with the private subnet to route traffic destined for Amazon S3 through the gateway endpoint.
To eliminate NAT Gateway data processing charges for traffic directed to Amazon S3 from private subnets in the same Region, a Gateway VPC endpoint should be created. Gateway VPC endpoints do not charge for data transfer or processing. Additionally, the route tables of the private subnets must be updated to route traffic destined for Amazon S3 through this gateway endpoint.
Step-by-Step Solution
Key Concept
Using Gateway VPC Endpoints for S3 is a free routing mechanism that avoids NAT Gateway data processing charges for traffic within the same region.
Estimated Time:1m 30s