Created
April 23, 2016 15:35
-
-
Save tnir/b5a9251b8207f240d566c8bd0158829e to your computer and use it in GitHub Desktop.
GCPでUbuntu 16.04 (xenial) LTSを起動する ref: http://qiita.com/tnir/items/315a7510e0ecf9595fcc
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
gcloud compute instances create "xenial" \ | |
--zone "asia-east1-a" --machine-type "n1-standard-1" \ | |
--network "default" --maintenance-policy "MIGRATE" \ | |
--scopes default="https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring.write","https://www.googleapis.com/auth/cloud.useraccounts.readonly" \ | |
--image "/ubuntu-os-cloud/ubuntu-1604-xenial-v20160420c" \ | |
--boot-disk-size "10" --boot-disk-type "pd-ssd" --boot-disk-device-name "xenial" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment