Skip to content
Pablo Rodriguez

Ec2 Pricing Options

12 months free

Available to new AWS customers for 12 months following AWS sign-up:

  • 750 hours per month of t4g.small instance (region dependent)
  • 750 hours per month of Linux, RHEL, or SLES t2.micro or t3.micro instance (region dependent)
  • 750 hours per month of Windows t2.micro or t3.micro instance (region dependent)

Amazon EC2 provides purchasing strategies to help optimize costs based on needs:

Purchase Models

Emphasis: Providing big savings through different use cases

Focus on cost optimization through various purchasing options

Capacity Reserved Models

Emphasis: Providing reserved instances to guarantee availability when needed

Focus on capacity assurance and planning

Dedicated Models

Emphasis: Providing dedicated hardware for compliance and regulation requirements

Focus on isolation and regulatory compliance

Pay for compute capacity by the second or by the hour with no long-term commitments

Recommended use cases:

  • Spiky workloads
  • Experimentation workloads

Benefits:

  • Most flexibility with no long-term contract and low rates
  • Good for short-term, spiky, or unpredictable workloads
  • Developing and testing applications on Amazon EC2 for the first time

On-Demand Capacity Reservations

Purpose: Guarantees access to EC2 capacity when needed, for as long as needed

Recommended use cases:

  • Workloads that need to meet regulatory requirements for high availability
  • Workloads that require capacity assurance
  • Business-critical events requiring capacity assurance
  • Disaster recovery strategies requiring reserved capacity in different AZ or Region

Amazon EC2 Capacity Blocks for ML

Purpose: Reserve GPU instances for future date to run machine learning (ML) workloads

Recommended use cases:

  • Training and fine-tuning ML models
  • Running experiments and building prototypes
  • Planning for future surges in demand for ML applications

Features: Pay only for compute time needed, no long-term commitment, reserves P5 instances

Amazon EC2 dedicated options provide EC2 instance capacity on physical servers dedicated for your use (single-tenant hardware):

Characteristics:

  • Per-instance billing
  • Automatic instance placement
  • Isolates the hosts that run your instances

Billing: Two components - hourly per-instance usage fee and dedicated per-Region fee paid once per hour regardless of number of Dedicated Instances running

Isolation Both options isolate hosts running your instances from hosts running instances for other accounts and provide same performance, security, and physical features.

To optimize the cost of Amazon EC2 instances, combine the available purchase options:

  1. Identify steady-state workloads → Use Reserved Instances or Savings Plans
  2. Stateful spiky workloads → Use On-Demand Instances
  3. Fault-tolerant, flexible, stateless workloads → Use Spot Instances

Amazon EC2 pricing models include On-Demand Instances, Reserved Instances, Savings Plans, Spot Instances, and Dedicated Hosts. Per-second billing is available only for On-Demand Instances, Reserved Instances, and Spot Instances that run Amazon Linux or Ubuntu. Use a combination of Reserved Instances, Savings Plans, On-Demand Instances, and Spot Instances to optimize Amazon EC2 compute costs.