Lambda with stored procedures in RDS

0

I want to get data in my .net application from RDS using stored procedures with the help of the lambda function.

asked 2 years ago1703 views
2 Answers
1

RDS Proxy is available only for Amazon Aurora with MySQL compatibility, Amazon Aurora with PostgreSQL compatibility, Amazon RDS for MariaDB, Amazon RDS for MySQL, and Amazon RDS for PostgreSQL.

If you are trying to connect to RDS MSSQL Server, then RDS proxy won't work. In that case you will use whatever mechanism you are using today.

I could not find a blog post but here is a video that shows how to connect to RDS MSSQL Server from a .NET Lambda function - https://www.youtube.com/watch?v=LDGgAkSf8-Y

profile pictureAWS
EXPERT
answered 2 years ago
0

Lambda proxy config can be used to set a connection between lambda and rds

Simply that relies on vpc connectivity so you need a vpc attached lambda function

The rds sg must let your lambda subnet talks to rds, based on documentation the lambda and rds must be in same vpc and subnet , but I m sure there is other walk-around for that with separate tiers

Here the aws blog: https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-aws-lambda/

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions