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)
| Region | Linux | Windows | 1-yr RI | 3-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
| Type | vCPU | Memory | $/hour | vs m8g.xlarge |
|---|---|---|---|---|
| t4g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1344 | -25% |
| t3a.xlarge AMD EPYC 7571 | 4 | 16 GiB | $0.1504 | -16% |
| m6g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1540 | -14% |
| m7g.xlarge AWS Graviton3 Processor | 4 | 16 GiB | $0.1632 | -9% |
| t3.xlarge Intel Skylake E5 2686 v5 | 4 | 16 GiB | $0.1664 | -7% |
| m5a.xlarge AMD EPYC 7571 | 4 | 16 GiB | $0.1720 | -4% |
Cost calculator
Specs
| vCPU | 4 |
|---|---|
| Memory | 16 GiB (4.0 per vCPU) |
| Processor | AWS Graviton4 Processor |
| Clock | 2.7 GHz |
| Storage | EBS only |
| Network | Up to 12.5 Gigabit |
m8g sizes
| m8g.medium | 1 vCPU | $0.0449 |
| m8g.large | 2 vCPU | $0.0898 |
| m8g.xlarge | 4 vCPU | $0.1795 |
| m8g.2xlarge | 8 vCPU | $0.3590 |
| m8g.4xlarge | 16 vCPU | $0.7181 |
| m8g.8xlarge | 32 vCPU | $1.44 |
| m8g.12xlarge | 48 vCPU | $2.15 |
| m8g.16xlarge | 64 vCPU | $2.87 |
| m8g.24xlarge | 96 vCPU | $4.31 |
| m8g.48xlarge | 192 vCPU | $8.62 |