News for hackers. Stuff that matters.
Re:Heroku is no longer the hobbyist's friend by eatitraw on Monday October 19, 2015 @04:42PM (#10415580)
> I'm wondering if there are any recommendations for "Heroku-like" providers with a free tier that stays up 24/7 for super simple Rails and Sinatra apps, perhaps with a DB.

OpenShift(https://www.openshift.com/) may be the service you're looking for. I haven't tried it, but it looks nice.

Re:Heroku is no longer the hobbyist's friend by ghaff on Monday October 19, 2015 @04:58PM (#10415694)
Out of the box OpenShift has a variety of languages and frameworks as well as ProstgreSQL, MySQL, and MongoDB database options (plus custom cartridges). You get three free gears (i.e. containers) so up to 3 small apps.

I've only used it to create a small Python/Flask app http://wwos-bitmason.rhcloud.com/ but there are lots of examples and information on the OpenShift blog.

[Disclaimer: I work for Red Hat.]

Re:Heroku is no longer the hobbyist's friend by baggachipz on Monday October 19, 2015 @06:27PM (#10416235)
I use OpenShift and I think it's fantastic. You can even install your own SSL cert on the free tier (if you register their "Bronze" level, IIRC) for no additional charge. It's perfect for a hobbyist project and then scaling it up if necessary.
Re:Heroku is no longer the hobbyist's friend by jacques_chester on Monday October 19, 2015 @07:08PM (#10416411)
Cloud Foundry. You can try it through Pivotal Web Services or BlueMix.

It reuses Heroku's code for several buildpacks, particularly Ruby.

I know that it works really well because (disclaimer!) I worked on the Cloud Foundry Buildpacks team for Pivotal.

Re:Heroku is no longer the hobbyist's friend by arikrak on Monday October 19, 2015 @07:23PM (#10416472)
How easy is it to migrate your database, app, addons and configuration from Heroku to Bluemix? I'm going to consider a new host once Heroku ends it's grandfathered prices on Feb 1, 2016.
Re:Heroku is no longer the hobbyist's friend by jacques_chester on Monday October 19, 2015 @08:14PM (#10416684)
I'd recommend Pivotal Web Services[0], aka PWS, aka "p-dubs", buuuut that's only because I work for the company running it :)

If you have a 12-factor app that pulls config from the environment, it should ideally not be too traumatic. Services are meant to be injected by the platform.

Apps should be the easiest part. Of the buildpacks: Ruby, Python and Node are based on Heroku's and are very nearly identical. Go is based on a community buildpack, PHP is a complete ground-up rewrite and Java is a ground-up rewrite maintained by the Spring team.

If you signup for PWS and you find things broken or missing, email me: [email protected], and I will find who can help you.

[0] http://run.pivotal.io/

Re:Heroku is no longer the hobbyist's friend by carise on Monday October 19, 2015 @05:00PM (#10415710)
I've used OpenShift and it's pretty straightforward to use. I don't feel like it's as easy to use as Heroku, but it got the job done. If I left my app idle (I think for 24 hrs or more), I noticed that it took awhile for it to awake when I tried to access it again.
Re:Heroku is no longer the hobbyist's friend by shostack on Monday October 19, 2015 @05:23PM (#10415889)
So is it not in fact up for 24hrs if it has to wake up when you try to access it again?
Re:Heroku is no longer the hobbyist's friend by iza on Monday October 19, 2015 @05:31PM (#10415929)
According to https://www.openshift.com/products/pricing/plan-comparison the free plan idles after 24 hours of inactivity (https://developers.openshift.com/en/managing-idling.html)

However you can work around it by hitting your server with an http request every 24 hours, or upgrade to the Bronze Plan which apparently has $0 base price anyway so I'm not sure what the downside is.

Re:Heroku is no longer the hobbyist's friend by area51org on Monday October 19, 2015 @06:24PM (#10416212)
Openshift user here: there is no downside. Bronze truly is $0/mo. It's just that you have to given them a CC number (while you do not need to do that for the "free" plan). Why the CC number? Bronze lets you pay for more features if you want them—but there's no obligation.
Re:Heroku is no longer the hobbyist's friend by shostack on Monday October 19, 2015 @08:13PM (#10416680)
Are there any ways to be hit by surprise charges on Bronze? I'm assuming setting up a ping via the New Relic trick people used on Heroku is sufficient.

Also, for a relative novice, how easy is it to get a Rails or Sinatra app up and running?

My concern longer-term is that Openshift would go the same route as Heroku. Is there anything about their business model that might indicate that's not a major risk?

Re:Heroku is no longer the hobbyist's friend by BlackMonday on Monday October 19, 2015 @07:08PM (#10416410)
Do you know how powerfull the free gears are that one gets with each price plan? I have a fantasy basketball league that a few of my coworkers and I play and a free service would be ideal for that. Can the free gear (as a scaled app) manage a postgres database with around 600 MB, or would that be too much?
Re:Heroku is no longer the hobbyist's friend by jestar_jokin on Monday October 19, 2015 @08:17PM (#10416695)
Note that, for some reason, they limit regions that can use their paid tiers. So, you can't use them if you're in third world countries like Australia or New Zealand.