Resource relationships in Compute Cloud
All resources in Compute Cloud break down into three types:
- Basic resources, which include virtual machines and disks.
- Auxiliary resources, such as snapshots. These resources are only used for creating other resources.
- Information resources, such as disk types and availability zones. These resources are read-only.
In addition, when creating VMs, Compute Cloud uses resources of other services.
Basic resources
Compute Cloud allows you to create VMs and attach disks to them.
A VM must have at least one disk attached, which is a boot disk. You can create a new empty disk or restore one from a snapshot.
Auxiliary resources
Snapshots are mainly designed for saving and restoring data disks.
You can only create a snapshot from a disk. Snapshot information contains the ID of its source disk.
Information resources
When creating disks and VMs, you need to specify the availability zone where they will reside; disk 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
VM networking is managed by Virtual Private Cloud and its resources. For details, see VM networking.