Can You Mine Crypto on a VPS?

By Nate Corwin · Updated 2026 · self-hosting practitioner since 2017

This article contains no affiliate links. No VPS provider we recommend offers mining-friendly shared VPS plans.

Short answer: no. Every major VPS provider explicitly bans cryptocurrency mining. Hetzner went further — in November 2022, they terminated over 1,000 Solana validator nodes in a single enforcement sweep, temporarily knocking out roughly 20% of Solana's stake-weighted validators. The bans cover both Proof-of-Work mining (which consumes enormous CPU) and, at providers like Hetzner, Proof-of-Stake validation (which barely uses any CPU at all). If you're searching for a VPS to mine on, this article will save you the suspension notice.

Why providers ban mining

The ban isn't ideological — it's operational. Mining creates specific problems for shared VPS infrastructure:

Provider policy map

Here's what each major provider's AUP actually says about cryptocurrency mining, with direct quotes where available:

ProviderMining policyPoS included?AUP language
HetznerBannedYesAll crypto operations prohibited, including PoS validation
DigitalOceanBannedUnclearProhibits crypto mining explicitly
VultrBannedUnclearProhibits cryptocurrency mining
ContaboBanned (VPS)VariesBanned on VPS; allowed on dedicated servers with restrictions
OVHcloudBanned (VPS)UnclearProhibited on VPS/Public Cloud; bare-metal may differ
AWSBannedUnclearAUP prohibits workloads that disrupt services
AzureBannedUnclearProhibits automated processes disrupting service
BuyVMSilentNo mention of cryptocurrency in AUP
Linode/AkamaiGray zoneNo explicit ban; dedicated CPU plans may tolerate PoS

"Banned" means the AUP explicitly prohibits mining. "Silent" means mining isn't mentioned — which is not the same as "allowed." Providers with no explicit policy can still terminate your account under general "excessive resource usage" or "service disruption" clauses.

The Hetzner-Solana incident

In November 2022, Hetzner enforced their mining ban against Solana validators in a single coordinated action. The numbers were staggering: over 1,000 Solana validator nodes were terminated, representing roughly 20% of the network's stake-weighted validators. The Solana network continued operating — it's designed for node churn — but the incident exposed how concentrated Solana's infrastructure was on a single hosting provider.

The significance wasn't just the scale. It was what Solana validators were running: Proof-of-Stake validation, not Proof-of-Work mining. PoS validation uses moderate CPU (nothing like PoW mining) and was arguably a legitimate server workload. But Hetzner's policy draws no distinction — all cryptocurrency-related operations are prohibited, regardless of CPU impact.

The Solana community's response was to diversify hosting away from any single provider. But the lesson for individual users is simpler: Hetzner means it. If your workload involves cryptocurrency in any form — mining, validating, running a node — Hetzner will find it and terminate it.

PoW vs PoS — providers don't always distinguish

Proof-of-Work mining (Bitcoin, Monero, Litecoin) and Proof-of-Stake validation (Ethereum, Solana, Cardano) are fundamentally different workloads:

AspectProof-of-WorkProof-of-Stake
CPU usage100% continuous5-30% intermittent
PurposeSolve hashes to earn rewardsValidate transactions, earn staking rewards
VPS viabilityNever profitable (GPU/ASIC-only)Can be viable on dedicated CPU
Provider concernCPU/electricity abuseVaries — some see it as legitimate compute

From a provider's perspective, PoW mining is straightforward to ban — it's an abuse of shared resources. PoS validation is more nuanced. A Solana validator uses CPU more intensively than a typical web server but less than video transcoding or machine learning training. Yet Hetzner bans both. Other providers (DigitalOcean, Vultr) prohibit "mining" without clarifying whether PoS validation counts.

If you're running a PoS validator, don't assume you're safe just because your CPU usage is moderate. Read the specific AUP language. If it says "cryptocurrency" broadly, not just "mining" specifically, PoS validation is within the ban.

How they detect it

Providers don't manually inspect your VPS. Detection is automated through several methods:

Detection typically leads to a warning email with 24-48 hours to comply, followed by suspension. Some providers (Hetzner, OVH) have suspended without warning. Data is usually preserved for a retrieval window, but don't count on it.

Where you actually can mine

Mining on a shared VPS is economically irrational regardless of policy — the VPS cost exceeds mining revenue for any coin on CPU. But if you're running a PoS validator or blockchain node, your options are:

Dedicated servers (bare metal)

Some providers that ban mining on VPS allow it (or tolerate it) on dedicated servers where you're the only tenant. Contabo's dedicated servers may allow mining workloads not permitted on their VPS. OVHcloud's bare-metal range has different terms than their VPS/cloud products. Always verify the specific terms for the product type you're buying.

Crypto-friendly providers

A small number of providers market specifically to blockchain workloads. These tend to be smaller, niche operations with higher prices. Search for "blockchain hosting" or "validator hosting" rather than generic VPS providers. The Solana and Ethereum communities maintain lists of validator-friendly hosting.

Colocation

Bring your own hardware to a data center. You own the machine, the data center provides power, cooling, and network. No AUP restrictions on what you run because it's your hardware. This is the path for serious mining or validation operations.

FAQ

Can you mine crypto on a VPS?

Not on any major provider. Hetzner, DigitalOcean, Vultr, Contabo, OVH, AWS, and Azure all explicitly ban cryptocurrency mining. Enforcement is automated (CPU monitoring, process scanning, network analysis). Even if policy didn't prohibit it, the economics don't work — VPS costs exceed mining revenue on CPU.

Does Hetzner allow Solana validators?

No. Hetzner bans all cryptocurrency operations including PoS validation. In November 2022, they terminated 1,000+ Solana validators in a single sweep. The ban covers mining, validating, and running any blockchain node.

Which VPS providers allow mining?

No major provider explicitly allows mining on shared VPS. BuyVM's AUP doesn't mention cryptocurrency (silent, not explicitly allowed). For PoS validation, dedicated servers from Contabo or specialized blockchain hosting providers are the practical options. For PoW mining, colocation with your own hardware is the only viable path.