agentleFS
ostrium-labsostrium-labs/loams-skills/skills/byog-deploy/SKILL.md

byog-deploy

Skill1 starsChanged 39 days agoApache-2.0View on GitHub

Deploy Loams on the company's own ground (BYOG): AWS, GCP, or Azure one-VM light stack, tailnet access, no inbound ports, workload identity, pinned artifacts, backups, and upgrades. Use when installing, changing, or auditing a company Loams deployment.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start with one VM. It runs the engine on embedded stores, House, Loams Postgres, agentd, and the Tailscale sidecar.

    line 39
  2. Distinctive:

    Prepare the account: Create a dedicated project/subscription, a bucket with versioning, a KMS key, a secret store, and a service identity.

    line 44
  3. Very specific:

    Network: No inbound rule. Egress only for the tailnet, registry, and GitHub.

    line 46
  4. Distinctive:

    Install: Prefer the upstream guide:

    line 49
  5. Very specific:

    Verify: Check the release signature and SHA256SUMS, the tailnet node, /healthz, the console, and that no host port is bound to 0.0.0.0.

    line 53
  6. Distinctive:

    Persist: Put the embedded stores on a local block disk (EBS, Persistent Disk, Azure managed disk).

    line 55
  7. Distinctive:

    Upgrade: Read the upgrade notes, back up, pin the new version, upgrade, verify, and keep the old disk snapshot until the window closes.

    line 59
  8. Distinctive:

    Never open an inbound port.

    line 73
  9. Distinctive:

    Never use static cloud keys.

    line 74
  10. Distinctive:

    Never run the single-node stack as if it were replicated.

    line 76
  11. Distinctive:

    Never upgrade without a backup and a restore path.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

BYOG deployment

BYOG means bring your own ground: the company's cloud account, bucket, KMS key, secret store, and tailnet. Ostrium runs no data plane for this install.

When to use

  • Installing Loams for a pilot or production.
  • Reviewing a deployment against the never-public rules.
  • Planning an upgrade, backup, or restore drill.

Inputs

  • company/company.yaml (cloud, region, Loams version).
  • BYOG rules.
  • Upstream: docs/guides/byoc/{index,aws,gcp,azure}.md and deploy/release/ in the Loams repository.
  • Design 70.

Choose a shape

ShapeUseStatus
loams devLaptop, tests, skillsAvailable
One VM, light stackPilot and small productionGuides exist; not yet run on real cloud accounts
One VM, tikv/rustfs profilesMore data, more RAM/diskSame caveat
Kubernetes / ECS / Cloud RunLarger productionNot built yet; do not promise

Start with one VM. It runs the engine on embedded stores, House, Loams Postgres, agentd, and the Tailscale sidecar. It is single-node and not replicated.

Procedure

  1. Prepare the account. Create a dedicated project/subscription, a bucket with versioning, a KMS key, a secret store, and a service identity.
  2. Network. No inbound rule. Egress only for the tailnet, registry, and GitHub. Reach the engine over https://loams.<tailnet>.ts.net.
  3. Pin. Set LOAMS_VERSION to an exact release. Never latest.
  4. Install. Prefer the upstream guide:
    • CLI pieces + cloud-init: deploy/byoc/<cloud>/
    • OpenTofu: deploy/tofu/modules/<cloud>-vm/
    • Existing VM: deploy/release/byoc/install.sh --cloud <cloud>
  5. Verify. Check the release signature and SHA256SUMS, the tailnet node, /healthz, the console, and that no host port is bound to 0.0.0.0.
  6. Persist. Put the embedded stores on a local block disk (EBS, Persistent Disk, Azure managed disk). Never NFS, EFS, Azure Files, Filestore, or FUSE.
  7. Back up. Snapshot the disk and version the bucket. Write the restore drill before production traffic.
  8. Upgrade. Read the upgrade notes, back up, pin the new version, upgrade, verify, and keep the old disk snapshot until the window closes.
  9. Record company/runbooks/operate.md and company/runbooks/restore-drill.md.

Outputs

  • deploy/byog/.env (not committed) from the example.
  • A deployment record: cloud, region, VM, disk, version, tailnet, bucket, KMS, secret store, owner.
  • company/runbooks/operate.md and restore-drill.md.

Guardrails

  • Never open an inbound port.
  • Never use static cloud keys; use the instance role, metadata token, or managed identity.
  • Never run the single-node stack as if it were replicated.
  • Never upgrade without a backup and a restore path.
  • The cloud-init and compose files here are examples; upstream owns the authoritative deploy code.

References

  • BYOG rules
  • BYOG kit
  • Design 70
  • Design 71

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.