1
8 Comments

Anyone host their own server from home?

I have a mac pro at my disposal and was wondering if anyone else has hosted their own server from home recently. If so, would you recommend it, if only for the early stage of a project?

  1. 2

    Give how cheap hosted servers are (from about $5 a month) I'd probably use one of those instead. More hassle to run it at home and the electricity it uses will cost more than a server would.

    1. 1

      Thing is, if you're purchasing cheap plans from web hosting providers, a lot of the time it'll be limited in the software/programs it supports. I just found out that, although my plan supports Python, MySQL, etc, I can't install Selenium with my plan, so GG web-scraping.

  2. 2

    I highly recommend just using AWS or another public cloud for a production site and using your local machine just for dev. The cost and friction of AWS is quite low, and it's much easier to scale up as needed and achieve high availability.

    The things that worry me about hosting a production site or app from home:

    • If electricity goes out, you're running on a limited supply of backup power, assuming you have a UPS
    • If your home internet service provider goes down, your site or application goes down
    • If you experience increased traffic, you either have to scramble to set up more machines, or your site goes down
    • Clients are connecting to an IP on your home network, which can make your home network a target for hackers

    If you're wanting to host a static site, you can host it on S3/Cloudfront for next to nothing, and latency will be low thanks to the Cloudfront CDN.

    If you're wanting to host an application or API, I recommend using Lambda / Serverless framework. It's easy to work with, easy to scale, and is often more affordable than EC2 since you're only charged when your Lambdas run. If you to use a different stack or run more custom software, Elastic Beanstalk and plain EC2 are still great.

    1. 1

      I've really never gotten the chance to look into AWS myself. Earlier today was the first time I read a bit about Lambda. Which package/plan do you think would be best for simple web hosting and web scraping?

    2. 1

      Electricity would be my major concern. I would never self host a server for a product that's out of development though.

  3. 1

    I've tried a couple of times but it was never worth it. It wasn't any cheaper because of the time spent mucking around with things and then the reliability of your internet connection/router isn't as high as a data-center, so connection goes down sometimes. Saved more time (and hence money) hosting on cheap providers like Digital Ocean. Using AWS / Heroku these days but proper infrastructure is where its at.

  4. 1

    My dad runs servers from home but only for his personal site really.

    He’s running Sun servers with FreeBSD on em. I think.

    1. 2

      This comment was deleted 8 years ago

  5. 1

    I would be interested in this too.