Created
March 27, 2019 09:13
-
-
Save serboox/96e534557c6df0dfa3e1820b0ff5c246 to your computer and use it in GitHub Desktop.
Create instance in GCP
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
$ brew cask install google-cloud-sdk | |
$ gcloud compute instances create reddit-app-2 \ | |
--boot-disk-size=10GB \ | |
--image-family ubuntu-1604-lts \ | |
--image-project=ubuntu-os-cloud \ | |
--machine-type=g1-small \ | |
--tags puma-server \ | |
--metadata-from-file startup-script=install.sh \ | |
--restart-on-failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment