Skip to content

Instantly share code, notes, and snippets.

@AlPervakov
Last active July 7, 2022 16:11
Show Gist options
  • Save AlPervakov/4958df0f593d5177c07ce1d40c5a6584 to your computer and use it in GitHub Desktop.
Save AlPervakov/4958df0f593d5177c07ce1d40c5a6584 to your computer and use it in GitHub Desktop.
yc compute instance create \
--name reddit-app \
--hostname reddit-app \
--memory=4 \
--create-boot-disk image-folder-id=standard-images,image-family=ubuntu-1604-lts,size=10GB \
--network-interface subnet-name=default-ru-central1-a,nat-ip-version=ipv4 \
--metadata serial-port-enable=1 \
--ssh-key ~/.ssh/appuser.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment