Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Backup
    • 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

Associating a Yandex Cloud Backup policy to a VM automatically

Written by
Yandex Cloud
Updated at July 9, 2025

You can create a Yandex Compute Cloud virtual machine with an automatically linked backup policy based on a supported Cloud Backup image.

To do this, you need to provide the Cloud Backup agent installation script and the policy ID in the VM metadata. The system automatically associates the specified policy with the VM after the VM and the Cloud Backup agent are up and running.

You can create an infrastructure to automatically associate backup policies with VMs using the following tools:

  • Yandex Cloud management console, CLI, and API: Use one of these methods to create your infrastructure step by step.
  • Terraform: Streamline creating and managing your resources with the infrastructure as code (IaC) approach. Download a Terraform configuration example from the GitHub repository and then deploy your 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
© 2025 Direct Cursus Technology L.L.C.