Monday, March 25, 2013

Amazon AMI Copy example with snapshots

Advertisements

Amazon recently announced a new feature to copy the AMIs over regions. It makes replication very easy process. You have to create Linux AMI or Windows AMI of your instances. Then copy it to other regions in case if the current region goes down you can run your site/application from other regions. I have explained how to create AMIs of Linux and windows in previous posts. Also the replication of AMI. But this feature makes it very easy.

In this example we will show how to copy an AMI from North Virginia(US-East) to Oregon(US-West):

Here We have an AMI in North Virginia
Amazon AMI Copy

Right click on it and click copy
Amazon AMI Copy

Choose the Destination Region and give a name for new AMI. And click yes copy. Copying is initiated. It will take20-30 minutes for copying the AMI.
Amazon AMI Copy

Copying is initiated. It will take20-30 minutes for copying the AMI.
Amazon AMI Copy

You can go to Oregon dashboard and check the status. While processing it will be in Pending status. After finishing it will be Available.
Amazon AMI Copy

Don't just finish and run. Always check its working by launching one instance and make sure you terminate the test instance after testing.

No comments:

Post a Comment

Be nice. That's all.