Get instance information

This page shows you how to get information about Filestore instances.

Before you begin

If you want to use the command-line examples in this page, enable the gcloud command-line tool by installing the gcloud CLI.

View all instances in a project

Google Cloud console

You can get information about your Filestore instances, and view all instances in a project, by going to the Filestore instances page:

Go to the Filestore instances page

gcloud

You can get information about your Filestore instances, and view all instances in a project, by running the instances list command:

  gcloud filestore instances list --project=project-id --zone=zone

where:

  • project-id is the project ID of the Google Cloud project that contains the Filestore instance. You can skip this flag if the Filestore instance is in the gcloud default project. You can set the default project by running:

      gcloud config set project project-id
    
  • zone is the zone for which you want to list Filestore instances. If you skip this flag, instances in all zones are returned. Run the gcloud filestore zones list command to get a list of supported zones.

The response to the instances list command is similar to the following: