Skip to content

Flavors

A flavor sets the number of virtual CPUs and the amount of memory of an instance. You can see them any time under Compute > Flavors, and you pick one when you create an instance.

Flavors have no root disk. The system disk is a volume you size when you launch. See Compute.

Which family to pick

Family Best for
t2 Small and cheap: testing, development, bastion hosts, low-traffic services. Starts at half a GB of memory
m5 General purpose: most application and web servers. A balanced CPU-to-memory ratio
c5 Compute optimized: more CPU per GB of memory, for builds, batch jobs and CPU-heavy services
r5 Memory optimized: more memory per vCPU, for databases, caches and in-memory workloads
m2 Larger general purpose, when m5 is not big enough

If unsure, start with m5.medium (2 vCPU, 4 GB) and resize later.

t2

Flavor vCPU RAM
t2.nano 1 0.5 GB
t2.micro 1 1 GB
t2.small 1 2 GB
t2.medium 2 4 GB
t2.large 2 8 GB
t2.xlarge 4 16 GB

m5 (general purpose)

Flavor vCPU RAM
m5.small 1 2 GB
m5.medium 2 4 GB
m5.large 2 8 GB
m5.xlarge 4 16 GB
m5.2xlarge 8 32 GB

c5 (compute optimized)

Flavor vCPU RAM
c5.large 2 4 GB
c5.xlarge 4 8 GB
c5.2xlarge 8 16 GB
c5.4xlarge 16 32 GB

r5 (memory optimized)

Flavor vCPU RAM
r5.large 2 16 GB
r5.xlarge 4 32 GB
r5.2xlarge 8 64 GB

m2

Flavor vCPU RAM
m2.large 4 16 GB
m2.xlarge 8 32 GB