EC2 instance types in AWS have fancy names like m5dn.4xlarge! Have you ever wondered what all those characters in the name stand for? This post explains just that.
Here is a breakdown of what each of those characters means. We’ll look at each piece in detail below.
The whole thing, m6gd.4xlarge is the “instance type.” Let’s look at each of the pieces one-by-one.
The “family” of an instance denotes what kind of workloads it is suitable for. Another way of defining the “family” of an instance is by looking at the ratio of vCPUs to memory. Sometimes, families also indicate certain special capabilities that the instances have, like a GPU. Consequently, instances are categorized into the following families:
General Purpose — Burstable — T Family
General Purpose — Intel-based — M Family
General Purpose — ARM-based — A Family
Compute Optimized — C Family
Memory Optimized — R Family
(Extreme) Memory Optimized — X Family
Accelerated Computing — GPU — P & G Families
Accelerated Computing — FPGA — F Family
Storage Optimized — SSD-based — I & D Families
Storage Optimized — HDD-based — H Family
The number in the instance type name is the instance family’s generation. Newer generations are generally better, use the latest chips, and are more efficient and cost-effective overall.
However, occasionally, there are other differences as well among generations. For example, M3, C3, and R3 have local SSDs whereas M4, C4, and R4 do not.
These letters in the instance name denote various capabilities that the instance has:
a for instances with AMD CPUs
b for instances optimized for block store
d for instances with direct-attached storage
g for instances with Graviton processors
n for network optimized instances
The last part of the instance type’s name is the “size” of the instance. This is the number of vCPUs the instance provides:
large = 2 vCPUs
xlarge = 4 vCPUs
2xlarge = 8 vCPUs
and so on…
The size could be “metal” meaning the instance is a bare-metal instance and as such has access to all CPUs of the bare-metal server, usually 96.
T family instances provide sizes smaller than large, i.e., medium, small, micro, and nano. All these offer 1 or 2 vCPUs depending on the generation.
About the Author
Harish KM is an AWS Developer at QloudX. He is passionate about creating zero-maintenance fully-serverless cloud-native solutions in AWS. With 20+ cloud & IT certifications, he is an expert in a multitude of technologies, especially serverless.
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.