Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Tutorials
    • All tutorials
    • Migrating data to Yandex Cloud using Hystax Acura
    • Fault protection with Hystax Acura
    • Configuring an SFTP server based on CentOS 7
    • VM backups using Hystax Acura
    • Backing up to Object Storage with MSP360 Backup (CloudBerry Desktop Backup)
    • Backing up to Object Storage with Duplicati
    • Backing up to Object Storage with Bacula
    • Backing up to Yandex Object Storage with Veeam Backup
    • Backing up to Object Storage with Veritas Backup Exec
    • Managed Service for Kubernetes cluster backups in Object Storage
    • Deploying GlusterFS in high availability mode
    • Deploying GlusterFS in high performance mode
      • Overview
      • Management console, CLI, and API
      • Terraform
    • Replicating logs to Object Storage using Data Streams
    • Replicating logs to Object Storage using Fluent Bit
    • Using Object Storage in Yandex Data Processing
    • Connecting a BareMetal server to Cloud Backup
  1. Storing and recovering data
  2. Linking a Cloud Backup policy to a VM automatically
  3. Overview

Linking a Yandex Cloud Backup policy to a VM automatically

Written by
Yandex Cloud
Updated at February 17, 2025

You can create a Yandex Compute Cloud virtual machine based on a Cloud Backup supported image to which a backup policy will be automatically linked.

To do this, in the metadata of the VM, you need to provide the script to install the Cloud Backup agent and the ID of the required policy. The specified policy will automatically link to the VM after the VM and the Cloud Backup agent are created, initialized, and launched.

You can create an infrastructure to automatically link backup policies to a VM by using the following tools:

  • Management console, CLI, API: Use the Yandex Cloud management console, CLI, or API to create your infrastructure step by step.
  • Terraform: Streamline creating and managing your resources using the infrastructure as code (IaC) approach. Download a Terraform configuration example from the GitHub repository and then deploy the infrastructure using the Yandex Cloud Terraform provider.

Was the article helpful?

Previous
Deploying GlusterFS in high performance mode
Next
Management console, CLI, and API
Yandex project
© 2025 Yandex.Cloud LLC