-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Issue 188] Architecture diagram #365
Conversation
Apparently the font-awesome icons don't show up in github 🤦 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on the mermaid diagram--really neat stuff! My only question/comment is regarding the database - shouldn't the replica DB be the same as the Postgres DB?
@gcarson-bit Good question, I wasn't sure what to do with that. I imagine while we're using the replica database living in the microhealth tenant, those are definitely separate. But once we set up replication, I wasn't sure if we would keep the logging and user access tables for our api in a separate db or just in separate tables in the replicated database. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome!! I left a few comments about some of the details hard coded in the diagram that we can discuss further in slack.
Once we reach alignment on that question, I'll approve!
classDef ecs fill:#FF9900,color:black | ||
``` | ||
|
||
## Relevant ADRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the links to the relevant ADRs!!! Great addition.
documentation/architecture/README.md
Outdated
tstgrntsee1.cshqswcusbcd. | ||
us-east-1.rds.amazonaws.com | ||
:1521")]:::db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is in a private subnet so there shouldn't necessarily be a security concern, but my instinct would be avoid hard coding IP addresses and ports into the diagram -- unless you feel like including those details here provides important system-design-level information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would agree w/ removing the actual address.
documentation/architecture/README.md
Outdated
:1521")]:::db | ||
PDB[("Multi-AZ Postgres DB | ||
for Back End | ||
IP.TBD:5432")]:::db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above, I'd exclude this from the final diagram.
documentation/architecture/README.md
Outdated
subgraph private-subnet3 [Private Subnet] | ||
DB[("Multi-AZ Grants.gov | ||
Replica Database | ||
tstgrntsee1.cshqswcusbcd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment above re: IP address and Port details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple stray thoughts:
Otherwise looks great! |
At some point. I would imagine that the need for HHS internal users to edit the text would be the driver there. We can update the diagram once we make that change.
We are still doing discovery (#369 ) on what service or set of tools we will do that with. I think the replication could be a separate diagram as you've noted, once we have a strategy in place. I do think we could be more explicit about that relationship in this diagram. |
I'd like to keep those in the general architecture as one of the goals is to document all the AWS services we're using, but I like the idea of subgraphing them to identify how they are being used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic!
Summary
Fixes #188
Time to review: 30
Changes proposed
Context for reviewers