Reputation: 911
My company builds "certified" AMIs for us to use. I want to create an EC2 instance from that and install some software and then package that back up to be able to create EC2 instances from this new package.
Ideally, this new package would be AMI from the EC2 instance that I installed the software on, but this isn't an option for me.
Is there another way to achieve something similar? I'm just trying to avoid having to install the same software on every EC2 instance I create.
Thanks!
Upvotes: 0
Views: 706
Reputation: 36073
An AMI image is the only way to "package up" what you have already installed. If you cannot create and use your own custom AMI images, then you must use a sanctioned AMI image, and install what you need on top of that.
However, you can automate that process so you don't have to sign-in to the EC2 instance and install the software manually. You have a few options:
apt-get install
items in your EC2 instances user data as an init script. See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.htmlUpvotes: 1