Skip to content

Air-gapped installations

Install and upgrade VitalRix on a network with no internet access from the offline bundle, and what works without the internet.

The offline bundle

The bundle you download from vitalrix.com/on-premises is already an offline bundle: its images/ folder holds every image an installation needs, VitalRix, PostgreSQL, Redis and Caddy, for one architecture (amd64 or arm64). The installer loads the images from that folder and downloads nothing.

Bring the bundle and your license file into the network the way you bring in other software, for example through a transfer server or approved removable media. Check it against the .sha256 file published next to it with shasum -a 256 -c.

Install

The steps are those of the Docker Compose install (check the server, unpack, run the installer, DNS, certificate, sign in). Only these differ:

Use arm64 in both names for an ARM server (uname -m prints aarch64). Then bring the file and your license into the network.
Run on a computer with internet access
curl -fLO https://downloads.vitalrix.com/onprem/vitalrix-onprem-latest-amd64.tar.gz
curl -fLO https://downloads.vitalrix.com/onprem/vitalrix-onprem-latest-amd64.tar.gz.sha256
shasum -a 256 -c vitalrix-onprem-latest-amd64.tar.gz.sha256
You should see
vitalrix-onprem-latest-amd64.tar.gz: OK
Run
cd /opt/vitalrix && tar xzf vitalrix-onprem-latest-amd64.tar.gz && cd vitalrix-onprem-*-amd64/ && ls images/
You should see
caddy.tar  postgres.tar  redis.tar  vitalrix.tar

If not: No images/ folder: this is the small online bundle, which needs internet access. Download the one ending in -amd64 or -arm64.

Use --tls internal (Let's Encrypt needs the internet) or your company's certificate in certs/. Nothing is downloaded, and the license is checked on the server.
Run
./install.sh --domain vitalrix.acme.internal --admin-email you@acme.com --org "Acme" --tls internal --license /media/transfer/vitalrix.license
You should see
Administrator password (12+ characters, empty: generate one):
Loading images from the bundle (offline install)…
Loaded image: caddy:2-alpine
Loaded image: postgres:16-alpine
Loaded image: redis:7-alpine
Loaded image: downloads.vitalrix.com/vitalrix:1.2.0
Starting VitalRix (the first start runs the database migrations and takes a few minutes)…
…
Waiting for every service to be ready…

VitalRix is running.
  Sign in:        https://monitor.vitalrix.acme.internal  as you@acme.com
  …

If not: install: this bundle is for amd64 servers, this one is arm64: bring the bundle for the other architecture.

On Kubernetes, load the images and push them to a registry inside your network, then point the chart at it with image.repository (and imagePullSecrets if the registry needs credentials):

Images for your registry
# in the unpacked offline bundle, on a machine with Docker that can reach your registry
./vitalrix push-images registry.acme.internal
# then in your values: image.repository=registry.acme.internal/vitalrix
# (bundled database for evaluation: bundled.postgresImage / bundled.redisImage, printed by the command)

What works without the internet

Everything that runs inside VitalRix works fully offline:

  • Uptime, API, SSL, DNS and synthetic checks of systems the server can reach.
  • APM and tracing, logs, metrics, infrastructure monitoring, real user monitoring and session replay from your own applications.
  • Alerts by email (through your mail server) and webhooks to internal systems.
  • Incidents, on-call schedules and escalation, SLOs, dashboards, notebooks and status pages.
  • Sign-in with passwords and two-factor authentication, and single sign-on and SCIM with an identity provider inside your network.
  • The documentation at docs.<domain>.

What needs the internet

These features talk to services on the internet. They stay off until you configure them, so an air-gapped installation does not try to reach them.

Features that need internet access
FeatureNeeds
Sign in with GoogleGoogle's sign-in service, and GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.
Slack, PagerDuty and Opsgenie notificationsThose services' APIs.
Jira Cloud and GitHub integrationsAtlassian's and GitHub's APIs.
AWS CloudWatch and Google Cloud Monitoring metric pullsThe cloud providers' APIs.
AI incident assistant with the hosted modelThe Anthropic API and ANTHROPIC_API_KEY. Use an internal gateway instead (below).
Checks of public websitesA route from the server to them.
Let's Encrypt certificatesAddresses reachable from the internet.

The AI assistant through an internal gateway

If your network has a model gateway that offers an Anthropic-compatible API, point VitalRix at it with ANTHROPIC_API_BASE in .env (or under env on Kubernetes), then run ./vitalrix restart. Add ANTHROPIC_API_KEY as well if your gateway needs a key.

Internal model gateway
ANTHROPIC_API_BASE=https://llm-gateway.acme.internal

With both settings empty, the AI incident assistant is off and everything else works as usual.

Upgrades

  1. Get the new offline bundle

    Download the new version's bundle from vitalrix.com/on-premises and bring it into the network.
  2. Upgrade from the bundle

    Offline upgrade
    ./vitalrix upgrade /media/transfer/vitalrix-onprem-1.2.1-amd64.tar.gz

    The upgrade loads the images from the bundle (nothing is downloaded), backs up, updates the installation files and starts the new version.

Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.