Connect a database

AWS RDS

RDS and Aurora Postgres or MySQL, connected over a network path you control.

Postgres on RDS

MySQL on RDS

Network

RDS instances are usually not publicly reachable. Run the anybranch server where it can reach the instance (same VPC, or via a bastion / tunnel), and point preflight/clone at the instance endpoint. Preflight is read-only, so it is safe to run first to confirm the path and settings.

Changing a parameter group requires a reboot, which is disruptive on a production instance. Do it in a maintenance window, or connect a read-restricted replica the same way.