it’s a master image to create a virtual server, (it include an operating system, an application server, and applications)
linked in https://www.linkedin.com/in/mohan-reddy-79a57014b/detail/recent-activity/posts/
youtube https://www.youtube.com/user/VepsunTechnologies
The Zero-ETL Approach: Enhancing Data Agility and Insight
How to Create Customised AMI In AWS
1. How to create customized AMI (Amazon Machine Image)
AMI: - it’s a master image to create virtual server, (it include an operating system,
an application server, and applications)
In general while creating instance in aws you can find a few options. i.e Quick
start, MY AMI, AWS market place and community AMI.
Quick AMI:- Here is the place we can get more AMI which is given by Amazon.
MY AMI :- here we can find our own custom AMI as per our requirement.
AWS market place:- Find and buy softwarethat runs in the AWS Cloud, software
fromtrusted vendors likeSAP, Zend, Microsoft, as well as many open source
offerings. You can now find and launch softwaredirectly within EC2 for all AWS
Marketplace AMI products.
Community AMI :- here you can find options to specified family AMI’s.
Why we need Custom AMI ?
Supposewe got requirement to create 50+ or more instances with same O/S,
Applications and so on, think that if one instance took 30 min, 30 min *50
instance = 1500 min, to avoid this we create one instanceand install all required
application then will create AMI, fromthis we can launch as many as we require.
Supposeif you want samecustom AMI to another region, we can copy fromone
region to another region.
2. Creating CustomAMI…..
Let me explain how to create CustomAMI.
1) Login to AWS Console,
2) Go to serviceoption on top left side, and select EC2 services.
3) Select the instance which include OS and required applications, click on
action select IMAGEand click on create IMAGE
3. Then after give a name and description and click on create Image, if you
want to add new volume to the AMI you can add. The next instances come
with additional volume.
4) On EC2 console you can find AMI, either you can launch fromhere or from
launch configuration.
Or
4. Remaining is normal like cpu, ram, no. of instances, storage, security group,
review and launch.
While launching, you can launching instance withoutkay pair.
Note:- while connecting instanceit will ask you the password, giveexisting
instance password, becauseAMI capturepassword also.
Supposeif you want to copy same AMI to another region
Go to AMI fromthe EC2 console, click on AMI, and select AMI which you
want to copy, go to Action click on copy AMI.
5) On the next screen it will ask you where you want to copy, name and
description then click on copy AMI.
5. Then go to region where you copied and check, fromthere also you can
launch instance by using the customAMI.
If you want to send AMI to some other account or want to make public
Select the AMI, go to Action, click on Modify Imagepermission then select
public or private.
If you select public all people who are in that region can able to see and
use.
If you select private, you need to provideaccount number of particular
person, that person can able to see and use.