Skip to content

Instantly share code, notes, and snippets.

# creating virtual machine in yandex cloud
yc config list # check
yc compute instance create \
--name otus22-vm \
--ssh-key ~/.ssh/id_rsa_otus.pub \
--create-boot-disk image-folder-id=standard-images,image-family=ubuntu-1804-lts,size=32,auto-delete=true \
--network-interface subnet-name=default-ru-central1-a,nat-ip-version=ipv4 \
--memory 4G \
--cores 4 \