[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107546":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},107546,"self-host","boxd-sh\u002Fself-host","boxd-sh","Fast, isolated machines for AI agents and dev teams, self-hosted in your own cloud. Use them as agent sandboxes, dev environments or servers, on GCP, AWS or bare metal.","",null,"Python",169,9,77,0,5,30,78,35,75.8,"Apache License 2.0",false,"main",[],"2026-11-23 19:03:09","2026-11-23 11:49:56","\u003Cimg alt=\"boxd self-host: your own boxd cluster, in your own cloud. Free up to 16 worker vCPUs.\" src=\"docs\u002Fbanner.png\" width=\"100%\">\n\n# boxd self-host\n\n**Run a complete [boxd](https:\u002F\u002Fboxd.sh) cluster in your own Google Cloud\nproject or AWS account, or on servers you already run.** You get microVMs\nthat boot in 4 ms and can be forked and snapshotted, each with its own SSH\nand HTTPS, along with the console, DNS and automations. Everything is set by\none config file and installed by one command. The only thing to install on\nyour machine is Docker.\n\n[Install on GCP](docs\u002FINSTALL.md#install-on-gcp)\n| [Install on AWS](docs\u002FINSTALL.md#install-on-aws)\n| [Install on bare metal](docs\u002FINSTALL.md#install-on-bare-metal)\n| [Reference](docs\u002FREFERENCE.md)\n| [Operations](OPERATIONS.md)\n| [Releases](https:\u002F\u002Fgithub.com\u002Fboxd-sh\u002Fself-host\u002Freleases)\n\n## How to run\n\nChoose the cloud you already use, or bring your own hosts.\n\n| Run it on | You need | The command | Install |\n|-----------|----------|-------------|---------|\n| GCP | a Google Cloud project with billing | `.\u002Fboxd-install apply` | [Install on GCP](docs\u002FINSTALL.md#install-on-gcp) |\n| AWS | an AWS account | `.\u002Fboxd-install apply` | [Install on AWS](docs\u002FINSTALL.md#install-on-aws) |\n| Bare metal | Ubuntu 24.04 hosts you prepare: ssh, a private network, KVM on workers | `.\u002Fboxd-install apply` | [Install on bare metal](docs\u002FINSTALL.md#install-on-bare-metal) |\n\nWherever you run it, you also need a DNS zone whose parent zone you can add\nrecords to, such as `boxd.example.com` under `example.com`. Set aside about\nan hour: most of it is `apply`, which runs on its own for 20–40 minutes. Each\nguide ends with you signed in to your cluster's console and starting your\nfirst VM.\n[INSTALL-PROMPT.md](INSTALL-PROMPT.md) has Claude Code take you through the\nsame install one step at a time.\n\n## What runs in your cloud\n\n\u003Cimg alt=\"Your team reaches the edge nodes (console and API, proxy, dns). Behind them are the control and metrics nodes, the workers running microVMs, and your own buckets, all in your GCP project or AWS account.\" src=\"docs\u002Foverview.svg\" width=\"640\">\n\nA cluster is made of a few node roles. The **control** nodes run the\ncluster's state over raft. The **workers** run the microVMs under KVM, on\nboxd's own host kernel. The **proxy** connects every VM to the internet at\n`https:\u002F\u002F\u003Cname>.\u003Czone>` and over SSH. The **console** serves the web console,\nthe API and a CLI already set up for your cluster. A **dns** node answers for\nyour zone. A **metrics** node stores the graphs the console shows for each VM.\nOne node can have several roles. The examples put every role except the worker\non a single control node and add one worker.\n\nEvery install is driven by `cluster.toml`. Its state, including TLS keys, node\nidentities and provider secrets, is encrypted in a bucket you own (on bare\nmetal, a file next to `cluster.toml`), under a key that only you hold.\nBinaries, the console, the CLI, the host kernel and the VM image come in a\nrelease bundle that boxd signs. With a [license key](docs\u002FREFERENCE.md#license-key),\nthe installer downloads the releases boxd publishes for that key. It checks\nthe signature against [`release-keys\u002F`](release-keys) before it unpacks\nanything.\n\n## What you get\n\n- **Fast microVMs.** They boot in 4 ms, can be forked and snapshotted, and come\n  in the [sizes you pick](docs\u002FREFERENCE.md#machine-sizes-templates).\n- **Every VM on the network.** Each one is reachable over HTTPS at\n  `https:\u002F\u002F\u003Cname>.\u003Czone>` and over SSH. You can also give it custom domains\n  and raw TCP or UDP ports.\n- **The console and the CLI.** `app.\u003Czone>` serves the console and a\n  [`boxd` CLI](docs\u002FREFERENCE.md#the-cli-your-users-install) that already\n  points at your cluster. It's the same CLI that `docs.boxd.sh` documents, and\n  it comes with an agent skill for Claude Code, Codex and OpenCode.\n- **Your own sign-in.** People sign in with Google or GitHub, or with\n  [single sign-on](docs\u002FREFERENCE.md#single-sign-on-oidc) through Entra ID,\n  Okta, Google Workspace or Keycloak.\n- **Certificates handled for you.** They come from Google Trust Services on\n  GCP and ZeroSSL on AWS and bare metal. Inside a corporate network, they\n  can come [from your own CA](docs\u002FREFERENCE.md#tls-from-your-own-ca)\n  instead.\n- **Private if you need it.** With [private ingress](docs\u002FINSTALL.md#private-ingress-on-aws)\n  on AWS, no node has a public IP and people reach the cluster over your VPN.\n- **Backups.** The installer creates a bucket for\n  [VM disk backups](docs\u002FREFERENCE.md#vm-backups) and can create one for a\n  [snapshot archive](docs\u002FREFERENCE.md#snapshot-archive).\n- **Docker is the only requirement.** `.\u002Fboxd-install` runs terraform,\n  ansible, gcloud and the aws CLI inside a Docker image, at versions boxd has\n  tested. You don't need the boxd source tree.\n\n## Quick start\n\nOn GCP or AWS, below. On bare metal there is no cloud to sign in to and no\nbucket: follow [Install on bare metal](docs\u002FINSTALL.md#install-on-bare-metal).\n\n1. **Sign in to your cloud.** Use `.\u002Fboxd-install gcloud …` or\n   `.\u002Fboxd-install aws …`, which run the CLI in Docker. If you already have\n   `gcloud` or `aws` installed, you can sign in with that instead. See\n   [GCP](docs\u002FINSTALL.md#1-sign-in) or [AWS](docs\u002FINSTALL.md#1-sign-in-1).\n2. **Make your state key**, once. It encrypts the cluster's state, and only\n   you hold it. See [Your state key](docs\u002FINSTALL.md#your-state-key).\n3. **Create the state bucket.** See [GCP](docs\u002FINSTALL.md#4-state-bucket) or\n   [AWS](docs\u002FINSTALL.md#4-state-bucket-1).\n4. **Fill in `cluster.toml` and apply.** These commands are the same on\n   either cloud:\n\n```sh\ncp cluster.example.toml cluster.toml      # change every value marked CHANGE\n.\u002Fboxd-install providers edit             # the console's sign-in (step 6)\n.\u002Fboxd-install apply 2>&1 | tee apply.log\n```\n\n`cluster.example.toml` is the GCP example. On AWS, copy\n`examples\u002Faws\u002Fcluster.toml` instead. Each step is explained in full in\n[docs\u002FINSTALL.md](docs\u002FINSTALL.md).\n\n### Once `apply` is done\n\nAt the end, `apply` prints the NS and glue records for your zone. Add them to\nthe parent zone at your DNS provider. The cluster requests its certificates\nonce the delegation resolves, which takes a few minutes. Then sign in at\n`https:\u002F\u002Fapp.\u003Czone>` before anyone else does: the first person to sign in owns\nthe cluster's org. The steps are in\n[After apply](docs\u002FINSTALL.md#after-apply-delegate-dns-and-check).\n\n## When 16 vCPUs is not enough\n\nWithout a license key, a cluster runs on the **free tier**: its worker hosts\ncan have up to 16 vCPUs in all. That counts the logical CPUs of the worker\nhosts, not the vCPUs the VMs get. A cluster over the limit keeps running and\nkeeps its machines, but refuses new ones. A [license key](docs\u002FREFERENCE.md#license-key)\nfrom [boxd](https:\u002F\u002Fboxd.sh) lifts the limit. You can add a key at any time:\nput it in a file next to `cluster.toml` and run `apply` again.\n\n## Limitations\n\n- **GCP, AWS or hosts you prepare.** On GCP and AWS a cluster runs in one\n  zone of one region. On [bare metal](docs\u002FINSTALL.md#install-on-bare-metal)\n  the installer creates nothing: you provide Ubuntu 24.04 hosts with ssh, a\n  private network inside `10.0.0.0\u002F8`, public IPs for the proxy and dns\n  nodes, and KVM and a data disk on workers.\n- **Workers need hardware virtualization.** On GCP, use N2 (recommended) or\n  N1; AMD, Arm and E2 machines can't run VMs. On AWS, use C7i\u002FM7i\u002FR7i or\n  C8i\u002FM8i\u002FR8i with nested virtualization, or any `*.metal` type. The guides\n  have the details.\n- **The cluster runs DNS for its zone.** You need a zone you can delegate.\n  With private ingress, you add a conditional forwarder on your internal DNS\n  instead.\n- **Telemetry.** Each cluster sends boxd one usage report an hour, with counts\n  only and no personal data. Only a license key with telemetry opt-out lets\n  you [turn it off](docs\u002FREFERENCE.md#telemetry). With a usage-billing license\n  key, the cluster also reports every 5 minutes which instance types it runs\n  on and when, which is what it is billed on; telemetry then stays on.\n\n## Documentation\n\n| File | What it's for |\n|---|---|\n| [`docs\u002FINSTALL.md`](docs\u002FINSTALL.md) | the install, step by step, on GCP, AWS or bare metal |\n| [`docs\u002FREFERENCE.md`](docs\u002FREFERENCE.md) | configuration, upgrades, day-2 operations, troubleshooting |\n| [`OPERATIONS.md`](OPERATIONS.md) | running the cluster day to day (`boxd-ctl`) |\n| [`INSTALL-PROMPT.md`](INSTALL-PROMPT.md) | the same install, with Claude Code |\n| `cluster.example.toml`, `examples\u002F{gcp,aws,metal}\u002Fcluster.toml` | your starting config; copy it to `cluster.toml`, which git ignores |\n| [`SECURITY.md`](SECURITY.md) | how to report a security problem |\n\n## Contributing\n\nIssues and pull requests are welcome. Pull requests go to `dev`; `main` holds\nthe latest release. [CONTRIBUTING.md](CONTRIBUTING.md) says how to run the\ntests. Report security problems privately, as [SECURITY.md](SECURITY.md)\ndescribes, not in a public issue.\n\n## License\n\nThis repository is licensed under the [Apache License 2.0](LICENSE). See\n[NOTICE](NOTICE). The license covers this repository only. The boxd software\nthe installer downloads and runs on your cluster (the binaries, console, CLI,\nhost kernel and VM images in the release bundle) is licensed separately under\nthe [Boxd Binary License](LICENSE-BINARIES.md) and isn't covered by it. You\nmay use it for personal use and your company's internal business operations.\nYou may not redistribute it, or decompile, disassemble or reverse engineer it,\nexcept where the law allows it.\n","boxd self-host 是一个用于在用户自有云环境（GCP、AWS）或裸金属服务器上一键部署完整 boxd 微虚拟机集群的安装工具。它基于 Docker 和 KVM，支持通过单配置文件 cluster.toml 驱动部署，提供毫秒级启动的隔离微VM、内置 DNS、HTTPS\u002FSSH 端点、Web 控制台与监控指标。所有敏感状态加密存储于用户可控的存储桶或本地文件中，不依赖第三方托管服务。适用于需要轻量、安全、可审计的私有微VM基础设施的研发团队、SaaS 内部平台或边缘计算场景。",2,"2026-11-24 04:32:10","CREATED_QUERY"]