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
Yandex Cloud Backup
  • Getting started
    • All guides
    • Activating the service
    • Viewing service resource operations
    • Limiting RAM usage by the Cloud Backup agent
    • Viewing backup statistics
    • All tutorials
    • Connecting a BareMetal server to Cloud Backup
      • Overview
      • Management console, CLI, and API
      • Terraform
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Tutorials
  2. Linking a 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
Connecting a BareMetal server to Cloud Backup
Next
Management console, CLI, and API
Yandex project
© 2025 Yandex.Cloud LLC