๐Ÿ‘‰ย Note : Google Vertex AI ๐Ÿ‘‰ All services needed for Data Science on Google Cloud.

๐Ÿ‘‰ย Note: โ€ฃ

๐Ÿ’ก Remark: We can use Cloud Shell Terminal (integrated in GCP Console), it contains all necessary tools. โ† Except the case we wanna create docker images (Cloud Shell doesnโ€™t have enough spaces)

+Install gcloud

๐Ÿ‘‰ย Official doc.

Donโ€™t forget to add its path to $PATH for .bashrc or .zshrc.

๐Ÿ‘†ย Back to top!

+Setting up with gcloud

# Learn how to change individual settings
gcloud help config

# Using another google account
# <https://cloud.google.com/sdk/docs/initializing>
gcloud auth login

# or using a service account
gcloud auth activate-service-account

# Set project
gcloud config set project <project-id>

# Change region
gcloud config set compute/region NAME
# eg. NAME = europe-west1

# Change Compute Engine zone
gcloud config set compute/zone NAME
# eg. NAME = europe-west1-b

๐Ÿ‘†ย Back to top!

+SSH to Cloud Shell

# Change to current project
gcloud config set project <projectName>

# ssh to cloud shell
gcloud cloud-shell ssh

+Artifcat Registry + manage images

๐Ÿ‘‰ย Official doc.

Push a local images to AR?