Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.3k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94k users

Browse Categories