DEV Community

Discussion on: Building a Django + Vue.js application with AWS CDK and GitLab CI (also, how to scale Celery workers to zero)

Collapse
 
briancaffey profile image
Brian Caffey

Thank you Dominik! I'm glad it was able to help you. I'm still struggling with a few issues with 503 errors on my ALB. I'm trying lots of things to debug it, but be warned that there may be some issues with current project. Thank you for including code for the DatabaseCluster example. The only difference between the code in your comment and the database I am using in my project the serverless engineMode. Currently there seems to be no easy way to set this using the L2 DatabaseCluster construct, so I am using the Cfn/L1 version. I did see this comment from a week ago that show how to set the serverless mode with the DatabaseCluster construct: github.com/aws/aws-cdk/issues/929#....

For reference, here is the article I referenced that shows how to setup Postgres Aurora Serverless using L1 constructs: dev.to/cjjenkinson/how-to-create-a...