
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
Mount a volume
/ 10
Create a backup vault
/ 10
Create a backup policy
/ 10
Attach a backup schedule to a volume
/ 10
Restore a volume from a backup
/ 10
This lab was developed with our partner, NetApp. Your personal information may be shared with NetApp, the lab sponsor, if you have opted-in to receive product updates, announcements, and offers in your Account Profile.
Google Cloud NetApp Volumes is a fully managed data storage service that lets you move file-based applications to Google Cloud. It has support for Network File System (NFSv3 and NFSv4.1) and Server Message Block (SMB) protocols built-in, so you don't need to re-architect your applications and can continue to get persistent storage for your applications.
Volume backups provide independent point-in-time copies of your volume. They can be used to store old backups and provide the necessary second copy of your data. Daily, weekly, and monthly backup schedules allow for RPOs starting at one day. Volume backups can only be restored as a whole. Creating a volume from a backup (RTO) can take hours, depending on the size of the backup.
In this lab you will learn how to manage Google Cloud NetApp Volumes backup.
In this lab you will learn how to:
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 will be made available to you.
This Qwiklabs hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Note: If you already have your own personal Google Cloud account or project, do not use it for this lab.
Note: If you are using a Pixelbook, open an Incognito window to run this lab.
Click the Start Lab button. If you need to pay for the lab, a pop-up opens for you to select your payment method. On the left is a panel populated with the temporary credentials that you must use for this lab.
Copy the username, and then click Open Google Console. The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Open the tabs in separate windows, side-by-side.
In the Sign in page, paste the username that you copied from the Connection Details panel. Then copy and paste the password.
Important: You must use the credentials from the Connection Details panel. Do not use your Qwiklabs credentials. If you have your own Google Cloud account, do not use it for this lab (avoids incurring charges).
Click through the subsequent pages:
After a few moments, the Cloud Console opens in this tab.
Cloud Shell is a virtual machine that is loaded with development tools. It offers a persistent 5GB home directory and runs on the Google Cloud. Cloud Shell provides command-line access to your Google Cloud resources.
In the Cloud Console, in the top right toolbar, click the Activate Cloud Shell button.
Click Continue.
It takes a few moments to provision and connect to the environment. When you are connected, you are already authenticated, and the project is set to your PROJECT_ID. For example:
gcloud
is the command-line tool for Google Cloud. It comes pre-installed on Cloud Shell and supports tab-completion.
You can list the active account name with this command:
(Output)
(Example output)
You can list the project ID with this command:
(Output)
(Example output)
In the Cloud console, search for NetApp Volumes and access the service.
Select Volumes from the menu on the left. You should see that there is already one volume created. Click on the Show more action menu on the right side of the volume volume1
, then select Mount Instructions.
Copy the instructions to mount the volume.
Navigate to Compute Engine > VM Instances. You will find the active instance vm1
.
Connect to the VM1 by clicking the SSH button.
Follow the instructions that you copied from the step 3:
vm1
.Click Check my progress to verify that you've performed the above task.
A backup vault marks the location you store your backups in.
Select Backup vaults under Data protection on the left side from the NetApp Volumes menu.
Click on the Create button.
In the Name field, enter the name vault1
for the backup vault.
Region =
Click on the Create button.
Click Check my progress to verify that you've performed the above task.
You can manage the backups using the Backups menu and within the Volumes menu.
vm1
, create a couple of folders and files running the below commands.Go to the NetApp Volumes page in the Google Cloud console.
Select Volumes from the menu on the left. Click on the volume volume1
, then select the Backups tab.
Click the Create backup button.
In the Name field, enter the name backup1
for the backup.
Keep the Backup source as Volumes current state
In the the Backup vault select the vault1
.
Click the Create button.
When you create the first backup of a volume, all of the volume's used data is sent to the backup vault. Subsequent backups of the same volume only include data that has changed from the previous backup. This allows for fast incremental-forever backups and reduces the required capacity inside the backup vault.
Backup policies define a schedule for automated backup creation. You can define how many daily, weekly, and monthly backups of your data you want NetApp Volumes to retain. If a policy is attached to a volume, then backups will generate automatically.
Select Backup policies under Policies on the left side from the NetApp Volumes menu.
Click the Create button.
In the Name field, enter the name policy1
for the backup.
Region =
You can customize the backup schedule configuration based on your RPO needs. As an example, you can include the next configuration:
Click the Create button.
Click Check my progress to verify that you've performed the above task.
Once that the backup policy has been created, you have to attach the policy policy1
to the volume volume1
to allows the backups be created automatically.
Select Volumes from the menu on the left. Click on the volume volume1
, then select the Backups tab.
Click the Manage backup policy button.
Enable the Allow scheduled backups checkbox.
Select the backup policy policy1
.
Select the backup vault = vault1
Click the Save button.
Click Check my progress to verify that you've performed the above task.
To restore a backup, you have to create a new volume from a backup.
Go to the NetApp Volumes page in the Google Cloud console.
Select Volumes from the menu on the left. Click on the volume volume1
, then select the Backups tab.
You should see the backup backup1
that you took in the task 3. If the backup status is still 'creating', wait some minutes.
Click on the Show more action menu on the right side of the volume backup1
, then select Create new volume from backup.
Create the volume using the following information:
Name = restore-from-volume1
Storage Pool = select the storage pool pool1
Share name = share1-restored
The restore process time can take some time depending on the volume capacity.
Click Check my progress to verify that you've performed the above task.
You have learned how to create manual backups, scheduled backups, and restore an entire volume from a backup.
Be sure to check out the official NetApp Volumes documentation:
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual last updated August 9, 2024
Manual Last tested July 21, 2024
Copyright 2024 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