Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Housing RDS Instance #230

Closed
danieldn opened this issue Apr 28, 2019 · 6 comments
Closed

Request: Housing RDS Instance #230

danieldn opened this issue Apr 28, 2019 · 6 comments

Comments

@danieldn
Copy link

Instructions: Replace text below with details corresponding to your story

Summary

https://docs.google.com/document/d/1vHR-fTfgaILh2V2LkshEEnfOSG6f5DL7CKjeiERHarM/edit

Impact

Tasks

Definition of Done

@MikeTheCanuck
Copy link
Contributor

Manual RDS installation for now to workaround our CloudFormation testing problems:

DB instance identifier: housing-2019-staging
Use case: dev/test (non-replicated)
DB engine: PostgreSQL 11.2-R1
DB instance class: db.t2.small
Allocated storage: 60GB (complete guess - it's impossible to predict how much space a 7.5GB dump will actually need)
VPC: public-database
VPC security groups: hacko-public-database
log exports: Postgresql logs published to CloudWatch
Enable deletion protection
Endpoint address: housing-2019-staging.caicgny9d8nv.us-west-2.rds.amazonaws.com
All other settings at default.
SQL credentials will be distributed directly.

@MikeTheCanuck
Copy link
Contributor

MikeTheCanuck commented Apr 28, 2019

The application login role for this RDS instance has the following privileges:

  • Can login
  • Create databases
  • Inherit rights from the parent roles

@MikeTheCanuck
Copy link
Contributor

Post-creation configuration steps:

  • create application login role
  • add PostGIS support: login through PGAdmin, browse to Databases > postgres > Extensions, right-click, choose Create > Extension, select postgis from the Name box and hit Save

@danieldn
Copy link
Author

Reopening.

Communicate to housing how to populate RDS instance from jumpbox

@danieldn danieldn reopened this May 12, 2019
@danieldn danieldn moved this from Done to Review in Infrastructure & Reliability Team May 12, 2019
@MikeTheCanuck
Copy link
Contributor

@danieldn can you remind me who is the point of contact for the Housing team - i.e. to whom will I send the PEM file, username/password and instructions?

@MikeTheCanuck
Copy link
Contributor

I see that I've already passed along the connectivity info to @nickembrey a few weeks back.

Nick, don't forget that if you want to do a large database restore you can take advantage of the jumpbox that we host in AWS for this purpose:
https://github.com/hackoregon/civic-devops/blob/master/docs/database/2019/HOWTO:%20Use%20jumpbox%20to%20restore%20PostgreSQL%20from%20S3.md

If you need access to it, please let me know and I'll pass along the .pem file that gives you SSH access to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants