Self-hosted Prometheus or managed Prometheus: which fits your team
Self-hosting fits teams that must keep metrics in their own accounts or networks and have people to run storage, upgrades and access controls. A managed service fits teams that want that operating work handled by a provider and can accept its data location, feature set and terms. Prometheus is licensed under Apache-2.0 and has no paid enterprise edition, so the license is not the deciding cost. The decision turns on where the metrics and the work sit, and who carries the operating load. With a managed service, the vendor's fee covers the operation, and it is priced in units you must confirm before you compare totals with a self-hosted build.
Prometheus stores samples in a local time series database organized into two-hour blocks. Its storage documentation says local storage is not clustered or replicated, so you run it as a single-node database and manage it accordingly. Default retention is 15 days, configurable by time or size, so longer history means more disk or remote write to external long-term storage, which is another system to operate. Your team also owns Alertmanager clustering, TLS (TLS 1.2 is the minimum), client certificates and single sign-on. Prometheus has no built-in SSO, so you place an authenticating reverse proxy in front of the web UI and API. Keep the admin APIs disabled unless you need them, since --web.enable-admin-api enables destructive operations.
A managed service moves storage operations, patching and upgrades to the vendor, but you still own the decisions around them. Ask each vendor in writing for the region where your samples are stored and backed up, the retention options and their units, the remote write and query APIs your exporters and dashboards will use, and the pricing units and what counts toward them. Also ask how you export data and configuration if you leave, and which Prometheus version the service runs. Prometheus 3.13 is the current LTS line, supported until July 31, 2027, so ask whether the vendor tracks that line or a newer minor release.
How self-hosted and managed Prometheus compare on the factors that matter
This table compares the two operating models on the factors that shape day-two work: licensing, data location, retention, identity, admin exposure, upgrades and alert delivery. Read the self-hosted column as what the project provides and what your team must build, and the managed column as questions to put to the vendor in writing. The main takeaway is that self-hosting places storage, SSO, upgrades and alert availability on your team, while a managed service may move some of them into the vendor's contract, so read those terms closely.
| Factor | Self-hosted Prometheus | Managed Prometheus |
|---|---|---|
| License and project fees | Apache-2.0 with no paid enterprise edition. Costs come from infrastructure, storage, implementation and staff. | Confirm the billing model, what the fee covers and whether any features sit in a higher tier. |
| Where data is stored | On the server disk in a local time series database made of two-hour blocks, plus a write-ahead log. | Confirm the region, the storage location, encryption and who can access the stored metrics. |
| Local retention and long-term storage | 15 days by default. Local storage is not clustered or replicated; send long-term data out with remote write. | Confirm default and maximum retention, export options and where long-term data is kept. |
| Authentication and SSO | TLS, client certificates and bcrypt basic auth, which needs TLS. No built-in SSO, so add an authenticating reverse proxy. | Confirm SAML or OIDC support, role mapping from your identity provider and audit logs for admin actions. |
| Admin and lifecycle endpoints | Admin APIs are disabled by default. Enabling them, and the reload and shutdown endpoints, is an explicit choice you must secure. | Confirm which admin and configuration APIs you can use, whether they are exposed, and how access is logged. |
| Upgrade cadence and LTS support | Minor release every 6 weeks; minors generally get no fixes after 6 weeks. LTS 3.13 supported until July 31, 2027. | Confirm the upgrade schedule, whether you can pin versions, maintenance windows and the Prometheus version you run. |
| Alerting high availability | Alertmanager runs as a cluster using cluster flags. Point Prometheus at each Alertmanager instance directly and build that HA yourself. | Confirm how alert routing and notification delivery are made highly available, and what availability is committed in writing. |
Where your metrics live and who can reach them
Self-hosted and managed Prometheus differ mostly in who holds each control. The six cards below cover where samples live, how clients authenticate, which endpoints stay closed, how exporters can be abused and what evidence an assessor can review.
Where the samples are stored
Self-hosted Prometheus writes samples to a local time series database on the server you run, whether in your cloud account, data center or air-gapped network. Its default retention is 15 days, and local storage is not clustered or replicated, so disks, backups and restores fall to your team. A managed service stores data in the provider's regions, so confirm the region list, backup locations and retention settings before you sign. If a rule requires data to stay in one jurisdiction, write that requirement into the scope and the contract.
Prometheus storage docsTransport encryption and passwords
Prometheus supports TLS and client certificate authentication, with TLS 1.2 as the minimum, and HTTP basic authentication with bcrypt-hashed passwords. Basic authentication without TLS sends credentials in cleartext, so bcrypt basic auth only over TLS should be a hard rule in your configuration review. For a managed service, ask whether it accepts your own client certificates, which TLS versions it enforces and how it handles agent credentials and rotation.
Single sign-on through a proxy
Prometheus has no built-in single sign-on, so self-hosted deployments normally place an authenticating reverse proxy in front of the web UI and API. That proxy becomes part of your access control, and it must also handle CSRF, because the security model notes Prometheus has no built-in CSRF protection on mutating endpoints. For a managed service, ask which identity protocols it supports natively, whether role mapping from your directory is available and whether its admin console also requires SSO and MFA.
Prometheus security modelAdmin and lifecycle endpoints
Admin HTTP APIs are disabled by default. The --web.enable-admin-api flag enables destructive operations, and --web.enable-lifecycle enables reload and shutdown endpoints. Keep both off unless a runbook needs them, and where they are needed, restrict them to a named network path and record who calls them. Ask a managed provider which equivalent controls it exposes, who can trigger configuration reloads and whether those actions appear in your audit trail.
Exporter URL parameters
SNMP and Blackbox exporters take their targets from URL parameters. Anyone with HTTP access to one of them can make it send requests to arbitrary endpoints, which turns a metrics port into an outbound request path. Self-hosted, limit which hosts can reach each exporter, restrict egress from the exporter host and keep target lists in reviewed configuration. For a managed service, ask where collection agents run, whether they can reach internal address ranges and how the provider controls target input.
Evidence an assessor can review
Assessors look for evidence such as configuration files, access settings, retention values, backup records and change history. Self-hosted, you produce that evidence from your own systems, and DeployOpen can prepare systems and evidence for compliance assessments. DeployOpen does not issue audit reports, attestations or certifications; independent auditors and certification bodies do. Provider attestations must be requested from the provider, and you should confirm they cover the exact service and regions you buy.
Self-hosted keeps the whole metrics path inside your boundary
The diagram follows the metrics path on each side. In the self-hosted model, Prometheus pulls from exporters and scrape targets inside your network, stores samples on its own disk, and sends alerts to every Alertmanager instance in the cluster. Users reach the UI and API only through a reverse proxy, where TLS ends and SSO is checked. Remote write to your own long term store is optional and stays inside the boundary. In the managed model, targets or agents send remote write to the provider endpoint, and the provider's storage, query and alert routing sit behind the provider's boundary. Confirm in writing where the provider terminates TLS and how it checks credentials.
The self-hosted path stays inside your network while managed data crosses to the provider.
What self-hosted Prometheus security settings your team must own
Self-hosting Prometheus makes your team the owner of every access control a managed service would otherwise set for you. Start with transport. Prometheus supports TLS and client certificate authentication with TLS 1.2 as the minimum, and HTTP basic authentication with bcrypt-hashed passwords. Basic authentication without TLS exposes credentials in cleartext, so enable the two together or not at all. Prometheus has no built-in single sign-on and no built-in CSRF protection on mutating endpoints, so plan an authenticating reverse proxy in front of the web UI and API to supply SSO, and test that the proxy enforces login on every path. Keep --web.enable-admin-api and --web.enable-lifecycle off unless a runbook needs them, since the first enables destructive operations and the second enables reload and shutdown endpoints. Confirm how each managed vendor handles TLS versions, client certificates and SSO.
Exporters widen the attack surface in a way that is easy to miss. The security model warns that exporters such as SNMP and Blackbox take their targets from URL parameters, so anyone with HTTP access to one can make it send requests to arbitrary endpoints. Treat every exporter as a request-forging surface: bind it to the scrape network, require TLS and authentication where the exporter supports them, and limit which hosts and service accounts can reach it. Make this part of the review for each new exporter, since the scrape configuration is easy to extend and the network rules are easy to forget. Ask each managed vendor how it isolates customer scrape paths, whether its hosted collectors accept target parameters from customers, and what outbound destinations it allows.
Prometheus local storage is not clustered or replicated, so run it like any other single-node database. It writes its time series data to the local disk of one server, organized into two-hour blocks with a write-ahead log, and retains data for 15 days by default, configurable by time or size. That leaves backup, disk sizing for your chosen retention, and recovery design with your team. Decide in advance whether a failed server is rebuilt from configuration with a gap in history or restored from a backup, how long data must survive, and whether remote write to long-term storage is part of the design. Confirm with each managed vendor what it replicates, how long it retains data by default, and what recovery point it commits to.
What your team runs in each model
This table compares what your team operates in each model, row by row, from sizing and upgrades through alerting, access, exporters, retention and paging. Read the self-hosted column as the work that stays with you, and the managed column as the items the provider typically runs, each of which you should confirm in writing. The main takeaway is that a managed service shifts platform operations, but rules, scrape or remote write config, alert routes and access stay with your team in both models.
| Area | Self-hosted Prometheus | Managed Prometheus |
|---|---|---|
| Server sizing and disks | Your team sizes CPU, memory and disks for retention and churn. Local storage is not clustered or replicated. | Provider typically sizes and runs the storage tier. Confirm capacity limits, instance sizing and disk expansion in writing. |
| Prometheus upgrades | Minor release every 6 weeks; bug fixes generally stop after 6 weeks. LTS 3.13 supported until July 31, 2027. | Provider typically schedules and applies upgrades. Confirm upgrade windows, advance notice and rollback in writing. |
| LTS version choice | Pick LTS 3.13 (supported until July 31, 2027); LTS 3.5 reached end of life July 31, 2026. | Provider typically chooses the release line. Confirm which Prometheus version runs and its end-of-support date in writing. |
| Alertmanager cluster and routing | Your team runs Alertmanager cluster flags, routes and silences. Point Prometheus at every Alertmanager instance directly. | Provider typically hosts the alert pipeline. Confirm who owns routes, receivers and high availability behavior in writing. |
| Reverse proxy and SSO | Your team adds an authenticating reverse proxy, since Prometheus has no built-in SSO. | Provider typically exposes the endpoint. Confirm which SSO methods are supported and who sets access roles, in writing. |
| Exporter fleet | Your team installs, patches and secures each exporter. Restrict HTTP access to SNMP and Blackbox exporters. | Your exporters and targets usually stay in your estate. Confirm which agents the provider supports and who patches them. |
| Backup and retention | Your team sets retention, snapshots and off-host copies. Default local retention is 15 days. | Provider typically sets retention tiers. Confirm retention periods, backup scope and restore testing in writing. |
| On-call response | Your team owns pages for Prometheus, Alertmanager, exporters and full disks. | Provider typically handles platform incidents. Confirm response times, escalation paths and what alerts you still own. |
Which costs recur in self-hosted vs managed Prometheus
Self-hosted Prometheus has no license fee, since the project is Apache-2.0 licensed and no paid enterprise edition exists. Recurring cost therefore comes from the infrastructure you run, the people who keep it current and any support you buy. The initial build is a one-time cost, while upgrades and on-call repeat for the life of the system.
- Servers and disks: Local storage scales with the number of series you ingest, the labels on each series (label cardinality) and retention length. The default retention is 15 days, and longer retention, more scrape targets or a second replica for high availability all add disk and memory.
- Staff time for upgrades and on-call: A new minor release cycle begins every six weeks, and a minor release generally stops receiving bug fixes after that window. Long-term support releases receive bug fixes for one year, and the current LTS line is 3.13, supported until July 31, 2027. Someone must schedule upgrades, test alert rules and answer pages.
- One-time implementation: Scrape configuration, service discovery, Alertmanager clustering, TLS and client certificates, and an authenticating reverse proxy for SSO are mostly built once. Changes to them recur as your estate grows.
- Optional support retainer: DeployOpen offers ongoing support, upgrades and continuous testing as retainers. Whether one is worth buying depends on how much upgrade and on-call work your own team can absorb.
Before comparing totals, confirm your current series count, label cardinality, retention target and number of scrape targets, since these drive most of the infrastructure line.
A managed Prometheus service shifts most of the server, storage and upgrade work to the vendor, but its recurring charge follows the vendor's billing model. This page does not state vendor prices, so confirm the billing units on the vendor's own price sheet before you model a year of spend. Integration and migration are usually one-time costs, while usage charges recur every billing period.
- Billing units: Confirm whether the vendor bills on ingested samples, active series, queries, retention or regions, or a combination. Each unit responds to different behavior, so a debugging metric or a new cluster can move the bill in one model and barely change it in another.
- Data transfer: Confirm whether data sent from your network, or moved between regions, carries a separate charge, and whether that charge applies to your current region layout.
- Integration work: Connecting remote write, scrape targets, Alertmanager routing, SSO and exporters is a one-time project, but it recurs each time you add a cluster, team or environment.
- Migration: Moving existing alert rules, dashboards and history into the service is a one-time effort. Ask who performs it and whether historical data is imported at all.
- Cost drivers: High label cardinality, long retention, more regions and heavier query load push up whichever units apply. Ask the vendor to show how each one changes the estimate.
Check the vendor's estimate against your current series count and retention, and ask what happens to exported data if you leave.
This comparison states no prices for either model, and DeployOpen does not publish a price list. A quote from DeployOpen follows the written scope, with deliverables and timelines agreed before work starts. Use the checklist below to put a managed service quote and a self-hosted estimate on the same terms, built from the same workload.
- Billing units and allowances: The unit the vendor charges on, what is included, how overage is counted and how series or samples are measured.
- Data transfer and regions: Which transfers are charged, which regions store your data and whether moving to another region carries a fee.
- Retention and export: Included retention, the price of longer retention and the format and cost of exporting data when you leave.
- Upgrades, support and response: Who applies upgrades, how much notice you receive and what response commitments appear in the signed contract.
- Migration and exit: Who performs migration in and out, what each costs and which parts are one-time or recurring.
For a DeployOpen quote, start with the written scope, then give every shortlisted vendor the same series count, retention target, region list and target count.
Migrating between self-hosted and managed Prometheus in both directions
This sequence moves scrape jobs, rules, alert routes and history from one Prometheus to the other while both run, so each change is checked before the old side goes quiet. It works in either direction, and the step that needs the most care is deciding which history crosses over.
Confirm PromQL and remote write compatibility
Before anything moves, the platform owner asks the target provider or project which PromQL functions and remote write protocol version it accepts, then tests your most important dashboard queries and alert expressions against it. Your own rule files are the best test set because they show which functions you actually depend on. Done means a written list of gaps, with each gap either accepted or fixed in the rule files, and the provider has confirmed the remote write details in writing. Do not start the parallel run until that list is signed off.
Inventory and port scrape configs, rules and routes
The team that owns the source Prometheus exports its scrape configs, recording and alerting rule files, and Alertmanager routes, receivers, inhibition rules and silences. Each scrape job is matched to its targets, its owner and its alert route, and any service discovery dependency the target cannot reach is flagged. The same definitions are then recreated on the target, with credentials moved into that platform's secret handling. Done means a checklist in which every job, rule group and route has a named owner and a matching entry on the target.
Run both sides in parallel through remote write
The source sends samples to the target through remote write while both platforms keep scraping. If the source cannot send samples out, the fallback is dual scraping, where both platforms pull from the same exporters and endpoints. The platform owner watches ingestion errors, dropped samples and label differences on the target during this period. Done means the target holds samples for every job in the inventory across a window the team agrees in writing, with no unexplained gaps in the series.
Compare query results and alert behavior
Run the dashboard queries, recording rules and alert expressions on both sides over the same time windows and compare the results. Differences in rate windows, staleness handling and label sets are common causes of mismatches, and each one should be explained before cutover. Fire a test alert on both sides and confirm that the same routes, grouping and silences apply on the target's Alertmanager. Done means a sign-off record lists each dashboard and alert with its match status and any accepted differences, approved by the on-call and service owners.
Decide which history moves and confirm import
Prometheus keeps local data for 15 days by default, and remote write forwards new samples as they arrive, so older history stays on the source unless you deliberately move it. Decide which history the business, incident reviews and auditors need, then ask the target whether it accepts imported historical data and in what format. If it does not, the source becomes the historical record for that window. Done means a written decision names each data set, its destination and the team that will query it.
Cut over alert routes and dashboards
Point dashboards at the target's data source and move alert delivery to the target's Alertmanager in one planned change. Until that switch, only one side should page, so the on-call team does not receive duplicate alerts. For a self-hosted Alertmanager cluster, Prometheus should point at every instance rather than a load balancer, as the Alertmanager documentation describes. Done means a test alert from each critical rule reaches the paging tool once, and dashboards load from the target without errors.
Decommission the old side and keep audit data
Once the target has run cleanly and the sign-offs are on file, stop scraping on the old side and archive what auditors or incident reviews will ask for: configuration, rule and route history, alert records, sign-off records and any exported data. Confirm the retention period with your compliance team, since it depends on the frameworks and contracts that apply to you. Keep read access to the archive and document where it lives. Done means the old instance no longer scrapes or alerts, the archive has been opened and verified, and the decommissioning record names an owner.
Questions buyers ask before choosing or hiring help
What drives the cost of self-hosted versus managed Prometheus?
Self-hosted Prometheus has no license fee, because Prometheus is Apache-2.0 licensed and has no paid enterprise edition, so the cost comes from infrastructure, storage, implementation and the people who run it. The main drivers are the number of active series and the scrape interval, which set memory and disk use; how long you keep data, since local retention defaults to 15 days and longer retention usually means adding external long-term storage; the size of the on-call rota; and the work of building integrations and alert routing. A managed service charges through its own pricing model, so compare both options against the same workload. Ask any managed vendor for a written quote that states its metering unit, retention period, query limits and support terms. Ask DeployOpen for a fixed-scope quote built from a written list of targets, retention needs and integrations.
How much operating effort does self-hosting Prometheus take?
Self-hosting Prometheus takes steady operating effort after the first deployment, and the effort grows with the number of servers, storage volumes and alert paths you run. Local storage is not clustered or replicated, so you manage it like any single-node database, including disk growth, backups and restore tests. Alertmanager can run as a cluster, and Prometheus should be pointed at every Alertmanager instance. Your team needs skills in:
- Kubernetes or virtual machine operations, to run Prometheus, Alertmanager and exporters and to restart or replace them
- Storage, to size disks, set retention and plan for the loss of a single server
- TLS and identity, since TLS 1.2 is the minimum, and single sign-on requires an authenticating reverse proxy in front of the UI and API
- On-call, for alert routing, silences and paging
The Prometheus storage documentation explains the storage limits in detail. Assign a named owner to each item before you commit to a self-hosted design.
How long does a Prometheus migration take?
The timeline depends on the scope agreed in writing before work starts, so no general duration applies. The scope sets how many targets, dashboards, alert rules and exporters move, and whether existing history is imported. Most engagements are fixed-scope, so the timeline and deliverables are written into the agreement. Effort rises when alert rules depend on labels that differ between systems, when dashboards rely on functions that need rework, or when retention must be preserved through cutover. Ask for the scope items, the cutover plan, the rollback steps and the acceptance tests in the proposal, and confirm which of them the timeline covers.
Can an in-house team run Prometheus without outside help?
Yes, if the team already runs the surrounding stack and has the skills to match. A team that operates Kubernetes or virtual machines, manages storage and backups, handles TLS certificates and identity, and staffs an on-call rota can usually deploy Prometheus, Alertmanager and exporters itself. Gaps tend to appear in three places: identity integration, since Prometheus has no built-in single sign-on; hardening, since admin HTTP APIs are disabled by default and must be enabled deliberately; and long-term storage design. Exporters such as SNMP and Blackbox take targets from URL parameters, so limit who can reach them over HTTP. The Prometheus security model lists these controls. Map your team against this list before you decide.
Does moving to a managed Prometheus service lose history or PromQL behavior?
It can, and the answer depends on the vendor's supported APIs, remote write support and whether it imports existing history. PromQL is the query language of Prometheus, so check whether the service exposes a Prometheus-compatible query API and which PromQL behavior it follows. Confirm in writing whether the service accepts remote write from your existing servers, whether it can import historical data, and how long it keeps data after import. Check recording rules, alert rules and Alertmanager routing too, since these often need to be re-created. Run the same dashboards and alert expressions against both systems during a parallel period and compare the results. Prometheus values reliability over precision, so expect small differences in some calculations.
What does DeployOpen do, and what does it need from my team?
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including your cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and the quote follows from that scope. For Prometheus, that can include identity integration, access control and documentation that your security and compliance teams can review. Ongoing upgrades and continuous testing are available as retainers. From your side, expect to provide access to the target environment, named owners for alert routing and on-call, your retention and identity requirements, and decisions on the scope items. DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications.
How DeployOpen scopes and supports self-hosted Prometheus
DeployOpen runs self-hosted Prometheus inside your own cloud accounts, data centers or air-gapped networks, and scopes the work in writing before it starts. The written scope states which parts DeployOpen builds, hardens, documents and hands over, and which parts your team runs. Ongoing upgrades and continuous testing are available as retainers.
How we scope
- The written scope names which Prometheus servers, exporters, Alertmanager instances and remote write targets are in use.
- Scope states who runs each piece: DeployOpen's work, your team's work, and any third-party long-term storage.
- Deliverables and timelines are agreed in writing before work starts, so you can review them against your own requirements.
How we build
- Install and configure Prometheus with service discovery, scrape jobs and alerting rules matched to your target inventory.
- Configure Alertmanager cluster members and point Prometheus at every Alertmanager instance directly.
- Add SSO through an authenticating reverse proxy, because Prometheus has no built-in single sign-on.
How we hand over
- Documentation covers the scrape config, retention settings, alert routing and the reverse proxy and SSO setup.
- Hardening record lists TLS settings, basic auth decisions and whether the admin and lifecycle endpoints are enabled.
- Runbook covers local storage sizing, backup of the TSDB, and the upgrade path across Prometheus minor and LTS releases.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Ask how a retainer tracks Prometheus LTS support windows, such as the 3.13 line supported until July 31, 2027.
- Security testing of the Prometheus setup, including exposed exporters and admin endpoints, can be scoped as a separate engagement.

