to move a ec2 instance between regions
find your box
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[Tags[0].Value,InstanceId,ImageId,InstanceType,State.Name]' --region eu-west-1 --output table
Create a image
aws ec2 create-image --instance-id <INSTANCEID> --name <ANYTHING>
Then
ec2-copy-image -r eu-west-1 --region us-west-1 -s <IMAGEID> -n "My new USA image" -d "U S A U S A from the uk " -c 550e8400-e29b-41d4-a716-46655440001
Written by Darren Holdaway
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#