Getting started
Atlas Console
The web console: screens, scopes, running and deploying it.
The Atlas Console in atlas-console/ is the web UI: a
public landing page plus an operator console. It is a static Next.js site.
Your browser talks to your node directly, so no console server ever sees
your token. It replaces the dashboard nodes used to embed.
| Screen | What it shows or does | Scope |
|---|---|---|
| Landing page | What Atlas is, how it works, features, quick start, docs, security notes, and a live, read-only preview of the demo cluster | none |
| Connect | Node URL + API token, or the read-only demo. Explains missing, invalid, expired and under-scoped tokens, and CORS problems | ā |
| Overview | Node count, alive, needing attention, service instances, health breakdown, per-region table, live activity, recent changes, connection status and last update | read |
| Nodes | Searchable table of ID, state (text, icon and colour), region, gossip and API address, incarnation, time in state and services owned | read (evict: admin) |
| Services | Search and filters by health, region and draining; detail drawer with health-check or TTL settings, timestamps, revision and paged change history | read |
| Service actions | Register, edit (with If-Match), drain/undrain, heartbeat, and deregister after typing the ID to confirm; API errors in plain language | write |
| Activity | Live membership and service events with filters, pause and clear, and reconnect/disconnected states; plus the recorded history across services | read |
| Lookup tester | Runs /v1/lookup with region, tags, key and routing overrides, shows the chosen instance and why each candidate was picked or skipped, with the equivalent curl and dig | read |
| Node admin | Credential list/create/revoke (tokens shown once), exportable 90-day local audit log, registry backup download, and evicting failed nodes | admin |
| Cluster map | Graph, world map and matrix of the probe latency every node measures to every peer (/v1/topology?scope=cluster) | read |
| Integrations | Kubernetes clusters and Docker hosts feeding this cluster, with setup for Helm, the controller, the Docker agent and Terraform | read |
| Docs, API, Security | The site also serves the documentation, an API reference built from openapi.yaml, the security policy, About, Terms and Contributing, all rendered from this repository at build time | none |
There are no user accounts. Atlas authorizes requests with bearer tokens
scoped read, write or admin, and the console adapts to whatever the
token allows. It finds out by reading, never by changing anything. Tokens stay
in page memory, or in this tab's session storage if you tick Keep me
connected. Admins can create and revoke runtime credentials in the console;
their secrets are shown once and only digests replicate between nodes.
Environment-configured credentials remain managed through
ATLAS_API_CREDENTIALS and SIGHUP.
Run it locally
cd atlas-console
npm ci
npm run dev # http://localhost:3000; /demo-api proxies the public demo
npm test # unit tests; set ATLAS_LIVE_URL and ATLAS_LIVE_TOKEN for live end-to-end tests
npm run build # static site in atlas-console/out
Connect your own node. A browser page may only call another origin that allows it, so tell the node about the console:
ATLAS_CORS_ORIGINS=https://your-console.netlify.app # dev mode already allows any origin
ATLAS_CONSOLE_URL=https://your-console.netlify.app # optional: / and /dashboard redirect here
A console served over HTTPS can reach http://localhost nodes, but browsers
block plain http:// for other hosts, so enable TLS on remote nodes.
Deploy to Netlify. Import the repository in Netlify. The root
netlify.toml builds atlas-console/ and publishes out/.
It proxies /demo-api/* to the demo cluster and sets security headers, so
no settings are needed. Any static host works the same way. Serve out/, and
proxy /demo-api/ to a demo node if you want the demo button. Alternatively,
set NEXT_PUBLIC_ATLAS_DEMO_URL to a node that allows your origin.