CloudFormation - Aurora Fast Cloning
Hi,
I'd like to create a provisioned clone of my serverless Aurora MySql database using CloudFormation. The docs state that this should be possible, and it is when using the AWS CLI. However, when I try to accomplish this using CloudFormation, I always end up with a serverless clone instead of a provisioned clone. Here's my cluster definition:
"Type": "AWS::RDS::DBCluster",
"Properties": {
"SourceDBClusterIdentifier": {
"Ref": "SourceDbClusterIdentifier"
},
"RestoreType": "copy-on-write",
"EngineMode": "provisioned",
"Engine": "aurora-mysql",
"UseLatestRestorableTime": true,
"DBClusterIdentifier": "WhyAmIServerless"
}
There's also a AWS::RDS::DBInstance
attached to this cluster, but the stack errors out telling me I can't add an instance to a serverless cluster. Fair enough, but why is this cluster serverless in the first place? It seems like the EngineMode
property is being ignored. Does anyone know if creating a provisioned clone from a serverless cluster is possible in CloudFormation? Thanks.
I think I may have found an answer. There indeed seems to be an issue with some properties being ignored when creating a clone. DBSubnetGroupName
, EngineMode
, and VpcSecurityGroupIds
included.
https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/336
Relevant questions
TLS 1.2 + Aurora Serverless MySql
Accepted Answerasked 2 years agoBest practices for migrating MySQL RDS to Aurora Serverless
Accepted Answerasked 3 years agoAWS RDS Aurora MySql Serverless: ft_min_word_len is not being recognized
asked 2 months agoAurora Serverless MySQL - Supported Options
Accepted Answerasked 2 years agoAre there difficulties migrating from Aurora MySQL to Aurora Serverless
Accepted AnswerCloudFormation - Aurora Fast Cloning
Accepted Answerasked 4 months agoMove RDS MySQL 5.6.40 database to Aurora Serverless
asked 3 years agoMigration from Aurora to Aurora Serverless?
Accepted Answerasked 3 years ago(Serverless) Amazon Aurora MySQL 1 end of life on February 28, 2023
asked 2 months agoMove RDS postgresql database to Aurora Serverless
Accepted Answerasked 3 years ago