A company has an on-premises data center connected to AWS via a AWS Direct Connect connection with a private virtual interface (VIF). An application running on-premises replicates of backup files monthly to an Amazon S3 bucket. Currently, the traffic routes from the on-premises network, through the private VIF into a VPC, and then through a NAT Gateway to reach the Amazon S3 public endpoints. The company wants to minimize data transfer costs.
Which network routing modification will meet these requirements most cost-effectively?
- ADeploy a Gateway VPC Endpoint for Amazon S3 in the VPC and route the traffic from the on-premises network through the private VIF to the gateway endpoint.
- BCreate an Interface VPC Endpoint (AWS PrivateLink) for Amazon S3 in the VPC and route the traffic from the on-premises network through the private VIF to the interface endpoint.
- Configure a public virtual interface (VIF) on the AWS Direct Connect connection to access the Amazon S3 bucket directly.Answer
- DSet up an AWS Site-to-Site VPN over the public internet to bypass the Direct Connect connection and transfer the files directly to Amazon S3.
Answer
Configure a public virtual interface (VIF) on the AWS Direct Connect connection to access the Amazon S3 bucket directly.
Configuring a public virtual interface (VIF) on the AWS Direct Connect connection enables the on-premises router to receive route advertisements for AWS public IP addresses, including Amazon S3. This allows the backup traffic to be routed directly to S3 over the Direct Connect connection. It bypasses the VPC, avoiding NAT Gateway hourly and data processing charges, as well as the per-GB data processing fees associated with Interface VPC Endpoints.
Step-by-Step Solution
Key Concept
AWS Direct Connect Virtual Interface Types and S3 Routing Optimization