Deleting instances

This page shows you how to delete a Filestore instance.

Deleting an instance

Before deleting a Filestore instance, unmount it from client VMs first. Not doing so causes file operations to stop responding.

Cloud Console

  1. In the Cloud Console, go to the Filestore Instances page.

    Go to the Filestore instances page

  2. Click the Filestore instance ID to open the instance details page.

  3. Click Delete .

  4. When prompted, type the instance ID.

  5. Click Delete.

gcloud

Before you begin

To use the gcloud tool, you must either install the Cloud SDK or use the Cloud Shell that's built into the Cloud Console:

Go to the Cloud Console

You can delete a Filestore instance by running the instances delete command:

gcloud filestore instances delete instance-id \
    --[project="project-id"] \
    --[zone=zone]

where:

  • instance-id is the instance ID of the Filestore instance you want to delete.
  • project-id is the project ID of the 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 where the Filestore instance resides. Run the gcloud filestore zones list command to get a list of supported zones. You can skip this flag if the Filestore instance is in the gcloud default zone. You can set the default zone by running:

     gcloud config set filestore/zone zone
    

High Scale SSD tier instances take up to 10 minutes to delete, depending on the instance size.

Filestore quota is released when instance deletion completes but you are not be billed for the instance during this time.

What's next