Repository navigation
docs(adr): 0001 network foundation design (ground#10 routing half) - #23
Merged
Merged
Conversation
Designs the internal/stack/network stub before building it (the routing half of ground#10 deferred from ground#22). Decides: - hub-and-spoke: shared hub holds centralized org-conditioned interface endpoints (cost: one set shared via TGW, not per-spoke); per-tier spoke VPCs; segregated TGW route tables make ground:tier / attest:data-classes isolation a routing fact (a SensitiveResearch spoke physically can't route to Research). - deterministic CIDR carve from NetworkConfig.CIDRBlock (pure, unit-testable; never renumbers an existing spoke). - compute-to-data egress per DataEndpoint: S3 gateway endpoint for dbGaP, PrivateLink/ peering for AnVIL/Terra, NEVER a public IGW for controlled data (declaration+warning instead). The network path is the third gate beside the SCP and Cedar. Establishes ground's own docs/adr (distinct from the umbrella's suite-wide ADRs). Status: Proposed; 4-step build order, each its own PR. Pairs with attest#100 + suite ADR 0002. Refs: #11, #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Designs
internal/stack/networkbefore building it — the routing half of ground#10 that ground#22 deferred ("once the network stack exists"). Same design-first approach as suite ADR 0002 for compute-to-data.Three decisions
ground:tier/attest:data-classesisolation the OU tags describe becomes a routing fact — a SensitiveResearch spoke physically can't route to a Research spoke. Degrades to a single VPC whenTransitGateway: false.NetworkConfig.CIDRBlock— puretier index → subnetfunction, unit-testable without AWS, never renumbers an existing spoke (renumbering is destructive).DataEndpoint— S3 gateway endpoint for dbGaP (free, on-backbone), PrivateLink/peering for AnVIL/Terra, and never a public IGW for controlled data (emit aground-metadeclaration + warning instead of silently routing controlled data over the open internet). The network path is the third gate beside the SCP (data_endpoint_access_scp) and attest's Cedar policy (attest#100).Why design-first
The network stack is ground's largest template and the topology choices (CIDR plan, TGW route-table segregation, egress mechanism) are hard to reverse once deployed — exactly the case for an ADR before code. Establishes ground's own
docs/adr/(distinct from the umbrella's suite-wide ADRs).Status: Proposed. 4-step build order in the ADR (CIDR allocator → single-VPC template → hub-and-spoke+TGW → compute-to-data egress), each its own PR; steps 1–2 deliver the long-promised foundation independently of the ground#10 routing in step 4.
Refs: #11, #10