Amazon EC2 – Clone system into AMI without reboot

This requires you to install the Amazon CLI API tools located at: http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
This also requires java installed
Api Reference here: http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-CreateImage.html

This is for the lazy people like myself to reference
This will snapshot all ebs volumes that are also attached to the system you’re creating an image from.
If you’re not pausing this instance when you take a snapshot you can get an inconsistent state, but if you can’t afford downtime then just do this and if it doesn’t work when you boot a new system do it again

james.tran$ ec2cim i-111a111 -n my_newami_name -d my_description --no-reboot --region us-west-1 -W AWSUSER_SECRET_KEY -O AWSUSER_ACCESS_KEY
IMAGE     ami-543106
Advertisement

One thought on “Amazon EC2 – Clone system into AMI without reboot

  1. blog guest post, guest blog, guest posting on blogs, guest bloggers, blog posting sites, guest blog service, guest blog services, guest blog post services, guest blog submission, software guest blog post, how to write a guest post, blog post submission, posting a blog, blogs accepting guest posts, posting blogs, accepting guest posts, business submit guest post, buy guest blog posts, guest posting tips, submit guest post business, guestpost, submit a guest blog, write a guest post, submit your guest post, submit guest posts, guestblogging, find guest blogs, guest post submission
    find guest blogs
    guest post submission
    guestblogging
    submit guest posts

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s