O'Reilly logo

Google Cloud Platform Cookbook by Legorie Rajan PS

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

In this recipe, we'll create a VM with a boot disk and an additional disk. We'll use a script to take a backup of the disks attached to the machine. Then, we'll simulate a total instance failure and try to manually bring back the instance from the backup snapshots:

  1. Let's create a Debian Linux instance with an additional disk and make sure that the Compute Engine API has read/write access. The additional disk is created first:
  1. The following screenshot shows the created instance:
  1. The following screenshot shows the attached ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required