1 Answers
4
Accepted Answer
AWS released RDS Proxy a while back for these use cases. Aurora Serverless v2 now supports it - see https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html.
Relevant questions
Using DocumentDB with Lambda: connection pooling
Accepted Answerasked 2 years agoChanges to connection handling with Aurora Postgres?
Accepted Answerasked 3 years agoConnecting to Aurora PostgreSQL serverless v2 from lambda
asked 2 months agoDatabase Connection Pooling with Aurora Serverless & Lambdas
asked 6 months agoHow to implement a Dataloader with Appsync when using Serverless Aurora as a datasource?
asked 8 months agoAurora Serverless v2 without VPC
asked 4 months agoAurora Postgres Serverless V2 and Lambda
Accepted Answerasked a month agoMigration from Aurora to Aurora Serverless?
Accepted Answerasked 3 years agoIs there a way to grab a user's voice utterance from an Amazon Lex V2 bot using Lambda calls?
asked 5 months agoAurora Postgres Invoke Lambda with aws_commons.create_lambda_function_arn
asked 2 years ago
I would just add that you do not need to create and destroy the connection in each invocation. Just create the connection at function init time and let it remain open.