AWS CloudEC2

Amazon EC2 M5 v/s M4 Instance Comparison

In this blog, we are going to compare the AWS Instance configuration, cost, and performance between Amazon EC2 M5 v/s M4 Instance Comparison

AWS launched new EC2 M5 Instance Family and today we are comparing with EC2 M4 instance.
– Why most of the projects choose AWS EC2 M family for its balanced virtual computing specs.

Let’s quickly compare the m5.xlarge against the m4.xlarge.

The M5s pack much more performance with an upgraded CPU (2.5 GHz Intel Xeon® Platinum 8175 processors), faster networking speed with updated AWS ENA (Elastic Network Adapter) and NVMe (Non-Volatile Memory express) storage.

Making upgrading very attractive for teams willing to move to M5s, as you get M5 rates are slightly cheaper with much more performance over the M4s.

How to check NVMe module is installed or not in your current Amazon OS using the following lsmod command.

After Upgrading Instances from M4 to M5, you may face some issues like the box was not responding and they automatically get rebooted.


Check current and available kernel version and upgrade to the latest one

Check ena drivers

Upgrade kernel and reboot the EC2 instance.

(with this command some of the dependency packages also get updated)

After Reboot check by which kernel version your OS started (old version or new version)

You may or may not face this issue its depend on your OS and Kernel version and if you faced instance reboot issue then follow the above solution.

After following these steps M5 instance working fine.


Related Articles

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Adblock Detected

Please consider supporting us by disabling your ad blocker
%d bloggers like this: