Calculate Prometheus Storage Before Comparing VPS Prices
A cheap Prometheus VPS is only cheap when its local disk can hold the planned retention window. Prometheus does not publish one universal CPU or RAM minimum. It does publish a storage formula: retention time multiplied by ingested samples per second multiplied by roughly 1 to 2 bytes per sample.
That makes the buying order straightforward:
- Estimate samples ingested per second.
- Choose the retention period.
- Calculate the time-series database estimate.
- Leave space for the operating system, write-ahead log, memory-mapped head chunks and compaction.
- Only then compare the VPS price and checkout total.
This page is a source review and planning calculation, not a provider benchmark. We did not run the same Prometheus workload across these five providers, so we do not claim a performance winner.
The storage calculation that changes the decision
Prometheus documents an average of 1 to 2 bytes per stored sample. Applying its formula produces the estimates below.
| Ingested samples each second | 15-day sample data | 30-day sample data |
|---|---|---|
| 1,000 | 1.21 to 2.41 GiB | 2.41 to 4.83 GiB |
| 5,000 | 6.03 to 12.07 GiB | 12.07 to 24.14 GiB |
| 10,000 | 12.07 to 24.14 GiB | 24.14 to 48.28 GiB |
These values cover sample data from the published formula. They are not complete disk allocations. Prometheus also counts the write-ahead log and memory-mapped head chunks, and compaction can temporarily keep old and new blocks at the same time. Its storage documentation recommends setting the retention-size limit to no more than 80 to 85 percent of the disk allocated to Prometheus.
For example, a 25 GiB system disk may look sufficient for 5,000 samples per second over 30 days when only the lower estimate is considered. It becomes a poor fit once the upper estimate, operating system and compaction margin share the same disk. A 50 to 65 GiB plan leaves more room, while a 100 GiB plan supports either more retention or more ingest before resizing. This is an inference from the official formula and advertised disk sizes, not a measured capacity guarantee.
Five provider paths after the calculation
The table uses current official provider pages and catalogs checked on 21 October 2026. Prices, taxes, regions and promotions can change. Follow the current-offer link and verify the complete checkout before ordering.
| Provider path | Current fact relevant to Prometheus | Where it fits | Constraint to verify | Current offer |
|---|---|---|---|---|
| Contabo Core VPS 4 | The regional pricing page lists 8 GB RAM and 100 GB SSD | Longer local retention when the shared-resource model fits | Region, term, promotional price and fair-use conditions | Check Contabo plans |
| Hetzner Cloud | Shared and dedicated plans are separate, and a Prometheus one-click app is available | Buyers who want a current plan sized in the chosen location | Exact plan availability, disk, Primary IP and location-specific checkout total | Check Hetzner Cloud |
| DigitalOcean Basic | The current table lists 2 GB RAM, 1 vCPU and 50 GB SSD at 12 USD per month | A small deployment whose calculated disk use fits below the 50 GB system disk | Backup cost, region availability and actual memory use | Check DigitalOcean Droplets |
| Vultr Cloud Compute | Vultr’s Prometheus guide calls for at least 2 GB RAM and 2 CPU cores for production; its public catalog lists that 65 GB SSD plan at 15 USD per month | Buyers who want the provider’s Prometheus marketplace path | The resource floor is Vultr guidance, not a universal Prometheus requirement | Check Vultr plans |
| Akamai Cloud Shared CPU | Shared CPU starts at 5 USD per month with 1 GB RAM, 25 GB storage and 1 TB transfer | Evaluation or a measured light workload that fits the small disk | One gigabyte is not a documented Prometheus production recommendation | Check Akamai Cloud plans |
Affiliate disclosure: These five current-offer links are affiliate links. SelfHostVPS may receive compensation if you order through them, at no additional cost to you. Compensation does not change the storage calculation or the limitations stated here.
Which plan class should you start with?
Use the smallest class that leaves a real disk margin after the calculation, then observe the workload before extending retention.
- Evaluation: A 25 GB disk can hold a short, low-ingest evaluation, but it leaves limited shared space for the operating system and compaction. Do not treat a low entry price as proof that memory is sufficient.
- Small monitored environment: A 50 to 65 GB disk is a more defensible starting class when the estimate approaches 10 to 25 GiB. DigitalOcean’s 50 GB Basic plan and Vultr’s 65 GB plan are concrete current examples, not blanket recommendations.
- Longer retention on one node: Contabo’s listed 100 GB system disk provides more local space, but shared CPU behavior, region, contract terms and fair-use rules still need checking.
- Sustained CPU or larger ingest: Compare a dedicated CPU plan or separate the storage architecture instead of assuming that a larger shared plan will behave like dedicated compute.
Hetzner belongs in the shortlist when its location and live configuration fit, but its public page loads plan prices dynamically and Primary IP cost is separate. Copying one static number would create another stale comparison. Use the live calculator with the calculated disk target.
What to measure during the first week
Prometheus exposes the information needed to replace estimates with observations. Record these values before buying a longer commitment or increasing retention:
- current ingested samples per second;
- active series and head-series growth;
- actual TSDB directory size;
- write-ahead log and head-chunk peaks;
- compaction duration and temporary disk headroom;
- process memory and CPU during scrapes, rule evaluation and compaction;
- failed scrapes, query latency and disk saturation.
If disk use grows faster than planned, first check sample volume, high-cardinality labels, scrape intervals and retention. Adding storage without addressing accidental cardinality only delays the next capacity problem.
The Prometheus VPS requirements guide explains the workload variables in more detail. Use the Prometheus installation guide for setup, and compare the broader provider choices in Best VPS for Prometheus. If Grafana shares the server, size its process separately with the Grafana server requirements guide.
Local disk, retention and backups
Prometheus stores local time-series data in two-hour blocks and protects recent data with a write-ahead log. The project warns that local storage is not clustered or replicated and does not support NFS for the local time-series database. Choose local SSD or equivalent supported block storage rather than mounting an NFS share as the Prometheus data directory.
Retention defaults to 15 days when neither time nor size retention is configured. If both are set, the first limit reached wins. A size limit is useful on a shared system disk, but it should leave the documented compaction buffer.
Local storage is also a single-node failure domain. Prometheus recommends snapshots for backups because copying files without a snapshot can omit data recorded since the last block. A provider snapshot can protect the virtual disk, but verify restore behavior and understand whether the snapshot is application-consistent. Remote write is a separate architecture decision, not a free backup switch.
Keep the monitoring endpoint private
Prometheus warns that its HTTP, API, metrics and profiling endpoints should not be exposed directly to the public internet without appropriate controls. The server contains information about monitored systems and can be overloaded through accessible endpoints.
Bind access to a private network, VPN or restricted reverse proxy. When the web interface must be reachable remotely, use TLS and authentication and restrict administrative endpoints. Prometheus supports a web configuration file for TLS and basic authentication. Basic authentication without TLS sends credentials in clear text, so the two controls belong together.
FAQs
-
How much disk does Prometheus need? Use the official estimate: retention seconds multiplied by ingested samples per second multiplied by roughly 1 to 2 bytes per sample. Then add the operating system, write-ahead log, head chunks and compaction margin. The sample-data calculation alone is not the complete VPS disk requirement.
-
Is 1 GB RAM enough for Prometheus? Prometheus does not publish one universal memory minimum. Memory depends heavily on active series, labels, scrape behavior and queries. A 1 GB plan can be an evaluation candidate, but only observation of the actual workload can establish whether it is sufficient.
-
Can Prometheus use NFS for its data directory? No. The official storage documentation warns that NFS is not supported for local Prometheus storage because non-POSIX behavior can cause unrecoverable corruption. Use supported local storage and a separate backup or remote-storage design.
-
Should I choose the provider with the most RAM per dollar? Not by itself. First check calculated disk need, resource-sharing model, region, backup cost, IP cost and checkout terms. Then measure CPU and memory with the real workload. An oversized plan does not correct excessive cardinality or an unsafe public endpoint.
-
Why not keep the old under-6-dollar comparison? Current official offers no longer support an honest like-for-like list at that threshold. Some entry plans have too little disk margin for a stated retention target, and taxes, regions, IPs, backups and promotions change the total. A workload calculation remains useful after the headline price changes.
Official sources
Prometheus and provider facts were checked on 21 October 2026.
- Prometheus local storage and retention
- Prometheus security model
- Prometheus configuration reference
- Prometheus TLS and authentication guide
- Hetzner Cloud plans and calculator
- Hetzner cloud server overview
- DigitalOcean Droplet pricing
- Contabo regional pricing
- Vultr Prometheus marketplace guide
- Vultr public plan catalog
- Akamai Cloud compute plan types