This repo helps you install the google cloud SDK and configure Google cloud CLI tools to manage your google cloud environment.
- Docker , GCP Account
- Make sure that you are connected to Internet
Dockerfile
-> CentOS based base image to install google SDK.bash.sh
-> Script that get into the running docker containerbuild.sh
-> Build script to build the containergcp.sh
-> Script that emulates gcloud SDK experienceDockerfile_alphine
-> 'Ignore this file'Cert
-> Contains ge certs to pull images and add-on tools.
- Build: Execute `./build.sh'
To confirm that the install was successful, please execute the following command
-
./gcp.sh version
You should see Google cloud SDK information.
./gcp.sh components list
--> To list which components we already have installed and which are available to use.
./gcp.sh auth login
--> To login to gcp account. you may see url as shown below. For example: -
- Now, launch Google Chrome browser and paste the copied URL from the terminal.
- Copy the OTP (Key) to command line.
./gcp.sh config list
-> You should see your email ID as blank in the configuration list../gcp.sh config set account ACCOUNT
--> For ex: ./gcp.sh config.sh set account raj.ramalingam@dev.fullstream.ai../gcp.sh config list
-> You should see your email ID and set in the configuration list../gcp.sh config set project ProjectID
-> Copy the project ID from the google cloud console.