Question

Difficulty: MediumCost-Effective Network Routing and Data Transfer Optimization

A company runs a data processing application on Amazon EC2 instances in private subnets. The application downloads 40 TB40\text{ TB} of data monthly from Amazon S3. Additionally, the application writes daily database backups to Amazon S3 that are deleted after 77 days. Which configuration will achieve the lowest overall network routing and data transfer costs for this workload?

  1. Deploy a Gateway VPC Endpoint for Amazon S3 in the VPC, update the route tables of the private subnets to direct S3 traffic through the endpoint, and store the backups in the S3 Standard storage class.Answer
  2. B
    Route the S3 download traffic through a NAT Gateway in a public subnet, and store the backups in the Amazon S3 Standard-Infrequent Access (S3 Standard-IA) storage class.
  3. C
    Purchase a Compute Savings Plan to cover the NAT Gateway data processing charges, and route the S3 download traffic through the NAT Gateway.
  4. D
    Deploy a Gateway VPC Endpoint for Amazon S3 in the VPC, and transition the daily backups immediately to the Amazon S3 Standard-Infrequent Access (S3 Standard-IA) storage class to utilize the lower storage rate.

Answer

Deploy a Gateway VPC Endpoint for Amazon S3 to route the S3 download traffic directly, and store the short-term backups in S3 Standard to avoid the minimum storage duration charge penalty of S3 Standard-IA.
Deploying a Gateway VPC Endpoint for Amazon S3 is the most cost-effective routing method because it has no hourly or data processing fees. Additionally, since the daily database backups are deleted after 77 days, storing them in S3 Standard is more economical than S3 Standard-IA, which enforces a minimum billing duration of 3030 days. This avoids the short-term storage cost penalty.

Step-by-Step Solution

1
Evaluate network routing options for S3 data access from private subnets.
Using a Gateway VPC Endpoint is free of charge and has no data processing fees, whereas routing through a NAT Gateway incurs hourly and per-GB charges.
To eliminate the cost of downloading 40 TB40\text{ TB} of data monthly.
2
Evaluate the storage class duration rules for 77-day backups.
S3 Standard-IA charges a minimum of 3030 days of storage even if deleted early, making S3 Standard cheaper for backups retained for only 77 days.
To avoid paying the short-term storage cost penalty associated with S3 Standard-IA.

Key Concept

Gateway VPC Endpoints provide free, private routing to Amazon S3, and short-term data should not be stored in S3 Standard-IA due to its 3030-day minimum storage duration billing.
Rate this question