Posted On: Dec 7, 2023
AWS Lambda now allows customers to connect Lambda functions to both Amazon Relational Database Services (Amazon RDS) and Amazon RDS Proxy directly from the Lambda console. Customers can now use a guided workflow to connect their Lambda function to a new or existing RDS database instance or RDS proxy. As part of the setup, AWS Lambda will now also automatically set up related network settings to enable a secure and scalable connection.
This guided workflow with built-in automation minimizes both complexity and time spent for customer developers and operators. For instance, the need for manual set ups of an AWS Virtual Private Cloud (VPC), security groups, subnets, and AWS Secrets Manager secrets required for the connection are now created automatically based on a few intuitive console prompts. This new console workflow improves productivity for both new and experienced users and application developers, who can now quickly launch a database instance and correctly connect a serverless Lambda application to it within minutes without requiring extensive expertise in VPC configurations, networking, or RDS authentication or scaling behavior.
This first release on December 6th, 2023 is available in all AWS regions where AWS Lambda and Amazon RDS are available, except the China (Beijing), China (Ningxia), and AWS GovCloud (US) Regions.
To learn more, see Using AWS Lambda with Amazon RDS in the Lambda Developer Guide.