2

I want to move my Amazon Web Services AMI from my EU region to the US-east. What steps will i need to do for this.

  1. Do I need to create new private key and 509certificate?
  2. Do I need to create new security groups
  3. Can I move / copy the AMI bundle between regions or do I need to rebundle the machine and upload it to my US S3 bucket?
  4. My EU instance is behind a load balancer with cloudwatch monitoring and alarms which trigger autoscaling policies. I assume I will have to redo these in US region too.

Anything else I will need to do?

cheers

Steffen Opel
  • 63,899
  • 11
  • 192
  • 211
undefined
  • 5,190
  • 11
  • 56
  • 90

2 Answers2

3

This post and this one answer the first three questions, far too long to repeat in this thread.

4) You have to recreate the load configuration and auto scaling config in the new region, yes.

Community
  • 1
  • 1
Frodo Baggins
  • 8,290
  • 6
  • 45
  • 55
0

1) If you want to use the same key-pair, you will have to import it into the target region. (Though the key is not associated until a new instance is launched)

2) Again, if you want to use the same security groups, they must be created in the target region. (and again security groups are not associated until a new instance is launched)

3) In the Spring of 2013, Amazon announced "AMI Copy for Amazon EC2"
Simply, this allows the copy of AMIs between regions.

Documentation for the AWS Management Console here.

API documentation here.

This is the usage for the API command:

ec2-copy-image -r source-region -s source-ami-id [-n new-ami-name] [-d new-ami-description] [-c client-token]
Drew
  • 6,311
  • 4
  • 44
  • 44