EC2 Prices
m General purpose
4 Generation 4
.
xlarge 4 vCPU · 16 GiB

$0.1166/hr

3-yr reserved in N. California

4 vCPU

Xeon Haswell, 2.4 GHz

16 GiB

4 GiB per vCPU

EBS only

Local storage

High

Network bandwidth

750 Mbps

EBS bandwidth

x86_64

Architecture

Every way to pay

Prices in N. California. Bars are relative to on-demand.

PlanMonthlyYearlySaves

On-demand

Pay by the second, no commitment

$171$2,050

Reserved, 1 yr

No upfront, this size and region

$124$1,490−27%

Reserved, 3 yr

No upfront, this size and region

$85.12$1,021−50%

What will it cost me?

Enter how you plan to run it.

× m4.xlarge, on-demand

/mo

a year

You run these most of the time. A 1-year reservation bills every hour, and would still cost /mo.

Same usage on each planMonthlyYearly
On-demand
Reserved 1 yr
Reserved 3 yr

Reservations bill every hour of the month, whether the instance runs or not.

Other sizes in this family

Price roughly doubles with each step. Pick a size to open it.

Price in every region

Cheapest in US East (Ohio). Moving from N. California would save $265 a year per instance.

Not offered in Calgary , Central , US-East , Paris , Zurich , Stockholm , Milan , Spain , Hyderabad , Jakarta , Melbourne , Malaysia , New Zealand , Thailand , Hong Kong , Taipei , UAE , Bahrain , Tel Aviv , Cape Town .

Same shape, other families

Every instance with 4 vCPU · 16 GiB in N. California, ranked by price.

InstanceProcessorGenerationLocal diskPrice/hrvs m4.xlarge
t4g.xlargeGraviton2Gen 4EBS only$0.0691−41%
t3a.xlargeEPYC NaplesGen 3EBS only$0.0771−34%
m6g.xlargeGraviton2Gen 6EBS only$0.0774−34%
t3.xlargeXeon SkylakeNewestEBS only$0.0857−27%
m7g.xlargeGraviton3Gen 7EBS only$0.0868−26%
m5a.xlargeEPYC NaplesGen 5EBS only$0.0870−25%
m6a.xlargeEPYC MilanGen 6EBS only$0.0919−21%
m6gd.xlargeGraviton2Gen 6237 GB NVMe$0.0929−20%
m8g.xlargeGraviton4Gen 8EBS only$0.0954−18%
m5.xlargeXeon SkylakeNewestEBS only$0.0970−17%
m7i-flex.xlargeXeon Sapphire RapidsGen 7EBS only$0.1018−13%
m6i.xlargeXeon Ice LakeGen 6EBS only$0.1021−12%
m5ad.xlargeEPYC NaplesGen 5150 GB NVMe$0.1050−10%
m7i.xlargeXeon Sapphire RapidsGen 7EBS only$0.1072−8%
m7gd.xlargeGraviton3Gen 7237 GB NVMe$0.1086−7%
t2.xlargeXeon FamilyGen 2EBS only$0.1101−6%
m5d.xlargeXeon SkylakeGen 5150 GB NVMe$0.1150−1%
m4.xlargeXeon HaswellGen 4EBS only$0.1166—
m6id.xlargeXeon Ice LakeGen 6237 GB NVMe$0.1207+3%
m6in.xlargeXeon Ice LakeGen 6EBS only$0.1252+7%
m6idn.xlargeXeon Ice LakeGen 6237 GB NVMe$0.1414+21%
m5zn.xlargeXeon Cascade LakeGen 5EBS only$0.1677+44%

Specifications

API name
m4.xlarge
Processor
Intel Xeon E5-2676 v3 (Haswell)
Local storage
EBS only
Family
General purpose
Clock speed
2.4 GHz
Network
High
Generation
Gen 4
Architecture
x86_64
EBS bandwidth
750 Mbps
vCPUs
4
Memory
16 GiB
GPUs
None