A financial services company hosts a transaction processing workload on Amazon EC2 instances in the private subnets of VPC A in the us-east-1 Region. The instances upload of data monthly to an Amazon S3 bucket. In addition, the instances replicate of transaction logs monthly to a database cluster in VPC B within the same AWS Region. Currently, VPC A and VPC B are connected via an AWS Transit Gateway. All outbound S3 traffic from the private subnets in VPC A is routed through a NAT Gateway. The company wants to optimize the network design to reduce data transfer costs without compromising security. Which two actions should a solutions architect take to meet these requirements most cost-effectively? (Select TWO.)
- Create a gateway VPC endpoint for Amazon S3 in VPC A, and associate it with the route tables of the private subnets.Answer
- Establish a VPC peering connection between VPC A and VPC B, and route the compliance replication traffic through the peering connection instead of the Transit Gateway.Answer
- CDeploy an interface VPC endpoint for Amazon S3 in VPC A, and update the application configuration to use the PrivateLink DNS name.
- DDeploy an AWS Site-to-Site VPN connection between VPC A and VPC B over the Transit Gateway to secure and optimize the replication traffic.
- EReplace the NAT Gateway in VPC A with a self-managed NAT instance running on a configured Amazon EC2 instance to route the S3 and replication traffic.
Answer
Create a gateway VPC endpoint for Amazon S3 in VPC A, and establish a VPC peering connection between VPC A and VPC B to route compliance replication traffic.
The correct architecture uses a gateway VPC endpoint for Amazon S3 in VPC A, which is free of charge and routes S3 traffic privately, eliminating NAT Gateway processing fees. It also uses a VPC peering connection instead of the Transit Gateway to connect VPC A and VPC B, avoiding the Transit Gateway's data processing fee.
Step-by-Step Solution
Key Concept
Minimizing data transfer costs in AWS by selecting the correct private connectivity options, specifically preferring Gateway VPC Endpoints for S3/DynamoDB over NAT Gateways/Interface Endpoints, and VPC Peering over Transit Gateway for high-volume intra-region traffic.
Estimated Time:3m 0s