Skip to content

AWS foundation: private node subnets, single NAT, S3 gateway endpoint, verification sizing #272

Open

Description

@malon64

Part of #44. Designed against #171's budget.

Context

Nodes run in public subnets with map_public_ip_on_launch = true and no NAT
(infra/terraform/foundations/aws-eks/main.tf:59-92); the EKS endpoint is
public to 0.0.0.0/0 (:164-167, variables.tf:40). Default node group is
3 x m7i.large (variables.tf:43-65).

Scope

Acceptance

Runtime verification: agents have no AWS credentials. Ship the code plus a
short runbook section in the PR body (exact olf commands, expected evidence).
The maintainer verifies it on AWS in the batched session #275.
Depends on: #171.


One pull request. Read AGENTS.md first; all four gates must pass; stay under
~15 files / ~600 changed lines or split and say why. Docs/ADR changes land in
this PR if this PR makes them true. Do not widen scope — note adjacent problems
in the PR body.

Decision update (2026-11-19, maintainer)

Confirmed: one NAT gateway and the free S3 gateway endpoint (Iceberg traffic to S3 must not go through the NAT, which costs ~$0.045/GB). Spot capacity for the verification sizing matches the cost model: data lives in S3, so compute is stateless and can be elastic.

The foundation must also terraform apply/destroy cleanly against the AWS Emulator (#1302) before the real session #275.

Container registry: keep GHCR as the only publish target; no ECR repository. If NAT egress for image pulls or Docker Hub rate limits become a problem, add an ECR pull-through cache for GHCR, Docker Hub and Quay. That is a later, optional addition. The emulator cannot test it (ECR UploadLayerPart is a 501 stub there).

Activity

  1. added
    enhancement
    roadmap
    priority: P1
    on Oct 1, 2026
  2. modified the milestones: v0.4-alpha — Secure Service Access, , , v0.9-beta — Cloud Beta (AWS, Scaleway, OVH) on Oct 1, 2026
  3. added
    track: cloud
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: P1roadmaptrack: cloud

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions