• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

AWS Copy AMI to another Region

March 2, 2021

Here’s how to copy an AMI to another region.

aws ec2 copy-image \
  --source-image-id ami-xxxxxxxxxxx \
  --source-region us-east-1 \
  --region us-east-2 \
  --name "My DR server"

aws ec2 copy-image \ --source-image-id ami-xxxxxxxxxxx \ --source-region us-east-1 \ --region us-east-2 \ --name "My DR server"

Output:

{
    "ImageId": "ami-xxxxxxxxxxx"
}

{ "ImageId": "ami-xxxxxxxxxxx" }

Filed Under: Cloud Tagged With: ami, copy, ec2, region

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023