Warning
This document has not been updated for a while now. It may be out of date.
Last updated:
9 Jun 2020
govuk-aws: 20. Merge API PostgreSQL instance into main PostgreSQL instance
Date: 2017-08-07
Status
Accepted
Context
The only database that runs on API PostgreSQL instances is Stagecraft, which is for the Performance Platform.
This is able to run on the main PostgreSQL instance as we do not have the split of "vDCs" that we have in our current hosting provider.
Work is ongoing to migrate the Performance Platform away from our infrastructure and to The Government PaaS, so the long term plan is not have this database in our infrastructure at all.
Decision
We should merge the API PostgreSQL instance into the main PostgreSQL instance.
Consequences
The application configuration will need to be updated to connect to the correct database.
We are able to reduce the amount of database instances we maintain.