All Services

Compute

Amazon Elastic Compute Cloud

Amazon EC2 provides resizable virtual machines with direct control over the operating system, processor architecture, storage, networking, and purchasing model.

Explore pricing models, common use cases, infrastructure support, and the AWS services that commonly work with Amazon Elastic Compute Cloud.

Amazon Elastic Compute Cloud pricing and cost programs

Pricing model: Usage-based compute

On-Demand
Available
Reserved Instances or reserved capacity
Available
Savings Plans
Available
Spot
Available

Billing dimensions: Instance time · Operating system and tenancy · Storage and data transfer

Programs and modes: On-Demand Instances · Reserved Instances · Savings Plans · Spot Instances · Capacity Reservations · Dedicated Hosts

Purchase options apply to eligible instance families, Regions, operating systems, and tenancy choices.

Free Tier: Available — verify current offers

Pricing reviewed 2026-07-25. Reviewed against the linked official AWS pricing page. Recheck regional rates and program terms before purchase.

Official AWS pricing

Official AWS sources reviewed 2026-07-21.

Why implement Amazon Elastic Compute Cloud?

  • Fits workloads that need operating-system access, specialized instance types, licensing control, or host-level configuration.
  • Offers On-Demand, Savings Plans, Reserved Instances, Spot Instances, Dedicated Hosts, and Capacity Reservations for different cost and capacity goals.
  • Integrates with multiple Availability Zones, load balancing, Auto Scaling, EBS, and AWS management services without requiring physical hardware procurement.

How to implement Amazon Elastic Compute Cloud

  1. Choose an AMI and instance type, then define VPC subnets, security groups, an IAM instance role, and encrypted EBS storage.
  2. For production fleets, put the configuration in a launch template and use an Auto Scaling group across multiple Availability Zones behind a load balancer.
  3. Bootstrap consistently with image pipelines or user data, manage access and patching with Systems Manager, and add CloudWatch monitoring plus tested backups.

Amazon Elastic Compute Cloud best practices

  • Use federation and IAM roles instead of long-lived credentials, and keep security-group rules as narrow as possible.
  • Patch the guest operating system and applications, and use Amazon Inspector or Security Hub controls to find vulnerable or exposed instances.
  • Separate operating-system and data volumes, encrypt EBS volumes and snapshots, deploy critical components across Availability Zones, and test recovery.

Amazon Elastic Compute Cloud use cases and server impact

  • Lift-and-shift and commercial software
  • Stateful or latency-sensitive applications
  • GPU, HPC, and specialized compute workloads

Replaces physical or virtual server hardware while retaining responsibility for the guest operating system, application runtime, patching, and capacity design.

Official implementation resources

Commonly paired AWS services

Architecture patterns using this service

Planning guides that use Amazon Elastic Compute Cloud