Bitcoin Forum

Economy => Service Discussion => Topic started by: zoinky on October 10, 2012, 04:30:34 AM



Title: Where to host a bitcoind server?
Post by: zoinky on October 10, 2012, 04:30:34 AM
Where do most web services host a reliable bitcoind server to handle their traffic?  Such as SatoshiDice.com, BTCDice.com or any other rapid 0 confirmation service?


Title: Re: Where to host a bitcoind server?
Post by: gweedo on October 10, 2012, 05:22:57 AM
Any VPS will do, but the real question is how to secure a bitcoind, that is most important part.


Title: Re: Where to host a bitcoind server?
Post by: payb.tc on October 10, 2012, 05:39:09 AM
Any VPS will do

some give only 256mb of RAM which is really dodgy for bitcoind... make sure you get AT LEAST 512.


Title: Re: Where to host a bitcoind server?
Post by: ehmdjii on October 12, 2012, 11:00:09 AM
Any VPS will do
some give only 256mb of RAM which is really dodgy for bitcoind... make sure you get AT LEAST 512.

is that the reason why bitcoinmax.com is down after the login page?


Title: Re: Where to host a bitcoind server?
Post by: giantdragon on October 12, 2012, 08:37:06 PM
I host bitcoind on my home PC. Never trust Bitcoin wallet to the hosting company!


Title: Re: Where to host a bitcoind server?
Post by: gweedo on October 12, 2012, 08:49:29 PM
I host bitcoind on my home PC. Never trust Bitcoin wallet to the hosting company!

That is why you have to read TOS, and privacy policies, but if your power or internet goes down then your service is kinda done.


Title: Re: Where to host a bitcoind server?
Post by: giantdragon on October 12, 2012, 10:13:21 PM
That is why you have to read TOS, and privacy policies
Have you ever seen at least one web hosting company who takes any liability in its terms of service?! ;D


Title: Re: Where to host a bitcoind server?
Post by: Lethos on October 12, 2012, 10:25:12 PM
I wouldn't trust to host it in a server, unless I owned that physical server.
Very few know how to keep your bitcoin secure on a server, so It's best to keep it separate and off-site from the main server.


Title: Re: Where to host a bitcoind server?
Post by: gweedo on October 12, 2012, 10:31:38 PM
That is why you have to read TOS, and privacy policies
Have you ever seen at least one web hosting company who takes any liability in its terms of service?! ;D

Liability has nothing to do with this, but if you look at the TOS and privacy policy most web hosting companies can't access your server with out your permission or they need to have a cause to look at the files on it. Also I would never host a hot wallet, from a home network, this just opens you up hackers, where they can get at more of your bitcoins.


Title: Re: Where to host a bitcoind server?
Post by: SätöshiTable on October 12, 2012, 10:32:51 PM
if you have a nice home-connection you could do this:

have your bitcoind on a local machine in your house behind router/firewall and connect it via TOR network TOR HIDDEN SERVICE

then you can install TOR on your web-server and from your web-app you can connect to your homeserver.

this needs the web-app to be able to cope with connection errors... having a list of pre-generated receive-addresses ...

you get the deal...


Title: Re: Where to host a bitcoind server?
Post by: gweedo on October 12, 2012, 10:35:07 PM
Very few know how to keep your bitcoin secure on a server, so It's best to keep it separate and off-site from the main server.

It just takes some research and securing bitcoind is pretty easy, if you know linux. It is best to have a front end machine that does all the web stuff, and bitcoind on it's own vps.


Title: Re: Where to host a bitcoind server?
Post by: markm on October 13, 2012, 03:05:27 AM
Pretty much all the major hacks involved some idiot running bitcoind on a server they did not have physical custody of.

The linode employee who uses their admin interface to steal $80,000 or $250,000 bucks worth of bitcoins doesn't seem to give two shits for any "we will not steal your data" policies their employer might have in their terms of service. There is not really much if any evidence they would give any more or less shits about $80 worth or even $8 worth. (Thought they might lurk watching the small ones, watching for the right moment to catch the wallet at a peak of its value...)

-MarkM-


Title: Re: Where to host a bitcoind server?
Post by: gweedo on October 13, 2012, 03:11:35 AM
Pretty much all the major hacks involved some idiot running bitcoind on a server they did not have physical custody of.

The linode employee who uses their admin interface to steal $80,000 or $250,000 bucks worth of bitcoins doesn't seem to give two shits for any "we will not steal your data" policies their employer might have in their terms of service. There is not really much if any evidence they would give any more or less shits about $80 worth or even $8 worth. (Thought they might lurk watching the small ones, watching for the right moment to catch the wallet at a peak of its value...)

-MarkM-


you do realize in the linode hacks the wallet wasn't encrypted either js


Title: Re: Where to host a bitcoind server?
Post by: markm on October 13, 2012, 03:35:53 AM
Are you suggesting the term idiot was too mild a term?

Or that root does not have access to userspace RAM?

Or both?

-MarkM-


Title: Re: Where to host a bitcoind server?
Post by: Lethos on October 13, 2012, 01:13:27 PM
Very few know how to keep your bitcoin secure on a server, so It's best to keep it separate and off-site from the main server.

It just takes some research and securing bitcoind is pretty easy, if you know linux. It is best to have a front end machine that does all the web stuff, and bitcoind on it's own vps.


Yes, that is all it takes, yet it still happens a lot where the worst still happens.


Title: Re: Where to host a bitcoind server?
Post by: moni3z on October 20, 2012, 09:59:17 PM
Buy a cheap used rack server that is compatible with BSD/Linux and buy cohosting somewhere local where you can get access to your server and back it up encrypted on a regular basis. Where I live it's $40/mth and it sits behind an OpenBSD pfSense firewall with carp. There's also local console access to think about if you don't trust the cohost, plenty of IDS to set up, SElinux MAC, ssh keys ect.

I also like the Tor idea though I imagine that must be crazy slow, could see applications timing out before they reach bitcoind. I'll have to test that


Title: Re: Where to host a bitcoind server?
Post by: byronbb on October 20, 2012, 11:30:10 PM
Use blockchain.info's rpc service? http://blockchain.info/api/json_rpc_api


Title: Re: Where to host a bitcoind server?
Post by: sippsnapp on October 20, 2012, 11:40:10 PM
A vserver should be enough to host bitcoind.
If there is a lack of technical knowledge maybe managed hosting is an option.

As bitcoind is not very bandwidth intense its maybe an option to host it at home on a dedicated machine.


Title: Re: Where to host a bitcoind server?
Post by: zoinky on October 21, 2012, 12:37:55 AM
Use blockchain.info's rpc service? http://blockchain.info/api/json_rpc_api
I get nothing but errors using that with PHP.


Title: Re: Where to host a bitcoind server?
Post by: MPOE-PR on October 22, 2012, 02:33:45 AM
Maybe give BitVPS a try.


Title: Re: Where to host a bitcoind server?
Post by: zoinky on October 23, 2012, 12:53:12 AM
Anyone have experience running it off a EC2 Server on AWS?


Title: Re: Where to host a bitcoind server?
Post by: Seal on February 24, 2013, 08:38:58 PM
Anyone have experience running it off a EC2 Server on AWS?

Anybody? I'm interested in the same.


Title: Re: Where to host a bitcoind server?
Post by: crazy_rabbit on February 24, 2013, 10:20:52 PM
Anyone have experience running it off a EC2 Server on AWS?
Anyone have experience running it off a EC2 Server on AWS?

Anybody? I'm interested in the same.

YES. It works well. You can use Cloud9 to set up very strict access control as well. It's not as cheap as a VPS, but at least you know you're instance is secure.


Title: Re: Where to host a bitcoind server?
Post by: weex on February 24, 2013, 11:28:49 PM
Just to provide a little bit of perspective, you can run a bitcoind on any server you want but you need to manage the funds on that server according to the risk.

On a cheap ass VPS on a host you don't really trust? Keep it to $20 worth or less of BTC on the server.

Running dedis in your network of hardened bunkers? Increase that to $1000-100000 worth (maybe you have real work to do).

It's easy talk to say, "Don't ever store bitcoins on the server" but to not mention risk management and some sense of stored value vs. difficulty of attack is reckless advice.

Wouldn't it be better to build something and get ripped off once for $20 than to get 10% complete on something that is 100% Secure(tm)*?

* exists only in textbooks and back-of-the-envelope designs


Title: Re: Where to host a bitcoind server?
Post by: gweedo on February 24, 2013, 11:31:37 PM
If someone's just looking for a place to host it, see my thread here: https://bitcointalk.org/index.php?topic=146588.0

Please don't host it on some random dude's server, who admits he has no bitcoins, and has no rep, this is recipe for disaster.

I would recommend cold storage solution, only way to keep bitcoins safe.


Title: Re: Where to host a bitcoind server?
Post by: gweedo on February 25, 2013, 12:31:07 AM
If someone's just looking for a place to host it, see my thread here: https://bitcointalk.org/index.php?topic=146588.0

Please don't host it on some random dude's server, who admits he has no bitcoins, and has no rep, this is recipe for disaster.

I would recommend cold storage solution, only way to keep bitcoins safe.

Normally I would agree with you, but I couldn't do anything with an encrypted wallet anyway. Besides, how do you earn rep if not someone trusting you without it and you coming through for them?

You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.


Title: Re: Where to host a bitcoind server?
Post by: Seal on February 25, 2013, 01:05:01 AM
You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.

Good point, debug SSH logs might show something like that. Oh well, maybe someone can use it for a less... financial purpose.

Maybe you could put it to use hosting a spare electrum server mirror?


Title: Re: Where to host a bitcoind server?
Post by: gweedo on February 25, 2013, 01:11:02 AM
You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.

Good point, debug SSH logs might show something like that. Oh well, maybe someone can use it for a less... financial purpose.

Maybe you could put it to use hosting a spare electrum server mirror?

Or he can just host a node on it, and just not the use the wallet, to help protect the network.


Title: Re: Where to host a bitcoind server?
Post by: gweedo on February 25, 2013, 01:16:36 AM
You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.

Good point, debug SSH logs might show something like that. Oh well, maybe someone can use it for a less... financial purpose.

Maybe you could put it to use hosting a spare electrum server mirror?

Or he can just host a node on it, and just not the use the wallet, to help protect the network.

Good ideas, but I'd like to use it to make some bitcoins. I have more electronic storage in particular than I know what to do with, but the server itself could be put to really any purpose, which is why I was hoping I could rent it out cheaply.

Well I hate to be the bad guy, but sadly if someone paid for storage on your server, they be a fool, and yes you could easily trick a newbie into letting you host a site or files for them, but that would be mean. So help the community out so later we can help you out.


Title: Re: Where to host a bitcoind server?
Post by: dust on February 25, 2013, 01:29:00 AM
I'm experimenting with a setup that utilizes two servers, a cheap VPS for the frontend, and dedicated hardware I have physical control of to run bitcoind and the backend.  The backend services can be further segregated using VMs.  The VPS handles all internet traffic, whereas the backend only communicates directly with the VPS with signed messages.  The frontend can verify that messages from the backend are valid, and the backend can maintain its own records to audit the requests sent by the frontend.  If the VPS was compromised, then any malicious requests sent to the backend would raise alarms.

Currently, I'm not handling any coin, so it is a bit overkill, but this kind of design would be extremely beneficial where security matters.



You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.

Good point, debug SSH logs might show something like that. Oh well, maybe someone can use it for a less... financial purpose.
I don't think that SSH logs record passwords, that would be a huge security issue.


Title: Re: Where to host a bitcoind server?
Post by: Seal on February 26, 2013, 09:46:13 PM
If I don't get any takers, I probably will run an Electrum server or something, though. Thanks for the idea.

Youre welcome :)

Anyone have experience running it off a EC2 Server on AWS?

I just signed up and am officially running the bitcoind on an EC2 server :) Its downloading the block chain but taking ages.


Title: Re: Where to host a bitcoind server?
Post by: Seal on February 26, 2013, 10:25:49 PM
I just signed up and am officially running the bitcoind on an EC2 server :) Its downloading the block chain but taking ages.

this is cause you share CPU time and you need CPU to verify the blocks so yea this is going to take a while.

Do you have one running on an EC2 instance gweedo?

It was fast up until the more recent blocks, now its taking ages. Damn satoshidice and all those transactions!


Title: Re: Where to host a bitcoind server?
Post by: alfa.soft on June 14, 2015, 06:06:00 AM
for setup bitcoind for sci you can use any vps , but if you want shared hosting , i suggest you choose :
http://leaseweb.com (http://leaseweb.com) / Netherlands location
http://godaddy.com (http://godaddy.com)  / popular hosting
http://kabuuk.com (http://kabuuk.com)   / good price