EC2 Core Concepts

Get a detailed knowledge of the core concepts of EC2.

In this lesson, we will go over some core concepts of Elastic Compute Cloud (EC2) such as Amazon Machine Image (AMI), its lifecycle, and billing. Then, we will look at different types of instances offered by EC2 and learn about their use cases.

Amazon Machine Image (AMI)

An Amazon Machine Image is a pre-configured image provided by AWS that contains the necessary information required to launch an instance. AMI serves as a template for the root volume that includes information regarding the operating system, application server, and applications.

Press + to interact

An AMI must be specified to launch an instance; multiple instances can be launched from a single AMI. We can also create our AMIs, and we can copy an AMI from one region to another and deregister an AMI when no longer needed.

There are multiple types of AMIs based on the

  • Operating system: For example, Amazon Linux 2 AMI and Microsoft Windows Server 2019 Base AMI are two different AMIs based on different operating systems.

  • Regions: AWS offers different AMIs based on the region; AMIs can be transferred from one region to another. It is important to note that transfer between distant regions would take more time. Hence, it would take a long time to launch the EC2 instance.

  • Architecture (32-bit or 64-bit): AWS offers various AMIs for different types of architecture, such as Ubuntu 20.40 LTS for 64-bit architecture and Amazon Linux for 32-bit architecture. It is important to note that AWS also offers Amazon Linux AMI for 64-bit architecture as well.

  • Launch permissions: Each AMI has ...