---
title: Cloud Migration – Migrating AWS EC2 Instance To Google Cloud Compute Engine Virtual Machine.
type: newsletter
date: 2023-01-28
source: linkedin
summary: In this edition of the Newsletter, I will describe one of the approaches to successfully migrate a single EC2 instance running on AWS to Google Cloud. AWS EC2 environment details I have a self-contained WordPress instance (LEMP) running on EC2 on a ubuntu…
newsletter: Technology Bytes
draft: false
---

In this edition of the Newsletter, I will describe one of the approaches to successfully migrate a single EC2 instance running on AWS to Google Cloud.

**AWS EC2 environment details**

I have a self-contained WordPress instance (LEMP) running on EC2 on a ubuntu 20.04 instance.

In order to migrate the instance to Google Cloud, the following high-level steps are to be followed -

* Create an AWS AMI for your EC2 instance and convert it to a VMDK (Virtual Machine Disk) image format. The VMDK is the standalone virtual machine containing all the contents.
* Import the VMDK image into Google Cloud Compute Engine using gcloud image command.
* Create a VM instance from the image in Step 2

For set-by-step guidance, kindly visit my blog - <https://navveenbalani.dev/index.php/articles/cloud-migration-migrating-aws-ec2-instance-to-google-cloud-compute-engine-virtual-machine/> for more details.