Scaffold High-Availability Databases with YAML
Automate the creation and setup of HA databases using declarative YAML configuration. Built for reliability, designed for DevOps.
Open source • GPL-3.0 License • Built with Go
Why ha-syncgen?
Simplify and standardize your database infrastructure with configuration-driven automation.
Built-in Health Checks
Continuous monitoring and automated health checks ensure your database infrastructure stays healthy and responsive.
YAML Configuration
Define your database schemas, replication strategies, and HA configurations declaratively with simple YAML files.
Automated Scaffolding
Generate and deploy complete database infrastructures automatically, reducing manual setup time and errors.
Production Ready
Uses built-in PostgreSQL features like WAL streaming and pgbasebackup for reliable replication and backup strategies.
Built-in Monitoring
Integrated monitoring with Datadog support provides real-time insights into your database performance and health.
Open Source
GPL-3.0 licensed and open for community contributions. Extend and adapt for your specific needs.
Live Demo
See ha-syncgen in Action
Watch how easy it is to scaffold a high-availability database infrastructure with just a YAML file.
Want to try it yourself? Get started with the documentation.
Get Started NowSimple Configuration
Define your high-availability database setup with clean, readable YAML.
# ha-syncgen.yaml
primary:
host: 18.189.194.40
port: 5432
data_directory: /var/lib/pgsql/data
db_name: primary_db
db_user: admin
db_password: admin_password
replication_user: primary_replica_user
replication_password: replica_user_password
replicas:
- host: 18.118.139.199
port: 5432
replication_slot: replica_slot_1
sync_mode: async
db_user: replica1_admin
db_password: replica1_password
options:
promote_on_failure: true
wal_level: replica
max_wal_senders: 3
wal_keep_size: 1GB
hot_standby: true
synchronous_commit: "on"
monitoring:
datadog:
enabled: true
api_key: datadog_api_key
site: datadoghq.com
datadog_user_password: admin_password
Ready to Get Started?
Join developers and DevOps teams using ha-syncgen to build reliable database infrastructure.