Skip to content

Stateful resources

llms.txt lists every page for a coding agent.

A Loom deployment is mostly stateless infrastructure that redeploys from the same CloudFormation templates. A few things hold real state, and those are what backup and restore are about.

HoldsWhatA redeploy brings it backProtected by
RDS PostgresLoom’s application data: agents, memories, credentials, costs, settings, registered rolesNo7-day automated backups and point-in-time recovery, DeletionPolicy: Snapshot, loom-backup snapshots and DR copies, the upgrade Op’s pre-migration snapshot
Cognito user poolUser recordsConfiguration only (groups, clients, resource server, scopes come back from code)loom-cognito-export; deletion protection on the production tiers
Secrets ManagerThe database credential, MCP and A2A OAuth2 client secrets (loom/*)NoRecreated by the stack for the database; Loom’s own secrets live with the account
S3 artifact bucketAgent code artifactsYes, rebuildable from sourceVersioning, DeletionPolicy: Retain
ECR repositoriesBuilt imagesYes, rebuilt from the pinned Loom sourceLeft behind by teardown
AgentCoreRuntimes, memories, credential providers created from Loom’s UINoNothing loomster adds; they live outside CloudFormation
CloudFormation templatesThe infrastructureYesgit

Two consequences:

  • Multi-AZ on production-ha is availability. It removes single-AZ failure as a way to lose data, but a bad delete replicates to the standby too, so production-ha still needs backups.
  • Every RDS restore creates a new instance. RDS has no in-place undo, so a restore is always followed by a cutover, which is why loom-restore is gated (Gated Ops).

Back up and restore has the steps, and Tiers and targets the recovery targets per tier.