Make API calls from AWS Lambda to access backend database

Shawn Shi
3 min readSep 3, 2018

If you use AWS Lambda and need to access your backend database, API calls would be very useful!

I have recently built a chatbot that triggers AWS Lambda to interact with the backend database. This approach works nicely as the chatbot and Lambda are separate components from the actual application, making things cleaner and easier for maintenance.

In this article, I’d like to share a template that you can use to make HTTP GET request to your application REST APIs and retrieve data from the database. You can…

--

--

Shawn Shi

Senior Software Engineer at Microsoft. Ex-Machine Learning Engineer. When I am not building applications, I am playing with my kids or outside rock climbing!