Friday, December 8, 2017

gcloud-init

Welcome to the Google Cloud SDK! Run "gcloud -h" to get the list of available commands.
---
Welcome! This command will take you through the configuration of gcloud.

Your current configuration has been set to: [default]

You can skip diagnostics next time by using the following flag:
  gcloud init --skip-diagnostics

Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic (1/1 checks) passed.

You must log in to continue. Would you like to log in (Y/n)?  y

Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&prompt=select_account&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth&access_type=offline


You are logged in as: [tecknovice@gmail.com].

Pick cloud project to use:
 [1] acquired-grid-166904
 [2] newagent-860b5
 [3] newagent-af919
 [4] Create a new project
Please enter numeric choice or text value (must exactly match list
item):  3

Your current project has been set to: [newagent-af919].

API [compute.googleapis.com] not enabled on project [329718765212].
Would you like to enable and retry?  (Y/n)?  y

Do you want to configure Google Compute Engine
(https://cloud.google.com/compute) settings (Y/n)?

Which Google Compute Engine zone would you like to use as project
default?
If you do not specify a zone via a command line flag while working
with Compute Engine resources, the default is assumed.
 [1] asia-east1-c
 [2] asia-east1-b
 [3] asia-east1-a
 [4] asia-northeast1-c
 [5] asia-northeast1-b
 [6] asia-northeast1-a
 [7] asia-south1-b
 [8] asia-south1-c
 [9] asia-south1-a
 [10] asia-southeast1-b
 [11] asia-southeast1-a
 [12] australia-southeast1-c
 [13] australia-southeast1-b
 [14] australia-southeast1-a
 [15] europe-west1-c
 [16] europe-west1-d
 [17] europe-west1-b
 [18] europe-west2-b
 [19] europe-west2-a
 [20] europe-west2-c
 [21] europe-west3-b
 [22] europe-west3-c
 [23] europe-west3-a
 [24] southamerica-east1-c
 [25] southamerica-east1-a
 [26] southamerica-east1-b
 [27] us-central1-f
 [28] us-central1-b
 [29] us-central1-c
 [30] us-central1-a
 [31] us-east1-c
 [32] us-east1-d
 [33] us-east1-b
 [34] us-east4-b
 [35] us-east4-c
 [36] us-east4-a
 [37] us-west1-a
 [38] us-west1-b
 [39] us-west1-c
 [40] Do not set default zone
Please enter numeric choice or text value (must exactly match list
item):
Please enter a value between 1 and 40, or a value present in the list:  10

Your project default Compute Engine zone has been set to [asia-southeast1-b].
You can change it by running [gcloud config set compute/zone NAME].

Your project default Compute Engine region has been set to [asia-southeast1].
You can change it by running [gcloud config set compute/region NAME].

Created a default .boto configuration file at [C:\Users\hungnv\.boto]. See this file and
[https://cloud.google.com/storage/docs/gsutil/commands/config] for more
information about configuring Google Cloud Storage.
Your Google Cloud SDK is configured and ready to use!

* Commands that require authentication will use tecknovice@gmail.com by default
* Commands will reference project `newagent-af919` by default
* Compute Engine commands will use region `asia-southeast1` by default
* Compute Engine commands will use zone `asia-southeast1-b` by default

Run `gcloud help config` to learn how to change individual settings

This gcloud configuration is called [default]. You can create additional configurations if you work with multiple accounts and/or projects.
Run `gcloud topic configurations` to learn more.

Some things to try next:

* Run `gcloud --help` to see the Cloud Platform services you can interact with. And run `gcloud help COMMAND` to get help on any gcloud command.
* Run `gcloud topic -h` to learn about advanced features of the SDK like arg files and output formatting

No comments:

Post a Comment