View the list of clusters

This page describes how to view the list of AlloyDB clusters in a project.

Prerequisites

  • The Cloud project you are using must have been enabled to access AlloyDB.
  • You must have one of these IAM roles in the Cloud project you are using:
    • roles/alloydb.admin (the AlloyDB Admin predefined IAM role)
    • roles/owner (the Owner basic IAM role)
    • roles/editor (the Editor basic IAM role)

    If you don't have any of these roles, contact your Organization Administrator to request access.

Procedure

Console

  1. In the Google Cloud console, go to the Clusters page.

    Go to Clusters

  2. From the Select a project list, select a Google Cloud project.
  3. Click Open.
  4. In the Clusters page that opens, view the list of clusters available in the project.

gcloud

To use the gcloud CLI, you can install and initialize the Google Cloud CLI (version 383.0.1 or later), or you can use Cloud Shell.

Use the clusters list command to view the list of clusters.

gcloud beta alloydb clusters list \
    --region=REGION_ID \
    --project=PROJECT_ID
  • REGION_ID: The region where the clusters are placed.
  • PROJECT_ID: The ID of the project where the clusters are placed.