Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.74 KB

databases.md

File metadata and controls

38 lines (23 loc) · 1.74 KB

Databases

Why

Occasionally we need persistent, relational data, when we need longer-term storage than caching, e.g. for collecting orders, storing metrics or other shared data.

What

Our OpenShift cluster is peered with our "Data VPC", AKA "Virtual Private Cloud". We have Terraform playbooks that manage the use of Amazon RDS to create managed relational databases in the cloud.

How

If you need a new RDS instance, accessible to either sandbox or main clusters, submit a pull request to our Data VPC Terraform repositories, respectively:

To gain access to Amazon IAM, you can submit a pull request to the Data VPC IAM Terraform repository:

Best practices

  • Any databases storing personal information must go through a security review
  • Avoid "database integration" by ensuring that you aren't sharing one database between multiple apps. Instead, front it with a shared microservice that provides a contract for communicating with the database.
  • TODO... more!

Who

@delivery

References