1

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,

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. Jan 13, 2014 at 23:39

3 Answers 3

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.

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.

4
  • Any sugestions on VPS providers?
    – André
    Jan 13, 2014 at 23:44
  • If you are dutch you can find good reliable hosting there in your neighborhood only. Who knows someone have server in their house(LOL) interserver.net/dock/… vmbox.co Jan 13, 2014 at 23:45
  • 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
    Jan 14, 2014 at 14:31
  • 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
    Mar 15, 2014 at 1:24
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 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 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.

2
  • 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
    Nov 7, 2016 at 23:36
  • 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
    Nov 8, 2016 at 2:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.