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.

已提問 2 年前檢視次數 1722 次
2 個答案
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
專家
已回答 2 年前
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/

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南