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
- Host: GitHub
- URL: https://github.com/alphagov/paas-db-admin-boshrelease
- Owner: alphagov
- License: mit
- Created: 2018-10-24T08:00:16.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-01-25T09:18:20.000Z (over 5 years ago)
- Last Synced: 2025-05-08T22:52:47.890Z (12 months ago)
- Topics: bosh, paas, reliability-engineering
- Language: Go
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.