views:

274

answers:

4

Hi All,

If anyone has or is running a Grails application on their server I would appreciate some details on where to go after creating the WAR.

Background

I chose grails because with Google App Engine and the App Engine Plugin deployment should have been trivial. This issue is that there is a bug which makes any application pretty much unusable, I wish this had been more prominent so I didn't have to get to the point of seeing the error myself before I was aware of it.

The next option was EC2 and the Cloud Tools plugin, it seems Cloud Tools worked with grails 1.0 but doesn't work with the current 1.2.1 due to issues getting the JAR dependencies. It also seems that Cloud Tools has been succeeded by Cloud Foundry which is in beta, will cost extra money and has limited places (I signed up but haven't got an e-mail).

Question

My application is painfully trivial, it has a small load, small data requirements and doesn't need to scale past 5 users.

How can I deploy my grails app as quickly and painlessly as possible?

Specifically:

  • Are there any hosting companies that have tomcat installed on their servers out of the box that I can sign up to and use that will just work?
  • Do you know of any simple tutorials for getting a grails application deployed to EC2 without Cloud Tools?

Thanks in advance,

Gav

Side-note: I picked grails because of good advice from SO, it should have been a very short time from development to deployed product except the tools for auto-deployment aren't that mature and I've never configured a server before.

+1  A: 

We are running ShareYourLove.com via CloudFoundry and it works well. It doesn't cost us any extra over the standard EC2 rates.

The best option (if you haven't received a CF login yet) is to buy a low cost linux box like http://www.linode.com and install tomcat and mysql yourself.

cheers

Lee

leebutts
Cheers for the tip, I got a VPS in the end, I'm sure EC2 has many benefits but I really only need something very simple.http://www.lowendbox.com/ Got me a machine for $5 a month, all I need, hope it helps someone!
gav
+1  A: 

I use slicehost, they have very straightforward instructions for installing postgresql/mysql and tomcat is pretty easy to install.

mojones
+1  A: 

You made a good choice picking Grails; if you have your app running on your local machine, it's straightforward to deploy it to EC2. Even if you don't have a CloudFoundry account, you should still be able to use the open source Cloud Tools and AMIs to deploy your app to EC2. If you need any help with EC2, post a comment and I'll add some useful links.

gareth_bowles
There are some issues using Cloud Tools and the current version of Grails. The original issue with Grails 1.1.1 http://code.google.com/p/cloudtools/issues/detail?id=7 is worse in 1.2.1 as Default Deps doesn't exist at all and I'm not sure how to fix the issue.No matter as I got an invite to Cloud Foundry!
gav
A: 

http://mor.ph/ supports grails apps, has no up-front costs and supports both PostgreSQL and MySQL.

thomax
This used to be true and will be true again in the future but currently they're revamping :)
gav