m8g.xlarge

General purpose · m8g series · AWS Graviton4 Processor

vCPU
4
Memory
16 GiB
Linux / hour
$0.1795
Per month
$131
Per vCPU-hour
$0.0449
Per GiB-hour
$0.0112

Analysis

The m8g.xlarge is a general purpose instance in the m8g series with 4 vCPUs and 16 GiB of memory on AWS Graviton4 (up to 2.7 GHz), which makes it balanced at 4 GiB of memory per vCPU.

Running it in Mumbai instead of São Paulo saves $115 a month per instance: $0.1283/hour against $0.2861/hour, a 123% spread.

It is the cheapest of the 5 processor variants AWS sells at this size and generation. The m8a.xlarge on AMD EPYC 9R45 costs 36% more, and the m8i-flex.xlarge, the m8i.xlarge and the m8gd.xlarge also sit above it.

At $0.1795/hour on demand in US East (N. Virginia), about $131 a month, the m8g.xlarge is one of the cheaper ways to buy general purpose capacity: only 20% of the 354 current general purpose types cost less per vCPU-hour than its $0.0449.

Compared with the previous generation, it costs 10% more than the m7g.xlarge on AWS Graviton3 ($11.91 more a month per instance), in exchange for the newer processor. The newer m9g.xlarge on AWS Graviton5 is 9.0% dearer at $0.1957/hour.

Looking beyond its own line, 7 of 42 current types with 4 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.xlarge on AWS Graviton2 at $0.1344/hour. It is burstable, so it only suits workloads that do not run the CPU flat out.

Price by region (USD per hour)

RegionLinuxWindows1-yr RI3-yr RI
N. Virginia us-east-1$0.1795–$0.1187$0.0814
Ohio us-east-2$0.1795–$0.1187$0.0814
Oregon us-west-2$0.1795–$0.1187$0.0814
Canada Central ca-central-1$0.2001–$0.1320$0.0912
São Paulo sa-east-1$0.2861–$0.1773$0.1294
Ireland eu-west-1$0.2001–$0.1323$0.0908
London eu-west-2$0.2076–$0.1371$0.0944
Frankfurt eu-central-1$0.2151–$0.1423$0.0976
Mumbai ap-south-1$0.1283–$0.0848$0.0584
Singapore ap-southeast-1$0.2244–$0.1484$0.1018
Sydney ap-southeast-2$0.2244–$0.1484$0.1018
Tokyo ap-northeast-1$0.2319–$0.1536$0.1050

Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.

Same shape, other types

TypevCPUMemory$/hourvs m8g.xlarge
t4g.xlarge
AWS Graviton2 Processor
416 GiB$0.1344-25%
t3a.xlarge
AMD EPYC 7571
416 GiB$0.1504-16%
m6g.xlarge
AWS Graviton2 Processor
416 GiB$0.1540-14%
m7g.xlarge
AWS Graviton3 Processor
416 GiB$0.1632-9%
t3.xlarge
Intel Skylake E5 2686 v5
416 GiB$0.1664-7%
m5a.xlarge
AMD EPYC 7571
416 GiB$0.1720-4%

Cost calculator

Specs

vCPU4
Memory16 GiB (4.0 per vCPU)
ProcessorAWS Graviton4 Processor
Clock2.7 GHz
StorageEBS only
NetworkUp to 12.5 Gigabit

m8g sizes

m8g.medium1 vCPU$0.0449
m8g.large2 vCPU$0.0898
m8g.xlarge4 vCPU$0.1795
m8g.2xlarge8 vCPU$0.3590
m8g.4xlarge16 vCPU$0.7181
m8g.8xlarge32 vCPU$1.44
m8g.12xlarge48 vCPU$2.15
m8g.16xlarge64 vCPU$2.87
m8g.24xlarge96 vCPU$4.31
m8g.48xlarge192 vCPU$8.62