4

I have RDS instances running in my AWS account created via a Cloudformation template. Recently there was a storage-full occurrence and as immediate remediation, I modified storage size from default 20 GB to 50 GB from the console.

Now I am considering modifying my CFN template so that RDS auto-scaling is enabled. But as I went through the AWS documentation, it says auto-scaling can be enabled through CLI, RDS API, and Console, and no mention about Cloudformation?

Is there any way to enable auto-scaling via Cloudformation?

Mahbub Rahman
  • 1,295
  • 1
  • 24
  • 44

1 Answers1

2

There is not direct option for that, as explained in the following GitHub issue:

However, it seems that if you set MaxAllocatedStorage, the storage autoscaling will get enabled.

Marcin
  • 215,873
  • 14
  • 235
  • 294
  • There is an open issue as well: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/430 – Mahbub Rahman Oct 26 '21 at 08:31
  • I will try the MaxAllocatedStorage thing – Mahbub Rahman Oct 27 '21 at 03:13
  • Did not implement it yet coz I created CW alarm instead. But setting MaxAllocatedStorage will definitely work I know. So going to accept the answer. https://stackoverflow.com/questions/69734205/aws-cloudformation-does-cloudwatch-alarm-for-rds-needs-iam-role/69734554?noredirect=1#comment123288156_69734554 – Mahbub Rahman Nov 02 '21 at 06:00