Actions
27 actions, callable from the panel, the command palette and the API as
POST /api/v1/a/<id>. Internal actions used between modules are not listed.
| Action | What it does | Risk | Preview |
|---|---|---|---|
cloud.connection.list | Cloud connections (read) | low | No dry run |
cloud.catalog.get | Regions, sizes with prices and images (read) | low | No dry run |
cloud.server.list | List servers (read) | low | No dry run |
cloud.server.get | Show a server (read) | low | No dry run |
cloud.server.create | Create a server | high | |
cloud.server.power | Start, stop or restart a server | medium | |
cloud.rdns.set | Set the reverse DNS of a server address | medium | |
cloud.server.resize | Change a server's size | high | |
cloud.server.rebuild | Reinstall a server | critical | |
cloud.server.snapshot | Take a snapshot | medium | |
cloud.server.destroy | Destroy a server | critical | |
cloud.server.adopt | Let the panel manage an existing server | medium | |
cloud.server.mark | Mark a server as ours or a customer's | low | |
cloud.server.rescue | Start the rescue system | high | |
cloud.manual.add | Add a server by hand | low | |
cloud.manual.update | Change a server entered by hand | low | |
cloud.manual.remove | Take a server entered by hand off the list | low | |
cloud.volume.list | List volumes (read) | low | No dry run |
cloud.volume.create | Create a volume | medium | |
cloud.volume.attach | Attach a volume to a server | medium | |
cloud.volume.detach | Detach a volume | medium | |
cloud.volume.delete | Delete a volume | high | |
cloud.firewall.list | List firewalls (read) | low | No dry run |
cloud.floating_ip.list | List floating IPs (read) | low | No dry run |
cloud.floating_ip.assign | Point a floating IP at a server | medium | |
cloud.costs.summary | Monthly cost of the managed servers (read) | low | No dry run |
cloud.traffic.get | Traffic used against what each server's plan includes (read) | low | No dry run |
Permissions and limits
Permissions
cloud.viewSee cloud servers, catalogs and costscloud.manageCreate, change and destroy cloud servers and volumes
Engineering notes
Generated from modules/cloud/docs.md at build 38156245. These are the notes the engineers keep
next to the code: precise, technical, and honest about what is not done yet.
Create servers at Hetzner, DigitalOcean, Vultr, Akamai (Linode), OVHcloud Public Cloud, AWS EC2 or Google Compute Engine from the panel. The new server installs the panel's agent by itself and shows up in Cluster. Cloud servers is a paid add-on: without it in your licence the pages are switched off, and the Store shows how to start a trial.
Before you start
- In Providers, add your key for the provider and choose servers as what it is used for. The key is stored encrypted and is never shown again, here or anywhere else. Each provider's page says which token to make.
- Hetzner Cloud: a project API token with Read & Write (this is a different token from Hetzner DNS).
- DigitalOcean: a personal access token with write scope. Vultr: an API key (allow this server's address if you limit it). Akamai: a personal access token with Linodes, Volumes, Images and Firewalls read/write.
- Nothing to set for the agent: a new server downloads the agent this panel runs, from this panel, and checks it against a checksum the panel made (so the agent is always the panel's version). The panel serves one architecture, its own; for a server of the other one, or to use a release from elsewhere, set the pinned agent release in the Cloud settings (address and sha256, both): it then wins.
- The panel's public address must be reachable from the new server. If it is not set, Create tells you.
Create a server
Create a server asks, step by step: which connection, where, which size (each size shows its price a month and an hour), which system (Ubuntu or Debian long-term releases), a name and what the server does. The last step shows the monthly cost and then the panel's plan. The provider bills from the moment the server exists until you destroy it.
The enrol token inside the start-up script is valid for one hour and works once; it is readable in the provider's console during that hour.
Manage it
Open a server in the list for: Start, Shut down, Restart, Take a snapshot, Change size (the server restarts; the disk keeps its size so you can go back) and Destroy.
- Only servers the panel made, or ones you let it manage, can be changed. Other servers at the provider are listed read-only; "Let the panel manage it" adopts one.
- Destroy asks for the server's name. If it is a node in Cluster, its accounts are moved away and it leaves Cluster first. If that cannot be done, nothing is deleted.
- Volumes, Firewalls and Floating IPs tabs appear only when the provider offers them. You can delete only volumes made here, and only when they are detached.
Costs
The top of the page adds up the monthly price of the servers the panel manages, per currency. These are the provider's list prices before tax; traffic, snapshots and volumes are billed on top.
Reverse DNS (w11-200)
cloud.rdns.set {ip, name, connection_id?} sets the PTR of a server's public IPv4 or IPv6 address at the provider that owns it, after a plan: Hetzner Cloud (change_dns_ptr), Vultr (/instances/{id}/ipv4|ipv6/reverse), Akamai/Linode (PUT /networking/ips/{ip}, rdns) and DigitalOcean (renames the droplet, which is what its IPv4 PTR follows; no IPv6). The server is found by its address across the admin's compute connections. The mail module calls it from mail.ptr.fix so mail from the server passes the reverse-name check.
What the AI can do
The assistant can read regions, sizes, prices and images and suggest a size. Creating, changing or destroying anything stays a plan that you approve.
Dedicated servers, ownership and servers entered by hand (card E, w12)
Dedicated servers. Two more connection kinds, added in Providers like any other (the key guide explains each page):
ovh_dedicated: the OVHcloud API with the same application key, secret and consumer key as Public Cloud, no project. Rights needed:GET /dedicated/server*,PUT /dedicated/server/*,POST /dedicated/server/*/reboot,GET/POST/DELETE /ip/*.hetzner_robot: Hetzner Robot with its web service user and password (HTTP Basic, form-encoded bodies, which the providers module now sends for this kind).
They are rented hardware: the panel lists them (name, address, IPv6 range, datacenter, model, power state), restarts them
(cloud.server.power reboot; Hetzner also hardreset), starts the rescue system (cloud.server.rescue {connection_id, id, enable, restart, ssh_key?}: OVH arms the rescue boot and OVH emails the password; Robot makes a one-time password, shown once and
not audited, or uses a key fingerprint stored in Robot) and sets reverse DNS for IPv4 and IPv6 (cloud.rdns.set, which finds the
server by its address; OVH's IPv6 range is written in the path as …%2F64, which the providers path rule now allows). They cannot be
created, resized, reinstalled, snapshotted or destroyed here; those answer in plain words that it is done in the provider's own panel
and nothing is drained first. Restarting or rescuing needs "Let the panel manage it" first, like every other server.
Ours or a customer's. cloud.server.mark {connection_id, id, ownership: ours|customer, owner_name} records whose a server is.
It is shown in the server list ("Whose" column), in the server's detail and, when the server is a Cluster node, written to the node's
labels (owner_kind, owner_name) so Cluster shows it as well. A server the panel creates is "ours" until marked otherwise; others
show "Not marked".
Without keys. cloud.manual.add/update/remove keep servers that are only entered by hand (name, kind, provider as text,
addresses, place, model, node, note, owner mark). They are listed beside the provider's servers with a "by hand" tag. When the
provider text says OVH or Hetzner and no key for its dedicated servers is connected, cloud.server.list returns fixes and the
screen shows an "Add the key" button that opens Providers for that kind, with one sentence of what it unlocks.