The Difference Between EC2, AMI, ECS And AWS Lambda
The EC2 is used for creating the virtual server instance. The AMI is the EC2 virtual machines image. ECS provides container services such as docker and the AWS lambda is used to run the code without a server. Lets explore these all concept as over this article.
Amazon EC2
Amazon Elastic Compute Cloud (Amazon EC2) is a web service with which you can run virtual server “instances” in the cloud. Amazon EC2 instances can run the Windows, Linux, or macOS operating systems.
The EC2 simple web service interface allows you to obtain and configure capacity with minimal friction. Also, the EC2 is designed to make web-scale cloud computing easier for developers. The best advantage of Amazon EC2 is it allowing you to pay only the capacity that you actually used.
Advantages Of Amazon EC2
Here below, I am listing out the advantages of Amazon EC2.
Elastic Web-Scale computing: You can increase or decrease the capacity, memory, or processing power of the EC2 instance within minutes.
Completely controlled: You are the root user of the instance. You can do anything on the instance. Also, it is able to stop and start the instance without losing the data