Lambda vs MySql

Hello, I’ve been looking into the serverless framework and basically like what I’ve seen. One of my tasks is to build a Lambda functions which reads and writes to an MySql instance we have but haven’t found any good examples for that. Anybody here who could help me with that ?


You do this like normal outside of a serverless space. As long as your lambda can communicate with your mysql server, you can just use standard libraries in Python, Node, Java, or whatever you plan to use.

One thing to look out for is you will probably want to deploy your lambda inside the same vpc as the mysql is located.

Thanks - I’ll move that direction

Thats a good point, thanks.