News for hackers. Stuff that matters.

Where/how to host a web site and database?

I am not so keen on maintaining my own server but I need a database backend to my web sites in order for them to function. I have used PostgreSQL to date (but am okay trying other databases) and write code to talk between client and server in PGP. I want to host it as cheap as possible (since I get no traffic currently).

What are people using?

( 12 comments | 11 points | on HN )
Re:Where/how to host a web site and database? by Safety1stClyde on Friday April 21, 2017 @07:34PM (#14170268)
https://www.nearlyfreespeech.net/

Extremely low cost, shared hosting but allows persistent processes. Can use MySQL databases.

Re:Where/how to host a web site and database? by sternfahrer on Friday April 21, 2017 @10:34PM (#14170844)
You could use Google App Engine if you are comfortable transitioning to a NoSQL database. Free for a certain amount of storage/accesses, cut off at your limit or pay as you go.
Re:Where/how to host a web site and database? by brianwawok on Saturday April 22, 2017 @07:59AM (#14172094)
You can use hosted posrgres or mysql with app engine!
Re:Where/how to host a web site and database? by sternfahrer on Monday April 24, 2017 @10:51PM (#14190379)
Good to know! I had no idea about that. I'll have to check it out.
Re:Where/how to host a web site and database? by samblr on Saturday April 22, 2017 @06:25PM (#14175187)
does sql has a free tier access now ?
Re:Where/how to host a web site and database? by brianwawok on Saturday April 22, 2017 @07:48PM (#14175565)
GCE does not do the free tier for most stuff in the same way AWS does, it's more like they give you $300 and let you spend it on whatever.

That said I think the cheapest sql instance type is like $7. If your project isn't worth $7 it should likely just be kept locally until it is ;)

Re:Where/how to host a web site and database? by akeruu on Saturday April 22, 2017 @02:11PM (#14173805)
I'm simply using Heroku free tier for both hosting and database, which is PostgreSQL.

It is really simple to setup although you get some delay due to their "sleeping dyno" system. [0]

[0] https://devcenter.heroku.com/articles/free-dyno-hours#dyno-s...

Re:Where/how to host a web site and database? by startupdiscuss on Friday April 21, 2017 @07:33PM (#14170263)
I use digital ocean or Vultr depending on how much memory I need.

I use cloud9 to develop on them and then host the app on cloud9 or Vultr too.

Re:Where/how to host a web site and database? by marktangotango on Saturday April 22, 2017 @11:08AM (#14172881)
Can you talk about how you use cloud9?
Re:Where/how to host a web site and database? by startupdiscuss on Saturday April 22, 2017 @08:35PM (#14175737)
I link cloud9 up to one of the instances so I don't have to SSH directly. I can be on any machine and log into the cloud machines by logging into cloud9. The key etc is out on the cloud9 machine but not on the machine I am using at the moment.

I have a bunch of machines in a few cities so I don't have to keep all the environments at home and at work in sync.

Re:Where/how to host a web site and database? by cdvonstinkpot on Sunday April 23, 2017 @02:48PM (#14179702)
I've had a good experience with 99cents.net's $10/year shared hosting on low-volume type stuff.
Re:Where/how to host a web site and database? by caio1982 on Friday April 21, 2017 @07:52PM (#14170336)
Linode.