EC2 stands for Elastic Compute Cloud
In Microsoft Azure – Virtual server is called Virtual Machine.
In AWS – Virtual server is called EC2.
Amazon EC2 provides scalable computing capacity in the AWS cloud.
You can use Amazon EC2 to launch as many virtual servers as you need, configure networking, security and manage storage. Amazon EC2 enables you to scale down or scale up the instance.
Amazon EC2 is having 2 storage options
While setting up EC2 environment you can choose from pre-configured templates, which are available known as AMI (Amazon Machine Image). By default, when you create an EC2 account with Amazon, your account is limited to maximum of 20 instances per EC2 region with 2 default high I/O instances.
Types of EC2 instances
Compute Optimized – More CPU than RAM
Memory Optimized – More RAM than CPU
Storage Optimized – Low Latency
Accelerated Computing/GPU – Graphics Optimized
High Memory Optimized – High RAM, Nitro System