A media processing workload is hosted on Amazon EC2 instances in a private subnet. The application must regularly download large video files from an Amazon S3 bucket in the same Region, and it must also access a third-party software repository on the public internet to download package updates. The solutions architect must design a secure network routing architecture that minimizes data transfer costs and prevents direct internet exposure of the EC2 instances.
Which combination of configurations will meet these requirements? (Select TWO.)
- Create a Gateway VPC endpoint for Amazon S3, and associate it with the route table of the private subnet.Answer
- Deploy a NAT Gateway in a public subnet, and configure the private subnet's route table to route traffic destined for to the NAT Gateway.Answer
- CRoute all outbound traffic destined for Amazon S3 through the NAT Gateway to centralize external network pathways.
- DConfigure a Network ACL on the private subnet to statefully permit outbound connections to the S3 service limits.
- EDeploy AWS WAF on the Network ACL of the private subnet to inspect and filter outbound Layer 7 requests.
Answer
Create a Gateway VPC endpoint for Amazon S3 associated with the private subnet's route table, and deploy a NAT Gateway in a public subnet with a route for in the private subnet's route table.
To satisfy the requirements securely and cost-effectively, a Gateway VPC endpoint should be created for Amazon S3 and associated with the private subnet's route table. This configuration keeps S3 traffic on the private AWS network and eliminates NAT Gateway data processing costs. Additionally, to allow the private EC2 instances to download updates from the public internet without direct exposure, a NAT Gateway should be deployed in a public subnet, with the private subnet's route table configured to send traffic to it.
Step-by-Step Solution
Key Concept
VPC Network Routing and Cost Optimization using VPC Endpoints and NAT Gateways