Skip to content

Add draft EKS CloudFormation templates#1

Merged
Eric Hibbs (flowstate) merged 2 commits into
mainfrom
add-eks-cloudformation-drafts
Jun 9, 2026
Merged

Add draft EKS CloudFormation templates#1
Eric Hibbs (flowstate) merged 2 commits into
mainfrom
add-eks-cloudformation-drafts

Conversation

@flowstate

@flowstate Eric Hibbs (flowstate) commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

What

Draft CloudFormation for deploying the Socket Firewall on EKS (firewall + Redis, DNS-override routing, self-signed certs, fail-open) — the EKS companion to the existing per-platform deployment templates (ECS Fargate, GCP Cloud Run, Azure Container Apps).

  • cloudformation/eks-cluster.yaml — greenfield: VPC + EKS + node group + OIDC provider.
  • cloudformation/firewall-eks.yaml — base: ElastiCache + Socket token (Secrets Manager) + IRSA; outputs the helm upgrade --install command.
  • cloudformation/values/dns-override.values.yaml — example Helm values (DNS-override + Redis + self-signed).

Validation

Static only, not deploy-tested: cfn-lint clean, helm template renders, kubeconform strict valid. Can't be verified statically (needs a real deploy): the OIDC thumbprint (placeholder), IRSA trust, ElastiCache reachability, and cluster bring-up.

Status

Draft — see cloudformation/README.md for caveats and open items (handoff vs. one-shot Helm install, ecosystem list).

Greenfield wrapper (eks-cluster.yaml): VPC + EKS + node group + OIDC.
Base (firewall-eks.yaml): ElastiCache + Socket token in Secrets Manager + IRSA
role, emitting the helm install command. Plus an example DNS-override Helm
values file. Statically validated (cfn-lint, helm template, kubeconform); not
deploy-tested.
@flowstate Eric Hibbs (flowstate) force-pushed the add-eks-cloudformation-drafts branch from d443529 to 099c1ba Compare June 9, 2026 16:43
@flowstate Eric Hibbs (flowstate) changed the title Add draft EKS CloudFormation templates for Vercel firewall deployment Add draft EKS CloudFormation templates Jun 9, 2026
…humbprint

Hardcoding an OIDC thumbprint is brittle and would fail a real deploy. Remove
the in-template AWS::IAM::OIDCProvider and document associating it with
eksctl utils associate-iam-oidc-provider (which fetches the correct thumbprint)
after the cluster is created.
@flowstate Eric Hibbs (flowstate) marked this pull request as ready for review June 9, 2026 16:58
@flowstate Eric Hibbs (flowstate) merged commit 2e357a3 into main Jun 9, 2026
5 checks passed
@flowstate Eric Hibbs (flowstate) deleted the add-eks-cloudformation-drafts branch June 10, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants