Skill 3.4.3

Optimize database costs by selecting appropriate capacity modes and reserved capacity (for example, DynamoDB capacity modes, Amazon RDS reserved DB instances, Amazon Aurora serverless, Aurora I/O-Optimized, Database Savings Plans).

Key Concepts

DynamoDB on-demand mode charges per request and suits unpredictable or spiky traffic; provisioned mode with auto scaling is cheaper for steady, predictable traffic and can be discounted further with reserved capacity; the Standard-IA table class cuts storage cost for rarely accessed tables. RDS reserved DB instances discount steady instances for one or three years. Aurora Serverless v2 scales capacity in fine increments (and can pause at zero capacity), suiting variable or intermittent workloads and development environments.

Aurora I/O-Optimized removes per-request I/O charges for a higher instance and storage price, which saves money when I/O charges exceed roughly 25% of the Aurora bill. Database Savings Plans are a one-year commitment of an hourly amount that discounts usage across database engines, deployment types and Regions (including Aurora, RDS, DynamoDB, ElastiCache, DocumentDB and Neptune), giving flexibility that engine-specific reservations lack.