- outline
Amazon EC2 has a variety of instance type such as T, M, C, R and G. Below is descriptions of EC2 type from AWS document.
- Genaral Purpose
General purpose instances provide a balance of compute, memory and networking resources, and can be used for a variety of diverse workloads. These instances are ideal for applications that use these resources in equal proportions such as web servers and code repositories.
**
T2 - Up to 3.3 GHz Intel Xeon Scalable processor (Haswell E5-2676 v3 or Broadwell E5-2686 v4)**
>> Websites and web applications, development environments, build servers, code repositories, micro services, test and staging environments, and line of business applications.
T3 - Up to 3.1 GHz Intel Xeon Scalable processor (Skylake 8175M or Cascade Lake 8259CL)
>> Micro-services, low-latency interactive applications, small and medium databases, virtual desktops, development environments, code repositories, and business-critical applications
T4g - Arm-based custom built AWS Graviton2 processors
>> Micro-services, low-latency interactive applications, small and medium databases, virtual desktops, development environments, code repositories, and business-critical applications.M4 - Up to 2.4 GHz Intel Xeon Scalable Processor (Broadwell E5-2686 v4 or Haswell E5-2676 v3)
>> Small and mid-size databases, data processing tasks that require additional memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, cluster computing, and other enterprise applications.
M5 - Up to 3.1 GHz Intel Xeon Scalable processor (Skylake 8175M or Cascade Lake 8259CL) with new Intel Advanced Vector Extension (AVX-512) instruction set
>> Small and mid-size databases, data processing tasks that require additional memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, cluster computing, and other enterprise applications
M6i - Up to 3.5 GHz 3rd Generation Intel Xeon Scalable processors (Ice Lake 8375C)
>> SAP-Certified and are ideal for workloads such as backend servers supporting enterprise applications (for example Microsoft Exchange and SharePoint, SAP Business Suite, MySQL, Microsoft SQL Server, and PostgreSQL databases), gaming servers, caching fleets, and application development environments.
M7i - Up to 3.2 GHz 4th Generation Intel Xeon Scalable processor (Sapphire Rapids 8488C)
>> M7i instances are ideal for general-purpose workloads, especially those that need larger sizes or high continuous CPU usage, including large application servers, large databases, gaming servers, CPU-based machine learning, and video streaming.
- Compute Optimized
Compute Optimized instances are ideal for compute bound applications that benefit from high performance processors. Instances belonging to this category are well suited for batch processing workloads, media transcoding, high performance web servers, high performance computing (HPC), scientific modeling, dedicated gaming servers and ad server engines, machine learning inference and other compute intensive applications.
**
C4 - Up to 2.9 GHz Intel Xeon Scalable Processor (Haswell E5-2666 v3)** >> High performance front-end fleets, web-servers, batch processing, distributed analytics, high performance science and engineering applications, ad serving, MMO gaming, and video-encoding.
C5 - 2nd generation Intel Xeon Scalable Processors (Cascade Lake 8275CL) with a sustained all core Turbo frequency of 3.6GHz and single core turbo frequency of up to 3.9GHz
>> High performance web servers, scientific modelling, batch processing, distributed analytics, high-performance computing (HPC), machine/deep learning inference, ad serving, highly scalable multiplayer gaming, and video encoding.
C6i - Up to 3.5 GHz 3rd generation Intel Xeon Scalable processors (Ice Lake 8375C)
>> Compute-intensive workloads such as batch processing, distributed analytics, high-performance computing (HPC), ad serving, highly scalable multiplayer gaming, and video encoding.
C7i - Up to 3.2 GHz 4th Generation Intel Xeon Scalable processor (Sapphire Rapids 8488C)
>> compute-intensive workloads such as batch processing, distributed analytics, high-performance computing (HPC), ad serving, highly scalable multiplayer gaming, and video encoding.
- Memory Optimized
deliver fast performance for workloads that process large data sets in memory
R4 - High Frequency Intel Xeon scalable (Broadwell E5-2686 v4) processors
>> High performance databases, data mining & analysis, in-memory databases, distributed web scale in-memory caches, applications performing real-time processing of unstructured big data, Hadoop/Spark clusters, and other enterprise applications.
R5 - Up to 3.1 GHz Intel Xeon® Platinum 8000 series processors (Skylake 8175M or Cascade Lake 8259CL) with new Intel Advanced Vector Extension (AVX-512) instruction set
>> memory intensive applications such as high performance databases, distributed web scale in-memory caches, mid-size in-memory databases, real time big data analytics, and other enterprise applications.
R6i - Up to 3.5 GHz 3rd generation Intel Xeon Scalable processors (Ice Lake 8375C)
>> SAP, SQL and NoSQL databases, distributed web scale in-memory caches like Memcached and Redis, in-memory databases like SAP HANA, and real time big data analytics like Hadoop and Spark clusters.
R7i - Up to 3.2 GHz 4th Generation Intel Xeon Scalable processor (Sapphire Rapids 8488C)
>> SAP-certified and ideal for all memory-intensive workloads (SQL and NoSQL databases), distributed web scale in-memory caches (Memcached and Redis), in-memory databases (SAP HANA), and real-time big data analytics (Apache Hadoop and Apache Spark clusters).
- Accelerated Computing
hardware accelerators, or co-processors, to perform functions, such as floating point number calculations, graphics processing, or data pattern matching, more efficiently than is possible in software running on CPUs.
G4dn - 2nd Generation Intel Xeon Scalable Processors (Cascade Lake P-8259L), Up to 8 NVIDIA T4
>> Machine learning inference for applications like adding metadata to an image, object detection, recommender systems, automated speech recognition, and language translation. G4 instances also provide a very cost-effective platform for building and running graphics-intensive applications, such as remote graphics workstations, video transcoding, photo-realistic design, and game streaming in the cloud.
G5 - 2nd generation AMD EPYC processors (AMD EPYC 7R32), Up to 8 NVIDA A10G
>> Remote workstations, video rendering, and cloud gaming to produce high fidelity graphics in real time. Training and inference deep learning models for machine learning use cases such as natural language processing, computer vision, and recommender engine use cases.
P2 - High frequency Intel Xeon Scalable Processor (Broadwell E5-2686 v4), Up to 16 NVIDIA K80
>> Machine learning, high performance databases, computational fluid dynamics, computational finance, seismic analysis, molecular modeling, genomics, rendering, and other server-side GPU compute workloads.
P3 - High frequency Intel Xeon Scalable Processor (Broadwell E5-2686 v4), Up to NVIDIA Tesla V100
>> Machine/Deep learning, high performance computing, computational fluid dynamics, computational finance, seismic analysis, speech recognition, autonomous vehicles, drug discovery.
P4 - 2nd Generation Intel Xeon Scalable processors (Cascade Lake P-8275CL), Up to 8 NVIDIA A100
>> Machine learning, high performance computing, computational fluid dynamics, computational finance, seismic analysis, speech recognition, autonomous vehicles, and drug discovery.
P5 - 3rd Gen AMD EPYC processors (AMD EPYC 7R13), Up to 8 NVIDIA H100
>> Generative AI applications, including question answering, code generation, video and image generation, speech recognition, and more. HPC applications at scale in pharmaceutical discovery, seismic analysis, weather forecasting, and financial modeling.
- Storage Optimized
High, sequential read and write access to very large data sets on local storage. They are optimized to deliver tens of thousands of low-latency, random I/O operations per second (IOPS) to applications
I3 - High Frequency Intel Xeon Scalable Processors (Broadwell E5-2686 v4) with base frequency of 2.3 GHz, NVMe SSD
>> Small to medium-scale NoSQL databases (e.g. Cassandra, MongoDB, Aerospike), in-memory databases (e.g. Redis), scale-out transactional databases, data warehousing, Elasticsearch, analytics workloads.
I4i - Up to 3.5 GHz 3rd generation Intel Xeon Scalable Processors (Ice Lake 8375C), AWS Nitro SSD
>> Maximize transactions per second (TPS) for I/O demanding workloads that require very fast access to small to medium sized data sets on local storage such as transactional databases (e.g. MySQL, Oracle DB, and Microsoft SQL Server), and NoSQL databases (e.g. MongoDB, Couchbase, Aerospike and Redis). I4i instances are also an ideal fit for workloads that can benefit from high compute performance per TB of storage such as data analytics and search engines.
I4g - AWS Graviton2 processors, Up to 15 TB of NVMe SSD instance storage with AWS Nitro SSDs
\>> I/O intensive applications and are targeted to customers using transactional databases (Amazon DynamoDB, MySQL, and PostgreSQL), Amazon OpenSearch Service, and real-time analytics such as Apache Spark.
- HPC Optimized
High performance computing (HPC) instances are purpose built to offer the best price performance for running HPC workloads at scale on AWS. HPC instances are ideal for applications that benefit from high-performance processors such as large, complex simulations and deep learning workloads.
Hpc6a - 96 Cores of Up to 3.6 GHz 3rd AMD EPYC processors with 384 GiB of memory (AMD EPYC 7R13)
>> Tightly coupled, compute-intensive, high performance computing (HPC) workloads to deliver cost-efficient performance. Hpc6a instances are designed for workloads such as computational fluid dynamics, molecular dynamics, and weather forecasting. They are also designed for workloads that can take advantage of improved network throughput and packet-rate performance.
Hpc7a - Up to 192 cores of 4th Gen AMD EPYC processors with 768 GiB of memory (AMD EPYC 9R14)
>> 4th Gen AMD EPYC processors and are designed for tightly coupled, compute-intensive high performance computing (HPC) workloads such as computational fluid dynamics (CFD), weather forecasting, and multiphysics simulations.
Hpc7g - Up to 64 cores of Graviton3E processors with 128 GiB of memory
\>> Compute-intensive high performance computing (HPC) workloads, such as computational fluid dynamics (CFD), weather forecasting, and molecular dynamics.
- reference