Skip to main content

gcloud

Introduction to gcloud

gcloud CLI is the command-line interface for managing Google Cloud resources and services. It provides a unified way to interact with Google Cloud Platform (GCP), allowing users to automate tasks, configure resources, and execute commands directly from the terminal. With gcloud, you can manage virtual machines, storage buckets, Kubernetes clusters, and more.

The gcloud CLI is designed to simplify cloud management and integrates seamlessly with other Google Cloud tools and APIs. It supports scripting and automation, making it an essential tool for developers, system administrators, and researchers working with GCP. For more details, visit the official gcloud documentation.

Using gcloud with Modules

To use gcloud on the terrabyte HPC system, load the gcloud module with the following command:

# consider adding the module use line to your ~/.bashrc to always make terrabyte modules available 
module use /dss/dsstbyfs01/pn56su/pn56su-dss-0020/usr/share/modules/files/
module load gcloud

Usage Examples

Once loaded, you can execute gcloud commands to interact with Google Cloud services. For example, to list all storage buckets in your GCP project:

gcloud storage buckets list

For additional usage instructions and configuration details, refer to the gcloud documentation.