AWS RDS: Invalid max storage size for engine name postgres and storage type gp2: 198

amazon-rdsamazon-web-servicesautoscaling

I'm getting this error while modifying DB instance. Invalid max storage size for engine name postgres and storage type gp2: 198 for schedule autoscaling.

This only happened yesterday, it's weird. Here is a screenshot of the current storage configuration of the DB instance.

https://i.stack.imgur.com/reiJo.png

Best Answer

Your picture shows a maximum storage threshold of 198GB and usage of 197GB. According to this page the "The maximum storage threshold is the limit that you set for autoscaling the DB instance. You can't set the maximum storage threshold for autoscaling-enabled instances to a value greater than the maximum allocated storage.

Based on that it looks like you have set up autoscaled storage but have hit the limit you set. Modify your database to increase the limit and the problem should go away.

If that doesn't work maybe try increasing the database size by a larger increment.