SaigonTech Vault
Loại: knowledge-doc 2026-09-29 active #wiki-import

EC2 Instance Types

  • You can use different types of EC2 instances that are optimized for different use cases - https://aws.amazon.com/ec2/instance-types/

  • AWS has the following naming convention: <span style="color:lightblue">m</span><span style="color:yellow">5</span>.<span style="color:green">2xlarge</span>

  • <span style="color:lightblue">m</span>: instance class

  • <span style="color:yellow">5</span>: generation of hardware(AWS improve them over time)
  • <span style="color:green">2xlarge</span>: size within the instance class. The more the size, the more the memory, the more the CPU is going to have on your instance.

General Purpose

  • Great for a variety of diverse workloads such as web servers or code repositories.
  • Balance between:
  • Compute
  • Memory
  • Networking

Compute Optimized

  • Great for compute-intensive tasks that require high performance processor.
  • Batch processing workloads
  • Media transcoding
  • High performance web servers
  • High performance computing(HPC)
  • Scientific modeling & machine learning
  • Dedicated gaming servers

Memory Optimized

  • Fast performance for workloads that process large data sets in memory(RAM)
  • High performance, relational/non-relational databases
  • Distributed web scale cache stores
  • In-memory databases optimized for BI(Bussiness Intelligence)
  • Application performing real-time processing of big unstructured data

Accelerated Computing

  • Use hardware accelerators, or co-processors, to perform functions, more efficiently than is possible in software running on CPUs.
  • floating point number calculations
  • graphics processing
  • data pattern matching

Storage Optimized

  • Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
  • High frequency online transaction processing(OLTP) systems
  • Relational and NoSql databases
  • Cache for in-memory databases(for example Redis)
  • Data warehousing applications
  • Distributed file systems

HPC Optimized

  • 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.

Greate website to compare all instance types: https://instances.vantage.sh/