Need to move physical data storage location

0

We've got two 'Elastic Compute Cloud' running, one is in Australia, the other in the USA. We would like them both to be in Australia - what are the steps for physically moving this data? Thank you.

asked 6 months ago122 views
1 Answer
0

To move your Elastic Compute Cloud (EC2) instances from the USA region to the Australia region in AWS, you generally cannot physically move the data since these are cloud-based services. Instead, you'll need to perform a migration. Here are the general steps:

  1. Create Amazon Machine Images (AMIs): Create Amazon Machine Images (AMIs) of your EC2 instances in the USA region. These AMIs serve as templates for creating new instances in the Australia region.
  2. Copy AMIs to the Australia Region: Use the AWS Management Console, AWS CLI, or SDKs to copy the AMIs from the USA region to the Australia region. Using AWS CLI: aws ec2 copy-image --source-image-id source-ami-id --source-region us-west-2 --region ap-southeast-2 Replace source-ami-id with the ID of your AMI and adjust the source and target regions accordingly.
  3. Launch EC2 Instances in Australia Region: Use the copied AMIs to launch new EC2 instances in the Australia region.
  4. Data Migration: If your applications store data outside the instances (e.g., in Amazon RDS, S3, or other AWS services), ensure that these services are available in the Australia region. If your data is stored on the EC2 instances themselves, consider methods like AWS DataSync, AWS Storage Gateway, or other data transfer mechanisms.
  5. Update DNS and Networking: Update DNS records if your instances are accessed by domain names. Update any networking configurations that reference the old instances.
  6. Testing: Test your applications thoroughly in the Australia region to ensure they work as expected. Important Considerations: Downtime: Plan for some downtime during the migration, especially when you're switching over to the instances in the Australia region.

Data Consistency: Ensure that all necessary data is migrated, and take steps to maintain data consistency between the old and new environments during the transition.

Security Groups and Network ACLs: Review and update security groups and network ACLs for the new instances.

Elastic Load Balancer (if used): If you use an Elastic Load Balancer, update its configuration to point to the new instances.

answered 6 months ago
profile picture
EXPERT
reviewed 5 months ago
profile pictureAWS
EXPERT
reviewed 5 months ago
  • All good points. It's also worth bearing in mind that there are now two regions in Australia, ap-southeast-2 & -4, so if resilience is important to you then consider migrating your USA-based instance to whichever region doesn't have an EC2 running in it (I wouldn't expect that latency between the two EC2s needs to be a consideration, given where they are currently).

    Note that not all instance types are available in ap-southeast-4 - the fastest way of checking is to go to https://aws.amazon.com/ec2/pricing/on-demand/#On-Demand_Pricing and select each region in turn to check. ap-southeast-4 doesn't have as many services available as ap-southeast-2 generally, but all the main ones mentioned like EC2, RDS, and S3 are certainly available.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions