2.6 Cost Optimization Strategy (New Solutions)

Storage Tiering

S3 Storage Classes (Cheatsheet)

ClassUse CaseRetrieval TimeMin Duration
StandardActive datamsNone
Intelligent-TieringUnknown access patternsms30 days
Standard-IAInfrequent accessms30 days
One Zone-IANon-critical, infrequentms30 days
Glacier InstantArchive, fast access neededms90 days
Glacier FlexArchive, rare accessmin-hrs90 days
Deep ArchiveComplaince, 1-2 times/year12-48 hrs180 days

WARNING

Exam Gotcha: S3 Intelligent-Tiering has a monitoring fee per 1000 objects. It moves objects between tiers automatically. It does not charge retrieval fees.

Data Transfer Costs

  • Inbound: Generally Free.
  • Outbound (Internet): Paid.
  • Inter-AZ: Paid (in both directions).
  • Inter-Region: Paid.
  • PrivateLink: Paid (Hourly + Data processed).
  • CloudFront: Often cheaper than direct S3 egress because of lower rates.

Optimization tips

  • Use VPC Endpoints (Gateway) for S3/DynamoDB (Free) instead of NAT Gateway (Paid).
  • Use CloudFront to cache content and reduce origin fetch data transfer.