-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Migrate 311-Data System Architecture #44
Comments
9/1/2022 Met with Nicholas and Edwin. Reviewed the technologies involved, documentation, and determined it's potential path to migration. We need to setup time with Bonnie to discuss it's aws account organization. Should it go to Incubator, and/or setup it's own. |
@nichhk May we have the roadmap here? |
What specifically do you need bonnie to do right now? |
@JasonEb FYI Special Meeting #1 2022-10-13 at 7pm: Meeting Minutes: Objective:
Summary:
Next Steps / potential alternatives:
|
Thanks for the notes Josh! To expand further: We were able to find the database username and password in AWS Systems Manager/Parameter Store within the DB_DSN. The username and password are not individually provided; they are fed to Terraform via the DB_DSN. So with these values, we are now able to ssh into the RDS instance via a new bastion server that we made, since we didn't have the SSH key for the existing bastion server. We can now follow these steps:
One caveat to this process is in step 4: the prod db also happens to be the default db, which makes this process more complicated. Our meeting ended here, but @darpham believes that we should be able to get around that caveat. |
@nichhk is there a reason to drop the prod db, instead of standing up a new one, and then changing where it links to after the new one is working? And if this viable, and reduces risk, what kind of overlap (days) are we talking about? also how big of a lift would what I am asking about require over the path you have outlined in your previous comment. |
@ExperimentsInHonesty, I believe there is very little risk in dropping the prod db because it's completely unusable right now. I think the plan that you outlined will be a little more work (not much though). I could see it being riskier, though, because it would require us to reload our server with the new prod db info twice--once to test the new prod db, and then again after we rename the prod db to a permanent name. With the original plan, I don't think we'd need to reload the server at all, since we can just drop the prod db and create it with the same name and credentials as before. Edit: Your plan might end up being exactly what Darren suggests to get around the caveat that the prod db is the default db for our RDS instance, so we'll have to connect with him to see what he suggests. |
Summary:
Next Steps:
|
@joshuayhwu whenever good, let's revisit this issue and explore the next step for this migration |
@JasonEb apologies for the delay - little overwhelemed with work lately. The v1 311 site is currently unavailable as per stakeholder request so there is an opportunity for us to migrate to incubator simply by creating a simpler infrastructure to support the v2 website. We are discussing with internally whether the migration is still worthwhile. Will keep you updated. |
Migration Roadmap (work in-progress)Requirements
AWS SecretsThese are the secrets will will need to update in repo settings: ClientAWS_CI_ACCESS_KEY_ID ServerAWS_SSH_HOST_PROD Questions
|
Update: I've updated the Terraform versions inside of the modules to bring everything up to date. Blocker: it looks like some of the Terraform modules rely on an an Amazon Machine Image (AMI) - but that isn't built inside the codebase. Need someone w/ exp. to build this through the UI as it requires an image pipeline, recipe, etc. |
I can help with clearing up any questions, we can zoom if anyone is interested; I'm usually free after 5pm PT. |
Closing this issue as we decided to move away from AWS for a more cost friendly tech stack |
This issue is being moved to the new issue approval column so that a CoP lead can summarize all the notes that are necessary in order for a new person to take on this issue, and add that to the top and hiding all the comments. The goal here is to make the issue clear for a new person, while taking advantage of all the work that went into it so far. |
Overview
The 311 Team has a need to migrate ownership of their infrastructure management from their current servers. This endeavor and approach is highlighted here
https://docs.google.com/document/d/1hgJyxs45aZv1mVOPnbBm783KBiHVjI0zWIX1jOxz-3s/edit?usp=sharing
Action Items
Resources/Instructions
311 Data System
311 Repo
The text was updated successfully, but these errors were encountered: