Exported on 22-Sep-2021 14:15:19
Parameters
1 - Add package source
Add the Cloud SDK distribution URI as a package source.
Login as user {Linux User} on node {Linux Node}
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
2 - Install Dependencies
Installs apt-transport-https and required dependencies.
Login as user {Linux User} on node {Linux Node}
sudo apt-get -y install apt-transport-https ca-certificates gnupg
3 - Import the Google Cloud public key
Import the Google Cloud public key.
Login as user {Linux User} on node {Linux Node}
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
4 - Update apt repositories
Update APT repositories.
Login as user {server_credential} on node {server_host}
sudo apt update
5 - Start Google Cloud SDK Installation
This starts the installation of the Google Cloud SDK.
Once the installation has finished, you can run "gcloud init" and complete the authentication process to begin using Google Cloud CLI.
Login as user {Linux User} on node {Linux Node}
sudo apt-get install -y google-cloud-sdk
Install Google Cloud SDK On Debian Based Linux Distros
This Blueprint Installs GCP SDK On Linux Systems Mentioned Below
Google Cloud SDK is a collection of tools which help users to manage resources on Google Cloud Platform. These tools include a platform for managing assets, a command-line interface for Google services and platforms, installed components that simplify common tasks in the cloud, and data importing tools.
Pre-Blueprint Attune setup
Supported Operating Systems: