Skip to content
Robert Puffe
Back to home

Personal reference platform · active development

Flightdeck

A repeatable path into AWS for small containerized apps.

An app supplies a Dockerfile and a small YAML manifest. Reusable workflows handle validation, security checks, infrastructure, HTTPS routing, and promotion.

Built on my own time. I wrote the specs and made the architecture decisions; the implementation was done with Claude Code and Codex.

The problem

Generating an application is often faster than deciding how it should authenticate to AWS, store Terraform state, pass security checks, and move safely from development to production. I moved those decisions into one platform so each app does not need its own delivery design.

6m 38s
Best cold run
Measured from a plain-language app specification to a verified public HTTPS URL, with zero CI failures.
No stored keys
Short-lived AWS credentials
GitHub exchanges repository identity for a scoped per-app role through OIDC.
One image
Same image in dev and prod
Production receives the exact digest tested in development instead of rebuilding from the release tag.

See it running

Golf is a small application I use to exercise Flightdeck's delivery path. Changes merged to main deploy to development. A versioned release promotes the exact image already tested there into production without rebuilding it.

Both services sleep after 30 idle minutes to control cost. If a link is unavailable, the fleet status page can start it; startup usually takes about a minute.

Architecture

Flightdeck creates shared networking, routing, ECR, and GitHub OIDC once. Each app gets its own deployment role, Terraform state path, ECS service, logs, alarms, and DNS route.

AWS account · Terraform-managed Flightdeck resourcesapp repositoryDockerfile + manifestreusable workflowvalidate · scan · deployGitHub OIDC roleexact repo · per appAmazon ECRscanned imageTerraform stateisolated pathshared ALB + DNSHTTPS routingECS FargateALB-only ingressCloudWatchlogs + alarmsdev → prodsame digest

Why I built it this way

ECS instead of Kubernetes

These are small HTTP services. ECS gives me scheduling and AWS integration without making cluster administration part of the app contract.

A contract before a portal

I started with a versioned YAML manifest and reusable workflows. That let me prove the platform boundary before adding another interface to maintain.

Shared foundation, isolated apps

Apps share networking and routing to control cost, but each gets scoped identity and state. Tasks reach the internet directly instead of through a NAT instance and accept traffic only from the load balancer.

What broke, and what I tested

Failures that hardened the platform

Live deployments exposed problems I fixed in the platform, adding narrower controls or tests for each:

  • Missing replacement and cleanup permissions
  • Overly broad OIDC trust
  • Image-retention risk
  • Scaler error handling

Read the threat model

The complete delivery path

I timed the path from an application specification to a public URL, including repository setup, image build, infrastructure, and deployment.

Multiple application shapes

I deployed several independent apps through the same contract. That exposed reusable-platform problems a single sample app would have missed.

Boundaries and next steps

This is a reference platform for small HTTP services, not a general hosting platform. It currently assumes one container, one AWS region, cost-first task counts, and limited recovery automation.