Updating DB instances - Amazon Timestream

Updating DB instances

You can update the following configuration parameters of your Timestream for InfluxDB instance:

  • Instance class

  • Deployment type

  • Parameter group

  • Log delivery configuration

Important

We recommend you to test all changes on a test instance before modifying the production instance to understand their impact, especially when upgrading database versions. Review the impact on your database and applications before updating settings. Some modifications require a DB instance reboot, resulting in downtime.

Using the AWS Management Console
  1. Sign in to the AWS 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 modify.

  3. Choose Modify.

  4. On the Modify DB instance page, make the desired changes.

  5. Choose Continue and check the summary of modifications.

  6. Choose Next.

  7. Review your changes.

  8. Choose Modify instance to apply your changes.

Note

Thse modifications require a reboot of the Influx DB instance, and can cause an outage in some cases.

Using the AWS Command Line Interface

To update a DB instance by using the AWS Command Line Interface, call the update-db-instance command. Specify the DB instance identifier and the values for the options that you want to modify. For information about each option, see Settings for DB instances.

Example

The following code modifies mydbinstance by setting a different dbparametergroup. The changes are applied immediately.

For Linux, macOS, or Unix:

aws timestream-influxdb update-db-instance \ --identifier mydbinstance \ --db-instance-type desired-instance-type \ --deployment-type desired-deployment-type \ --db-parameter-group-name newparamgroup \ --port 8086

For Windows:

aws timestream-influxdb update-db-instance ^ --identifier mydbinstance ^ --db-instance-type desired-instance-type ^ --deployment-type desired-deployment-type ^ --db-parameter-group-name newparamgroup --port 8086