Skip to main content

2 posts tagged with "ci-cd"

View All Tags

Database Forking: Create Production Clones for Testing in Minutes

· 7 min read
FoundryDB Team
Engineering @ FoundryDB

Testing against realistic data is the difference between catching bugs before production and catching them in production. But getting a faithful copy of your production database into a staging environment usually means writing export scripts, waiting for dumps to transfer, provisioning infrastructure, and importing the data. For a 100 GB PostgreSQL database, that process can take hours and requires someone to babysit it.

FoundryDB's fork endpoint eliminates this entire workflow. One API call creates a fully independent copy of your database, running on its own VM with its own credentials, restored from a backup of the source service. The source database is never touched. The fork is provisioned, restored, and ready for connections in minutes.

Databases as Code: Managing FoundryDB with Terraform

· 7 min read
FoundryDB Team
Engineering @ FoundryDB

Most teams manage their application infrastructure as code but still create databases by clicking through a dashboard. The database becomes the one piece of production infrastructure that has no audit trail, no PR review, and no reproducible setup. When someone asks "why is the production database on tier-4 instead of tier-6?" the answer is usually "someone changed it last year."

The FoundryDB Terraform provider closes that gap. You declare your database services, users, and firewall rules in HCL, version them in git, and apply changes through the same CI/CD pipelines you use for everything else.