Create Hosting Package
Last updated
Reached from Hosting Packages → Create. Defines a new bundle of quotas and limits that may then be assigned to users.
Required fields
- Name: human-readable label (e.g. “Starter”, “Business”, “Reseller”).
- Slug: URL-safe identifier; cannot be changed after creation.
- Description: optional free text shown in the package list.
Quotas
- Disk quota (MiB): POSIX user quota on
/home/<user>. - Bandwidth quota (GiB / month): outbound traffic cap aggregated across the user’s vhosts.
Resource limits (cgroup v2 slice)
- Memory limit (MiB): wraps every process owned by the user. Setting this too low causes PHP-FPM workers to be killed under load.
- CPU percentage: soft limit across all CPUs (100% = one full core; 200% = two cores).
- Tasks max: upper bound on the number of processes the user may have running.
Request rate
Packages don’t set request rate limits. The admin sets them per domain; see Resource limits.
Caps
- Maximum domains: refuse domain creation once exceeded.
- Maximum mailboxes: refuse mailbox creation once exceeded.
- Maximum databases: refuse database creation once exceeded.
- Maximum cron jobs: refuse cron creation once exceeded.
PHP
- Allowed PHP versions: subset of installed PHP versions. The user’s domain edit page only lists versions enabled here.
- PHP-INI ceilings: maximum values the user may set for
memory_limit,upload_max_filesize, etc. The user’s PHP Settings page clamps to these.
Applications
- Allowed applications: subset of the 16-app registry the user may install one-click. Disabled apps remain installable by the admin on the user’s behalf.
Egress
Every user gets the default outbound allowlist (web, DNS and mail ports; see Egress Firewall). Two switches add to it, both off by default:
- Allow outbound SSH (port 22): SSH from the user’s shell, e.g. git over SSH. Outbound SSH destinations limits it to the CIDRs you list; leave it empty to allow any destination.
- Allow ping (ICMP echo): ping from the user’s shell.
Both only affect users whose egress firewall is enforced or learning.
Save
On submit, a single INSERT against packages. No reconciler action is needed until the first user is assigned.
CLI
jabali package create \
--name "Starter" \
--disk-mb 5120 \
--bw-mb 102400 \
--memory-mb 512 \
--cpu 25 \
--max-tasks 200 \
--domains 2 \
--emails 10 \
--databases 3