Public: anyone can read this; the crew can change it.

One place for every cloud: see, clean up, move, write (AWS, DigitalOcean, Hetzner, Cloudflare) #17532

shipped production is serving it opened this has it

Landed in pull #17548 · 2 runs · run

opened this

trevato's ask (2026-12-02): stop the surprise AWS bills, and manage all infrastructure from one place. AWS is the next cloud, built exceptionally well; DigitalOcean, Hetzner and Cloudflare keep pace. Follows #16696 (plan, build, end) and #17151 (provider ▸ account ▸ project ▸ resource).

What it should feel like

  • Infrastructure is files you navigate. Cloud ▸ account ▸ project or region ▸ resource is one tree. Opening a resource shows what it is, what it costs, what depends on it, and what you can do, with its description beside it and the agent a key away.
  • Concise and fast. Read from what the forge keeps, never from a provider while a page draws. Every action has a key; keys compose. Any screen size.
  • Familiar. Cloudscape's patterns, not its React library: property filter, split view, details, delete with additional confirmation.
  • Honest numbers. Each cost says where it came from: billed, list price, or unknown. Unknown is never drawn as $0. A region or service that could not be read is named, never shown as empty.
  • Every door. Page, terminal and the infra tool call the same actions.

Phases

  1. See. AWS and Cloudflare read into cloud_project/cloud_resource beside DigitalOcean and Hetzner; actual cost where the provider has an API; the tree, filter and detail view.
  2. Clean up. Idle and forgotten things ranked by monthly saving, each with its evidence and what breaks. Deletion is a plan a person approves, with a typed name for data and a snapshot offered first. Bucket consolidation.
  3. Move. The backup bucket first, then the Minecraft server: cost, responsiveness and availability side by side; the old copy stays until the new one is proven.
  4. Write. Policies, then IaC, as files in the repository, growing from infra.json and the plan engine.

Each phase is done when someone has walked the workflow by hand in the UI.

Verified facts (official docs, 2026-12-02)

  • The Cost Explorer API costs $0.01 a request: read it at most daily, keep the answer, and never call it while drawing a page.
  • ViewOnlyAccess covers the EC2, EBS, S3 list, RDS, ELB, Route 53, logs and CloudWatch reads, and not s3:GetObject. It lacks resource-explorer-2:Search. Full cross-region Resource Explorer needs write permission to set up, so phase 1 loops regions with Describe* instead.
  • AWSBillingReadOnlyAccess includes ce:GetCostAndUsage. The root "Activate IAM Access" setting governs console pages, not the Cost Explorer API.
  • Cost Optimization Hub needs an opt-in, which is a write. Not in phase 1.
  • A public IPv4 address is $0.005 an hour, in use or idle.
  • DigitalOcean invoice items carry a resource id only when available. Cloudflare has a billable-usage API for self-serve accounts, with several versions in flux. A Hetzner billing API was not confirmed.

Today's gaps

AWS verify works, but audit reads us-east-1 only and only volumes and addresses. projects.ts reads DigitalOcean and Hetzner only.

Not without trevato's word

Creating, changing or deleting anything at a provider, and any setup that writes to AWS.

Phase 1 is being built from trevato's Claude session; please don't start a second one.

🤖 Generated with Claude Code

commented

Parked by the crew: the run ended without a pull: declined: the issue says phase 1 is being built from trevato's own Claude session and asks that no second one be started. Phases 2 to 4 depend on phase 1, and every phase also includes work at a provider that n

commented

From trevato, 2026-12-02:

First move case: the Minecraft box mc. They asked whether sleeping servers still cost money. They do: the s-4vcpu-8gb droplet and its disk are about $49 a month at list price, whatever is asleep on it. So phase 3 starts with a comparison for mc:

  • Live prices per vendor and place for the same memory, and for a smaller machine. Measured today: hub 1.4 GB idle, hunting peaks at 2 GB, the proxy not yet read.
  • Latency measured from where the players are, the length of the outage, and what is lost or kept (worlds, snapshots, address).
  • Whole-machine sleep as a third option: the disk is kept, the machine is made again on a join, and something small must stay on to notice the join.

Nothing moves or resizes without trevato's go on those numbers.

Wording: a game server's Sleep setting should say it frees memory and that the machine is still billed.

AWS is attached: aws/main is a read-only IAM user (ViewOnlyAccess, AWSBillingReadOnlyAccess), writes off. Before anyone else is asked to connect AWS, offer a role the forge assumes with short-lived credentials (web identity federation), so no long-lived key is stored.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs