AWS Database Blog

Category: .NET

Architecture diagram with Lambda connecting to Aurora PostgreSQL through RDS Proxy in a VPC

Connecting .NET Lambda to Amazon Aurora PostgreSQL via RDS Proxy

In this post, I show you how to connect Lambda functions to Aurora PostgreSQL using Amazon RDS Proxy. We cover how to configure AWS Secrets Manager, set up RDS Proxy, and create a C# Lambda function with secure credential caching. I provide a GitHub repository which contains a YAML-format AWS CloudFormation template to provision the key components demonstrated, a C# sample function. I also walk through the Lambda function deployment step by step.