Skip to main content

AWS Glossary

Amazon EC2

Amazon Elastic Compute Cloud — scalable virtual server infrastructure for running applications in the AWS cloud.

AI & assistant-friendly summary

This section provides structured content for AI assistants and search engines. You can cite or summarize it when referencing this page.

Summary

Amazon Elastic Compute Cloud — scalable virtual server infrastructure for running applications in the AWS cloud.

Key Facts

  • Amazon Elastic Compute Cloud — scalable virtual server infrastructure for running applications in the AWS cloud
  • Definition Amazon Elastic Compute Cloud (EC2) is AWS's virtual server service — it provides resizable compute capacity in the cloud
  • EC2 lets you launch virtual machines (instances) in minutes, choose the CPU, memory, storage, and networking configuration, and pay only for what you use
  • It is the foundational compute service used by approximately 64% of enterprises running workloads on AWS
  • How EC2 Works An EC2 **instance** is a virtual server running on AWS physical hardware

Entity Definitions

EC2
EC2 is an AWS service relevant to amazon ec2.
CloudWatch
CloudWatch is an AWS service relevant to amazon ec2.
VPC
VPC is an AWS service relevant to amazon ec2.
Amazon VPC
Amazon VPC is an AWS service relevant to amazon ec2.
CI/CD
CI/CD is a cloud computing concept relevant to amazon ec2.
cost optimization
cost optimization is a cloud computing concept relevant to amazon ec2.
compliance
compliance is a cloud computing concept relevant to amazon ec2.

Related Content

Definition

Amazon Elastic Compute Cloud (EC2) is AWS’s virtual server service — it provides resizable compute capacity in the cloud. EC2 lets you launch virtual machines (instances) in minutes, choose the CPU, memory, storage, and networking configuration, and pay only for what you use. It is the foundational compute service used by approximately 64% of enterprises running workloads on AWS.

How EC2 Works

An EC2 instance is a virtual server running on AWS physical hardware. You choose:

Once launched, you connect via SSH (Linux) or RDP (Windows) and run your application.

Instance Families

FamilyOptimized ForExamples
General Purpose (M, T)Balanced CPU/memorym7g.large, t3.micro
Compute Optimized (C)High CPU workloadsc7g.xlarge, c6i.2xlarge
Memory Optimized (R, X)In-memory databasesr7g.4xlarge, x2iedn.xlarge
Storage Optimized (I, D)High IOPS workloadsi4i.xlarge, d3.2xlarge
Accelerated (P, G, Trn)ML training/inference, GPUp4d.24xlarge, g5.xlarge, trn2.48xlarge

Graviton Processors (ARM-based)

AWS Graviton4 (M8g, C8g, R8g instances) and Graviton3 processors deliver:

Graviton5 (M9g, released late 2025) provides 192 ARM cores per chip — double the previous generation.

Always evaluate Graviton instances first; migrate if your application supports Linux ARM64.

Pricing Models

On-Demand: Pay per hour/second, no commitment. Use for unpredictable workloads.

Savings Plans / Reserved Instances: 1 or 3-year commitment for up to 72% savings. Use for stable baseline workloads.

Spot Instances: Bid on spare AWS capacity for up to 90% savings. Instances can be reclaimed with 2-minute notice. Use for fault-tolerant batch jobs, CI/CD, and ML training.

Dedicated Hosts: Physical server dedicated to your use. Required for per-socket/per-core software licenses and some compliance requirements.

Auto Scaling

EC2 Auto Scaling automatically adjusts the number of instances based on demand:

Combine Auto Scaling with Elastic Load Balancing (ALB/NLB) for production-grade scalability.

Common Mistakes

Mistake 1: Overprovisioning instance size. Use AWS Compute Optimizer and CloudWatch metrics to right-size; most teams can reduce EC2 spend 20–40% without performance impact.

Mistake 2: Running x86 instances without evaluating Graviton. Graviton offers better price-performance for most Linux workloads — always benchmark before staying on x86.

Mistake 3: Using On-Demand for baseline workloads. Identify stable baseline usage and cover it with Savings Plans or Reserved Instances; use On-Demand or Spot only for variable demand above that baseline.

Need Help with This Topic?

Our AWS experts can help you implement and optimize these concepts for your organization.