Amazon Elastic Compute Cloud (EC2) instance types are virtual machines that are offered by Amazon Web Services (AWS) to run applications and services in the cloud. Amazon EC2 provides a wide selection of instance types optimized to fit different use cases.
Instance types comprise varying combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the appropriate mix of resources for your applications. There are six different types of EC2 instances: General Purpose Instances, Compute Optimized Instances, Memory-Optimized Instances, Accelerated Computing Instances, Storage Optimized Instances and HPC Optimized Instances.