How to connect AWS Lambda to a MySQL database to update it? (using RDS proxy)


In this video we connect from a lambda function to an RDS database, first directly and then by using RDS proxy.

⚡️ More Lambda Videos:
– How to install npm modules in AWS Lambda?
– AWS Lambda versioning & aliases – How to deploy using versions + API Gateway
– How to use layers with Lambda functions?
– How to deploy a lambda function using github actions?
– How to use environment variables with a Lambda function? (and how to encrypt them with KMS)
– How to build a chat using Lambda + WebSocket + API Gateway? (nodejs)
– How to use ImageMagick with a Lambda function on AWS?
– How to pass a url query string or a route parameter to AWS Lambda from API Gateway?
– What is an AWS lambda function?
– How to restrict access to a static S3 site using HTTP Basic Auth?
– AWS Lambda intro – versions, aliases, concurrency, triggers, logs and monitoring

⚡️ LambdaBuddy:
Check out the tool I’ve built to manage the deployment of lambda functions:

⚡️ Github:

#lambda #mysql #nodejs


    • blank
      Gaurav kumar
      Jun 23, 2022 09:12 am Reply

      I am getting acess denied error for xx_user.I am using db cred for authentication not Iam auth.

    • blank
      Rushikesh Shete
      Jun 23, 2022 09:12 am Reply

      I have already mysql database, how can i connect it to aws lambda

    • blank
      Ethan Tun
      Jun 23, 2022 09:12 am Reply

      if you choose IAM authentication when you create RDS proxy, that means you don't need to put mysql username and password in the lambda function?

    • blank
      Shikhar Wankar
      Jun 23, 2022 09:12 am Reply

      Awesome man

    • blank
      Jun 23, 2022 09:12 am Reply

      This is an excellent lesson! Thank you!

Leave us a comment