<p>Hosting Bitcoind on a VPS is a <strong><em>very bad idea</em></strong>. I cannot stress this enough. The VPS provider will not have adequate security standards. You increase your risk profile <em>dramatically</em> as the combination of software running on the host server can cause a problem for you and your users. Please. Don't.</p>

<p>That said, if you do want to, it all depends on how transactions will be dealt with in the future. As a VPS is usually fairly flexible I'd take about twice the blockchain now, and just upgrade when you're above 80% disk space usage. That gives you some wiggle room.</p>

<p>You may consider using a light client, perhaps with increased connection count (more than 8). That will totally remove your disk space hunger and it's reasonably secure.</p>

CC BY-SA 3.0
2014-03-15T01:22:52.007Z
2014-03-15T01:22:52.007Z
Lodewijk
<p>The blockchain will be the most expensive part of you cost if going the VPS route; disk usage will only increase where as RAM &amp; CPU stats will stay ruffly the same. I'd shoot for ruffly 100-120gigs of disk space available so that your hosting costs don't change for a while; makes keeping the books in order a bit easier. Also look for hosting providers that state they don't limit/cap network usage and hosting providers that support loading your own kernels. This last suggestion is because after reading the previously written comments it's obvious that you'll use a VPS regardless of warnings and you'll want to minimize attack surface from the Kernel level on up to file system and beyond.</p>

<p>As far as suggestions of VPS service provider, supposedly <a href="https://www.digitalocean.com/community/questions/no-custom-kernels" rel="nofollow noreferrer">Digital Ocean</a> supports custom kernels if you submit a support ticket. They also don't cap network data usage last I checked. While I may not be using them right now I've tried their service and my experiences with them was good. Most issues/questions I had where answered (or at the very least recognized by staff if it was going to be a bit to get back to me) within the a business day or two.</p>

<p>Last point on security for your VPS, ya may want to check into <a href="https://grsecurity.net" rel="nofollow noreferrer">grsecurity</a> kernel patch and how to merge it's features into the kernel of your choice. It's tough to setup but very much worth it to have some protection at the very lowest levels accessible on your remote server.</p>

<h2>Edits/updates</h2>

<p>So after a little messing round at the terminal I found the following scriptlet maybe helpful in notifying you when space limitations are nearing the time of upgrading vpn storage.</p>

<pre><code>#!/usr/env/bin bash
Var_mount="/media/btc_node"
Var_max_percent="80"
Var_current_present="$(df -H | grep "$Var_mount}" | awk '{print $5}')"
if [ "${Var_current_present//%/}" -gt "${Var_max_percent}" ]; then
    # put stuff to warn ya like mail here
    echo "# Critical space levels on ${Var_mount} ${Var_current_present}"
fi
</code></pre>

<p>The above could be further modified and added to cron to occasionally check and warn you of when upgrade to space will be needed.</p>

CC BY-SA 3.0
2016-11-07T23:36:05.107Z
I'm a bit confused at the "60gigs". Are you suggesting that the asker runs in pruning mode, or are you unaware that the blockchain is already 89gigs in size?
Murch
CC BY-SA 3.0
2016-11-08T02:35:27.247Z
Oh dang, I'll up the suggested size to 100 then. Last time I set up a node was with a terabyte of storage behind me (grabbed a few blockchains) and haven't really looked at the space usage since.
S0AndS0
CC BY-SA 3.0
2016-11-07T22:30:31.667Z
2016-11-10T23:02:41.103Z
2016-11-10T23:02:41.103Z
S0AndS0
<p>Bitcoin will definitely keep on eating the memory as the blocks and transaction increases search for cheap offshore cloud hosting located in Netherlands you will get good price there. Do not concentrate on RAM or other specs because I think 1GB is sufficient to run single daemon so look out for a provider who provide much space in less money. </p>

CC BY-SA 3.0
2014-01-13T23:44:49.013Z
Any sugestions on VPS providers?
André
CC BY-SA 3.0
2014-01-13T23:45:10.143Z
If you are dutch you can find good reliable hosting there in your neighborhood only. Who knows someone have server in their house(LOL) http://www.interserver.net/dock/interserver.html?gclid=CJuNydyq_LsCFQcB4godFgkAHg

http://vmbox.co
Khan Shahrukh
CC BY-SA 3.0
2014-01-14T14:31:08.133Z
or Windows Azure lets you host Windows or Linux VPSes. It's a bit more expensive, but it's quite reliable, and Microsoft aren't going to get hacked and lose your credit card details like lots of smaller companies might.
Matt
CC BY-SA 3.0
2014-03-15T01:24:30.890Z
Yes, Microsoft, too, will get hacked. It's not something bad about them, it just happens with enough code of some complexity. That's why you should minimize your attack profile, those things that have to be secure in order for you to be secure. Let me say that again: Microsoft will get hacked.
Lodewijk
CC BY-SA 3.0
2014-01-13T23:33:16.480Z
2014-01-13T23:33:16.480Z
Khan Shahrukh
<p>I need to host a Bitcoind on a VPS. </p>

<p>My main issue is the disk space strategy. I don't know the amount of MB the blockchain adds per day or per month.</p>

<p>On my disk I have 26GB of disk spent for the Bitcoin installation. There are some numbers about ho much the blockchain will add in disk space over time?</p>

<p>I'm also looking for VPS with a lot of disk space on the cheap. If you have some advise on this, I will appreciate.</p>

<p>Best Regards,</p>

CC BY-SA 3.0
2014-01-13T23:39:44.000Z
The growth of the block chain depends on the number of transactions made, which in turn depends on how popular Bitcoin becomes. Obviously that's a very difficult thing to predict.
Nate Eldredge
<blockchain><bitcoind>
Bitcoind server strategy. How much disk space?
André
# Bitcoind server strategy. How much disk space?

(Asked by: username_0 on 2014-01-13)

I need to host a Bitcoind on a VPS.

My main issue is the disk space strategy. I don't know the amount of MB the blockchain adds per day or per month.

On my disk I have 26GB of disk spent for the Bitcoin installation. There are some numbers about ho much the blockchain will add in disk space over time?

I'm also looking for VPS with a lot of disk space on the cheap. If you have some advise on this, I will appreciate.

Best Regards,

**Tags:** blockchain, bitcoind

> **Comments:**
> **username_1**: The growth of the block chain depends on the number of transactions made, which in turn depends on how popular Bitcoin becomes. Obviously that's a very difficult thing to predict.  

---

## 3 answers

### Answer by username_2 on 2014-03-15. Score: 4

Hosting Bitcoind on a VPS is a ***very bad idea***. I cannot stress this enough. The VPS provider will not have adequate security standards. You increase your risk profile *dramatically* as the combination of software running on the host server can cause a problem for you and your users. Please. Don't.

That said, if you do want to, it all depends on how transactions will be dealt with in the future. As a VPS is usually fairly flexible I'd take about twice the blockchain now, and just upgrade when you're above 80% disk space usage. That gives you some wiggle room.

You may consider using a light client, perhaps with increased connection count (more than 8). That will totally remove your disk space hunger and it's reasonably secure.


---

### Answer by username_3 on 2016-11-07. Score: 0

The blockchain will be the most expensive part of you cost if going the VPS route; disk usage will only increase where as RAM & CPU stats will stay ruffly the same. I'd shoot for ruffly 100-120gigs of disk space available so that your hosting costs don't change for a while; makes keeping the books in order a bit easier. Also look for hosting providers that state they don't limit/cap network usage and hosting providers that support loading your own kernels. This last suggestion is because after reading the previously written comments it's obvious that you'll use a VPS regardless of warnings and you'll want to minimize attack surface from the Kernel level on up to file system and beyond.

As far as suggestions of VPS service provider, supposedly [Digital Ocean](https://www.digitalocean.com/community/questions/no-custom-kernels) supports custom kernels if you submit a support ticket. They also don't cap network data usage last I checked. While I may not be using them right now I've tried their service and my experiences with them was good. Most issues/questions I had where answered (or at the very least recognized by staff if it was going to be a bit to get back to me) within the a business day or two.

Last point on security for your VPS, ya may want to check into [grsecurity](https://grsecurity.net) kernel patch and how to merge it's features into the kernel of your choice. It's tough to setup but very much worth it to have some protection at the very lowest levels accessible on your remote server.

## Edits/updates

So after a little messing round at the terminal I found the following scriptlet maybe helpful in notifying you when space limitations are nearing the time of upgrading vpn storage.

```
#!/usr/env/bin bash
Var_mount="/media/btc_node"
Var_max_percent="80"
Var_current_present="$(df -H | grep "$Var_mount}" | awk '{print $5}')"
if [ "${Var_current_present//%/}" -gt "${Var_max_percent}" ]; then
    # put stuff to warn ya like mail here
    echo "# Critical space levels on ${Var_mount} ${Var_current_present}"
fi

```

The above could be further modified and added to cron to occasionally check and warn you of when upgrade to space will be needed.

> **Comments:**
> **username_4**: I'm a bit confused at the "60gigs". Are you suggesting that the asker runs in pruning mode, or are you unaware that the blockchain is already 89gigs in size?  
> **username_3**: Oh dang, I'll up the suggested size to 100 then. Last time I set up a node was with a terabyte of storage behind me (grabbed a few blockchains) and haven't really looked at the space usage since.  

---

### Answer by username_5 on 2014-01-13. Score: 0

Bitcoin will definitely keep on eating the memory as the blocks and transaction increases search for cheap offshore cloud hosting located in Netherlands you will get good price there. Do not concentrate on RAM or other specs because I think 1GB is sufficient to run single daemon so look out for a provider who provide much space in less money.

> **Comments:**
> **username_0**: Any sugestions on VPS providers?  
> **username_5**: If you are dutch you can find good reliable hosting there in your neighborhood only. Who knows someone have server in their house(LOL) http://www.interserver.net/dock/interserver.html?gclid=CJuNydyq_LsCFQcB4godFgkAHg  http://vmbox.co  
> **username_6**: or Windows Azure lets you host Windows or Linux VPSes. It's a bit more expensive, but it's quite reliable, and Microsoft aren't going to get hacked and lose your credit card details like lots of smaller companies might.  
> **username_2**: Yes, Microsoft, too, will get hacked. It's not something bad about them, it just happens with enough code of some complexity. That's why you should minimize your attack profile, those things that have to be secure in order for you to be secure. Let me say that again: Microsoft will get hacked.  

---

