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

FinOps Hub: The Smart Way to Manage Your Google Cloud Costs.
FinOps Hub: The Smart Way to Manage Your Google Cloud Costs.
Tue, May 25th 2021 8:04 AM

Cloud cost management can be a complex and challenging task, especially for large enterprises. The complexity of cloud pricing models, the need for clear spending visibility, inefficient cloud resource management, and complex metrics can all make it difficult to optimize cloud spending.

Read more 
External link
Beyond Firewalls: Build Stronger Security Teams with Quadra (SOC)NXT's Expertise.
Beyond Firewalls: Build Stronger Security Teams with Quadra (SOC)NXT's Expertise.
Tue, May 25th 2021 8:04 AM

Every click, swipe, and transaction leave a trace in the virtual realm, the battleground of cybersecurity has never been more critical. As you read this, a cyber-attack occurs every 39 seconds, leaving...

Read more 
External link
Cloud Firewall Standard: Protect Your Google Cloud Network from Advanced Threats
Cloud Firewall Standard: Protect Your Google Cloud Network from Advanced Threats
Tue, May 25th 2021 8:04 AM

Google Cloud's Cloud Firewall Standard, a fully distributed firewall service provides granular control over network traffic to and from your Google Cloud resources.

Read more 
External link
Go back