Reputation: 145
I deployed all my app on an Amazon EC2 instance in US East (N.Virginia). Now I want to move it to Asia Pacific (Mumbai) ap-south-1 region.
I don't want to change my IP (which one I got from US East (N.Virginia)). And I don't want to lose any activity from the EC2 Instance.
Even I tried Move an EC2 Instance to Another Subnet, Availability Zone, or VPC, but did not get anything.
How can we change this?
Upvotes: 1
Views: 1997
Reputation: 14395
You'll need to take an image (AMI) of the instance in US-East-1 and copy the image to the target region (ap-south-1) and then launch the AMI in the ap-south-1 region.
From AWS console, do the following:
Lots of little steps, but it's actually pretty easy.
Upvotes: 5
Reputation: 2113
NOTE: You can't keep the existing public IP because AWS has different set of IP's for different regions. To overcome this create a public domain in Route53 and create a A record and change the value of A record to new public IP, use your DNS name instead of public IP everywhere.
Upvotes: 5