EC2 stands for Elastic Compute Cloud
Amazon EC2 provides Scalable Computing Capacity in the AWS Cloud.
Users can use Amazon EC2 to launch as many or a few virtual servers as they need. Also, one can configure security and networking and manage storage according to their needs.
Amazon EC2 gives users the flexibility to scale up and scale down the instance.
Amazon EC2 has 2 storage options i.e. EBS(Elastic Block Storage) and instance storage.
Pre-Configured templates are available and known as Amazon Machine Image.
By default, when you create an EC2 instance your account is limited to a maximum of 20 instances per EC2 region with 2 default Input-Output instances.
Types of EC2 Instances
General Purpose -> Balanced Memory & CPU
Compute Optimized -> More CPU than RAM
Memory Optimized -> More RAM
Accelerated Computing / GPU -> Graphics Optimized
Storage Optimized -> Low Latency
High Memory -> High RAM, Nitro System
Previous Generation Instances