Prometheus deployment options: which model fits your team
A Prometheus server is one node with local storage, so Docker, Kubernetes and VMs differ in how it is restarted, upgraded, backed up and secured, and in who owns that work. Choose virtual machines when hosts are stable and you have no cluster platform, because the binary, its configuration file and the data directory then fall under the patching and backup runbooks you already use. Choose Kubernetes when your team already operates clusters and GitOps, so the Prometheus configuration and its persistent volume claim follow the same review path as other workloads. Choose single-host Docker only for a small or lab estate where one named person owns restarts, the data volume and every upgrade.
Prometheus has no paid edition, so the cost of each model comes from infrastructure, storage, implementation and staff time. Infrastructure means the VM or node capacity and the disk that holds the time series, and the default retention of 15 days, configurable by time or size, sets how fast that disk fills. Implementation is mostly one-time work, while upgrades, patching and on-call are recurring. Prometheus starts a new minor release cycle every 6 weeks, and a minor release generally stops receiving bug fixes after those 6 weeks, so a team on a non-LTS line pays for frequent upgrades. The LTS line, currently 3.13 and supported until July 31, 2027, trades newer features for a longer patch window. Ask any implementation partner for a quote that separates one-time build work from recurring upgrade and on-call effort, and that states the hosts, disks and retention it assumes.
The verdict changes if Prometheus must keep scraping and alerting through a host or cluster failure without gaps. Local storage is not clustered or replicated, so a single node stops scraping and alerting when its host fails, and its data is only as safe as your backups. Plan a second Prometheus server that scrapes the same targets, or remote write to external long-term storage, and decide in advance how queries will span both. Alertmanager can run as a cluster, and Prometheus should list every Alertmanager instance in its configuration, as the Alertmanager docs advise. Whichever model you pick, confirm that --web.enable-admin-api stays disabled and that single sign-on sits in an authenticating reverse proxy, because Prometheus has no built-in SSO.
Prometheus on Kubernetes vs VMs, factor by factor
This table compares how Prometheus behaves on Kubernetes and on virtual machines across nine factors, with each cell kept qualitative. Docker on a single host is covered in the architecture and operations sections, so read this table as the step from one host into a cluster or a fleet of VMs. Cells marked skill-dependent assume the platform skills your team already has, so check those against your staff before choosing.
| Factor | Kubernetes | Virtual machines |
|---|---|---|
| Architecture | StatefulSet with persistent volumes, with scrape and rule config in ConfigMaps. Skill-dependent: assumes the team already operates Kubernetes. | A systemd service on a dedicated host with file-based config. Skill-dependent: needs Linux service management skills most teams already have. |
| Restart and failover | Controllers restart failed pods, but storage is not replicated, so HA means two replicas that each hold their own data. | Restart depends on the service manager and host monitoring. Failover means a second host running an identical replica, with the same no-replication limit. |
| Persistent storage | Volumes come from the cluster's storage class, so performance and snapshot support depend on the storage backend. Confirm with the cluster owner. | A local disk or mounted volume sized for retention, which defaults to 15 days. Growth is managed on the disk itself. Confirm snapshot tooling for the volume. |
| Upgrade path | Two upgrade tracks: the Prometheus image and the cluster. LTS 3.13 is supported until July 31, 2027. | Package or binary upgrades on each host, with the OS patch cycle added. The same LTS 3.13 support window applies to the software. |
| Backup scope | Covers PVC data, config kept in Git and any exported rules. Confirm the snapshot method, since some admin endpoints are off by default. | Covers the data directory, config files and host state. Confirm the snapshot method and run a restore test on each host. |
| GitOps and configuration management | Argo CD or Flux can sync Prometheus manifests from Git, both Apache-2.0. Skill-dependent: the controller adds another system to run. | Config management or Git-stored files deploy changes to hosts. Drift checks are manual unless you add tooling. |
| Identity and access layer | No built-in SSO, so an authenticating proxy at the ingress must cover the UI and API. Argo CD handles SSO for its own UI. | No built-in SSO either, so a reverse proxy on the host carries authentication. Keep admin APIs disabled unless you need them. |
| Cost drivers | Prometheus has no license fee. Costs are cluster capacity, storage, implementation and operator time, with cluster skill as the largest variable. | Prometheus has no license fee. Costs are host count, disks, implementation and operator time, which grow with each host added. |
| Cost of switching later | Scrape configs and rules port across. Moving off Kubernetes means rebuilding storage, identity and GitOps wiring, and local data needs an export plan. | Config and rules port easily. A later move to Kubernetes rebuilds deployment, storage and identity, and local data needs an export plan. |
How Prometheus deployment options lay out components
Every Prometheus deployment has the same parts: a server with local storage, an Alertmanager cluster, the exporters and targets it scrapes, an access layer in front of the web UI and API, and a host layer that runs them all. Docker, Kubernetes and VMs change the host layer most, while the parts and their configuration carry over. Use these cards to check each part against your own network and identity design before you pick a platform.
Server and local storage
The Prometheus server scrapes targets and writes samples to a local time series database. Data sits in two-hour blocks backed by a write-ahead log, and the default retention is 15 days, configurable by time or size. Local storage is not clustered or replicated, so each server's data directory needs its own backup plan and disk monitoring. Confirm disk sizing against the storage documentation before you set retention, because growth depends on your series count and scrape interval.
Storage documentationAlertmanager cluster membership
Alertmanager groups, inhibits and silences the alerts that Prometheus sends it. It can run as a cluster for high availability through its cluster flags, and Prometheus should target every Alertmanager instance so that each one receives alerts. Check that every instance appears in the Prometheus alerting configuration, and that cluster peers can reach each other on the network you choose for each option. Test a failed instance during setup so you know alerts still reach a receiver.
Alertmanager docsExporters and service discovery
Exporters expose metrics for systems that do not serve a Prometheus endpoint themselves. The SNMP and Blackbox exporters take targets from URL parameters, so anyone with HTTP access to them can make them send requests to arbitrary endpoints. Treat them as internal services and limit which networks reach them through published ports on Docker, network policies on Kubernetes, and host firewall rules on VMs. Service discovery decides which targets Prometheus scrapes, so review its output after each change.
Access layer and SSO
Prometheus supports TLS with client certificates, with TLS 1.2 as the minimum, and HTTP basic authentication with bcrypt-hashed passwords. Basic authentication without TLS sends credentials in cleartext, so use the two together. Prometheus has no built-in single sign-on, so place an authenticating reverse proxy in front of the web UI and API. Prometheus also has no built-in CSRF protection on mutating endpoints, and admin APIs stay disabled unless you enable them. Confirm the proxy's session handling and admin flag settings for each option.
Prometheus security modelHost layer for each option
The host layer decides how the Prometheus process starts, restarts and keeps its data. On a single Docker host, a restart policy and volumes keep the container running and its data attached. On Kubernetes, a pod runs under a controller and its data sits on a persistent volume. On VMs, systemd service units handle startup and restarts, and a host patching schedule covers the operating system. Whichever option you pick, the scrape configuration, alert rules and alert routing stay the same.
How scrapes, alerts and SSO flow through a highly available layout
The flow starts at service discovery, which feeds two identically configured Prometheus servers. Each server scrapes the exporters over HTTP, and the trust boundary marks where scrape traffic leaves the monitoring network. Both servers send alerts to every Alertmanager instance, and each also sends samples through remote write to external long-term storage. Operators reach the web UI and API only through a reverse proxy that checks SSO with the identity provider. Check firewall rules across the boundary, confirm both servers list every Alertmanager, and keep admin endpoints disabled. The same flow applies on Docker, Kubernetes or VMs, with only the host layer underneath changing.
Illustrative flow: scrapes, alerts, remote write and SSO on any host layer.
What Prometheus high availability requires on any platform
High availability for Prometheus is a design you build, whichever platform runs it. Prometheus keeps samples in a local time series database, and its Prometheus storage documentation states that local storage is not clustered or replicated and should be managed like any other single-node database. The working pattern is two or more Prometheus servers, each with its own configuration and its own storage, scraping the same targets. Each server holds its own copy of the data, so a query against one server can return different results from another during an outage. Decide which server your dashboards and alert routing treat as the reference, and document how you will compare them after a failure.
Alerting needs the same kind of design. Alertmanager handles grouping, inhibition and silences for alerts from Prometheus, and it can run as a cluster for high availability using its --cluster flags. Each Prometheus server should be configured to send alerts to every Alertmanager instance, so that one failed instance does not stop notifications. Confirm the cluster peer, listen and advertise settings for your version in the Alertmanager documentation. Then test the failure path by stopping one instance and confirming that a test alert still reaches its receiver. Also check how your receivers and on-call tool display alerts that come from two Prometheus servers with different external labels, because that determines whether your responders see one alert or two.
The platform does not remove this work. Kubernetes can restart a failed pod and a VM can be rebuilt from an image, but neither turns one Prometheus server into a replicated service, and a restarted server still has a gap in its scrapes. Before you choose Docker, Kubernetes or VMs, write down two limits for your estate: the data-loss window you accept if a server's storage is lost, which is bounded by retention (15 days by default), and the alerting gap you accept while one server restarts or is rebuilt. Then size remote write as a separate decision. It sends samples to external long-term storage, which brings its own retention, cost and failure modes, so confirm the full design against the storage and Alertmanager documentation before you commit to a platform.
Upgrades, backups and skills for Docker, Kubernetes and VMs
Prometheus on one Docker host has the smallest footprint and suits a team that already runs containers on a few Linux servers. The stack is one container plus a mounted volume, so your team owns every step from image tag to disk. The local TSDB is not clustered or replicated, so the host is a single point of failure for both collection and storage.
- Upgrade routine: Pin the image to an exact tag, read the release notes, test the new tag against a copy of
prometheus.yml, then stop and replace the container. A new minor release cycle starts every six weeks, so teams that want fewer changes can follow the release cycle and LTS policy and stay on the current LTS line, 3.13, which is supported until July 31, 2027. - What to back up:
prometheus.yml, rule files and the directory mounted at--storage.tsdb.path. With the default 15-day retention, that volume holds recent history only, and a remote write target is a separate system with its own backup. - Watching Prometheus: Poll
/-/healthyon Prometheus and on each Alertmanager from a different host. Route an always-firing heartbeat alert to a receiver outside this host, so silence signals a fault. - Admin API risk: Admin HTTP APIs are disabled by default. Enabling
--web.enable-admin-apior--web.enable-lifecyclechanges the risk on any platform, and on a host with a published port that change reaches the network quickly, so keep both off unless a runbook needs them. - Skills needed: Container operations, Linux volume ownership, scheduled backup scripts and PromQL for alert rules.
Check that you can restore the volume onto a second host and that you have tested that restore once before go-live.
On Kubernetes, Prometheus runs as a workload with persistent volumes, so it follows the cluster's upgrade cadence as well as its own. Your team needs a named owner for the chart, the storage class and the namespace permissions. The data sits in a PersistentVolumeClaim, so backup depends on the storage layer as much as on Prometheus itself.
- Upgrade routine: Change the chart version or manifests through the same review process as the cluster, test on a non-production cluster first, and read the Prometheus release notes for the target version. Only teams that already run GitOps should add it here: Argo CD (Apache-2.0) is a Kubernetes controller with a web UI and multi-cluster management, and Flux (Apache-2.0) uses Kubernetes RBAC with impersonation and supports Helm, Kustomize and OCI artifacts.
- What to back up: The chart values and rule files in version control, the ConfigMaps or Secrets that hold configuration, and the PVC. Volume snapshots depend on a CSI driver and storage class that support them, so confirm that before relying on them. A remote write target is backed up as its own system.
- Watching Prometheus: Poll
/-/healthyon Prometheus and each Alertmanager replica from outside the cluster, because a Prometheus that is down cannot alert on its own failure. Keep the heartbeat alert routed to a receiver outside the cluster as well. - Admin API risk: Admin HTTP APIs are disabled by default. Enabling the admin API or lifecycle flags changes the risk on any platform, and in a cluster anything that can reach the Service can use those endpoints, so restrict access with network policy if either flag is on.
- Skills needed: Kubernetes RBAC, storage class and PVC management, Helm or Kustomize, and coordinating cluster upgrades with the Prometheus release calendar.
Confirm with your platform team who owns the storage class and whether its volume snapshots restore a consistent TSDB.
On virtual machines, Prometheus runs as a systemd service on a Linux guest that you patch and snapshot like any other server. It is the most familiar model for teams that already operate database servers, and it keeps every operating system task with your team. The data directory sits on the guest disk, so snapshot and backup design is part of the Prometheus design.
- Upgrade routine: Pin the binary or package version, test on a clone of the VM, and confirm the rollback path for your version in the release notes before the change window. Long-lived guests are a good case for an LTS line, since 3.13 receives bug fixes until July 31, 2027.
- What to back up:
prometheus.yml, rule files, the--storage.tsdb.pathdirectory and Alertmanager's storage directory, which holds silences and notification state. A hypervisor or LVM snapshot of a running TSDB needs a consistency check, and the storage documentation explains the on-disk layout. - Watching Prometheus: Poll
/-/healthyon Prometheus and each Alertmanager from a separate host or from your hypervisor monitoring. A systemd restart policy handles crashed processes, but it cannot report a host that is gone, so the outside check catches that case. - Admin API risk: Admin HTTP APIs are disabled by default. Enabling
--web.enable-admin-apior--web.enable-lifecyclechanges the risk on any platform, and on a VM the bind address and firewall rules decide who can reach those endpoints, so set both explicitly. - Skills needed: Linux administration, systemd units, TLS and client certificate handling, and guest OS patch management.
Check that your snapshot schedule and your restore test cover the same directories.
How the Prometheus release cycle sets upgrade work on each option
The release track you choose sets how often upgrade work arrives, whatever platform you run it on. A new Prometheus minor release cycle begins every 6 weeks, and a minor release generally stops receiving bug fixes once those 6 weeks are over. Long-term support (LTS) releases receive bug fixes for one year instead. The current LTS line is 3.13, released July 1, 2026 and supported until July 31, 2027. The earlier LTS line, 3.5, reached end of life on July 31, 2026, so any deployment still on it no longer gets bug fixes and must move to a supported line. A team on minor releases sees a new cycle every six weeks and must keep moving forward to stay patched. An LTS team plans around a yearly window. Either way, upgrades are recurring work, not a one-time project.
The platform decides who performs and tests each upgrade. On Docker, the team that owns the Compose files or run commands usually changes the image tag, pulls the new image and restarts the container, so the same people can review and roll back the change. On Kubernetes, the change usually passes through manifests or Helm values managed by the cluster team, so the platform team and the monitoring owner must agree who signs off on rules and dashboards. On virtual machines, someone replaces the binary or package and restarts the service under the host's process manager, and the host administrator often performs the work while the monitoring owner tests it. On every platform, the test should include a configuration check with promtool, a staging scrape of real targets and confirmation that alert rules still evaluate before production changes.
Confirm the track you plan to run on the Prometheus release cycle page before you scope any engagement. Then check the GitHub releases page, because a six-week cycle means newer minors may have shipped since 3.15.0 was published on September 25, 2026, and the current LTS patch may be newer than 3.13.4. Ask the implementer to name who performs each upgrade, who tests alert rules and dashboards, how rollback works on each platform and how many environments an upgrade passes through before production. A scope built on a minor track should include recurring upgrade windows, while an LTS scope should plan one window a year and budget time to move off the line before its support ends.
Prometheus deployment options: a four-step decision path
This sequence settles the decisions that separate a Prometheus install your team can run for years from one that depends on luck. Work through it in order, because the operator skills in step one limit what the high availability design in step two can support. Each step ends with a written decision that the platform, security and compliance owners can review.
Name the team that owns the host
Name the team that restarts, patches and restores the host or cluster Prometheus runs on, and check that it has the skills for that platform. With Docker, this is usually the team that already runs container hosts. With Kubernetes, it is the platform team that operates the cluster and its storage classes. With VMs, it is the infrastructure team that handles OS patching and restores. Local storage is not clustered or replicated, so a failed host means a gap in metrics until it is restored. Done when a named owner has tested a restore.
Decide the high availability design
Decide how much metric gap your alerting can accept, then design around it. Prometheus local storage is not clustered or replicated, so a common pattern is two identically configured servers scraping the same targets. The accepted gap is the period when one server is down and its own history is unavailable from the other. Alertmanager can run as a cluster using its cluster flags, and Prometheus should list every Alertmanager instance directly. Confirm how duplicate alerts are handled in your setup before you accept the design. Done when the team has written down the accepted gap and tested one server failure.
Choose the release track and upgrade owner
Choose between the long-term support line and the minor release track, then name the person or team that performs upgrades. Prometheus starts a new minor release cycle every 6 weeks, and a minor release generally stops receiving bug fixes after those 6 weeks. Long-term support releases receive bug fixes for one year, and the current LTS line is 3.13, supported until July 31, 2027. Choose LTS when you want fewer upgrades and can accept a slower feature set. Done when the upgrade owner, a test environment and a rollback step are written into the runbook.
Set the access layer and backup scope
Set the access layer, then define the backup scope, including remote write targets. Prometheus supports TLS and client certificates with TLS 1.2 as the minimum, and it has no built-in single sign-on, so most teams place an authenticating reverse proxy in front of the UI and API. Keep the admin APIs disabled unless you need them. For backup, list the local data, the configuration and each remote write target, and confirm that long-term storage can be restored without the local server. Done when the access design and restore test are signed off. Suggestion: pilot the chosen option on a small set of targets before scoping production work.
Prometheus deployment cost, effort and skills questions answered
What does running Prometheus cost on Docker, Kubernetes or VMs?
Prometheus has no paid edition, since it is Apache-2.0 licensed, so the spend comes from hosts, storage, implementation and the people who run it. Recurring costs are the compute and disk each Prometheus server and Alertmanager instance uses, network traffic, patching, upgrade time and on-call hours. One-time costs are the design, the initial build, the access layer and moving existing alert rules and dashboards. Retention is a major disk driver: the default is 15 days (Prometheus storage docs), and longer retention, set by time or size, grows storage with it. On a single Docker host, the platform layer is the lightest, but that host is also a single point of failure. On Kubernetes, the cost is cluster capacity and skills unless you already operate a cluster. On VMs, the cost is the hosts plus any hypervisor licensing you already pay for. Ask for the quote to split hosting, storage and labor.
How much effort does a highly available Prometheus setup take?
Most of the effort sits in design and day-two operations, and the first install is usually the smaller share. Prometheus local storage is not clustered or replicated, so high availability usually means running two identically configured Prometheus servers that scrape the same targets, each with its own storage. Alertmanager can run as a cluster through its --cluster flags, and Prometheus should point at each Alertmanager instance directly, with no load balancer in between. The team must also handle alert routing across instances, long-term storage through remote write, a reverse proxy for SSO and TLS, and failover testing. An internal platform or SRE team with those skills can own it. Otherwise, an implementation partner works to a written scope. DeployOpen, for example, plans and implements self-hosted platforms inside the client's own infrastructure.
Can an internal team run Prometheus on Kubernetes or VMs without outside help?
Yes, if the team already has the skills and time to own the system after handover. Running Prometheus needs PromQL for rules and dashboards, scrape and service discovery configuration, and alert routing. The platform underneath needs Linux administration on VMs, or Kubernetes operations on a cluster, plus TLS certificate handling. Because Prometheus has no built-in single sign-on, someone must build an authenticating reverse proxy in front of the web UI and API, and keep admin APIs disabled unless they are needed. Exporters such as SNMP and Blackbox take targets from URL parameters, so network restrictions should stop anyone with HTTP access from making them send requests to arbitrary endpoints. Outside help is most useful for the access layer, hardening, upgrade runbooks and compliance evidence. DeployOpen prepares systems, controls and evidence for compliance assessments, but auditors and certification bodies issue the reports.
How long does a Prometheus implementation take from start to finish?
The timeline depends on the scope, so ask for it in writing before work starts. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work begins, so the document should show the start, the milestones and the dates that depend on your teams. The main drivers are the number of hosts and scrape targets, whether the Docker, Kubernetes or VM platform already exists, the HA design, retention and long-term storage, SSO and the access layer, the number of alert rules and dashboards to migrate, and the compliance evidence you need. Ask who holds each dependency, such as access approvals and change windows, and what happens to the dates if one slips.
What should a Prometheus deployment quote include before you sign?
A quote should price each area below separately and name who does each task and what you receive at handover. Host or cluster work covers the Docker hosts, VMs or Kubernetes namespace and manifests or chart, sized for targets and retention. HA design covers the number of Prometheus servers, the Alertmanager cluster and how failover is tested. The access layer covers TLS, client certificates, the reverse proxy for SSO and whether admin and lifecycle endpoints stay disabled. Backups cover configuration, rules, snapshots or remote storage, and restore tests. Upgrades cover the release line, the method and the runbook. Minor releases generally stop receiving bug fixes after six weeks, while LTS releases get bug fixes for one year, and the current LTS 3.13 line is supported until July 31, 2027 (Prometheus release cycle). Testing covers scrape coverage, alert routing, failover and restore.
What does moving Prometheus from Docker to Kubernetes later involve?
It involves moving configuration, data expectations, the access layer and the run process, and the effort grows with how much custom logic the current setup holds. Local storage belongs to one node, and the default retention is 15 days, so decide early whether history must carry over through snapshots or a remote write target, or whether a gap is acceptable. Static scrape jobs become Kubernetes service discovery, so relabeling rules and alert rules need retesting against the new labels. The reverse proxy, TLS and certificates are rebuilt for the new network path, and images, manifests or charts, backups and upgrade runbooks change. A parallel run, with both setups scraping the same targets and alerts compared, lowers cutover risk. Ask for the move as a separate written scope with cutover and rollback steps.
How DeployOpen scopes and runs Prometheus deployments
DeployOpen approaches Prometheus on Docker, Kubernetes or virtual machines as a fixed-scope engagement inside your own infrastructure, with the runtime choice worked through against your sizing, retention and high-availability requirements. Scope, deliverables and timelines are agreed in writing before work starts, and the deployment is documented so your own team can operate it. Ongoing support, upgrades and continuous testing are available as retainers.
How we scope
- The written scope records which runtime you choose for Prometheus: Docker, Kubernetes or virtual machines.
- Sizing inputs are agreed up front: series counts, scrape intervals, retention and the expected query load.
- Fixed-scope engagements list deliverables, timelines and exclusions in writing before any build work starts.
How we build
- Local Prometheus storage is not clustered or replicated, so the high availability design is agreed in scope first.
- Alertmanager runs as a cluster, and Prometheus is pointed at every Alertmanager instance directly.
- Admin APIs stay disabled by default, and SSO is added through an authenticating reverse proxy.
How we hand over
- Documentation covers configuration, retention and an upgrade path that names the Prometheus release line in use.
- Prometheus LTS 3.13 is supported until July 31, 2027, so the upgrade plan names that date.
- If security testing is in scope, we check exporters such as SNMP and Blackbox, since they take URL-parameter targets.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Prometheus minor releases generally stop receiving bug fixes after six weeks, so upgrades need a set cadence.
- Ask the quote to state exactly which upgrades, testing and support hours the retainer includes.

