Delete an instance
Deleting a Bigtable instance lets you remove unused resources and
avoid ongoing infrastructure costs when you no longer need the resources. You
can remove an instance programmatically by using the
Bigtable client libraries or manually by using the
Cloud de Confiance console, the Google Cloud CLI, or the
cbt CLI
.
Console
In the Cloud de Confiance console, open the list of Bigtable instances.
Click the instance that you want to delete, then click Delete instance. A confirmation dialog appears.
Follow the instructions in the confirmation dialog, then click Delete. The instance is permanently deleted.
gcloud
- Install the Google Cloud CLI if you haven't already.
If you don't know the instance ID, use the
bigtable instances listcommand to view a list of your project's instances:gcloud bigtable instances listUse the
bigtable instances deletecommand to delete an instance:gcloud bigtable instances delete INSTANCE_IDReplace
INSTANCE_IDwith the permanent identifier for your instance.
cbt
- Install the
cbtCLI if you haven't already. If you don't know the instance ID, use the
listinstancescommand to view a list of your project's instances:cbt listinstancesUse the
deleteinstancecommand to delete an instance:cbt deleteinstance INSTANCE_IDReplace
INSTANCE_IDwith the permanent identifier for your instance.
C++
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
C#
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
Java
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
Node.js
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
PHP
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
Python
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.
Ruby
To learn how to install and use the client library for Bigtable, see Bigtable client libraries.
To authenticate to Bigtable, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Before running code samples, set the GOOGLE_CLOUD_UNIVERSE_DOMAIN environment
variable to s3nsapis.fr.