WHAT IS APPLICATION MIGRATION?
It is the process of moving data, applications, or other business components from an organization’s on-premises infrastructure to the cloud, or moving them from one cloud service to another cloud platform.
So how can we migrate our data or applications server from one AWS account of a particular region to another AWS account of same or some other region?
So this is the server (in place of on-premise I have used another AWS account)(application migration) in Mumbai region of one AWS account and we want to migrate it to the N.Virginia region of some other AWS account.
Connect the server through xshell and install apache.
Now we are required to host a website from our server which we want to migrate.
The below is the sample website (downloaded from free-css.com and sent to the server via WinScp) which we have hosted and connected it through the public IP of the server.
Now go the the AWS account where you want to migrate your data.
1st type application migration in the search bar and then select AWS application migration service.
Then select your desired operating system. Here, we have chosen Linux.
Then select your replication preferences.
then create an IAM user and provide its access key and secret key.
Then copy the commands present in point 4 and 5 and then paste in Xshell (one by one) where your server is connected.
Then go back to the source server and the click on source server's name.
As we scroll down we can see the replication initiation steps.
Then go to launch settings and click modify (in EC2 launch template).
Give a template name.
Then give the instance type of your choice and select your security group (by doing necessary changes) .
Then configure storage to gp2.
Then add a new tag.
Then in advanced details click on the checkbox of enable IPv4.
Then go to launch templates and then select and set it as default version.
After the replication process will get over then an instance will launched in your desired AWS account where you wanted to migrate.
Then again select the source server and then click on launch test instance.
Then another instance will get launched and after it gets stopped then the real replication server will be launched which we have attach an elastic IP and then after opening its public IP in the browser we can get to see the that the website which we have deployed in the server of the AWS account from where we have migrated the data, is up and running here.
Then again select source server and then click on mark as ready for cutover.
Then launch cutover instance.
In the job log we can see the details of work done in the backend.
Then finalize cutover.
then mark as archived.
Then after that we can select the server's IP (attach an elastic IP) and can see the website is up and running.
This is the process by which we can migrate data from server of one AWS account to the server of another AWS account.
Top comments (0)