Domain 4 of 4 · Chapter 3 of 4

Cost-Optimized Databases

Unlock the complete study guide + 1,040 practice questions across 16 full exams.

Bundled into the existing AWS Certified Solutions Architect – Associate premium course — no separate purchase.

Included in this chapter:

  • ElastiCache Reserved Nodes: payment options and break-even math
  • Aurora Serverless v2 ACU pricing vs provisioned RI: the utilization curve
  • DynamoDB on-demand vs provisioned: the utilization break-even
  • Worked example: ElastiCache on-demand → Reserved Node transition

Database cost optimization mechanisms by service

ServiceCommitment mechanismVariable-load mechanismCaching layer benefit
RDS (MySQL, PostgreSQL, etc.)RDS Reserved Instances (1/3 yr)Stop instance up to 7 daysElastiCache for read offload
AuroraAurora Reserved InstancesAurora Serverless v2 (ACU-based autoscaling)ElastiCache for hot keys
DynamoDBReserved Capacity (provisioned mode)On-demand modeDAX for read-through cache
ElastiCache (Redis, Memcached, Valkey)Reserved Nodes (1/3 yr)Serverless mode (ECPU-based)N/A (it's the cache)
RedshiftReserved Nodes (1/3 yr)Serverless (RPU-based)Result-set cache built-in

Cheat sheet

  • Commit capacity for predictable load, pay per use for spiky load
  • Put a cache in front of a saturating read-heavy DB instead of upsizing it
  • DynamoDB: provisioned for steady high use, on-demand for spiky
  • Aurora Serverless v2 only wins below ~50% utilization
  • ElastiCache Reserved Nodes use the same RI payment options as EC2
  • Stop an idle RDS instance to drop compute cost (max 7 days)
  • Lazy-load by default, use write-through when a miss is catastrophic
  • Switch Aurora to I/O-Optimized once I/O exceeds ~25% of cost
  • Use ElastiCache Serverless for unpredictable cache traffic (Valkey 33% cheaper)
  • Use ElastiCache R6gd data tiering when ≤20% of the dataset is hot (60%+ savings)
  • Customer-managed KMS keys cost ~$1/key/month, so consolidate where you can
  • Aurora Serverless v2 scales 0–256 ACUs in 0.5-ACU steps

Unlock with Premium — includes all practice exams and the complete study guide.

Also tested in

References

  1. RDS Reserved DB Instances
  2. Aurora Serverless v2
  3. DynamoDB read/write capacity mode
  4. ElastiCache Reserved Nodes
  5. Stopping an RDS instance
  6. What is Amazon ElastiCache
  7. DynamoDB Accelerator (DAX)
  8. Amazon DynamoDB on-demand pricing
  9. DynamoDB Reserved Capacity
  10. Aurora I/O-Optimized vs Standard
  11. https://aws.amazon.com/kms/pricing/
  12. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html
  13. https://aws.amazon.com/elasticache/reserved-cache-nodes/
  14. Amazon ElastiCache pricing
  15. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2-auto-pause.html
  16. Amazon Aurora pricing