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 operations with resources
    • Viewing backup statistics
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting

In this article:

  • Get your cloud ready
  • Required paid resources
  • Create an infrastructure
  • Prepare a network
  • Configure the security group
  • Set up a service account
  • Activate Cloud Backup
  • Create a VM
  • Link your VM to a backup policy
  • How to delete the resources you created
  • What's next

Getting started with Yandex Cloud Backup

Written by
Yandex Cloud
Improved by
Danila N.
Updated at May 7, 2025
  • Get your cloud ready
    • Required paid resources
  • Create an infrastructure
    • Prepare a network
    • Configure the security group
    • Set up a service account
  • Activate Cloud Backup
  • Create a VM
  • Link your VM to a backup policy
  • How to delete the resources you created
  • What's next

Cloud Backup is a service for creating backups and restoring Yandex Cloud resources and their data.

Create a Yandex Compute Cloud VM with Cloud Backup connection and link it to a backup policy.

For more information on the minimum required VM characteristics and supported operating systems, see Connecting Compute Cloud VMs and Yandex BareMetal servers to Cloud Backup.

BareMetal is at the Preview stage.

To get started with Cloud Backup:

  1. Get your cloud ready.
  2. Create your infrastructure.
  3. Activate Cloud Backup.
  4. Create your VM.
  5. Link your VM to a backup policy.

If you no longer need the resources you created, delete them.

Get your cloud readyGet your cloud ready

Sign up in Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or register a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can navigate to the cloud page to create or select a folder for your infrastructure to operate in.

Learn more about clouds and folders.

Required paid resourcesRequired paid resources

The cost of VM backup resources includes:

  • Fee for VM computing resources and disks (see Yandex Compute Cloud pricing).
  • Fee for protected VMs and backup storage (see Yandex Cloud Backup pricing).

Create an infrastructureCreate an infrastructure

Prepare a networkPrepare a network

You can use an existing cloud network and subnet or create new ones.

Creating a cloud network with subnets
Management console
  1. In the management console, go to the folder you want to create a VM with a Cloud Backup connection in.

  2. From the list of services, select Virtual Private Cloud.

  3. Click Create network.

  4. In the Name field, enter a name for the network. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It may contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  5. Keep Create subnets enabled.

  6. Click Create network.

For more information, see Creating a cloud network.

Configure the security groupConfigure the security group

You can use an existing security group or create a new one.

Creating a new security group
Management console
  1. In the management console, go to the folder you want to create a VM with a Cloud Backup connection in.
  2. From the list of services, select Virtual Private Cloud.
  3. In the left-hand panel, select Security groups.
  4. Click Create security group.
  5. Enter a name for the security group.
  6. In the Network field, select the network that the security group will refer to.
  7. Click Create.

Add VM outgoing traffic rules to the security group:

Management console
  1. In the management console, go to the folder you want to create a VM with a Cloud Backup connection in.

  2. From the list of services, select Virtual Private Cloud.

  3. In the left-hand panel, select Security groups.

  4. Next to the security group you want to add rules to, click and select Edit.

  5. Under Rules, navigate to the Egress tab and click Add.

  6. Add the following outgoing traffic rules one by one:

    Port range Protocol Destination name CIDR blocks
    80 TCP CIDR 213.180.193.0/24
    80 TCP CIDR 213.180.204.0/24
    443 TCP CIDR 84.47.172.0/24
    443 TCP CIDR 84.201.181.0/24
    443 TCP CIDR 178.176.128.0/24
    443 TCP CIDR 213.180.193.0/24
    443 TCP CIDR 213.180.204.0/24
    7770-7800 TCP CIDR 84.47.172.0/24
    8443 TCP CIDR 84.47.172.0/24
    44445 TCP CIDR 51.250.1.0/24
  7. Click Save.

For more information, see Creating a security group.

Set up a service accountSet up a service account

Management console
  1. In the management console, select the folder you want to create a VM with a Cloud Backup connection in.

  2. From the list of services, select Identity and Access Management.

  3. Click Create service account.

  4. Enter a name for the service account. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It may contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  5. Click Add role and select the backup.editor role.

  6. Click Create.

For more information, see Creating a service account.

Activate Cloud BackupActivate Cloud Backup

To activate the service, you need at least the backup.editor role for the folder where you want to create a VM with a Cloud Backup connection.

When you activate the service, the backup provider starts. For more information about the backup provider and data sent to it, see Service activation and backup provider.

Management console
  1. In the management console, select the folder you want to create a VM with a Cloud Backup connection in.

  2. In the list of services, select Cloud Backup.

  3. If you have not activated Cloud Backup yet, click Activate.

    If there is no Activate button, and you have access to creating a VM with a Cloud Backup connection, it means the service has already been activated. Proceed to the next step.

Create a VMCreate a VM

Management console
  1. In the management console, select the folder where you want to create a VM with a Cloud Backup connection.

  2. From the list of services, select Compute Cloud.

  3. In the left-hand panel, select Virtual machines.

  4. Click Create virtual machine.

  5. Under Boot disk image, select an image with a supported OS, e.g., Ubuntu 20.04.

  6. Under Location, select an availability zone for your VM.

  7. Under Disks and file storages and Computing resources, set the preferred VM parameters.

    Minimum VM and BareMetal server specification to install and correctly run the Cloud Backup agent:

    • Free disk space:

      • For Linux-based VMs: 2 GB.
      • For Windows-based VMs: 1.2 GB.
    • RAM: For backups, 1 GB of RAM is required per 1 TB of backup. The RAM requirement depends on the amount and type of data processed by the Cloud Backup agent.

  8. Under Network settings:

    1. In the Subnet field, select the subnet you prepared earlier.

    2. In the Public IP address field, select Auto.

      Instead of assigning a public IP address to your VM, you can link the subnet hosting this VM to a route table allowing internet access via a NAT gateway or a custom router.

    3. In the Security groups field, select the security group you configured earlier.

  9. Under Access:

    • Select Access by OS Login to connect and manage access to the new VM using OS Login in Yandex Cloud Organization.

      With OS Login, you can connect to VMs using SSH keys and SSH certificates via a standard SSH client or the Yandex Cloud CLI. OS Login enables rotating the SSH keys used to access VMs, providing the most secure access option.

    • If you prefer not to use OS Login, select SSH key and specify the following VM access data:

      • Under Login, enter a username.

        Alert

        Do not use root or other reserved usernames. To perform operations requiring root privileges, use the sudo command.

      • In the SSH key field, select the SSH key saved in your organization user profile.

        If there are no saved SSH keys in your profile, or you want to add a new key:

        • Click Add key.
        • Enter a name for the SSH key.
        • Upload or paste the contents of the public key file. You need to create a key pair for the SSH connection to a VM yourself.
        • Click Add.

        The SSH key will be added to your organization user profile.

        If users cannot add SSH keys to their profiles in the organization, the added public SSH key will only be saved to the user profile of the VM being created.

    If you want to add multiple users with SSH keys to the VM at the same time, specify these users' data under Metadata. You can also use metadata to install additional software on a VM when creating it.

    In public Linux images provided by Yandex Cloud, the functionality of connecting over SSH using login and password is disabled by default.

  10. Under General information, specify the VM name:

    • It must be from 2 to 63 characters long.
    • It may contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  11. Under Additional:

    1. Select the service account you created earlier.
    2. Enable Cloud Backup.
    3. Optionally, select a backup policy or click Create to create a new one.
  12. Click Create VM.

For more information, see Creating a VM.

Link your VM to a backup policyLink your VM to a backup policy

When the VM switches to the Running status, a Cloud Backup agent will start installing on it. This may take from 5 to 10 minutes.

  1. Make sure the Cloud Backup agent has been installed:

    Management console
    1. In the management console, select the folder the service is activated in.
    2. From the list of services, select Compute Cloud.
    3. Select the VM in question.
    4. Check that the value of the Cloud Backup field in the Backups section is Connected.

    Once you install the Cloud Backup agent, the VM will be added to Cloud Backup in the Virtual machines tab and you will be able to link it to a backup policy. If you selected a backup policy when creating the VM, then the VM is already linked to the policy and no further action is required.

    Note

    If the Cloud Backup agent fails to install within 10 minutes, contact support to diagnose the issue.

  2. Link your VM to a backup policy:

    Management console
    1. In the management console, select the folder the service is activated in.
    2. From the list of services, select Cloud Backup.
    3. Navigate to the Backup policies tab.
    4. Select one of the policies created by default.
    5. Under Virtual machines, click Attach a VM.
    6. Select the VM from the list and click Attach.

    You can also link your VM to a backup policy in Compute Cloud:

    Management console
    1. In the management console, select the folder the service is activated in.
    2. From the list of services, select Compute Cloud.
    3. Select the VM in question.
    4. Under Backups, click in the Backup policies field.
    5. Select one of the policies created by default and click Save.

How to delete the resources you createdHow to delete the resources you created

To stop paying for the resources you created:

  1. Delete the VM from Cloud Backup.
  2. Delete the VM from Compute Cloud.
  3. Delete VM backups, if any.

What's nextWhat's next

  • Learn about service features.
  • See other service guides.

Was the article helpful?

Next
All guides
Yandex project
© 2025 Yandex.Cloud LLC