Support Documents
×
No data found.


How to Query into RDS MySQL Using AWS Lambda

Lab Details

  1. This lab walks you through the creation of an RDS MySQL Database, creating a table and inserting some values using MySQL Workbench. Now we will create a Lambda function and write MySQL queries to read and write data into the database.

  2. Duration: 60 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Architecture Diagram

Task Details

  1. Login to AWS Management Console

  2. Create a security group for RDS Instance

  3. Create an IAM Role

  4. Create RDS Database Instance

  5. Connect to the RDS instance using MySQL Workbench

  6. Create a Lambda function

  7. Validation of the lab

  8. Deleting AWS Resources

Prerequisites

  1. For testing this lab, it is necessary to download the MySql GUI Tool, To download it, go to the Download MySQL Workbench page. Based on your OS, select the respective option under Generally Available (GA) Releases. Download and Install.