Ask HN: (Self hosted) App Hosting platform for developers?
I'm a developer who writes prototype apps for various clients in various languages. While there are some great PaaS hosts around, I find that the best option for me is usually self hosting. So that's fine I know how to configure and setup a VPS on rackspace or whatever, but what I really need is something that I can type the domain I want to setup, chose the type of app I want to deploy (djano, RoR, Scala, PHP, whatever) and have it take care of all the web app boilerplate stuff for me (creating nginx reverse proxy configs, DNS setup, installation of language libraries and requirements etc)
Does something like this exist?
21 comments
[ 2.8 ms ] story [ 48.5 ms ] threadI do exactly what you describe on a VPS in the cloud. I host my own prototype projects on a CloudFoundry instance. So far I've deployed these types of projects: Rails, Grails (JVM + Servlet), node.js, and Clojure(script). I also run production apps on CloudFoundry.
Setting up the instance(s) is easy, as there are plugins for most web frameworks already out there. I'm doing a session at Uberconf where I walk through my usage, process, and scripts for CloudFoundry. If there's enough interest, I could be convinced to screencast it.
PS: I do not work for CloudFoundry. Just a happy user.
The code is here: https://github.com/auser/beehive though I'm not sure how active it is.
https://openshift.redhat.com/app/
It's a Heroku competitor which became open source last month.
https://openshift.redhat.com/community/blogs/announcing-open...
There is a live CD which has all the components of Openshift already set up.
https://openshift.redhat.com/app/opensource/download
That's pretty much what I do, and I wouldn't want to have to maintain an additional "personal heroku server" that would automate the deployments in the way you're talking about.
Has anyone got any good tutorials for OpenShift and Cloud Foundry on EC2 or the like? I found this, however it is 6 months old so I'm not sure how relavent it is any more (I might give it a shot later...): http://www.cloudsoftcorp.com/blog/first-steps-with-cloud-fou...
that ought to get you started pretty quickly if you run into trouble, come to the irc #stackato on freenode
More generally, and potentially more cross-host compatible, this sounds like a good opportunity for Puppet or Chef and a short config selection script.
ActiveState is the Python community lead for Cloud Foundry (we added and maintain the support), but Stackato is much more than wrapping CF. It improves security (all user code is staged and run in linux containers), adds much more flexibility (hooks at staging or runtime, cron support, etc.), better manageability (web based console, user/group management), persistent file system, and more.
Also, if you like extensibility, a new experimental feature in 1.2 is Heroku buildpack support. Basically you get Heroku-in-a-box.
You basically just need to clone from git, setup a VirtualHost, and restart Apache/nginx. I don't have experience setting up Scala, Ruby, etc, but I've done this for PHP and its trivial.
Start by writing a list of commands you issue to start a new project on your dev server. Then add variables, a web form, and you're done.