1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
you could:
- use the ModifyDBInstance operation to modify a DB instance by using the Amazon RDS API ( https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyDBInstance.html).
- use the SDK https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/
And add your code in your lambda function, which must be in a VPC.
Hope it helps ;)
Relevant content
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
In addition to @alatech's comment
Note that upgrading or downgrading the instance type may require some additional configuration changes, such as modifying the DB parameter group or adjusting the allocated storage