Connect a Lambda function to a RDS database

Used together to minimize operational cost when relational data storage is needed. Also provides ACID compliance.

Terraform Code

Loading...
;

Also consider...

Alternatives

Lambda + RDS Proxy + RDS

RDS Proxy mitigates latency in AWS Lambda by managing connection pooling, reducing connection overhead and latency.

Lambda + DynamoDB

A serverless combo optimized for auto-scaling, cost-efficiency for used resources, and low-latency performance.

Lambda + CockroachDB Serverless

Another serverless combo, but with a relational ACID complaint DB with a proven record of resiliency.