DEV Community

Black-Thor
Black-Thor

Posted on

Amazon EC2 Instances for Your Cloud Computing Needs

Amazon Elastic Compute Cloud (EC2) is a powerful service for launching virtual servers on Amazon Web Services (AWS).
These instances are the building blocks for deploying a wide range of applications, including web servers, databases,etc...

To effectively use the power of EC2, it's importantn to understand the different instance types and how to choose the right one for your specific needs.

Instance Types: A Diverse Spectrum of Computing Power

EC2 instances come in a variety of flavors, each tailored to specific use cases.
These types are categorized :

  • General Purpose Instances:

These instances offer a balanced combination of compute, memory, and networking resources, making them adapted for a wide range of applications.

  • Compute Optimized Instances:

These instances excel at running CPU-intensive tasks, such as batch processing, media transcoding.

  • Memory Optimized Instances:

These instances prioritize memory performance, making them ideal for applications that process large data sets in memory.

  • Storage Optimized Instances:

These instances are designed for workloads that require read and write access to very large data sets on local storage.

  • Accelerated Computing Instances:

For workloads that demand exceptional processing power, accelerated computing these instances provide access to hardware-based compute accelerators like GPUs.

Amazon EC2 instance names follow a specific naming convention to help you easily identify their characteristics.

The first letter of the instance name indicates the instance family.

The second value represents the instance generation, and it's followed with the architecture a for AMD , g for graviton ( ARM architecture)

After the generation letter, additional letters indicate specific instance configurations, such as processor type (e.g., d for instance store volumes, n for network optimization, b for block storage optimization, e for extra storage or memory, and z for high frequency).

Lettre Description
d Instance store volumes  
n Network optimization
b Block storage optimization
e Extra storage or memory
z High frequency

After the dot is a description of the capacity, which determines the number of vCPUs and the amount of memory available for the instance.
These capacities are generally identified by a combination of letters and numbers.

Here are some examples of AWS instance nomenclatures:

M5.large large M5 instance, with 2 vCPUs and 8 GiB of memory.
M5.xlarge: xlarge M5 instance, with 4 vCPUs and 16 GiB of memory.
M5.2xlarge: 2xlarge M5 instance, with 8 vCPUs and 32 GiB of memory.

To summarize, if I take the "m5d.24xlarge" instance

M is the family name.
5 is the generation.
d Use a NVME SSD
24xlarge means it has 24 times more vCPUs than the large .

Top comments (0)