Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to create custom AMI in AWS


Amazon Machine Image (AMI) gives the information required to launch an instance, which is a virtual server in the cloud. There are multiple AMI available within the AWS, But what if we want to create Custom Ami in AWS. This tutorial is all about how to create custom AMI in AWS.create custom AMI in AWS


The following are the main reasons to create custom AMI in AWS:

  • You need pre-bundle packages instead of installing them after the instance boots.
  • You need to control the timing of package updates to provide a consistent base image for your layer.
  • You need instances—LOAD-BASED instances in particular—to boot as quickly as possible.

Once  you are ready with your customised EC2 instance. We can create custom AMI in AWS so that it can be used to launch as many required instances based on requirement. As an example we are going to create custom AMI in AWS for our web server.

Steps to create custom AMI in AWS:

  1. Login to AWS console
  2. Goto EC2 dashboard and select the instance for which you want to create custom AMI.
  3. Then goto Action button and select Image-> Create image as below:create custom AMI in AWS
  4. In the next pop-up window system will ask for “Image name” and “Image description“. Also you can change the size of root volume if you want to change however in our case we are keeping the same as below. Click the “Create Image” button.create custom AMI in AWS

How to check created Custom AMI.

  1. To Check the status of AMI creation process Goto Images–>AMIs. You will see pending status as below for some time.create custom AMI in AWS
  2. Once the process is completed status will become as “Available”:create custom AMI in AWS
  3. Also in the snapshot within in the EBS (ELASTIC BLOCK STORE), you can able to see the snapshot being created for the AMI image created by us.create custom AMI in AWS

How to Launch custom AMI in AWS.

Now in case in future if you would like to launch this customised AMI, just goto EC2 dashboard select Launch Instance. And you can able to see our custom AMI created under “My AMIs” tab.create custom AMI in AWSOnce you select this AMI , it will get launched at the end of the process.

So this is how we can create custom AMI in AWS.

The post How to create custom AMI in AWS appeared first on UX Techno.



This post first appeared on UxTechno, please read the originial post: here

Share the post

How to create custom AMI in AWS

×

Subscribe to Uxtechno

Get updates delivered right to your inbox!

Thank you for your subscription

×