An open API service indexing awesome lists of open source software.

https://github.com/alphagov/paas-db-admin-boshrelease

A Bosh release for running administrative operations against Postgres
https://github.com/alphagov/paas-db-admin-boshrelease

bosh paas reliability-engineering

Last synced: 12 months ago
JSON representation

A Bosh release for running administrative operations against Postgres

Awesome Lists containing this project

README

          

paas-db-admin-boshrelase
------------------------

Basic release to perform administration operations on databases (e.g. RDS) used
by the VMs of a Bosh deployment.

This intends to solve the problem of how to initialise external services like
RDS to be used by VMs. For instance, we need to create some databases and roles
on a PostgreSQL database to be used by different services (e.g. UAA) before we
deploy the VM, but the RDS is accesible only from the same VPC and there is no
previous VMs running in the VPC.

job: init-db
------------

Its intention is to create databases and roles in `pre-start` script. This job
can be colocated with the other services using these databases, and you can let
them race. The other jobs might fail starting, but Monit would restart them
immediately after.

See the `jobs/init-db/spec` file for more details.