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
Sign in to the AWS Management Console and open the Amazon Timestream for InfluxDB console
. In the navigation pane, choose InfluxDB Databases, and then choose the DB instance that you want to modify.
Choose Modify.
On the Modify DB instance page, make the desired changes.
Choose Continue and check the summary of modifications.
Choose Next.
Review your changes.
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-typedesired-instance-type
\ --deployment-typedesired-deployment-type
\ --db-parameter-group-namenewparamgroup
\ --port8086
For Windows:
aws timestream-influxdb update-db-instance ^ --identifier
mydbinstance
^ --db-instance-typedesired-instance-type
^ --deployment-typedesired-deployment-type
^ --db-parameter-group-namenewparamgroup
--port8086