Prometheus in air-gapped networks

Running Prometheus, Alertmanager and exporters with no internet access takes planned image and binary mirroring, offline rules and dashboards, internal notification channels and a repeatable upgrade path. This page explains how to scope and build it.

On this page

Prometheus in air-gapped networks: what changes when there is no internet

An air-gapped Prometheus deployment is a Prometheus server, Alertmanager and exporters that run with no route to the internet, so every image, binary, rule, dashboard and notification path must already exist inside the network. Teams need this design when a regulated or isolated environment, such as a utility control network, a bank segment or a public sector enclave, must still be monitored but cannot allow outbound traffic. The question to answer first is not whether Prometheus can run offline, because it can, but which components the team must bring in and who keeps them current.

Prometheus is licensed under Apache-2.0 and has no paid enterprise edition, so there is no license purchase that unlocks offline use. The cost sits in infrastructure, storage, implementation and the people who operate the stack. In an isolated network, that work is mostly mirroring container images and release binaries through an approved transfer process, configuring scrape targets, rules and Alertmanager receivers so they resolve only to internal addresses, and building an upgrade routine that repeats the same transfer each release. Confirm with your security team how software crosses the boundary and how each package is checked before it enters.

The Prometheus storage documentation describes local storage as not clustered or replicated and advises managing it like any other single-node database. The design must therefore assume that no external service will rescue a failed server: there is no remote long-term store in the network unless you deploy one yourself, and remote write targets must be internal. Plan backups of the data directory, decide the retention period in advance, and test restores on a separate host. Also confirm that every dependency, from DNS and time sources to notification endpoints, is provided inside the network.

Where each component sits in an isolated network

The diagram starts outside the boundary, where a staging host downloads Prometheus, Alertmanager, exporter binaries and container images and verifies them. Those artifacts cross the boundary on approved media or through a one-way data diode into the internal artifact mirror, which is the only source the air-gapped zone pulls from. Inside, Prometheus scrapes exporters and targets on the local network, sends alerts to Alertmanager, and Alertmanager routes them to internal notification receivers that never leave the network. Check that no node inside the boundary has a route to the internet and that every transfer is logged.

Components and transfer path for an air-gapped Prometheus deployment.

Mirroring images, binaries and plugins across the boundary

Container images are often the first artifact teams carry across the boundary, because Prometheus and Alertmanager both ship as official images. Mirror the exact tags you plan to run and record the image digest for each tag, so the internal copy can be matched to what the project published. Pull only from the official publication locations named in the Prometheus documentation, and send any third-party rebuild through a separate review.

  • Tags and digests: record the version tag and digest for Prometheus and Alertmanager together, so the same pair moves through every environment.
  • Publisher verification: check whether the release publishes signatures or attestations for the images, and confirm the verification tool and expected identity with the project documentation before import.
  • Internal storage: push to an internal registry with immutable tags, role-based access and a retention rule that keeps the previous version available for rollback.
  • Transfer media: if images travel as archive files, record a checksum for each archive on the source side and recompute it after import.
  • Scanning: run your internal vulnerability scanner against the mirrored copies and file the report with the change record.

Check that the digest in the internal registry matches the digest recorded at the source before any environment pulls the image.

Keeping rules, dashboards and notifications working offline

Once Prometheus runs without internet access, the rules, dashboards and alert routes it depends on must also resolve inside the network. The cards below cover what to validate before content crosses the boundary and which settings quietly reach outside it.

Validate rules with promtool before transfer

Run promtool check rules and promtool check config on alert and recording rule files in the connected staging environment before they are carried across the boundary. A rule that references a metric the offline Prometheus never receives will load but never fire, so check metric names against a sample of live series. Keep the validated files in version control so each transferred bundle maps to a reviewed commit.

Prometheus storage docs

Point Grafana at internal Prometheus

Dashboards and data sources exported from a connected environment often carry URLs for public plugins, hosted datasources or CDN-hosted assets. Confirm each Grafana data source resolves to the internal Prometheus hostname, and check that panel plugins and fonts are installed locally. Verify that dashboard JSON contains no external links, because a broken panel is easy to miss until an incident.

Internal-only notification receivers

Alertmanager receivers for email, chat, paging and webhooks must point at servers inside the network, such as an internal SMTP relay or a self-hosted chat service. Any receiver that sends to a public SaaS endpoint will fail silently or leak alert content outside the boundary. Send a test alert through every receiver after the first deployment and record the result.

Alertmanager config without public endpoints

Review alertmanager.yml for default values that point to hosted services, public status pages or external webhooks in templates. Confirm the external_url and any notifier certificates match internal names. Keep the Alertmanager cluster peers on the internal network so grouping and silences keep working when one instance restarts.

Alertmanager docs

Time sync and internal DNS

Prometheus timestamps samples from the scraping host and the rule evaluation clock, so drifting clocks produce gaps and misordered alerts. Point every host at an internal NTP source and confirm it stays in sync after the network is isolated. Internal DNS must resolve every target, exporter and receiver name, since a lookup that falls back to a public resolver will time out rather than fail cleanly.

Remove or replace external integrations

Some exporters, notifiers and dashboard panels call services outside the network, such as public geolocation lookups, update checks or hosted status feeds. List every outbound call in the configuration and in the Grafana plugin set, then remove, mirror or replace each one. Confirm the list with the platform owner and record the decision for each item.

Configuration choices for an isolated Prometheus stack

This table compares the main configuration decisions for Prometheus with no internet access, from Alertmanager topology to retention and access settings. Read each row against your own failure tolerance and assessor expectations, then confirm the flag behavior in the version you plan to run. The main takeaway is that most isolated stacks start simple, and added components should answer a specific availability or retention need.

DecisionChoose whenTrade-off
Single Alertmanager instanceAlert volume is modest and a short notification gap during a restart is tolerable for your operations model.Simplest to mirror, back up and upgrade, but a single failed instance stops notifications until it is restored.
Alertmanager cluster using the --cluster flagsPaging must survive loss of one node, and you can run several instances on separate hosts inside the network.Prometheus must list every Alertmanager instance, not a load balancer, and cluster peering needs internal network paths and testing.
Local retention by time or sizeThe estate is small, the storage is sized for the retention you need, and one server is acceptable as the data store.Local storage is not clustered or replicated, so disk loss means lost history unless backups are tested.
Remote write to an internal long-term storeRetention must exceed what one server holds, or history must survive a Prometheus host failure.Adds a second system to mirror, patch and secure, and the receiving store must be sized and backed up separately.
Exporters on the same host as the monitored systemExporters only read local resources and you want fewer network paths to permit through the isolated boundary.Each host needs an exporter package carried across the boundary and kept current, which increases the inventory to verify.
Exporters on a central host scraping remote targetsFew hosts need network access to targets, and you want one place to restrict scrape paths.SNMP and Blackbox style exporters take targets from URL parameters, so restrict HTTP access to them or they can reach arbitrary endpoints.
Admin API and lifecycle flags disabledDefault posture for isolated networks where configuration changes go through reviewed files and restarts.Reloads need a process signal or restart workflow, and operators must document how changes reach the server.
Admin API or lifecycle flags enabledYour change process depends on the lifecycle endpoint for reloads, and access to the endpoint is limited to automation.--web.enable-admin-api enables destructive operations, so enable it only with network and authentication controls in place.
TLS with client certificates or TLS with basic authenticationInternal certificates can be issued and rotated by your own PKI, and assessors expect encrypted transport between components.Certificate rotation and trust distribution become operational work. Basic authentication without TLS exposes credentials in cleartext.

Setup sequence for an air-gapped Prometheus stack

This sequence takes Prometheus, Alertmanager and exporters from a staged set of verified artifacts to a monitoring stack that evaluates rules, routes alerts to internal receivers and makes no outbound calls. Each step ends with a check the owning team can record as evidence.

  1. Inventory artifacts and pin versions

    The platform owner lists every component to carry across the boundary: the Prometheus server, Alertmanager, each exporter, the Pushgateway if used, container images or binaries, and any dashboards and rule files. For each one, record the exact version, the source it was downloaded from and its checksum. Choose the Prometheus line deliberately by comparing the current long-term support line and the latest minor releases against the release cycle page, and confirm which line your organization will track for patches. The step is done when a signed-off manifest lists every artifact with its version and hash, and every item has a named owner.

  2. Stage and verify transfers across the boundary

    The build team downloads the approved artifacts on a connected system, verifies their checksums and signatures where the project publishes them, and copies them to approved transfer media or a one-way transfer channel, as your security policy requires. On the internal side, the receiving team recomputes the hashes and compares them with the manifest before anything is installed. Ask your security team which controls govern software entering the boundary, since supply chain requirements such as the NERC CIP-013-2 software integrity expectations may apply to some environments. The step is done when every artifact passes hash comparison and the transfer record is filed.

  3. Deploy Prometheus and Alertmanager inside the boundary

    The platform team installs Prometheus and Alertmanager from the internal registry or artifact store, with configuration kept under version control. Prometheus local storage is a single node that is not clustered or replicated, so plan its disk, retention and backup in advance. Keep the admin API and lifecycle endpoints disabled unless your change process approves them. Start both services and confirm they report healthy on their own endpoints. The step is done when the Prometheus targets page and the Alertmanager status page both load from the internal network and show the expected build versions.

  4. Point Prometheus at every Alertmanager instance

    Configure the alerting section of prometheus.yml with the address of each Alertmanager instance, not a load balancer in front of them. If you run an Alertmanager cluster, the cluster flags must also be set on each instance so that they share state. Reload or restart Prometheus through the mechanism your change process allows. The step is done when the Prometheus alertmanagers status view lists every instance as active, and a test alert reaches Alertmanager's alert list.

  5. Deploy exporters and validate their targets

    Install each exporter from the staged artifacts and bind it to the interface and port your scrape configuration expects. Where an exporter takes targets from URL parameters, such as SNMP or Blackbox, restrict who can reach its HTTP endpoint, because the security model warns that anyone with access can make it send requests to arbitrary endpoints. Add scrape jobs for each exporter and confirm every target reports as up. The step is done when all expected targets show a successful last scrape and each exporter is listed in the manifest with its version.

  6. Load and validate alert and recording rules

    Copy rule files into the boundary as part of the staged transfer, then run promtool check rules and promtool check config against the exact files before loading them. Confirm the rules evaluate without errors on the Prometheus rules page and that no rule references an external host, such as a public documentation link inside an annotation that the alert pipeline fetches. The step is done when validation passes in the isolated environment and the rules page shows every group as healthy.

  7. Test a notification path to an internal receiver

    Configure at least one Alertmanager receiver that points to a service inside the network, such as an internal mail relay, chat server or on-call system, and confirm that your organization's own operators can reach it. Fire a test alert from a rule designed for the purpose, then confirm it arrives at the receiver, that grouping and silences behave as intended and that the alert clears on resolution. Record the test in the change ticket. The step is done when the receiver shows the test alert and the resolved notification.

  8. Confirm no outbound calls occur

    Verify the boundary with the network and security teams. Capture egress logs or firewall counters from the monitoring hosts while the stack runs its normal scrape and evaluation cycle, and check for any connection attempt to addresses outside the approved ranges. Review the configuration for any update checks, external URLs or remote write targets that were not approved. Ask the network team to confirm the proof they will accept as evidence for your records. The step is done when the captured logs show only internal traffic and the review findings are signed off.

Security controls for an offline monitoring stack

An air-gapped Prometheus still has an attack surface: unencrypted endpoints, an unauthenticated web UI, exporters that make requests on behalf of anyone who can reach them, and software that crossed the boundary without verification. The cards below cover the controls to decide and verify before the stack goes live.

Encrypt endpoints with TLS

Prometheus supports TLS and client certificate authentication, with TLS 1.2 as the minimum version. Use the tls_config settings in the web configuration file so the web UI, API and Alertmanager traffic is encrypted, and decide whether scrape targets must present client certificates. Confirm which internal certificate authority issues and rotates these certificates, because an offline network cannot fall back to a public one.

Security model

Avoid basic auth without TLS

Prometheus supports HTTP basic authentication with bcrypt-hashed passwords, but credentials sent without TLS travel in cleartext across the internal network. Treat basic auth as acceptable only when TLS is also enabled on the same endpoint. Review every listener and proxy hop to confirm that no path accepts basic auth over plain HTTP.

Add SSO at a reverse proxy

Prometheus has no built-in single sign-on, and its security model notes there is no built-in CSRF protection on mutating endpoints. Place an authenticating reverse proxy in front of the web UI and API, and confirm that the proxy enforces sign-in for every route, including the Alertmanager interface if it is exposed. Test that direct access to the Prometheus port is blocked.

Keep admin APIs disabled

Admin HTTP APIs are disabled by default. The --web.enable-admin-api flag enables destructive operations such as deleting series, and --web.enable-lifecycle enables reload and shutdown endpoints. Enable these only for named automation that needs them, and record which pipeline holds the access. Keep both flags off on operator workstations and in default container configurations.

Limit exporter request abuse

Exporters such as SNMP and Blackbox take their targets from URL parameters, so anyone with HTTP access to them can direct them to send requests to arbitrary endpoints. Inside a segmented network, this can reach systems the monitoring host should never touch. Restrict who can call these exporters, allow only approved target ranges in the configuration, and place them on a management segment.

Verify packages crossing the boundary

Every binary, container image, rule file and dashboard carried across the isolated boundary is a supply chain input. Record checksums and signatures from the upstream release, verify them on the inside, and keep an import log naming who approved each transfer. This control supports the software integrity expectations in NERC CIP-013-2 where that standard applies, and it is good practice elsewhere.

Upgrade logistics when every release must be carried in

The core logistics question is how often you can afford to carry a new Prometheus release across the boundary, and that question starts with the release calendar. Prometheus begins a new minor release cycle every 6 weeks, and after those 6 weeks a minor release generally no longer receives bug fixes. In an air-gapped network, that means a minor version you mirror today may be unpatched before your next import window opens. If your import process takes longer than the support window, you will be running unsupported code by design. Confirm with your risk owners how far behind the newest minor release they will accept, and whether that tolerance is written into your change policy.

Long-term support releases give you a slower option. Per the Prometheus release cycle page, LTS releases receive bug fixes for one year. The current LTS line is 3.13, released July 1, 2026 and supported until July 31, 2027, and LTS 3.5 reached end of life on July 31, 2026. As of October 2026, the latest GitHub releases were v3.15.0, published September 25, 2026, and the LTS patch v3.13.4, published October 2, 2026. For most isolated estates, the practical pattern is to import LTS patch releases on a fixed cadence and plan a deliberate move to the next LTS line before the current one ends. Check the Prometheus release cycle page for the current support dates before you set the calendar.

Stage every import in the same order: verify the checksums and signatures of the binaries and container images on the transfer media, load them into a staging environment that mirrors production, run promtool check config and your rule tests, and keep the previous binary and image tag on the same media so a rollback needs no new transfer. Track exporter and Alertmanager versions on their own schedules, since they release independently of Prometheus. Record each version in your configuration management inventory so a single import does not silently pair a new server with an exporter the team never tested. Ask your team to confirm the cadence, staging depth and rollback retention period before the first import.

Limits to confirm in your environment

Running Prometheus without internet access removes convenient fallbacks, so the limits of the software and the surrounding tooling need to be designed for rather than discovered later. The cards below cover storage, data accuracy, offline dependencies and notifications, the four areas where an air-gapped estate most often surprises its operators.

Local storage needs a tested restore

Prometheus writes to a local time series database in two-hour blocks, and that database is not clustered or replicated. Losing the server means losing its local history unless you have a copy. Plan snapshots or file-level backups of the data directory, store them inside the enclave, and rehearse a restore onto a clean host. Confirm the default retention of 15 days fits your investigation and audit needs, and size the disk for the retention you choose. A backup that has never been restored is an assumption, not a control.

Storage docs

Reliability over precision

The Prometheus documentation says the project values reliability over precision and is not a good choice where 100% accuracy is required, such as per-request billing. In an air-gapped network this matters for capacity records and for any operational report that will be cited as evidence. Decide which datasets are authoritative and keep them in a system designed for exact records. Document this boundary in your monitoring standard so auditors and operators read Prometheus data with the right expectations.

Overview docs

Confirm offline exporter and dependency versions

Exporters, Alertmanager, dashboards and plugins are separate artifacts, each with its own release history. Prometheus releases follow a 6-week minor cycle, and a minor release generally stops receiving bug fixes after those 6 weeks, so an offline mirror can fall behind quickly. Before transfer, confirm which versions you will carry, whether each one runs offline without fetching remote assets, and which long-term support line you intend to follow. Record the checksums of every artifact that crosses the boundary.

Release cycle

Replace vendor notification endpoints

Many alert receivers call vendor-hosted endpoints, such as chat, paging or email relay services, which an isolated network cannot reach. Alertmanager will keep routing alerts, but a receiver that cannot send is a silent failure. Inventory every receiver in your routing tree, then decide which ones terminate on an internal relay, an on-premises messaging service or a webhook inside the network. Test each path with a synthetic alert and confirm that failed notifications are visible on a dashboard.

Alertmanager docs

Questions buyers ask about air-gapped Prometheus

What drives the cost of running Prometheus in an air-gapped network?

Prometheus itself is licensed under Apache-2.0 and has no paid enterprise edition, so the cost comes from four places: the infrastructure that runs the servers, the storage that holds the time series, the implementation work, and the people who operate the stack. Infrastructure and storage recur every year, while design, mirroring, offline rule and dashboard work, and testing are mostly one-time. Air-gapped work adds cost in the mirror and the transfer process, because every image, binary, dashboard and rule set must be fetched, checked and carried across the boundary. Ask any partner for a quote that lists these components separately, and state which items are one-time and which recur.

How long does an air-gapped Prometheus deployment take?

Duration depends mainly on how many targets and exporters must be covered, how much of the alerting path must stay inside the network, how many dashboards and rules need to be rebuilt offline, and how quickly your change process can approve each transfer across the boundary. The scope agreed in writing before work starts sets the timeline, and that scope should name the exporters, the notification channels and the upgrade path. Ask for a schedule tied to those deliverables, and confirm which of your approvals sit on the critical path.

What does the client team need to provide for an air-gapped Prometheus project?

The work goes faster when your team supplies the inventory of targets and exporters, the network paths that Prometheus must reach, the notification endpoints such as an internal mail relay or chat server, and the rules for what may cross the isolated boundary. You will also need a transfer process with an owner who can approve media, and named people who can review configuration and accept test results. Prepare a list of the platform versions you already run, because mirroring has to match them exactly.

Can an internal team set up air-gapped Prometheus without outside help?

Yes, a capable internal team can do it, provided it already runs Prometheus or a similar monitoring stack and has people who understand service discovery, Alertmanager routing and offline package management. The harder parts are usually not the installation itself but the repeatable transfer process, the verification of every package carried across the boundary, and the ongoing operation of the stack. Many teams use a partner for the design and first build, then take over operations. Decide which of those stages your staff can own before you commit.

How are Prometheus and Alertmanager upgrades handled without internet access?

Each upgrade needs a new set of images and binaries, mirrored from a trusted source, checked and carried in through your transfer process, then tested in a non-production copy before it reaches monitoring. Prometheus publishes minor releases on a six-week cycle, and a minor release generally stops receiving bug fixes after those six weeks, so plan for regular transfers. Long-term support lines receive bug fixes for one year, which can reduce how often you move. Check the release cycle page for the current support dates before you set your upgrade calendar.

How do we confirm an air-gapped Prometheus design meets our control requirements?

Start by mapping each control your auditors or regulators ask about to a specific Prometheus capability, such as TLS for scrape and API traffic, authentication in front of the UI, disabled admin endpoints, and retained alert records, then decide where each one is evidenced. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. Ask your assessor early which evidence they will accept, and confirm the final design with them before go-live.

Does Prometheus offer built-in access control for an air-gapped deployment?

Not in the sense most enterprises expect. Prometheus supports TLS with client certificates and HTTP basic authentication with bcrypt-hashed passwords, but basic authentication without TLS exposes credentials in cleartext. It has no built-in single sign-on, so SSO is usually added with an authenticating reverse proxy in front of the web UI and API. Admin endpoints are disabled by default, and you should keep them that way unless a specific need requires them. Confirm each of these choices with your security team before the design is fixed.

How DeployOpen scopes and delivers air-gapped Prometheus

DeployOpen plans, builds, documents and supports self-hosted Prometheus inside your own infrastructure, including networks with no internet access. We agree the scope in writing first, then build and test the monitoring stack, hand it over with runbooks, and offer ongoing support as a retainer.

How we scope

  • Inventory every target, exporter and Alertmanager receiver that must work without internet access.
  • Confirm which images, binaries, rule packs and dashboards must be mirrored into the network.
  • Agree retention, storage sizing and the upgrade stops your team expects over the coming year.
  • Document the agreed scope, deliverables and timelines in writing before any build work starts.

How we build

  • Set up an internal mirror for container images and release binaries, with checksums verified on import.
  • Deploy Prometheus, Alertmanager and exporters inside the network with TLS, authentication and admin APIs locked down.
  • Configure alert routing so notifications reach only internal channels, and test every receiver end to end.
  • Validate rule files and configuration with promtool before they are loaded into the offline environment.

How we hand over

  • Deliver the configuration, rule and dashboard repository with a documented process for offline changes.
  • Provide a written upgrade procedure covering how new releases are transferred, verified and rolled out.
  • Walk your operations and security teams through backups, restore tests and the evidence the stack produces.
  • Document the topology, access model and known limits so your team can run the system without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped in writing.
  • Retainers can cover planned release transfers, rule and dashboard updates and periodic restore checks.
  • Support scope, response arrangements and inclusions are confirmed in the written agreement before work begins.
  • Ask for a quote built from the written scope so cost components and recurring work are clearly separated.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.