Deleting a DB instance - Amazon Timestream
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

For similar capabilities to Amazon Timestream for LiveAnalytics, consider Amazon Timestream for InfluxDB. It offers simplified data ingestion and single-digit millisecond query response times for real-time analytics. Learn more here.

Deleting a DB instance

Deleting a DB instance has an effect on instance recoverability, and snapshot availability. Consider the following issues:

  • If you want to delete all Timestream for InfluxDB resources, note that the DB instances resources incur billing charges.

  • When the status for a DB instance is deleting, its CA certificate value doesn't appear in the Timestream for InfluxDB console or in output for Amazon Command Line Interface commands or Timestream API operations.

  • The time required to delete a DB instance varies depending on how much data is deleted, and whether a final snapshot is taken.

You can delete a DB instance using the Amazon Web Services Management Console, the Amazon Command Line Interface, or the Timestream API. You must provide the name of the DB instance:

Using the Amazon Web Services Management Console
  1. Sign in to the Amazon Web Services Management Console and open the Amazon Timestream for InfluxDB console.

  2. In the navigation pane, choose InfluxDB Databases, and then choose the DB instance that you want to delete.

  3. Choose Delete.

  4. Enter confirm in the box.

  5. Choose Delete.

Using the Amazon Command Line Interface

To find the instance IDs of the DB instances in your account, call the list-db-instances command:

aws timestream-influxdb list-db-instances \ --endpoint-url YOUR_ENDPOINT \ --region YOUR_REGION

To delete a DB instance by using the Amazon CLI, call the delete-db-instance command with the following options:

aws timestream-influxdb list-db-instances \ --identifier YOUR_DB_INSTANCE \
Example

For Linux, macOS, or Unix:

aws timestream-influxdb delete-db-instance \ --identifier mydbinstance

For Windows:

aws timestream-influxdb delete-db-instance ^ --identifier mydbinstance