Relationships between resources in Yandex Compute Cloud

All resources in Compute Cloud can be divided into three types:

  • Basic resources including virtual machines and disks.
  • Auxiliary resources including snapshots and images. These resources are only used for creating other resources.
  • Information resources such as disk type and availability zone. These resources are read-only.

In addition, when creating VMs, resources of other services are used, such as subnets and folders.

Basic resources

Compute Cloud allows you to create VMs and attach disks to them.

At least one disk must be attached to a VM, that is, a boot disk. A disk can be restored from a snapshot and image or created empty.

Auxiliary resources

Snapshots and images are mainly designed for saving and restoring data disks.

A snapshot can only be created from a disk. Snapshot information contains the ID of its source disk.

An image can be created from a disk, snapshot, another image, or file.

Information resources

When creating disks and VMs, you should specify the availability zone where they will reside (disk images and snapshots are not associated with any availability zones).

You can view a list of availability zones and find out their current status.

When creating a disk, you also specify the disk type. You can view possible disk types and find out in which zones they are available.

Relationship with resources of other services

When creating a VM, you specify the subnet to which it will be connected. For more information about cloud networks, see.

All Compute Cloud resources are created within folders. Disk types and availability zones are public resources that do not belong to any folder. Learn more about the resource hierarchy in the Cloud.