Site IAM Roles for Serverless

 Site IAM Roles for Serverless


==================================================

Set up the IAM role to Access RDS from Lambda

1. From the AWS Management Console, select the IAM product link to get the IAM Management Console.

2. Select Roles from the menu on the left.

3. Click on the Create Role button.

4. Select the AWS Service tile at the top of the screen.

5. Under Use Case, click on the Lambda link and click on the Next: Permissions button.

6. Under the Filter Policies search field, enter the following policy names and then click the check box to the left of the policy found to select them:

.....a. AmazonRDSDataFullAccess

.....b. AmazonRDSFullAccess

.....c. AmazonRDSReadOnlyAccess

.....d. AmazonVPCFullAccess

.....e. AWSLambdaVPCAccessExecutionRole

7. Click on the Next: Tags button.

8. Add any tags (just searchable key value pairs if you want to categorize your applications that you want) and click on the Next: Review button.

9. Enter Role Name and any description that you want (i.e., pRdsRole) and click on the Create Role button.

Comments