Cannot create Aurora Postgres Serverless Database
See original GitHub issueI get the error:
The engine mode serverless you requested is currently unavailable.
Reproduction Steps
const database = new CfnDBCluster(construct, 'aurora', {
databaseName: 'anydatabasename',
dbClusterIdentifier: environmentPrefix(),
engine: 'aurora-postgresql',
engineMode: 'serverless',
masterUsername: 'admin',
masterUserPassword: 'admin',
port: 5432,
dbSubnetGroupName: subnetGroup.dbSubnetGroupName, // Created previously
scalingConfiguration: {
autoPause: true,
maxCapacity: 1,
minCapacity: 1,
// Fifteen minutes should be enough
secondsUntilAutoPause: 15 * 60,
},
});
Error Log
1/2 | 5:57:39 PM | UPDATE_FAILED | AWS::RDS::DBCluster | aurora The engine mode serverless you requested is currently unavailable. (Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterValue; Request ID: 896e55ad-7f9c-4d02-a046-cfeba88e54d6)
Object.exports.attach ([project directory]/src/aurora.ts:18:19)
\_ new ApiService ([project directory]/src/index.ts:25:31)
\_ Object.<anonymous> ([project directory]/src/index.ts:33:1)
\_ Module._compile (internal/modules/cjs/loader.js:778:30)
\_ Module.m._compile ([project directory]/node_modules/ts-node/src/index.ts:814:23)
\_ Module._extensions..js (internal/modules/cjs/loader.js:789:10)
\_ Object.require.extensions.(anonymous function) [as .ts] ([project directory]/node_modules/ts-node/src/index.ts:817:12)
\_ Module.load (internal/modules/cjs/loader.js:653:32)
\_ tryModuleLoad (internal/modules/cjs/loader.js:593:12)
\_ Function.Module._load (internal/modules/cjs/loader.js:585:3)
\_ Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
\_ main ([project directory]/node_modules/ts-node/src/bin.ts:226:14)
\_ Object.<anonymous> ([project directory]/node_modules/ts-node/src/bin.ts:485:3)
\_ Module._compile (internal/modules/cjs/loader.js:778:30)
\_ Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
\_ Module.load (internal/modules/cjs/loader.js:653:32)
\_ tryModuleLoad (internal/modules/cjs/loader.js:593:12)
\_ Function.Module._load (internal/modules/cjs/loader.js:585:3)
\_ Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
\_ startup (internal/bootstrap/node.js:283:19)
\_ bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Environment
- CLI Version : 1.22.0
- Framework Version: 1.22.0
- OS : OS X 10.15.2
- Language : Typescript
Other
I saw #3608, but using just aurora
as suggested there makes an Aurora MySQL cluster.
I also saw #218, but I think I should be able to do this with CfnDBCluster in the meantime, no?
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Creating an Aurora Serverless v1 DB cluster
The following procedure creates an Aurora Serverless v1 cluster without any of your schema objects or data. If you want to create an...
Read more >How to Configure and Connect to Serverless MySQL Database
Configure and Connect to Serverless MySQL Database · Step 1. Navigate to the Amazon RDS console · Step 2. Create an Aurora Serverless...
Read more >Create an Aurora Serverless v1 DB Cluster
1. Create a serverless DB cluster¶ ... Open the Amazon RDS service console, if you don't already have it open. ... In the...
Read more >Upgrade for Amazon Aurora Serverless v1 PostgreSQL ...
Now I read in our notification that Aurora PostgreSQL 11 for Amazon Aurora Serverless v1 will be available in Q1 2022. Detailed instructions...
Read more >AWS Aurora Serverless Tutorial | Step By Step - YouTube
AWS Aurora Serverless is a on demand database platform that allows developers to use RDS databases without worrying about managing servers.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone who gets here via Google.
You can find if the region has the serverless postgres option via the following command:
Just make sure to run it in the region you want to check.
@skinny85 yes, just forgot to remove this comment. Sorry about that, and thanks for the follow up!