Amazon EC2 M5 instances, the previous generation of Intel-based General Purpose Instances that was originally launched in 2017,  provide a balance of compute, memory, and network resources, and are a good choice for many applications.

The M5 and M5d instances feature either the 1st or 2nd generation Intel Xeon Platinum 8000 series processor (Skylake 8175M or Cascade Lake 8259CL) clocked at up to 3.1 GHz, and up to 25 Gbps network bandwidth using Enhanced Networking. 

M5 instances support the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, offering up to 2x the FLOPS per core compared to the previous generation M4 instances.

The latest generation of Intel-based General Purpose Instances, Amazon EC2 M6i, are powered by 3rd generation Intel Xeon Scalable processors (code named Ice Lake 8375C) with up to 3.5 GHz. Compared to M5 instances, they offer up to 15% better compute price performance and up to 20% higher memory bandwidth per vCPU.

When to use Amazon EC2 M5 instances

Amazon EC2 M5 instances provide balanced compute, memory, and network resources, making them a good choice for a wide range of applications that use these resources in equal proportions such as:

  • Small and mid-size databases
  • Data processing tasks that require additional memory
  • Caching fleets
  • Backend servers for SAP, Microsoft SharePoint, and other enterprise applications 
  • Backend servers for cluster computing

Cloud cost management from Anodot automatically recommends when an older-generation instance (like one in the EC2 M4 family) should be upgraded to a M5 or M6i instance for your compute-intensive workload.

Amazon EC2 m5.large details and pricing options

API Namem5.large
Memory8.0 GiB
vCPUs2 vCPUs
StorageEBS Only
Network PerformanceUp to 10 Gigabit
Linux On-Demand pricing$0.0960 per Hour
Linux Reserved pricing$0.0578 per Hour
Linux Spot pricing$0.0382 per Hour
Windows On-Demand pricing$0.1880 per Hour
Windows Reserved pricing$0.1498 per Hour
Windows Spot pricing$0.126 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

Amazon EC2 m5.xlarge details and pricing options

API Namem5.xlarge
Memory16.0 GiB
vCPUs4 vCPUs
StorageEBS Only
Network PerformanceUp to 10 Gigabit
Linux On-Demand pricing$0.1920 per Hour
Linux Reserved pricing$0.1156 per Hour
Linux Spot pricing$0.0681 per Hour
Windows On-Demand pricing$0.3760 per Hour
Windows Reserved pricing$0.2995 per Hour
Windows Spot pricing$0.252 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

Amazon EC2 m5.2xlarge details and pricing options

API Namem5.2xlarge
Memory32.0 GiB
vCPUs8 vCPUs
StorageEBS Only
Network PerformanceUp to 10 Gigabit
Linux On-Demand pricing$0.3840 per Hour
Linux Reserved pricing$0.2302 per Hour
Linux Spot pricing$0.1393 per Hour
Windows On-Demand pricing$0.7520 per Hour
Windows Reserved pricing$0.5982 per Hour
Windows Spot pricing$0.504 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

Amazon EC2 m5.4xlarge details and pricing options

API Namem5.4xlarge
Memory64.0 GiB
vCPUs16 vCPUs
StorageEBS Only
Network PerformanceUp to 10 Gigabit
Linux On-Demand pricing$0.7680 per Hour
Linux Reserved pricing$0.4604 per Hour
Linux Spot pricing$0.3364 per Hour
Windows On-Demand pricing$1.5040 per Hour
Windows Reserved pricing$1.1964 per Hour
Windows Spot pricing$1.0081 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

Amazon EC2 m5.8xlarge details and pricing options

API Namem5.8xlarge
Memory128.0 GiB
vCPUs32 vCPUs
StorageEBS Only
Network Performance10 Gigabit
Linux On-Demand pricing$1.5360 per Hour
Linux Reserved pricing$0.9218 per Hour
Linux Spot pricing$0.5776 per Hour
Windows On-Demand pricing$3.0080 per Hour
Windows Reserved pricing$2.3938 per Hour
Windows Spot pricing$2.0161 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

When to use Amazon EC2 M5d instances

M5d instances, introduced in June 2018, are backed by up to 3.6 TB of NVMe-based SSD block-level instance storage that is physically connected to the host server.

These instances are a great fit for workloads that require a balance of compute and memory resources, along with high-speed, low latency local block storage, or applications that need temporary storage of data, including:

  • Data logging
  • Media processing
  • Temporary storage of data for scratch space, temporary files, and caches

Amazon EC2 m5d.2xlarge and m5d.4xlarge details and pricing options

API Namem5d.2xlargem5d.4xlarge
Memory32.0 GiB64.0 GiB
vCPUs8 vCPUs16 vCPUs
Storage1 x 300 NVMe SSD2 x 300 NVMe SSD
Network PerformanceUp to 10 GigabitUp to 10 Gigabit
Linux On-Demand pricing$0.4520 hourly$0.9040 hourly
Linux Reserved pricing$0.2850 hourly$0.5700 hourly
Linux Spot pricing$0.2407 per Hour$0.3705 per Hour
Windows On-Demand pricing$0.8200 hourly$1.6400 hourly
Windows Reserved pricing$0.6530 hourly$1.3060 hourly
Windows Spot pricing$0.504 per Hour$1.0081 per Hour

* Prices shown are for the US East (Northern Virginia) AWS Region. Prices for reserved instances are for 1-year “Partial Upfront” payment option.

Amazon EC2 M5 and M5d product details and pricing

InstancevCPUMemory (GiB)Instance Storage (GB)Network Bandwidth (Gbps)EBS Bandwidth (Mbps)Linux On-Demand hourly rate for US East (N. Virginia)
m5.large28EBS-OnlyUp to 10Up to 4,750$0.10
m5.xlarge416EBS-OnlyUp to 10Up to 4,750$0.19
m5.2xlarge832EBS-OnlyUp to 10Up to 4,750$0.38
m5.4xlarge1664EBS-OnlyUp to 104,750$0.77
m5.8xlarge32128EBS Only106,800$1.54
m5.12xlarge48192EBS-Only129,500$2.30
m5.16xlarge64256EBS Only2013,600$3.07
m5.24xlarge96384EBS-Only2519,000$4.61
m5.metal96*384EBS-Only2519,000$4.61
m5d.large281 x 75 NVMe SSDUp to 10Up to 4,750$0.11
m5d.xlarge4161 x 150 NVMe SSDUp to 10Up to 4,750$0.23
m5d.2xlarge8321 x 300 NVMe SSDUp to 10Up to 4,750$0.45
m5d.4xlarge16642 x 300 NVMe SSDUp to 104,750$0.90
m5d.8xlarge321282 x 600 NVMe SSD106,800$1.81
m5d.12xlarge481922 x 900 NVMe SSD129,500$2.71
m5d.16xlarge642564 x 600 NVMe SSD2013,600$3.62
m5d.24xlarge963844 x 900 NVMe SSD2519,000$5.42
m5d.metal96*3844 x 900 NVMe SSD2519,000$5.42

*m5.metal and m5d.metal provide 96 logical processors on 48 physical cores

C5 and C5d instances are available through the following AWS purchasing and discount options:

  • On-Demand Instances
  • Savings Plans
  • Reserved Instances
  • Spot Instances

Written by Anodot

Anodot leads in Autonomous Business Monitoring, offering real-time incident detection and innovative cloud cost management solutions with a primary focus on partnerships and MSP collaboration. Our machine learning platform not only identifies business incidents promptly but also optimizes cloud resources, reducing waste. By reducing alert noise by up to 95 percent and slashing time to detection by as much as 80 percent, Anodot has helped customers recover millions in time and revenue.

Start optimizing your cloud costs today!

Connect with one of our cloud cost management specialists to learn how Anodot can help your organization control costs, optimize resources and reduce cloud waste.