Skip to main content

Command Palette

Search for a command to run...

Day 13 : Create AMI from EC2 Instance

100 Days of Cloud (AWS)

Updated
2 min read
Day 13 : Create AMI from EC2 Instance
Z

I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.

Welcome to Day 13. In this lab, you will learn how to create an AMI from an EC2 instance. The EC2 instance datacenter-ec2 is already set up. You just need to create an AMI from this EC2 instance. You need to name the AMI as datacenter-ec2-ami.

What is AMI and how it work?

An AWS AMI (Amazon Machine Image) is a preconfigured template used to launch EC2 instances. Think of it as a "golden image" that contains everything needed for a virtual server to start running.

Types of AMI

TypeDescription
AWS managed AMIProvided by AWS (Amazon Linux, Windows Server).
Custom AMICreated by you from a running EC2 instance.
Marketplace AMIProvided by vendors (e.g., Bitnami NGINX, RedHat, Cisco).
Community AMIShared by AWS community users.

Why do we use AMIs?

1. Launch servers quickly

No need to install OS and apps each time.

2. Create identical environments

Perfect for production, scaling, auto-scaling groups (ASG).

3. Backup and recovery

You can create a “snapshot-based” backup of your system.

4. Scaling auto-scaling groups

ASG uses AMIs to create identical instances during scaling.

Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 14. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.

100 Days of Cloud (AWS)

Part 38 of 50

In this series you will learn how to configure and manage cloud resources using AWS. My intention is to provide an explanation and share the answers for 100 Days of Cloud (AWS) from KodeKloud.

Up next

Day 12 : Attach Volume to EC2 Instance

100 Days of Cloud (AWS)

More from this blog

Technical 101

69 posts

"Mingalarbar , I am an IT guy from Myanmar who enjoys learning and sharing about Linux, Cloud, Docker & K8s. I am planning to share my expertise with the information technology communities in Burma