'Dynamically change the RDS IOPS

The questing I'm about to ask is something I have in my mind since the beginning of the migration of a large postgres database on RDS, which occurred on January 15th, 2022.

One of the benefits of the cloud architecture is the "pay-as-you-go" thing. So, since the provisioned IOPS is one of the most significant option impacting the costs of the RDS system, why can't I dynamically reduce them with a sort of scheduler?

Our architecture has a wide correlation with the standard working time speaking about the load and the traffic; this means that during the night there's a very low impact on the disks and the IOPS are under 3000, same thing on the weekend, while during the day they ramp up to over 10k. I don't think we're the only ones with this kind of pattern and I don't know why I should keep the IOPS to 10k, with a huge cost, when I can reduce them by 3 times for half a month, with a significant reduction in the costs.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source