t2.xlargevsm5.xlarge

t2.xlarge is 3% cheaper than m5.xlarge on demand in US East (N. Virginia), saving $4.67 a month.

At a glancet2.xlargem5.xlarge
On-demand$0.1856/hr3% less$0.192/hr
Lowest rate$0.0403/hrSpot, can be interrupted$0.0391/hr3% lessSpot, can be interrupted
Size4 vCPUs, 16 GiB4 vCPUs, 16 GiB
ProcessorIntel Xeon FamilyIntel Xeon Platinum 8175
Architecturex86_64x86_64
CPUBurstableBest for workloads that are mostly idleFull CPUSteady performance, no credits to manage

Prices in US East (N. Virginia)

“Off” is the discount against each type’s own on-demand price. Linux, USD per hour.

Optiont2.xlargem5.xlargem5.xlarge vs t2.xlarge
On-demandPay by the hour$0.1856$0.192▲ 3%
SpotCan be interrupted78% off$0.040380% off$0.0391▼ 3%
1-yr reservedNo upfront38% off$0.11537% off$0.121▲ 5%
3-yr reservedNo upfront57% off$0.080257% off$0.083▲ 3%
1-yr savings planHourly commitment29% off$0.132227% off$0.141▲ 7%
3-yr savings planHourly commitment50% off$0.092249% off$0.097▲ 5%

Key differences

The biggest lead each one has.

Where t2.xlarge leads
On-demand price$0.1856 vs $0.192 per hour
3% cheaper
CPU modelEarns credits while idle, then bursts
Burstable
Physical cores4 vs 2
2× higher
Max EBS volumes40 vs 27
48% higher
Where m5.xlarge leads
CPU modelSteady performance, no credits to manage
Full CPU
Network peak10 Gbps vs 1.024 Gbps
9.8× higher
Sustained clock3.1 GHz vs 2.3 GHz
35% higher

Specs

28 of 41 specs differ. Those are in bold.

Compute8 of 11 differt2.xlargem5.xlarge
vCPUs44
Physical cores42
Threads per core12
Architecturex86_64x86_64
ProcessorIntel Xeon FamilyIntel Xeon Platinum 8175
CPU makerIntelIntel
Clock speedUp to 3.3 GHz3.1 GHz
Sustained clock2.3 GHz3.1 GHz
Processor featuresIntel AVX; Intel TurboIntel AVX; Intel AVX2; Intel AVX512; Intel Turbo
BurstableYesNo
ECU–16
MemoryAll 1 matcht2.xlargem5.xlarge
Memory (GiB)1616
Networking5 of 8 differt2.xlargem5.xlarge
NetworkModerateUp to 10 Gigabit
Network baseline0.75 Gbps1.25 Gbps
Network peak1.024 Gbps10 Gbps
Enhanced networkingNoYes (ENA)
EFANoNo
IPv6YesYes
Max network interfaces34
IPv4 addresses per interface1515
Storage10 of 11 differt2.xlargem5.xlarge
StorageEBS onlyEBS only
EBS optimizedNoYes
EBS over NVMeNoRequired
EBS throughput–Up to 2120 Mbps
EBS baseline bandwidth–1,150 Mbps
EBS max bandwidth–4,750 Mbps
EBS baseline throughput–143.75 MB/s
EBS max throughput–593.75 MB/s
EBS baseline IOPS–6,000
EBS max IOPS–18,750
Max EBS volumes4027
Instance details5 of 10 differt2.xlargem5.xlarge
Familyt2m5
CategoryGeneral purposeGeneral purpose
Current generationYesYes
Normalization factor88
Bare metalNoNo
HypervisorXenNitro
Placement groupsPartition, SpreadCluster, Partition, Spread
HibernationYesYes
Nitro EnclavesNoYes
Boot modesLegacy BIOSLegacy BIOS, UEFI

On-demand prices by region

Cheapest for t2.xlarge first. Linux, USD per hour.

Regiont2.xlargem5.xlargeDifference
US East (N. Virginia)Used in summaryus-east-1$0.1856$0.192▲ 3%
US East (Ohio)us-east-2$0.1856$0.192▲ 3%
US West (Oregon)us-west-2$0.1856$0.192▲ 3%
Asia Pacific (Mumbai)ap-south-1$0.1984$0.202▲ 2%
EU (Ireland)eu-west-1$0.2016$0.214▲ 6%
Canada (Central)ca-central-1$0.2048$0.214▲ 4%
EU (London)eu-west-2$0.2112$0.222▲ 5%
EU (Paris)eu-west-3$0.2112$0.224▲ 6%
EU (Frankfurt)eu-central-1$0.2144$0.23▲ 7%
AWS GovCloud (US-West)us-gov-west-1$0.2176$0.242▲ 11%
US West (N. California)us-west-1$0.2208$0.224▲ 1%
Asia Pacific (Seoul)ap-northeast-2$0.2304$0.236▲ 2%
Asia Pacific (Singapore)ap-southeast-1$0.2336$0.24▲ 3%
Asia Pacific (Sydney)ap-southeast-2$0.2336$0.24▲ 3%
Asia Pacific (Osaka)ap-northeast-3$0.2432$0.248▲ 2%
Asia Pacific (Tokyo)ap-northeast-1$0.2432$0.248▲ 2%
South America (Sao Paulo)sa-east-1$0.2976$0.306▲ 3%

Keep exploring

Each type’s own page, and how it compares with others.

Pay the committed rate, with commitment protection

The best committed rate on these two is 57% below on-demand. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account

AWS EC2 Linux prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.