If you no longer require an instance, you can release the instance. Tablestore instances can be in reserved mode or on-demand mode. This topic describes how to release a Tablestore instance that is in on-demand mode.

Prerequisites

Before you release an instance, you must delete all data tables and time series tables in the instance and unbind VPCs from the instance.

Important If you delete a table, the table becomes unavailable and the table data cannot be recovered. Proceed with caution.

Delete data tables

If data tables exist in the instance that you want to release, you must delete all data tables that are in the instance. If no data tables exist in the instance that you want to release, skip this section.

Before you delete a data table, you must delete secondary indexes, search indexes, and data delivery tasks that are created for the data table.

  1. Log on to the Tablestore console.
  2. In the top navigation bar, select the region in which the instance that you want to release resides.
  3. On the Overview page, click the name of the instance that you want to manage or click Manage Instance in the Actions column of the instance.
  4. Delete the secondary indexes and search indexes that are created for the data tables in the instance. If no indexes are created for the data tables in the instance, skip this step.
    Important If you delete an index, you cannot use the index to query or analyze data. Proceed with caution.
    1. On the Instance Details tab of the Instance Management page, click Tables.
    2. On the Tables tab, find the data table that you want to manage and click Indexes in the Actions column.
    3. On the Indexes tab, find the index that you want to manage and click Delete in the Actions column.
    4. In the message that appears, confirm that the table name and index name are correct and click OK.
    5. In the SMS Verification dialog box, click Get Verification Code, enter the verification code that you obtain in the Verification Code field, and then click OK.
      Note The delete operation is performed only if your Alibaba Cloud account is bound to a mobile phone number and the verification code that you enter passes the verification.
  5. Delete all data delivery tasks that are created for the data tables in the instance. If no data delivery tasks are created for the data tables in the instance, skip this step.
    Important If you delete a data delivery task, you cannot use the task to deliver data to Object Storage Service (OSS).
    1. On the Instance Management page, click the Deliver Data to OSS tab.
    2. On the Deliver Data to OSS tab, find the delivery task that you want to manage and click Delete in the Actions column.
    3. In the message that appears, click OK.
  6. Delete data tables.
    1. On the Instance Details tab of the Instance Management page, click Tables.
    2. On the Tables tab, find the data table that you want to manage, click the fig_20230110_more icon in the Actions column, and then select Delete.
    3. In the Delete Table message, confirm that the instance name and table name are correct and click OK.
    4. In the SMS Verification dialog box, click Get Verification Code, enter the verification code that you obtain in the Verification Code field, and then click OK.
      Note The delete operation is performed only if your Alibaba Cloud account is bound to a mobile phone number and the verification code that you enter passes the verification.

Delete time series tables

If time series tables exist in the instance that you want to release, you must delete all time series tables that are in the instance. If no time series tables exist in the instance that you want to release, skip this section.

  1. Log on to the Tablestore console.
  2. In the top navigation bar, select the region in which the instance that you want to release resides.
  3. On the Overview page, click the name of the instance that you want to manage or click Manage Instance in the Actions column of the instance.
  4. On the Instance Details tab, click the Time Series Tables tab.
  5. On the Time Series Tables tab, find the time series table that you want to manage and click Delete in the Actions column.
  6. In the message that appears, click OK.

Unbind VPCs from an instance

If VPCs are bound to the instance, you must unbind the VPCs from the instance. If no VPCs are bound to the instance, you can skip this step.

Important After you unbind VPCs from a Tablestore instance, you cannot use the VPC endpoint to access the Tablestore instance. Proceed with caution.
  1. Log on to the Tablestore console.
  2. In the top navigation bar, select the region in which the instance that you want to release resides.
  3. On the Overview page, click the name of the instance that you want to manage or click Manage Instance in the Actions column of the instance.
  4. On the Network Management tab, find the VPC that you want to manage and click Unbind in the Actions column.
  5. In the Unbind VPC dialog box, make sure that you are aware of the risks.
  6. Click OK.

Release an instance

Note To prevent conflicts, do not create an instance that has the same name as the instance that is being released.

You can release an instance only after all tables in the instance are deleted.

Important After an instance is released, the instance becomes unavailable and the tables, table data, and related indexes in the instance cannot be recovered. Proceed with caution.
  1. Log on to the Tablestore console.
  2. In the top navigation bar, select the region in which the instance that you want to release resides.
  3. On the Overview page, find the instance that you want to release and click Release in the Actions column.
  4. In the Release message, click OK.
  5. In the SMS Verification dialog box, click Get Verification Code, enter the verification code that you obtain in the Verification Code field, and then click OK.
    The system starts to release the instance. The instance is in the Releasing state. It takes approximately 10 minutes to release an instance. Wait until the instance is released.
    Note The system starts to release the instance only if your Alibaba Cloud account is bound to a mobile phone number and the verification code that you enter passes the verification.