Allow AWS Lambda to access RDS Database

后端 未结 3 1988
我寻月下人不归
我寻月下人不归 2020-12-02 18:27

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

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

3条回答
  •  一生所求
    2020-12-02 19:06

    You can't enable this via IP. First you will need to enable VPC access for the Lambda function, during which you will assign it a Security Group. Then, within the Security Group assigned to the RDS instance you will enable access for the Security Group assigned to the Lambda function.

提交回复
热议问题