Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 723 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 723 Bytes

Amazon RDS Proxy Demo Python Code

This demo code is meant to demonstrate the Amazon RDS concept. For more information on RDS proxy, click here to get started. In case you're not familiar with AWS Lambda, click here to get started.

INSTRUCTIONS

The lambda function depends on the following environment variables to be defined.

  • Region
  • RDS proxy endpoint
  • Database Port
  • The database username

The lambda also uses a lambda layer with pymysql installed. Run the below command to install pymysql

pip install pymysql

N.B Remember to edit the query in line 52