microsrv:~$
Console

VM Provisioning & Cloud-Init

Detailed guide to launching instances, configuring Cloud-Init automation scripts, and attaching to VPC networks.

Provisioning Workflow

To create a new instance, open Console -> VMs and click Create VM.

Configuration Fields:

  1. VM Name: a unique hostname identifier within your project (e.g., app-worker-01).
  2. Region Zone: physical data center location.
  3. Hardware Preset: select vCPU, RAM, and root disk size (std.1c2g / std.2c4g / std.4c8g). Root disk is not chosen separately.
  4. VPC Network: choose a private network to assign an internal IP address.
  5. SSH Keys: select public keys to inject into the ubuntu user’s ~/.ssh/authorized_keys.
  6. Cloud-Init Script: optional YAML user-data script for bootstrapping the guest OS on first boot.

Bootstrapping with Cloud-Init

Use Cloud-Init to automatically update system packages, install software runtimes, or pull container images during initial startup:

#cloud-config
package_update: true
packages:
  - docker.io
  - nginx
  - git

runcmd:
  - systemctl enable --now docker
  - usermod -aG docker ubuntu

[!TIP] Cloud-Init directives execute once during the instance’s initial first-boot sequence.