Add a Postgres database to the autograph hsm infrastructure
Categories
(Cloud Services :: Operations: Autograph, enhancement)
Tracking
(Not tracked)
People
(Reporter: jvehent, Assigned: miles)
References
Details
Deploy a postgres database in the autograph-hsm stage and prod environments, initialized with the following schema: https://github.com/mozilla-services/autograph/blob/master/database/schema.sql (only using a better password...)
Assignee | ||
Comment 1•6 years ago
|
||
I've deployed a postgres 10.6 database to the autograph-hsm stage environment and added the connection information to the autograph config. Once we're happy with things we can deploy prod.
Relevant PR: https://github.com/mozilla-services/cloudops-deployment/pull/2999
:miles are the autograph app instances importing the https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem bundle (per https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.SSL)?
per irc: we'll put the cert bundle in the app container
PR to add SSLRootCert to DSN and bundle RDS cert bundle w/ app build: https://github.com/mozilla-services/autograph/pull/260
Stage is set up and autograph stage can connect to it.
:miles does a prod DB exist? I don't see anything on https://us-west-2.console.aws.amazon.com/rds/home?region=us-west-2#databases:
We have a prod DB and the config is updated.
Description
•