Skip to main content
All right — welcome back, CloudOps Engineer Associate. This guide walks through AWS licensing and commitment options that drive cost optimization. You’ll learn practical choices for EC2, container compute, databases, caching, and search services so you can match purchasing models (On‑Demand, Spot, Reserved Instances, Savings Plans) to workload characteristics and lower overall spend.

EC2 licensing and pricing models

Understanding EC2 pricing models is foundational to AWS cost optimization. Choose the right model based on workload predictability, tolerance for interruption, and licensing/isolation needs.
  • On‑Demand: Pay for compute by the hour/second with no long-term commitment. Best for unpredictable or short-lived workloads.
  • Reserved Instances (RIs): Commit for 1 or 3 years for a significant discount versus On‑Demand. Ideal for predictable, steady-state workloads.
  • Dedicated Hosts: Provide physical servers dedicated to your account for license compliance or strict isolation. High cost but required for some licensing scenarios.
  • Spot Instances: Purchase spare EC2 capacity at large discounts; instances are interruptible (AWS can reclaim capacity with a short notice). Use for fault-tolerant, non‑urgent jobs like batch processing and large-scale analytics.
A slide titled "Designing for Cost Optimization – Licensing Models and Options" showing "EC2 Instance Pricing Models" with small icons/graphs for On‑Demand, Reserved Instance, Spot Instance, and Dedicated Host. Each model is illustrated by a simple chart (fluctuating line, flat line, bar chart, and a locked flat line).
Spot Instances deliver the largest per‑unit discount but require interruption handling. Use Spot for checkpointable, retryable, or stateless workloads and combine with On‑Demand or Reserved capacity for baseline reliability.

Quick reference: EC2 pricing models

Reserved Instances — flavors and flexibility

Reserved Instances (RIs) vary by flexibility and discount depth:
  • Standard RIs: Maximum discount for fixed attributes (instance family/size, OS, tenancy, region). Use when capacity needs are stable.
  • Convertible RIs: Allow attribute changes (e.g., instance family, OS, tenancy) across the term for more flexibility with slightly smaller discounts.
  • Scheduled RIs: Reserve capacity for recurring time windows (e.g., weekday business hours). Useful for predictable, non‑24/7 workloads.
The slide lists the three types of AWS Reserved Instances — Standard, Convertible, and Scheduled — with corresponding icons under the header "Designing for Cost Optimization – Licensing Models and Options." It visually explains reserved instance flavors for cost optimization.
Choose Standard RIs for the deepest savings when usage is stable. Choose Convertible RIs if you expect to change instance families or OS over the commitment. Use Scheduled RIs when capacity is predictable but limited to specific recurring windows.

Savings Plans (compute and instance-level)

Savings Plans are a simpler, more flexible way to commit spend and receive discounts across compute services:
  • Compute Savings Plans: Apply across EC2 instance sizes, regions, OS, and tenancy and also cover AWS Fargate and AWS Lambda usage. They give broad coverage in exchange for committing to a spend rate over 1 or 3 years.
  • EC2 Instance Savings Plans: Offer deeper discounts but are tied to specific instance families and regions — best when you can commit to a family/region mix.
A presentation slide titled "Designing for Cost Optimization – Licensing Models and Options" that explains AWS Compute Savings Plans, showing they apply to Amazon EC2, AWS Fargate, and AWS Lambda and can save up to about 66% versus on‑demand pricing.
Note: AWS Fargate is a serverless compute launch type used inside Amazon ECS and Amazon EKS to run containers without managing servers—when material mentions “Fargate,” it’s referring to that container launch option rather than a separate console-level service. Compute Savings Plans are often the best fit for containerized and mixed compute environments because they let you cover EC2, Fargate, and Lambda with a single commitment. Use EC2 Instance Savings Plans when you can predictably lock into specific instance families to extract the maximum discount.
A presentation slide titled "Designing for Cost Optimization – Licensing Models and Options" explaining AWS EC2 Instance Savings Plans. It shows selectable options (any instance size, availability zone, OS, tenancy) and a piggy-bank icon noting savings up to 72% versus on‑demand.

Other AWS services with reservations or commitment options

Many AWS managed services also support reservations or committed capacity to reduce costs when usage is predictable:
  • Amazon RDS: Reserved DB Instances for long‑running relational databases (MySQL, PostgreSQL, Oracle, SQL Server, etc.).
  • Amazon ElastiCache: Reserved nodes for steady caching workloads.
  • Amazon OpenSearch Service: Reserve node types or follow Cost Management recommendations for sustained search/analytics workloads.
  • Amazon Redshift: Reserved nodes/instances for persistent data warehouses.
  • Amazon DynamoDB: Provisioned capacity reservations for predictable throughput.
  • Amazon CloudFront: Volume/commitment pricing and enterprise discounts for high-volume CDN usage.
A slide showing an AWS Cost Management "Reservations > Recommendations" screenshot that recommends buying OpenSearch reserved instances to save $83,434.49 annually (33% vs on-demand) with 10 purchase recommendations. The slide title reads "Designing for Cost Optimization – Licensing Models and Options."
AWS Cost Management tools surface reservation recommendations based on historical usage. When you review recommendations, evaluate:
  • Stability of usage: Is consumption sustained or highly variable?
  • Commitment tolerance: Can you lock in 1–3 years?
  • Lifecycle and growth: Will the service scale beyond the reserved baseline?
Commitment-based discounts (RIs and Savings Plans) reduce cost but also reduce flexibility. Only commit when you have high confidence in steady usage or a plan to consume the reserved capacity.

Practical strategies and checklist

  • Regularly run Cost Explorer and reservation recommendations to find candidates for RIs or Savings Plans.
  • Combine purchase models: cover baseline demand with RIs/Savings Plans and use Spot/On‑Demand for spikes and transient workloads.
  • For containerized environments, prefer Compute Savings Plans to simplify coverage across EC2, Fargate, and Lambda.
  • Use Spot for distributed, stateless workloads where interruptions are acceptable; add lifecycle hooks and checkpointing as needed.
  • Reevaluate convertible reservations and renewals before expiry to align with changing instance families or architecture shifts.
  • Track and tag resources for accurate visibility into which workloads benefit from reserved capacity.
That covers the core licensing and commitment options to consider when designing for AWS cost optimization. Apply the right mix of On‑Demand, Spot, Reserved Instances, and Savings Plans to align cost with workload patterns and business risk tolerance.

Watch Video