Query your AWS database from your serverless application


In this post, I show you how to query an AWS database from a URL, even if the database is not publicly accessible. You can even run it against an Amazon Aurora Serverless database for a serverless-to-serverless query! I provide a selection of Python scripts that work for Amazon NeptuneAmazon Relational Database Service (Amazon RDS) for MySQL, or Amazon RDS for PostgreSQL, respectively. I also walk you through setting up and creating the following two components:

  • The AWS Lambda function that executes your query against your backend database
  • The API Gateway REST API that invokes the Lambda function when you access the URL

I provide an AWS CloudFormation template that makes creating these components a snap. And I include substantial Tipsand Troubleshooting sections specifically for querying databases in an Amazon VPC that are not strictly key-value stores.

Managing Complex Change | LinkedIn

Greek philosopher Heraclitus is credited with saying, “The only constant is change” around 500 BC. This idea rings true today. I get a close view of the complex change nonprofits face when we do strategic planning together. Managing complex change is inevitable, and it’s something we could all understand a little better.


Index of /DevOps/AWS

Index of /DevOps/AWS