0 votes
1 view
in AWS by (19.2k 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.6k 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.

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


Categories

...