- Newest
- Most votes
- Most comments
Hello,
Thank you for your query regarding the Aurora Serverless v2 configuration in CloudFormation. I've investigated your concerns and can provide the following information:
1. Scaling to 0 ACUs:
Amazon Aurora Serverless v2 recently added support for scaling capacity down to 0 ACUs. However, this feature is not yet reflected in the CloudFormation resource type for AWS::RDS::DBCluster.
2. SecondsUntilAutoPause:
While the AWS CLI supports the --serverless-v2-scaling-configuration option with SecondsUntilAutoPause, CloudFormation does not currently include this property in its ServerlessV2ScalingConfiguration.
3. CloudFormation limitations:
As of now, there is no way to set these options (MinCapacity to 0 and SecondsUntilAutoPause) using CloudFormation alone.
4. Existing issue:
This limitation has been reported to the CloudFormation team. You can track the progress of this feature request on GitHub: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2202
5. Alternative approaches:
Unfortunately, there isn't a straightforward way to implement these specific configurations without manual intervention or using additional automation outside of CloudFormation.
I recommend keeping an eye on the GitHub issue for updates. In the meantime, you may need to consider creating or modifying the resource manually after initial deployment, or explore custom solutions using AWS Lambda or other automation tools to apply these configurations post-deployment.
If you have any further questions or need additional clarification, please don't hesitate to ask.
Hi,
Yes, it should be possible to scale down to 0 and manage SecondsUntilAutoPause: https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-aurora-serverless-v2-scaling-zero-capacity/
It is fully detailled here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2-auto-pause.html
Best,
Didier
Relevant content
asked 5 years ago
asked 8 months ago

Cloudformation doesn't seem to allow you to define this though?