Sizing, plans and the capacity planner

Available

The server's size decides what is installed and how it is tuned. Plans then say what a customer gets, and the planner tells you how many more accounts fit before you run out of disk, memory or CPU.

What it does today

  • Five install profiles chosen by memory and CPU: Micro (up to 1.5 GB), Small (up to 4 GB), Standard (up to 16 GB), Large and Cluster. A container with a 1 GB limit counts as a 1 GB server.
  • Tuning is applied, not just shown: on a 1 GB and a 4 GB test server nginx ran 1 and 4 workers, MariaDB had a 96 MB and a 608 MB buffer pool, and each site got 3 and 5 PHP workers. A value you set by hand is kept and the preview says so; a value the engine refuses to start with is rolled back.
  • Re-tune: when memory or disk moves by more than 10 percent, or the CPU count changes, a proposal with the per-value changes is stored. Nothing is applied until an administrator applies it.
  • Plans carry limits that every module enforces, and a plan says which modules it includes. An account's memory and CPU become its systemd slice (a 256 MB, 50 percent plan showed MemoryMax and CPUQuota to match).
  • The capacity planner works per server on disk, memory and CPU: how many accounts of a plan fit on an empty server, how many still fit now, the bottleneck, and what-if for adding accounts or servers. It exports CSV or JSON and warns at 85 and 95 percent.
  • Overselling rules for disk, memory and CPU at server, reseller and plan level (off, warn or allow; the strictest wins). Off refuses with the name of the resource.
  • Plan changes for all accounts, only new ones, or selected ones; the old limits are kept as a frozen "(previous)" plan. A plan in use cannot be deleted until its accounts have moved. Plans export and import as a document, and presets (Starter, Business, Agency, Reseller, Dedicated) are generated from the usable capacity.
  • Smart onboarding: the installer and the panel ask what the server will do (client hosting, your own sites, email, a developer platform and more), then recommend modules in order of need. They stop adding when the next module would over-commit the memory, and say what they left out.
  • Features on and off for real: the page (once called Modules) shows plain names, the memory each one uses and what it needs. Switching one off stops its services (Email off stops the mail server, DNS hosting off stops the DNS server), keeps everything stored and asks you to confirm when it is in use. New servers are asked What will this server do? and get the features that fit their size.
  • A short menu (Home, Projects, Websites, Domains, Email, Apps, Databases) with expert pages folded under Advanced, a sidebar you can collapse with Ctrl B, and features nobody is using asleep after a few quiet minutes on small and standard servers.

Not there yet

  • Disk quotas need a filesystem with user quotas; the lab's had none, so real quotas were not tested.
  • The plan editor's newer sections (included modules, who may be given a plan) were proven through the API, not saved through the screen.

Tell it once

Pick a profile when you install, or let the installer choose from the machine. Later you can add the modules a small server left out, in Modules, without reinstalling.

Every action in this area is in the panel, one keystroke away in the command palette (Ctrl K), on the command line and in the API, and most changes can be previewed as a plan first. RespireCloud is released and installs on your own server today.

The Plans page of the panel with seven plans and their disk, memory, CPU, sites, mailboxes and accounts, and tabs for the capacity planner, overselling and the server profile. The Plans page of the panel with seven plans and their disk, memory, CPU, sites, mailboxes and accounts, and tabs for the capacity planner, overselling and the server profile.

Modules in this area

Further reading