# How to effectively use RDS with serverless backend for db migrations? — retained record

> Retained reddit record from reddit:devops.

Canonical: https://highsignal.app/data/records/d366955bc63145e0

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:devops)  published 2026-08-07 06:32 ingested 2026-08-07 07:25

[original source ↗](https://www.reddit.com/r/devops/comments/1vhsvca/how_to_effectively_use_rds_with_serverless/)

## retained text



```
<!-- SC_OFF --><div class="md"><p>I'm using AWS SAM to provision API Gateway, Lambdas, and RDS. I want to know how I can do database migrations easily without having to keep up an EC2 instance just for the purpose of connecting to the RDS db and running db migrations?</p> <p>I wanted to use something like alembic so that most of the migration stuff is automated but ig I can't really use that. </p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/TheDarkPapa"> /u/TheDarkPapa </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1vhsvca/how_to_effectively_use_rds_with_serverless/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/devops/comments/1vhsvca/how_to_effectively_use_rds_with_serverless/">[comments]</a></span>
```



document fetched 2026-08-07 07:25 · canonical https://reddit.com/r/devops/comments/1vhsvca/how_to_effectively_use_rds_with_serverless
