Skip to content

Instantly share code, notes, and snippets.

@mrgreyves
Created February 12, 2023 15:55
Show Gist options
  • Save mrgreyves/cfdde1c6f3071ad3e2eaa89eccffedd3 to your computer and use it in GitHub Desktop.
Save mrgreyves/cfdde1c6f3071ad3e2eaa89eccffedd3 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