All templates
/
Database
CURATED TEMPLATE / AWS

Your API needs relational data without exhausting database connections.

HTTP API and RDS Proxy

View original source

When this becomes useful

The first version needs a place to keep data, while later versions need schema changes, access controls and recovery. Use the example to examine those boundaries before copying defaults.

What the template offers

HTTP API and RDS Proxy is a Terraform pattern from AWS Serverless Patterns. It offers a concrete implementation to inspect and adapt. Shows a Lambda path into a relational database. Check connection limits, migrations and tenant isolation before reuse.

Technical shape

Follow Lambda through RDS Proxy to the database. Check connection configuration, credentials, network access and migration ownership.

Questions worth answering

  • How will the schema change over time?
  • Where is the tenant boundary enforced?
  • What is the backup and restore plan?

Inspect the source

Read the maintainer's README, license, setup instructions and current repository state before adapting the code.

Open AWS Serverless Patterns

Capabilities to plan next

A deployable pattern is one piece of the product. These guides cover behavior and decisions around it.