Search code examples
amazon-s3amazon-ec2amazon-ami

Move Amazon EC2 AMIs between regions via web-interface?


Any easy way to move and custom AMI image between regions? (tokyo -> singapore)

I know you can mess up with API and S3 to get it done, but there there any easier way to do it?


Solution

  • As of December, 2012, Amazon now supports migrating an AMI to another region through the UI tool (Amazon Management Console). See their documentation here

    So, how I've done it is..

    1. From the AMI find out the Snapshot-ID and how it is attached (e.g. /dev/sda1)
    2. Select the Snapshot, click "Copy", set Destination region and make the copy (takes a while!)
    3. Select the new Snapshot, click "Create Image"

            Architecture: (choose 32 or 64 bit)

            Name/Description: (give it one)

            Kernel ID: when migrating a Linux AMI, if you choose "default" it may fail. What worked for me was to go to the Amazon Kernels listing here to find the kernels Amazon supports, then specify it when creating the image)

            Root Device Name: /dev/sda1

            Click "Yes, Create"

      4.Launch an instance from the new AMI and test that you can connect.