JRuby on Rails Cloud hosting options

135 views
Skip to first unread message

David Wilcox

unread,
Oct 5, 2012, 7:28:22 AM10/5/12
to ne...@googlegroups.com
Hi,

I've a jruby-1.7 on rails 3.1 app with the embedded neo4j database and I'm wondering how best to host in the cloud.

Originally I tried heroku, but found to my dismay that heroku only works with the REST interface for neo4j. Since I've already coded my models with the neo4j.rb gem I'd prefer to avoid recoding them just to host on heroku.

There's a great railscast (as usual) on using the gem rubber for amazon's ec2 service. This option looks like it comes with some nice defaults but lots of room for configuration, which is appealing, but I'm wondering if anyone has had any experience trying this? I'd like to have an idea of how successful I'm going to be before I start out, if possible.

I'm also open to other options that people may have tried.

I've also created a stackoverflow question here:

http://stackoverflow.com/questions/12744370/ways-to-cloud-host-embedded-neo4j-server-with-jruby-on-rails

which I'll update with whatever answers I receive here, as well.

Thanks,
David

(The railscast I'm referring to:

http://railscasts.com/episodes/347-rubber-and-amazon-ec2 )

David Wilcox

unread,
Oct 8, 2012, 1:13:41 AM10/8/12
to ne...@googlegroups.com
Thanks Chris, I hadn't heard of torquebox. I'll also look into warbler, that should open up some options.

On 7 October 2012 01:30, Chris Fitzpatrick <c...@wmu.se> wrote:

Hi,

If you're using wabler (https://github.com/jruby/warbler) , you'll have several options for hosting since all you'll need is a servelet container to deploy your war file. For example, originally I was using wabler to package my application, which I uploaded to an AWS elastic beanstalk instance.  This worked pretty well, although elastic beanstalks deployment cycle is a little slow. 

There's also Google App Engine. I think you can push directly to that using the google-appengine gem or you can warble your app and deploy the war. 

If you're going to use a VPS, I would recommend torquebox (which I have running on a EC2 instance). I switched  to torquebox for several reason, one of  which was the deployment process support. There's a torquebox gem which allows me to fire up a local torquebox instance  to run tests or do development. This gem also provides some added capistrano support that deploys my application to my torquebox production on ec2. Installing torquebox on a production sever is a bit of a hassle ( or at least if was for me, since I didn't have any experience using JBoss), but now I have a deployment process that's every bit as easy as Heroku's, so I'm pretty happy about all that...

b,chris. 
--
 
 

je...@letsordernow.com

unread,
Oct 10, 2013, 7:48:02 AM10/10/13
to ne...@googlegroups.com, dwgol...@gmail.com
Hi David, 

Did you ever managed to upload your app to Amazon EC2? I'm new to this and just developed a rails app using Neo4j and i can't seem to find any good (full) tutorial on how to deploy my app. What did you wind up doing and how?

Thanks,

abhishek choudhary

unread,
Oct 17, 2013, 1:54:32 PM10/17/13
to ne...@googlegroups.com, dwgol...@gmail.com
Found lots of Options here.

Well I have tried almost the same setup in Jelastic and it worked well , no lag , no crash...

Reply all
Reply to author
Forward
0 new messages