Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

docs(internal): add region support to devbox documentation (#60467)

inkeep[bot]595f88a3fa6a
diff --git a/docs/internal/coder-workspaces.md b/docs/internal/coder-workspaces.md
index d524b01219c8..45eb40b6f0b5 100644
--- a/docs/internal/coder-workspaces.md
+++ b/docs/internal/coder-workspaces.md
@@ -80,11 +80,11 @@ This does the host-side setup only:
- logs you into the Coder deployment
- configures `~/.ssh/config` with Coder workspace entries (use `--skip-configure-ssh` to skip)
- shows a compact "Currently configured:" status block with your saved settings
-- prompts for Git identity, an optional dotfiles repo, and an optional Claude OAuth token (stored as a Coder user secret)
+- prompts for Git identity, an optional dotfiles repo, a preferred region, and an optional Claude OAuth token (stored as a Coder user secret)
A Y/n confirmation gate appears before the configuration prompts. It is automatically bypassed when stdin is non-TTY (scripts/CI) or when any explicit `--configure-*` or `--skip-configure-*` flag is passed.
-To reconfigure individual settings later, pass `--configure-git-identity`, `--configure-dotfiles`, or `--configure-claude`. The `--configure-claude` flag manages the `CLAUDE_CODE_OAUTH_TOKEN` Coder user secret and will offer to migrate any existing macOS Keychain token.
+To reconfigure individual settings later, pass `--configure-git-identity`, `--configure-dotfiles`, `--configure-region`, or `--configure-claude`. The `--configure-claude` flag manages the `CLAUDE_CODE_OAUTH_TOKEN` Coder user secret and will offer to migrate any existing macOS Keychain token.
## Managing devbox configuration
@@ -101,6 +101,7 @@ hogli devbox:config:rm git-identity # clear saved Git name/email
hogli devbox:config:rm git-signing # remove Git signing key from Coder user secrets
hogli devbox:config:rm dotfiles # clear dotfiles URI (also pushes empty parameter to existing workspaces)
hogli devbox:config:rm claude # remove Claude OAuth token from Coder user secrets
+hogli devbox:config:rm region # clear saved region preference (new workspaces use the built-in default)
hogli devbox:config:rm --all # clear everything
```
@@ -110,6 +111,8 @@ Clearing dotfiles also pushes an empty `dotfiles_uri` parameter to all existing
Run `hogli devbox` to see all available commands, and `hogli <command> --help` for options.
+Region selection is available for `devbox:start` via `--region` (`us-east-1` or `eu-central-1`, default `us-east-1`). The region is set once at creation and cannot be changed. Workspaces in `eu-central-1` get an `-eu` name suffix (e.g. `devbox-alice-eu`). `devbox:list` and `devbox:status` show which region a workspace is in.
+
Runtime commands assume setup is already complete.
If they fail with `Run hogli devbox:setup`, rerun setup on your laptop first.
When in doubt, `hogli devbox:doctor` reports which prerequisite is missing.