Stay organized with collections Save and categorize content based on your preferences.
This document explains how to apply a Backup and DR Service backup plan to your Compute Engine instance when you create the instance using the Google Cloud console.
Use Backup and DR Service backup plans to create rule-based and indelible backups of your Compute Engine instances and then store those backups in a secure and isolated storage locations.
Backup and DR backup plans let you define advanced backup strategies to store your Compute Engine instances in secure storage locations called backup vaults. Using the backup plan applied to your instance, you can create scheduled or on-demand backups of your instance in a backup vault.
Before you beginTo get the permissions that you need to create an instance and apply a backup plan during its creation, ask your administrator to grant you the following IAM roles:
roles/compute.instanceAdmin.v1
) on the project for the Compute Engine instanceroles/backupdr.backupUser
) on the project for the backup vaultroles/viewer
) on the project for the backup vaultFor more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
If you want to back up a Compute Engine instance to a backup vault that is in a different project than the instance, then make sure the Backup and DR Vault Service Agent for the backup vault has been granted permission to access the instances in that project. (If the backup vault and instance are in the same project, then this permission is already granted by default.)
To ensure that Backup and DR Vault Service Agent has the necessary permissions to back up a Compute Engine instance to a backup vault, ask your administrator to grant Backup and DR Vault Service Agent the Backup and DR Compute Engine Operator (roles/backupdr.computeEngineOperator
) IAM role on the project for the Compute Engine instance.
To create an instance that has a backup plan applied, follow these steps in the Google Cloud console:
In the Google Cloud console, go to the Create an instance page.
If prompted, select your project and click Continue.
The Create an instance page appears and displays the Machine configuration pane.
In the Name field, specify a name for your instance. For more information, see Resource naming convention.
In the Region field, specify the region where you want your instance.
Optional: In the Zone field, select a zone for this instance.
The default selection is Any. If you don't change this default selection, then Google automatically chooses a zone for you based on machine type and availability.
To specify a backup plan for this instance, do the following:
In the navigation menu, click OS and storage. The Operating system and storage pane appears.
Important: If you see a Data protection pane in the navigation menu, click Data protection instead of OS and storage and then continue with the remaining steps. For more information, see the February 14, 2025 release note.In the Backup plan section, click Select a plan.
In the Select a backup plan pane that appears, do the following:
Optional. Specify any other configuration parameters of your choice. For more information about custom configuration options, see Create and start an instance.
To create and start the VM, click Create.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This guide outlines the process of applying a Backup and DR Service backup plan to a new Compute Engine instance during its creation using the Google Cloud console."],["Backup and DR backup plans define rules for backing up Compute Engine instances, including frequency, retention, and replication, storing them in secure backup vaults."],["To apply a backup plan during instance creation, you must have the required IAM roles and have previously created a backup vault and a backup plan in the same region."],["Certain Compute Engine instance configurations are not supported for Backup and DR Service backups, including those with extreme or Hyperdisk volumes, specific machine types, CMEK/CSEK encryption, no attached disks, or those larger than 200 TB."],["The Google Cloud console is required to apply a backup plan when creating an instance, with the option located in the \"OS and storage\" or \"Data protection\" section of the instance creation process."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4