This guide installs the disposable Lima demonstration on your machine. For a managed account, start with Managed ermahgerd. For a public server, use Public hosting. All addresses and bootstrap credentials on this page apply only to the local demo.
This guide starts ermahgerd’s self-hostable, multi-tenant PaaS in its local development form. It creates the Local Development organization and converges the platform. Tenant applications remain ordinary Wrangler deployments.
Prerequisites
Use macOS with Lima 2.0 or newer, Ansible, Node.js/npm, Go, make, curl, and
ssh. Homebrew users can start with:
brew install lima ansible node goGo builds the pinned upstream ingress inspector for the demo VM; no Go toolchain is installed inside the VM.
Install D2 to render architecture diagrams and k6 to run all quality and load checks:
brew install d2 k6Create the appliance
Start the default compact demo appliance:
make upThis command starts one 4 vCPU / 16 GiB / 64 GiB Lima VM, applies the same
Ansible roles used by the capacity profile, and enables local HTTPS. Tests and
Wrangler verify it with the exported CA file without changing the macOS login
keychain. Run make trust-local-https only when interactive browser trust is
useful. It
does not deploy tenant applications. It is safe to re-run against the running
appliance.
The Lima appliance uses a pinned Ubuntu 26.04 image; the Ansible roles accept
supported Ubuntu releases from 24.04 through the 26.x series. The platform also
pins workerd and Wrangler versions in source. Run make up PROFILE=fleet to use six purpose-sized nodes totaling
28 vCPUs and 52 GiB of memory. Its disks are sparse: two compute nodes use 24
GiB each, while storage and observability nodes receive more disk capacity. See
Deployment profiles and capacity for the complete placement table.
Deploy an application
Create a read-write token under Management → API tokens, then configure Wrangler with the Local Development organization ID and the public local API:
export CLOUDFLARE_API_BASE_URL=https://api.ermahgerd.localhost:8443/client/v4
export CLOUDFLARE_ACCOUNT_ID=11111111-1111-4111-8111-111111111111
export CLOUDFLARE_API_TOKEN='<organization-token>'Applications under examples/ are ordinary tenant projects. Deploy one with
its Wrangler configuration or start from your own project. See
Connect Wrangler and Example applications.
Deploy an example when you are ready
Platform setup deliberately stops at a usable Local Development organization; it does not place special demonstration applications in that organization. Every example follows the same public Wrangler deployment path as your own code.
Start with examples/sum for a small stateless Worker, or
examples/durable-counter for named state,
alarms, RPC, and WebSockets. The photo publishing workflow and uptime monitor
are maintained as independent Worker projects. See Example applications
to learn what they demonstrate.
The live smoke suite provisions and cleans up what it needs. It does not depend on a retained sample application:
make testSign in to the console
The public root at http://ermahgerd.localhost:8080 shows the platform name and a sign-in link. The bootstrap account below already has organization-creation access and owns the seeded Local Development organization.
Open http://console.ermahgerd.localhost:8081 and use the local bootstrap identity:
Email: owner@localhost
Password: local-owner-passwordThe tenant console opens at your organization directory. Select Local Development to manage its Workers, data services, AI connections, vector indexes, version history, and limits. Platform administration is a separate portal at http://admin.ermahgerd.localhost:8082 with its own session. These credentials are development defaults; do not expose them outside host loopback. The console guide walks through each surface with real screenshots.
Local endpoints
| Purpose | Endpoint |
|---|---|
| Public landing page | http://ermahgerd.localhost:8080 |
| Worker ingress | https://<worker>.<namespace>.workers.ermahgerd.localhost:8443 |
| S3-compatible storage | http://<namespace>.r2.ermahgerd.localhost:8080 |
| Queue management | https://api.ermahgerd.localhost:8443/client/v4/accounts/<organization>/queues |
| Tenant console | http://console.ermahgerd.localhost:8081 |
| Administrator console | http://admin.ermahgerd.localhost:8082 |
| Public status | http://status.ermahgerd.localhost:8083 |
| HAProxy stats | http://127.0.0.1:8404/stats |
| Wrangler deployment API | https://api.ermahgerd.localhost:8443/client/v4 |
| Identity API | http://127.0.0.1:9080/health |
| Application Access | http://access.ermahgerd.localhost:8080/health |
| Quota API | http://127.0.0.1:9060/health |
| Prometheus | http://127.0.0.1:9091 |
| Compact-node SSH | lima@127.0.0.1:60032 |
| Fleet control-node SSH | lima@127.0.0.1:60022 |
Lima forwards only the listed host-loopback endpoints. Private services bind to the fleet WireGuard addresses, and runtime pool ports are admitted only on the WireGuard interface; they are not forwarded to the host.
Grafana, Loki, Tempo, and Prometheus are provisioned for advanced operator investigation. The tenant and administrator portals are the supported day-to-day interfaces.
VM lifecycle
make site # apply Ansible to the compact appliance
make status # inspect its Lima and systemd health
make ssh # open a shell on single-01
make down # stop it and retain its disk/state
make destroy # remove it and all local platform stateAdd PROFILE=fleet to those same commands for the optional six-node profile.
After a destroy, use make up with the same profile to return to a known-good
appliance. See Operating the appliance for maintenance and
health checks.
The same product guides are also available at https://docs.ermahgerd.io.