
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Create a backup vault
/ 20
Create a backup plan
/ 20
Schedule a backup for VM
/ 10
Create a on-demand backup
/ 10
Restore a Compute Engine instance
/ 20
Restore a Compute Engine instance to an alternate project
/ 20
Business continuity and disaster recovery planning is critical for sustaining business operations while recovering from a significant security incident, natural disaster, or disruption.
Google Cloud Backup and DR Service is a cloud-based backup and disaster recovery solution that enables the backup and recovery of data to support quick resumption of critical business operations.
After Backup and DR Service performs an initial full backup, your data (general applications, VMware VMs, Compute Engine VMs, databases, and file systems) is backed up incrementally, updating and storing any data that has changed since the last backup.
In this lab, you discover and protect a Compute Engine instance, and mount a fully-functional new Compute Engine instance from the backup image to a new location.
In this lab, you learn how to perform the following tasks:
Cymbal Bank's Incident Response Team successfully responded to the security incident and contained the unauthorized access. Hannah and the rest of the Incident Response Team are working on implementing recovery actions to restore the affected virtual machines (VMs). You have been asked to assist with this.
Here’s how you’ll do this task: First, you’ll connect to the Backup Vault. Next, you’ll create and validate a backup plan. Next, you’ll schedule a backup. Then, you’ll create a on-demand backup to create image of VM instance. Finally, you’ll restore a Compute Engine instance in two different Google Cloud projects.
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Details pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
vm-backup-vault
for the backup vault.10
days. Click Continue.Define access to your backup vault
page leave the default settings and click CREATE.Click Check my progress to verify the objective.
From the left nevigation pane, click Backup plans.
In the Backup plan section, click +CREATE BACKUP PLAN.
In the Backup plan name field, enter a name vm-backup-plan
for the backup vault.
In the Description field, type Virtual Machine Backup plan.
For Region, Select
For Backup vault, Select vm-backup-vault
.
In the Add backup rules, click +ADD RULE. Enter the following values:
Field | Value |
---|---|
Name | backup-rule |
Recurrance | Hourly |
Repeat every | 4 |
Start time | 12:00 A.M. |
End time | 12:00 P.M. |
Delete backups after | 10 |
Click +SAVE.
Click +CREATE.
Click Check my progress to verify the objective.
You can automatically back up Compute Engine instances at specific intervals, such as daily, weekly, monthly, or yearly.
Enter the values for the following fields:
Property | Value (type value or select option as specified) |
---|---|
Project | |
Region |
lab-vm
.vm-backup-plan
.Click Check my progress to verify the objective.
In this task, you’ll initiate an on-demand backup for a Compute Engine instance with a backup plan by triggering the backup rule of your choice to run immediately. On-demand backups are incremental and capture only the changed data since the last backup.
lab-vm
.backup-rule
. Click CREATE.It will take several minutes (~5 minutes) for the Create On-demand backup operation to complete. To check the status of the creation process, click the Notifications icon (bell icon) in the top main navigation bar to display a status notification. Ensure that the icon status for Create an on-demand backup has a green check next to it before proceeding.
Click Check my progress to verify the objective.
Now that you have an image of your Compute Engine instance, you’ll create a brand new Compute Engine instance using the backup image that you created in the previous task.
Before restoring the Backup, the backup vault service agent must be granted the required roles in the restore project to create an instance using the backup.
On Vaulted backups page, click lab-vm
.
Click RESTORE.
Scroll down to the page and copy the Backup vault service agent service account. This should be of the form vault-xxxxxxxxx-xxxxx@gcp-sa-backupdr-pr.iam.gserviceaccount.com.
In the Google Cloud console, in the Navigation menu (), click IAM & Admin > IAM.
Click Grant access.
Click Add principal, in the New principals field, paste the email address of the backup vault service agent service account.
In the Assign roles section:
Click Save.
In the Google Cloud console, click the Navigation menu () > Backup and DR. (You will have to click More Products and then scroll down to find Backup and DR in the Storage section).
On Vaulted backups page, click lab-vm
.
Click RESTORE. Enter the values for the following fields:
Property | Value (type value or select option as specified) |
---|---|
Resource name | lab-vm |
Backup | Select latest backup from the list |
Restore project name |
Click CONTINUE.
Change the name for the new VM instance to lab-vm-recovered
.
Select Region
Click Check my progress to verify the objective.
In this task, you’ll restore a Computer Engine instance using the backup template you created, but this time to a different project.
You can also create a brand new Compute Engine instance in a different project from backup images.
To restore a Compute Engine instance to an alternate project, the backup vault service agent must be granted the required roles in the restore project to create an instance using the backup.
In the Google Cloud console, in the Navigation menu (), click IAM & Admin > IAM.
In the list of principals, find and copy the email of the Service account for Backup vault service agent to use in Step 6. The email is similar to the following: vault-xxxxxxxxx-xxxxx@gcp-sa-backupdr-pr.iam.gserviceaccount.com.
In the Google Cloud console, click the Project selection drop-down. If the project lists only one project, click All to open the All tab.
Search for Google Cloud project ID 2:
Click Grant access.
In the Add Principles section, in the New principals field, paste the email address of the service account of Google Cloud project 1, named Service account for Backup vault service agent. It should be still in your clipboard.
In the Assign roles section:
Click Save.
You’ve added the service account of Google Cloud project 1 as a principal to Google Cloud project 2. You can now recover the instance on Google Cloud project 2.
Change to Google Cloud project ID 1:
In the Google Cloud console, click the Navigation menu () > Backup and DR. (You will have to click More Products and then scroll down to find Backup and DR in the Storage section).
On Vaulted backups page, click lab-vm
.
Click RESTORE. Enter the values for the following fields:
Property | Value (type value or select option as specified) |
---|---|
Resource name | lab-vm |
Backup | Select latest backup from the list |
Restore project name |
Click CONTINUE.
Change the name for the new VM instance to lab-vm-project2
.
Select Region
Click Check my progress to verify the objective.
Great work! You successfully used Google Backup and DR Service to create a backup template and then applied it to two Compute Engine instances.
You have shown how to prepare for issues with VMs and the service. When a device malfunctions, you can use Backup and DR Service to restore mal-functioning devices across multiple Google Cloud projects.
Manual Last Updated June 16, 2025
Lab Last Tested May 21, 2025
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one