AWS Databasesยท
Build a serverless recipe-sharing API with Go and Amazon Aurora DSQL
TL;DR
This tutorial shows how to build a recipe-sharing API without provisioning servers or managing database passwords. It combines Go, AWS Lambda, API Gateway, and Aurora DSQL, using shared local and cloud handlers, UUID keys to spread writes, and a connector for short-lived IAM authentication. The result is a working, automatically scaling REST API that provides a starting point for other serverless applications.
Relevant links
- DSQLaws.amazon.com
- Intermediate (200)aws.amazon.com
- Technical How-toaws.amazon.com
- Amazon Aurora DSQL User Guidedocs.aws.amazon.com
- GitHubgithub.com
- Go 1.26 or latergo.dev
- AWS Command Line Interface (AWS CLI) v2docs.aws.amazon.com
- Gingithub.com
- aws-lambda-go-api-proxygithub.com
- Amazon Aurora DSQL connectordocs.aws.amazon.com
- cmd/api/main.gogithub.com
- cmd/lambda/main.gogithub.com