This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 \ |