Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Google Cloud Platform Cookbook

You're reading from   Google Cloud Platform Cookbook Implement, deploy, maintain, and migrate applications on Google Cloud Platform

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788291996
Length 280 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 PS PS
Author Profile Icon PS
PS
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Compute FREE CHAPTER 2. Storage and Databases 3. Networking 4. Security 5. Machine Learning and Big Data 6. Management Tools 7. Best Practices 1. Other Books You May Enjoy Index

Simulating VM migration


Migrating servers to the cloud is an activity that most enterprises have been engaged with since the dawn of the public cloud. Rehost and refactor are two of the five migration strategies detailed by Gartner that are pertinent for server migration. In this recipe, we'll simulate a rehost of a server. We'll migrate a virtual machine from one project/organization to another manually in order to understand an instance's migration.

Getting ready

The following are the initial setup verification steps before the recipe can be executed:

  1. Create or select a GCP project
  2. Enable billing and enable the default APIs (some APIs like BigQuery, storage, monitoring, and a few others are enabled automatically)

How to do it...

For this recipe, we'll take a backup of a CentOS VM in RAW virtual disk format. Then, we'll import the virtual disk into our target project and recreate the VM. The following steps explain the creation of the VM:

  1. First, let's create a CentOS 7 VM and call this our source...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images