Skip to content
Impulse SoftwareDOCS
Get modules

ImpulseDB Postgres

Verified for ImpulseDB Postgres 1.10.12 ·

The client area & developer workspace

Every managed PostgreSQL service ships with a full self-service client area inside WHMCS, tailored to whether the service runs on a Dedicated or Shared plan and gated by ImpulseCore’s role permissions (Owner, Team, or View-only).

Tab What customers can do
Overview Health status, PostgreSQL version, storage meter (with 75% / 90% / 100% quota warnings), active connections, Day-0 onboarding quickstart, and one-click integration helpers.
Connect & Access DATABASE_URL, DIRECT_URL, and DATABASE_READ_URL connection strings, framework snippets, PgBouncer toggle & pool users, IP allowlist (Dedicated, including one-click Allow Any IP for 0.0.0.0/0 & ::/0), Serverless HTTP SQL API tokens, Private Project Mesh (WireGuard) peers, and credential rotation.
Backups & Migration Automated & on-demand pg_dump backups, customer-owned S3 / ImpulseObjects offsite destinations, Point-in-Time Recovery (PITR) status & 1-click clone launch (Dedicated), and Export / Import tools.
Database In-browser SQL Studio (tenant-role query runner & schema explorer), Multi-Database management, Custom RBAC Roles, Instant Branches, and Extensions.
Performance Live query/table metrics, cache-hit stats, and the Performance & Index Advisor.
Availability (Dedicated) Read replica provisioning, live replication lag, customer replica promotion (when enabled), and failover history.
Maintenance Scheduled OS/PostgreSQL updates, maintenance window preferences, single patch deferral (Dedicated), and PostgreSQL major-version upgrade requests.
Monitoring (when enabled) Service uptime and health checks.

Customers see their pooled DATABASE_URL, direct DIRECT_URL (port 5432), and — when a dedicated service has an active read replica — DATABASE_READ_URL.

  • On Dedicated servers, customers can enable PgBouncer pooling on port 6432. Enabling PgBouncer, resetting the database password, or renaming the primary database user automatically synchronizes the primary role into PgBouncer’s user list and HBA rules so port 6432 stays in sync without manual steps.
  • On Dedicated servers, IP allowlist entries accept single IPv4/IPv6 addresses or the explicit wildcard entries 0.0.0.0/0 and ::/0 (Allow Any IP). Arbitrary CIDR blocks are refused.
  • On Shared servers, connections require TLS + SCRAM password from anywhere (per-service IP allowlist mutations are Dedicated-only so shared tenants cannot affect host firewall rules).

For serverless functions, edge runtimes, and scripts that cannot maintain persistent TCP pools, customers can mint scoped HTTP SQL tokens under Connect & Access → Serverless HTTP SQL API:

  • Endpoint: POST /modules/servers/impulsepostgres/sql-api.php
  • Authentication: Authorization: Bearer <token> (or X-Impulse-Sql-Token: <token> when a web server or CGI layer strips the Authorization header). Tokens are hashed with SHA-256 at rest and shown only once at creation.
  • Scopes & safety: each token is scoped to read_only or read_write with a configurable per-minute rate limit (enforced with HTTP 429 and Retry-After). Queries execute strictly as the customer’s tenant role over TLS (tls_connection_mode), support positional $1 / ? parameters without colliding with PostgreSQL JSONB ?, ?|, and ?& operators, and preserve native JSON booleans, numbers, and null.

Dedicated customers can link application servers or sibling project services over encrypted WireGuard tunnels under Connect & Access → Private Project Mesh:

  • Validates private overlay addresses (RFC 1918, CGNAT, or IPv6 ULA) and Curve25519 public keys.
  • Renders ready-to-paste WireGuard peer configs and reconciles sibling services within the same project automatically.

Under the Database tab, customers get a complete browser-based workspace:

  • SQL Studio: runs queries strictly as the customer’s own PostgreSQL role (never as an admin superuser), enforces TLS, statement_timeout, and lock_timeout, defaults to read-only safe mode, and includes a schema browser and index/performance advisor.
  • Multiple Databases: create and drop additional databases within the service without provisioning another server.
  • Custom RBAC Roles: create read-only, read-write, or custom-scoped roles targeting any database on the service, rotate role passwords, or drop roles. On Dedicated servers, custom role URIs target direct port 5432 and automatically synchronize the service’s IP allowlist entries on create and drop so the new role can connect right away.
  • Instant Database Branches: clone a database (for preview environments, migrations, or testing) with an optional expiry TTL so the 2-minute provision cron reaps expired branches automatically. Failed clone attempts roll back any partially created role and database cleanly.

From the client area, customers can generate or apply ready-made SQL helpers for sibling Impulse services in the same project:

  • ImpulseAuth RLS: provisions the impulse_auth schema and row-level security helper functions.
  • ImpulseSearch CDC (Dedicated): creates the impulse_search_pub logical replication publication and slot (impulse_search_cdc_<service_id>).
  • ImpulseCache Invalidation: generates or applies pg_notify trigger helpers on channel impulse_cache_svc<service_id> to invalidate cached keys when rows change.

Sensitive actions that reveal or mint plaintext credentials require WHMCS account-owner permissions (may_reveal) and step-up confirmation with the customer’s WHMCS login password:

  • Revealing or resetting the primary database password.
  • Creating a database branch (branch_create).
  • Creating or rotating a custom RBAC role (role_create, role_rotate).
  • Minting a new Serverless HTTP SQL API token (http_sql_token_create).

Team members with manage access can perform day-to-day operational tasks without viewing credentials; view-only users cannot trigger mutations.