pre-loading
backtotop
Migration
Migration

Why migrating VMs from AWS to Google Cloud is a Smart Move

September 26, 2022

Migrating Virtual Machines (VMs) from one cloud provider to another can be a daunting task, but it doesn't have to be. With the right tools and strategies in place, you can easily move your VMs from Amazon Web Services (AWS) to Google Cloud.

Migrating to virtual machines by Google Cloud not only improves your IT infrastructure, but also provides added benefits such as scalability, security, and cost savings. With the ability to easily scale up or down based on your business needs, you can save money on unnecessary resources while still having the ability to handle unexpected traffic or growth.  

Additionally, Google Cloud's security features and compliance certifications ensure that your data is protected and compliant with industry standards.

This guide will provide you with the knowledge and resources you need to make the transition smoothly and efficiently.

Below are the advantages of using GCP VM migration.

  • Fast, efficient migration
  • Simplicity at scale
  • Minimal downtime and risk
  • Lower cost, higher staff productivity

So, let's dive in and see how you can migrate your VMs from AWS to Google Cloud!

High Level Migration Architecture from AWS to GCP

Pre-requisites for the successful migration:

1. Configure GCP IAM credentials with the roles below and enable “VM Migration API”.

  • Compute Instance Admin
  • Compute Network Admin
  • Resource Manager Admin

2. Configure AWS IAM policy credentials with the following policy.

3. Create an IAM user and apply the policy we have created earlier to the user.

Supported OS versions

  • CentOS – 7,8
  • Debian – 8.7,9.13
  • Linux – 6.8 – 6.10, 7.2 – 7.9
  • RHEL – 6.8-6.10, 7.0-7.9,8.0-8.6
  • SLES – 15, 15SP1 – 15SP3
  • Ubuntu – 14.04 – 20.04.03
  • Windows Server – 2008 R2 Sp1 – 2022  

Reference URL: Supported operating systems (AWS as a source)

Steps to Migrate:

In the Google cloud console, search for Migrate to Virtual Machines.

Migrate to virtual machine dashboard will appear as below,

Where you can manage Source, Migration process, Groups and Targets in a single dashboard. You can also see the summary of the migration in the dashboard.

Navigate to Manage sources and chose the source, here I click on “ADD AWS SOURCE”

Complete the details below for the sources.  

  • Name: Give a friendly name for the migration process
  • GCP Region: Choose the GCP region where AWS resources should be moved to  
  • AWS Region: Choose the AWS region where resources are residing.
  • Access Key ID: Provide the access key for IAM polices created in AWS (provide access for Ec2, Disks, Project level)
  • Secret Key: Secret key will be created along with Access key.

If the credentials are fed right, you will be able to see it in the dashboard.

Now, Configure the targets section, go to Targets section and select your desired project where the VM from AWS should be resided and click ADD

Now configure the migration process, go to the source and you will be able to see list VM’s running in the AWS project.

Select your desired VM which needs to be moved to GCP and click “ADD MIGRATIONS”

In the migration section you will be able to see the selected VM’s which are in ready state

Start the migration process by selecting the VM and click “START REPLICATION”

The replication process will happen, and you will be able to see the exact details in the dashboard itself.

Once the replication is done it will be asking to completely migrate the VM from source, where the VM will be deleted in the AWS and by clicking “CUT-OVER AND TEST-CLONE” it will process the VM migration, and it will be created in GCP.

You can also create a GROUP in source section to migrate a group of VM’s from AWS

Once the migration process is completed you will be able to see the VM migrated from AWS to GCP

Note: If you are running your application in VM is not working after migration, kindly check the firewall and tags allotted for the VM

Conclusion:

We have successfully migrated VM from AWS to GCP in simple steps.

Note: This is a glimpse of migration flavor given, however during the actual migration – Kindly follow the methodology as below, which will be written in the upcoming blog

As an additional to this blog, please find the Migration cheat sheet common use case scenarios.

More Blogs

How Microsoft Viva Learning is Transforming Corporate Training and Development
How Microsoft Viva Learning is Transforming Corporate Training and Development
Tue, May 25th 2021 8:04 AM

Employees are constantly facing new and challenging tasks that require them to continuously improve their skills and knowledge. This has led to a...

Read more 
External link
Here's how you can maximize your Google Cloud Platform investment with a Landing Zone.
Here's how you can maximize your Google Cloud Platform investment with a Landing Zone.
Tue, May 25th 2021 8:04 AM

A Landing Zone in Google Cloud Platform (GCP) is a best-practice design pattern that provides a foundation for your cloud environment. It helps you to establish a standardized, secure, and...

Read more 
External link
Increase business agility by up to 45% with Google Cloud VMware Engine
Increase business agility by up to 45% with Google Cloud VMware Engine
Tue, May 25th 2021 8:04 AM

Companies are constantly searching for ways to improve their operations and stay ahead of the competition. One way to achieve this is by...

Read more 
External link
Go back