Skip to content
Impulse SoftwareDOCS
Get modules

ImpulseCache

Verified for ImpulseCache 2.0.0 ·

Provider credentials & regions

Dedicated plans build a VPS through ImpulseCore’s provider integrations, and shared plans place tenants on operator-run pool boxes. Configure at least one provider and one region, set your DNS and TLS base, and pick the runtime defaults baked into new servers.

Open Settings → Providers & Regions. Enter API credentials for the VPS providers you intend to use — or leave a provider’s token blank to use the one saved in ImpulseCore → Operations → VPS Providers. The authoritative provider list, region maps, and default sizes come from ImpulseCore’s shared provider catalog — so when Core adds a provider, it becomes selectable here without a module update.

Provider Example region Example size
Vultr dfw vc2-2c-4gb
Hetzner Cloud fsn1 cx22
DigitalOcean nyc1 s-2vcpu-4gb
Linode (Akamai) us-east g6-standard-2
Amazon Web Services (EC2) us-east-1 t3.medium
Microsoft Azure eastus Standard_B2s
Google Cloud (Compute Engine) us-central1 e2-small
Proxmox VE operator-defined operator-defined

Test all configured providers on the same tab checks each saved account.

Still under Settings → Providers & Regions, define one or more regions. A region ties together:

  • a customer-facing name and slug,
  • a provider,
  • a provider region code (for example dfw or fsn1),
  • a default VPS plan,
  • and, optionally, a per-region S3 snapshot bucket.

Instances are addressed by hostname and served over TLS. Under Settings → DNS & TLS, configure:

  • Service base domain — the domain new Valkey hostnames are built under (for example cache.example.com). Each dedicated service gets the hostname vk-<service id>.<base domain>; dedicated provisioning refuses to start until it is set.
  • Cloudflare Zone ID / API token — optional. When set, the module automates DNS records (A/AAAA) for new servers and supports Let’s Encrypt DNS-01 TLS issuance. The token needs Zone:DNS:Edit and Zone:Zone:Read on that zone; Test DNS creates and deletes a TXT record to prove it.
  • ACME registration email — used for Let’s Encrypt DNS-01 certificate issuance when automated Cloudflare DNS is configured. Without automated DNS-01 TLS, the Valkey port uses a self-signed certificate and customers can download ca.crt directly from the client area (see Connecting a cache client).
  • Valkey TLS port — the exposed TLS listener port on dedicated servers (default 6380). Shared-plan tenants each get their own port on the pool box.
  • Admin Proxy port — default 9099. WHMCS always reaches the scoped Admin Proxy over HTTPS on port 9098; the 9099 listener is a transitional plain-HTTP port that WHMCS doesn’t use. The server firewall opens both only to this WHMCS server’s IPs.

If you manage DNS outside Cloudflare — for example in AWS Route 53, PowerDNS, or DigitalOcean DNS — open the Manual DNS Records Guide panel under Settings → DNS & TLS for the exact A/AAAA hostnames to create and maintain.

ImpulseCache admin Settings DNS and TLS tab showing the service base domain, Cloudflare API token and Zone ID fields, Let’s Encrypt DNS-01 ACME email, Valkey TLS and Admin Proxy ports, and the Manual DNS Records Guide for non-Cloudflare providers

When automated DNS is enabled, renaming a server’s hostname cleans up the previous A/AAAA records scoped strictly to that server’s own IPs, and any unconfirmed DNS clean-up during teardown is tracked and retried automatically.

The Diagnostics → Health Checks → DNS & TLS Settings test verifies these values (base domain, Cloudflare token, zone id, ACME inputs, exposed TLS port) without provisioning anything.

Under Settings → Runtime & Cache, review the defaults written into the bootstrap payload when a dedicated server is provisioned:

Setting What it controls
Default VPS provider Pre-selected for new regions and for orders with no region override.
Default region Used when a product or service does not select a specific region.
Eviction policy Default Valkey eviction policy applied at bootstrap and config-apply time (default allkeys-lru).
Default Valkey version The pinned engine release new servers install from the official tarball (default 8.1.8; 9.1.0 is also available).
Target Ubuntu LTS release Selects Ubuntu 26.04 LTS (Resolute) (default for new installs) or Ubuntu 24.04 LTS (Noble) (preserved on upgrades) and auto-resolves official provider OS IDs (Vultr 2760/2284, Hetzner, DigitalOcean, Linode) unless overridden per provider.
Password rotation grace Minutes a previous password stays valid after a rotation (default 30).
Default OS image Fallback Ubuntu 24.04 image slug when a provider-specific OS id is not set.

5. Register shared pool boxes & existing hosts

Section titled “5. Register shared pool boxes & existing hosts”

Shared plans and bring-your-own boxes need a registered server before you can sell against them. Set WHMCS Server IPv4 (and IPv6, if this WHMCS server has one) under Settings → General & Access first — it is baked into each server’s firewall allowlist for the Admin Proxy.

Settings → General & Access also includes collapsible operator runbooks for:

  • Additional WHMCS addresses — zero-downtime WHMCS IP moves (add the new IP alongside the current one before cutting over).
  • Break-glass SSH sources — restricting emergency SSH access to specific operator IPs.
  • Cloud firewalls — provider-side firewall rules required when provisioning on AWS, Azure, or GCP.

Shared plans run multi-tenant Ubuntu 24.04 pool boxes hosting isolated valkey@svc_<id> systemd units on dedicated ports. Each tenant unit enforces hard systemd memory and swap caps (MemorySwapMax=0), port pinning (SocketBindDeny), outbound connection restrictions, and ACL deny rules blocking administrative commands.

Before selling a shared plan, provision at least one shared pool server under Infrastructure → + Provision New Server (it needs a region and a configured provider, and sets the box’s Max tenants) so placement has capacity — otherwise shared placement returns a clear no capacity error when WHMCS runs the module’s Create, rather than provisioning.

Under Infrastructure → + Add Existing Server you can set up a Valkey server on a box you already own or manage — any provider, or bare metal, for a dedicated service or as a shared pool box. The module builds a one-time installer script:

  1. Enter the host’s resolvable FQDN (point an A/AAAA record at it first) and any explicit IP.
  2. Click Register host & build installer. The module creates the server record and a single-use token, which expires about two hours after you generate the installer.
  3. Download the installer, save it on the host, and run it as root:
Terminal window
sudo bash install.sh

Newly minted first-boot scripts send the one-time bootstrap token in the X-Impulse-Bootstrap-Token HTTP header rather than the URL query string. The installer pulls the server password, Admin Proxy secret, and allowlist over that token, installs Valkey 8.1.8 and the scoped Admin Proxy, and brings the server online — identical to a server the module provisions itself. Use Test Admin Proxy to confirm the Admin Proxy answers.