Friday, February 11, 2022

AWS- EC2 Instance -Detailed Discussion

 EC2 Instances - Elastic Compute Cloud

Amazon EC2 provides scalable computing capacity in the AWS cloud.

With EC2 instances you can configure security group, networking, and also manage storage.

EBS Storage and instance store are two storage options.

By default, max 20 instances can be created per Region and if we need to create more instances then we need to raise a request to the AWS support team.

Types of EC2 Instances

  • General Purpose:- Balance Memory and CPU
  • Compute Optimized:- More CPU than RAM
  • Memory-Optimized:- More RAM
  • Storage Optimized:- Graphic Optimized
  • Accelerated Computing:- Low Latency
  • High Memory:- High Memory, Nitro System ( a type of hypervisor)
  • Previous Generation

General Purpose:- It provides Balanced Memory CPU and networking resources and is well suitable for a variety of workloads. It is available in 4 sizes.

Nano, small, Medium, Large

There are 3 series in General purpose

A Series (only has large size):- It is well suited for the scale-out workloads that are supported by ARM Ecosystem (used for Robotic process)

Below are well suitable use-cases for A-Series.

  • Webservers
  • Containerized Microservices
  • Caching fleets ( When you want to run multiple EC2 instances in parallel )
  • Distributed Data Store
  • The application that requires Arm Instruction set

M Series:- It has M4, M5, M5a, M5ad, and M5d  Instance types.

M4 Instance:- It features a Custom Intel Xeon E5-2676 v3 Haswell processor optimized specifically for EC2. It supports EBS Only Instance storage, vCpu 2 to 40(max), and RAM 8 GB to 160GB.

M5, M5a, M5ad, and M5d  Instance:- These instances provide ideal Cloud infrastructure and offer a balance of compute, memory, and network resources for a broad range of applications. It supports EBS and NVMe SSD, vCpu 2 to 96(max), and RAM 8GB to 384 GB.

Below are the use cases

  • Gaming Servers
  • Webservers
  • Small and Medium databases

T-Series - t2,t3,t3a instance types

These instances are the baseline level of Cpu performance with the ability to burst to a higher level when required for your workload. It has vCpu 2 to 8 and RAM is 0.5GB to 32GB.

Below are the use cases

Website and Web development

Code Repositories

Development Build and Test



Post a Comment