Creating Amazon Machine Image & Launching Instance from AMI

Amazon AMI  is a template which contain  the root volume of your instance. its contains the operating system,application server and your application.To create an AMI from running instance first login to your Amazon management console and got to EC2 service section from there. Select the Instance of which you want to create the AMI. Right click on the instance and chose create image from the Image context menu.




After selecting Create image option, create image dialogue box will open. Provide a unique Image name there and description there. Also if you don't  want to reboot the instance while taking AMI, check the No Reboot option.Best way is to stop the instance and take the AMI,so no data corruption will happen.



After you chose Create image, a pop-up will appear with unique  AMI id and ami creation pending status. It will take some time to complete the AMI image creation and will depend on your Instance capacity.You can check the image  status by using Ami Id,  which you got while ami creation time.Go to the left side of EC2 dashboard and check using ami id in AMI section.

                                                                         To launch a new Instance from the ami image you created. Select the image using the ami id  from AMI section on the left side of EC2 dashboard. Left click on ami image and select Launch option as mentioned below



Then chose the instance type,storage and security group all as per your requirement.Which i had already explained in Launch EC2 Instance in AWS Link 



Comments

Popular posts from this blog

Datastax Error : Cannot start node if snitch's data center (dc1) differs from previous data center (dc2)

Datastax Error : Cassandra - Saved cluster name Test Cluster != configured name

Configure Nagios plugin " check_logfiles " for scanning log file

Popular posts from this blog

Datastax Error : Cannot start node if snitch's data center (dc1) differs from previous data center (dc2)

Datastax Error : Cassandra - Saved cluster name Test Cluster != configured name

Configure Nagios plugin " check_logfiles " for scanning log file