Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (19.1k points)

I am trying to connect to RDS Database from an AWS Lambda (Java).

Which IP should I enable from the RDS Security group rules?

1 Answer

0 votes
by (44.4k points)

This cannot be done using IP. First, allow VPC access for the Lambda function, and if it needs an internet connection, for that create a subnet within the VPC with a NAT gateway. Then assign it to the Security Group. Finally, in the Security Group assigned to the RDS instance, you will have to enable for the Security Group assigned for the Lambda function.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories