An enterprise runs a data-processing pipeline on Amazon EC2 instances located in private subnets across three Availability Zones in a VPC. The instances upload approximately of raw data monthly to an Amazon S3 bucket in the same AWS Region. In addition, the pipeline replicates of processed data monthly to another VPC within the same Region for analytics, and retrieves of metadata monthly from an on-premises database via a backup AWS Site-to-Site VPN connection. The VPC also has an active AWS Direct Connect connection currently used only for administrative traffic. The S3 traffic currently routes through NAT Gateways, and inter-VPC replication goes through an AWS Transit Gateway. Which combination of actions will reduce data transfer and processing costs the most?
- Create a gateway VPC endpoint for Amazon S3 in the VPC. Establish a VPC peering connection between the two VPCs and update the route tables to route the replication traffic directly. Update the routing configuration to send the on-premises metadata traffic over the AWS Direct Connect connection instead of the Site-to-Site VPN.Cevap
- BKeep routing the Amazon S3 traffic through the NAT Gateways to maintain security group controls, replace the Transit Gateway with a VPC peering connection for inter-VPC replication, and route the on-premises metadata traffic over the Site-to-Site VPN.
- CCreate a gateway VPC endpoint for Amazon S3. Establish a VPC peering connection for inter-VPC replication. Route all on-premises metadata traffic over a single AWS Site-to-Site VPN tunnel, expecting the tunnel to scale past its throughput limit to handle peak database queries.
- DCreate an interface VPC endpoint (AWS PrivateLink) for Amazon S3 to secure the bucket traffic. Establish a VPC peering connection between the VPCs for the replication traffic, and continue routing the on-premises metadata traffic over the existing Site-to-Site VPN connection.