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
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- conformance-testingSkill
- cutover-operationsSkill
- data-migrationSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- sdk-portabilitySkill
- stack-inventorySkill
- target-architectureSkill
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
- Distinctive: line 39
Start with one VM. It runs the engine on embedded stores, House, Loams Postgres, agentd, and the Tailscale sidecar.
- Distinctive: line 44
Prepare the account: Create a dedicated project/subscription, a bucket with versioning, a KMS key, a secret store, and a service identity.
- Very specific: line 46
Network: No inbound rule. Egress only for the tailnet, registry, and GitHub.
- Distinctive: line 49
Install: Prefer the upstream guide:
- Very specific: line 53
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.
- Distinctive: line 55
Persist: Put the embedded stores on a local block disk (EBS, Persistent Disk, Azure managed disk).
- Distinctive: line 59
Upgrade: Read the upgrade notes, back up, pin the new version, upgrade, verify, and keep the old disk snapshot until the window closes.
- Distinctive: line 73
Never open an inbound port.
- Distinctive: line 74
Never use static cloud keys.
- Distinctive: line 76
Never run the single-node stack as if it were replicated.
- Distinctive: line 77
Never upgrade without a backup and a restore path.
≈ “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.
Files
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}.mdanddeploy/release/in the Loams repository. - Design 70.
Choose a shape
| Shape | Use | Status |
loams dev | Laptop, tests, skills | Available |
| One VM, light stack | Pilot and small production | Guides exist; not yet run on real cloud accounts |
One VM, tikv/rustfs profiles | More data, more RAM/disk | Same caveat |
| Kubernetes / ECS / Cloud Run | Larger production | Not 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
- Prepare the account. Create a dedicated project/subscription, a bucket with versioning, a KMS key, a secret store, and a service identity.
- Network. No inbound rule. Egress only for the tailnet, registry, and
GitHub. Reach the engine over
https://loams.<tailnet>.ts.net. - Pin. Set
LOAMS_VERSIONto an exact release. Neverlatest. - 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>
- CLI pieces + cloud-init:
- Verify. Check the release signature and
SHA256SUMS, the tailnet node,/healthz, the console, and that no host port is bound to0.0.0.0. - Persist. Put the embedded stores on a local block disk (EBS, Persistent Disk, Azure managed disk). Never NFS, EFS, Azure Files, Filestore, or FUSE.
- Back up. Snapshot the disk and version the bucket. Write the restore drill before production traffic.
- Upgrade. Read the upgrade notes, back up, pin the new version, upgrade, verify, and keep the old disk snapshot until the window closes.
- Record
company/runbooks/operate.mdandcompany/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.mdandrestore-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
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
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.

