A retail company has internal business applications running on Amazon EC2 instances located in a private subnet of a VPC. These applications must regularly download large datasets from an object storage service and write the processed results back. The network traffic must remain entirely within the AWS network to ensure security and avoid data transfer costs over the public internet. Which solution should the cloud architect implement to meet these requirements?
- Configure a VPC gateway endpoint to Amazon S3Answer
- BCreate a VPC peering connection to Amazon EBS
- CConfigure a network access control list (NACL) to route traffic to Amazon EFS
- DConfigure AWS Transit Gateway to establish a hub-and-spoke peering connection between the VPC and Amazon S3
Answer
Configure a VPC gateway endpoint to Amazon S3
Configuring a VPC gateway endpoint to Amazon S3 is the correct solution. It provides private, secure connectivity between the private subnet in the VPC and Amazon S3 without requiring public IP addresses, an internet gateway, or a NAT gateway. Traffic to S3 is routed locally through the endpoint and stays entirely within the AWS network, meeting all security and cost-reduction requirements.
Step-by-Step Solution
Key Concept
VPC Endpoints (Gateway Endpoints) for private AWS service connectivity
Estimated Time:1m 30s