EC2 stands for Elastic Compute Cloud and is Amazon's web service that offering compute resources in the cloud. Using Amazon EC2 allows developers to rent scalable and reliable virtual computers to run their applications. EC2 is one of the most popular services offered by AWS. Most people will start here when beginning with AWS. Essentially, EC2 is a virtualized machine managed by AWS with an operating system like Windows, or Linux and hardware components that you can choose from.
AWS EC2 instance types.
When you use EC2 to run your cloud-based application you'll select from different EC2 instance type options and the ability to configure their size and other options. AWS offers several different types of EC2 instances depending on your use case. They are: general purpose, compute optimized, memory optimized, accelerated computing, and storage optimized.