This article will show you how to live migrate EC2 server to GCP
You need a valid GCP account and EC2 servers.
First, login to GCP
Go to Compute engine, and create a new project.
After created a new project , we need to generate a Service account key for GoogleEndure later.
Generate a service account key
Select Compute Engine default service account and Key type is JSON
Download and save the JSON on your computer.
Back to compute engine and select import vm
It will prompt a window and ask you to leaving GCP and using CloudEndure to import a vm. Select continue .
CloudEndure will ask you to log in a gmail, log in with the same GCP gmail.
After login , you need to setup your project, back to your GCP , and copy your Project id, and upload the JSON file downloaded just now
Select Project ID
Paste the Project ID and upload your JSON file, you will see something like this.
After that setup your server region and save the replication settings.
After that you will see the Agent installation token.
Log on to your EC2 server, follow the steps to start migrate.
There are only 2 steps to start the live migrate, download the installer , and run the installer with the command provided in CloudEndure.
When the migration is start, you need to modify the blueprint for your server. Select the specs you need and run your machine.
Wait for the migration done , run a test for your server .
Enjoy !
Leave a Reply
Want to join the discussion?Feel free to contribute!