m8g.2xlarge

General purpose · m8g series · AWS Graviton4 Processor

vCPU
8
Memory
32 GiB
Linux / hour
$0.3590
Per month
$262
Per vCPU-hour
$0.0449
Per GiB-hour
$0.0112

Analysis

The m8g.2xlarge is a general purpose instance in the m8g series with 8 vCPUs and 32 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 $230 a month per instance: $0.2566/hour against $0.5722/hour, a 123% spread.

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

At $0.3590/hour on demand in US East (N. Virginia), about $262 a month, the m8g.2xlarge 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.2xlarge on AWS Graviton3 ($23.83 more a month per instance), in exchange for the newer processor. The newer m9g.2xlarge on AWS Graviton5 is 9.0% dearer at $0.3914/hour.

Looking beyond its own line, 7 of 42 current types with 8 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.2xlarge on AWS Graviton2 at $0.2688/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.3590–$0.2375$0.1629
Ohio us-east-2$0.3590–$0.2375$0.1629
Oregon us-west-2$0.3590–$0.2375$0.1629
Canada Central ca-central-1$0.4002–$0.2639$0.1824
São Paulo sa-east-1$0.5722–$0.3546$0.2587
Ireland eu-west-1$0.4002–$0.2647$0.1815
London eu-west-2$0.4152–$0.2742$0.1888
Frankfurt eu-central-1$0.4302–$0.2846$0.1951
Mumbai ap-south-1$0.2566–$0.1695$0.1167
Singapore ap-southeast-1$0.4488–$0.2969$0.2036
Sydney ap-southeast-2$0.4488–$0.2969$0.2035
Tokyo ap-northeast-1$0.4638–$0.3073$0.2100

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.2xlarge
t4g.2xlarge
AWS Graviton2 Processor
832 GiB$0.2688-25%
t3a.2xlarge
AMD EPYC 7571
832 GiB$0.3008-16%
m6g.2xlarge
AWS Graviton2 Processor
832 GiB$0.3080-14%
m7g.2xlarge
AWS Graviton3 Processor
832 GiB$0.3264-9%
t3.2xlarge
Intel Skylake E5 2686 v5
832 GiB$0.3328-7%
m5a.2xlarge
AMD EPYC 7571
832 GiB$0.3440-4%

Cost calculator

Specs

vCPU8
Memory32 GiB (4.0 per vCPU)
ProcessorAWS Graviton4 Processor
Clock2.7 GHz
StorageEBS only
NetworkUp to 15 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