Skip to content
Impulse SoftwareDOCS
Get modules

ImpulseCache

Verified for ImpulseCache 2.0.0 ·

Security & Maintenance

Every day-2 operation runs over a typed, scoped Admin Proxy — not SSH. This page covers the management plane, shared-pool tenant isolation, foundation apply and server actions, CVE and maintenance tooling, snapshots, engine upgrades, and safe teardown.

1. The Admin Proxy management plane & isolation

Section titled “1. The Admin Proxy management plane & isolation”

Each server runs a scoped Admin Proxy that WHMCS reaches over HTTPS (port 9098 by default) with the server’s own secret and the WHMCS service scope. The server’s firewall admits the Admin Proxy ports only from the WHMCS server IPs set under Settings → General & Access. Newly minted first-boot scripts deliver their one-time bootstrap token in the X-Impulse-Bootstrap-Token HTTP header rather than the URL query string.

Requests carry the service ID, a request ID, and standard ImpulseCore request headers, and every call is audited. The proxy exposes a fixed set of typed endpoints under /admin/v1/ — there is no free-form shell:

Endpoint family Purpose
health, metrics, log/bootstrap Health, live metrics, and the bootstrap log.
config/apply, bootstrap/apply, tls/reissue Apply runtime config (e.g. maxmemory, eviction policy, keyspace notifications), re-apply the server’s foundation, and reissue the Admin Proxy’s TLS certificate.
service/restart|suspend|unsuspend Restart the engine, or fence/unfence the service.
credentials/rotate|revoke Rotate or immediately revoke the AUTH password and close open connections.
allowlist/apply Push the current IP allowlist as firewall rules.
flush Flush all keys.
snapshot/create|restore|delete Create, restore, and prune RDB snapshots.
valkey/upgrade Swap the Valkey binaries for an engine upgrade.
tenants/… The same operations scoped to one tenant on a shared pool box.
security/status|apply-updates, system/reboot Security posture, OS updates, and reboot.

On multi-tenant Ubuntu 24.04 shared pool boxes, every customer service runs in its own isolated valkey@svc_<id> systemd unit on a dedicated TLS port with layered OS and engine restrictions:

  • Hard memory and swap caps — systemd memory limits with MemorySwapMax=0 prevent one tenant from exhausting host memory or swapping into disk.
  • Port pinning — SocketBindDeny pins each unit to its assigned port only.
  • Outbound network restriction — SystemCallFilter=~connect:EPERM blocks outbound network connections from tenant processes.
  • Valkey ACL deny rules — customer ACLs block dangerous administrative commands (CONFIG SET, ACL, MIGRATE, REPLICAOF, MODULE, DEBUG, SHUTDOWN, FAILOVER, CLUSTER). Safe customer configuration changes such as eviction policy and keyspace notifications are applied via the scoped Admin Proxy instead.

When a module update ships an updated server foundation, Infrastructure flags servers running an older template:

  • Async Foundation Apply — applies the latest foundation to a server non-blocking in the background with live status polling every 4 seconds, preventing HTTP 504 timeouts on long applies.
  • Bulk Fleet Foundation Apply — a drift banner on Infrastructure updates up to 5 outdated servers per staggered batch, gated by typing APPLY ALL.
  • View Log — opens an 800-line tail of the server’s bootstrap log with a live or cached timestamp and auto-refreshes once on first open for active servers.

Operations → Server Actions is the console for typed Admin Proxy operations against a chosen server. Pick a server and an operation, add the required confirmation text for destructive actions, and run it:

Operation Effect Scope
Health Check Calls the server’s health endpoint and updates the local timestamp. Box-level
Refresh Metrics Pulls a fresh metrics sample from the server. Box-level
Fetch Bootstrap Log Retrieves the server’s bootstrap log for diagnosis. Box-level
Restart Valkey Restarts the engine. Per-service
Reissue TLS Reissues the Admin Proxy’s TLS certificate (a self-signed one is regenerated and re-pinned). Box-level
Apply Allowlist Pushes the current IP allowlist as firewall rules. Per-service
Create Snapshot Takes an RDB snapshot of the cache. Per-service
Apply Security Updates Applies OS security updates. Box-level
Reboot VPS Reboots the server (requires typing REBOOT). Box-level
Flush Cache Flushes all keys (requires typing FLUSH). Per-service

Only online, degraded, suspended, offline, and provision-failed servers are eligible — in-flight builds are excluded so operations never interfere with a bootstrap mid-run. Shared pool boxes support box-level operations only; per-service operations are disabled for them. Flush and reboot are confirmation-gated, and every server action writes both a local and a Core audit entry.

Operations → Security and Operations → Maintenance surface ImpulseCore’s shared security and maintenance tooling for Valkey servers: tracked CVEs for the Valkey engine, maintenance-window scheduling, and deferrable patches. Security posture is read and applied over the Admin Proxy’s security/status and security/apply-updates endpoints — the same typed, audited management plane as everything else.

Customers see matching Core-rendered Security and Maintenance tabs on both dedicated and shared services, plus a critical-CVE banner on their overview when applicable. On a shared plan the Security tab shows that host patching is handled at the pool-box level, with no patch actions of its own.

ImpulseCache runs automated hourly (default 24-hour retention) and daily (default 7-day retention) RDB snapshots, plus on-demand manual snapshots configured under Settings → Snapshots.

Snapshots are routed automatically using a three-tier target hierarchy:

  1. Sibling project object storage — when the customer’s ImpulseCore project includes an object storage service, snapshots route there first.
  2. Operator S3 fallback — if no sibling object storage is present, snapshots route to the operator S3-compatible bucket configured under Settings → Snapshots (or a per-region bucket set on the region).
  3. Local on-box store — if no remote object storage is configured, snapshots are stored on the Valkey server itself.

Expired snapshot files are pruned automatically on schedule according to their retention window.

Self-service typed-RESTORE Restore works on both dedicated servers and shared pool boxes — from the customer’s Snapshots tab or the operator’s snapshot browser under Settings → Snapshots. Restoring requires typing RESTORE and replaces the instance’s current cache contents with the selected snapshot.

Because Valkey holds the data, an engine upgrade is an in-place binary swap and restart, gated by a snapshot. ImpulseCache discovers new upstream Valkey releases from ImpulseCore’s upstream feed alongside its curated defaults, classifying each target as a Patch, Minor, or Major release.

Under Operations → Upgrade Requests, the Fleet Update Posture panel shows all four update planes side by side for every server:

  • Valkey Engine — running version vs. latest enabled release, with Patch/Minor/Major badges and in-progress upgrade state.
  • OS Distro — live Ubuntu LTS release reported by the host, standard-support EOL date (22.04 Apr 2027, 24.04 Apr 2029, 26.04 Apr 2031), and lifecycle status (Current LTS, Upgrade available, Approaching EOL, End of Life, or Host-managed (Appliance)).
  • OS Security — up to date, patches pending, or reboot required.
  • Bootstrap / Proxy — current template or foundation drift.

Linux Distro Lifecycle (Ubuntu 24.04 LTS → 26.04 LTS)

Section titled “Linux Distro Lifecycle (Ubuntu 24.04 LTS → 26.04 LTS)”

New installations default to Ubuntu 26.04 LTS (Resolute), while upgraded installations remain on Ubuntu 24.04 LTS (Noble) until switched under Settings → Runtime & Cache (Target Ubuntu LTS release). Both bootstraps automatically probe download.valkey.io for native resolute tarballs and fall back cleanly to noble until upstream publishes native resolute builds.

ImpulseCache never runs risky in-place do-release-upgrade transitions on live cache nodes:

  • Dedicated servers — use the Rebuild to Target LTS action in Fleet Update Posture (typed REBUILD confirmation). ImpulseCache takes a pre-upgrade RDB snapshot, destroys the old VPS, cleans up stale DNS, and queues a fresh rebuild onto the target Ubuntu LTS image while preserving hostname, DNS, credentials, and configuration.
  • Shared pool boxes — in-place OS rebuild is blocked while active tenants are hosted. Follow the inline Drain & Replace workflow: provision a new Ubuntu 26.04 LTS shared pool box in the same region, move tenants onto it, and retire the older pool box once empty.
  • Appliance nodes — marked Host-managed (Appliance); OS lifecycle is managed on the underlying ImpulseCore runtime host and container image.

Single-server & Bulk Engine Upgrades (Canary / Wave)

Section titled “Single-server & Bulk Engine Upgrades (Canary / Wave)”
  1. Request an upgrade for an individual server from Infrastructure, or use the Bulk Engine Upgrade (Canary / Wave) panel under Operations → Upgrade Requests to queue either a Canary (1 outdated dedicated server) or a Wave (up to 5 outdated dedicated servers) after typing UPGRADE.
  2. Approve pending requests under Operations → Upgrade Requests — or, for dedicated servers, turn on auto-approve upgrade requests (HIGH RISK) under Settings → Runtime & Cache.
  3. The upgrade cron picks up each dedicated server’s upgrade inside its ImpulseCore maintenance window, or you can click Run now in the queue. A running upgrade can’t be cancelled.

The executor takes a mandatory pre-upgrade snapshot (on a shared pool box, one for every tenant), pushes the upgrade over the Admin Proxy, re-reads the server’s reported Valkey version, and commits — or rolls back if the version gate fails.

6. Suspension, termination & safe teardown

Section titled “6. Suspension, termination & safe teardown”

Suspend fences the engine; terminate fences it too. Both start a 7-day grace window — the customer is warned 2 days before it ends — and a service still suspended or terminated when it ends is permanently deleted.

Suspending stops the Valkey engine over the Admin Proxy (Valkey has no read-only mode, so the engine stop is the fence) and marks the row suspended. Unsuspend restarts the engine and returns the service to online. If the server doesn’t answer and doesn’t confirm the change, the suspend or unsuspend fails in WHMCS with the reason, so WHMCS never shows a state the server isn’t in. Shared tenants are fenced the same way — the unit is stopped, disabled, and its port closed.

Termination is a fence, not an immediate destroy. On terminate the service is fenced exactly as suspend does, the row parks as pending_purge, and the service detaches from its Core project so dashboards stop showing it. A fence the server doesn’t confirm never blocks the termination; it is recorded in the audit log. Nothing is deleted yet — the data, credential rows, the Core connection secret, and the VPS or tenant all survive the grace window so a restore is possible.

ImpulseCache protects against orphaned cloud resources and stale DNS records:

  • Tracked DNS clean-up — unconfirmed DNS deletions during teardown are tracked and retried automatically; renaming a server’s hostname removes the previous A/AAAA records scoped strictly to that server’s own IPs.
  • Wipe Guard — Wipe addon data (under Settings → Advanced) refuses to run while any server still has a live provider instance, an unconfirmed DNS clean-up, or an unresolved unknown-outcome create.

Under Settings → Alerts & Notifications, opt in per alert type and set recipients and a re-notify interval. Available alert types: oversold servers (warning and critical), server operation failures, eviction pressure, cron overdue, provision failures, license expiring, and self-signed TLS. An alert-detection cron (hourly) evaluates these and emails one digest per run, through ImpulseCore’s shared mailer configured under Settings → Email Delivery (falling back to the platform default until a provider is set). This module sends operator and admin notifications only.

Diagnostics → Activity shows the module’s audit trail — when, source, action, service, and detail — mirrored locally and into Core.