Reading time: 2 – 4 minutes
You will have noticed I deviated my blog posts quite a bit from CFML in the last couple of months. That doesn’t mean I don’t love it anymore, but just that I’ve been “putting my eggs on lots of other baskets” lately.
This blog is hosted on a VPS, and I haven’t really found it necessary to have any CFML engine running on it. I could allocate some memory to have a tiny instance of Railo running, but I’d prefer not having to deal with something else running, since it could easily crash, and take me months to actually realize it. This happened to my Langithub project the other day, and I simply didn’t notice until someone pinged me to let me know.
However, I do sometimes want to post working examples written in CFML, and I could simply use some of the few free services out there, but… I’d rather not.
So for a blog post I’ve been working on, I decided I’d give cloud hosting a go. I’ve been playing with AppFog for a few weeks now, and noticed it’s got a Java Application option listed on the application types it supports. I then went ahead and created one of them called railo.

This now gave me an empty Java Application.
Knowing the folks at Railo provide a download in war format, I went ahead and downloaded it

I’ve put it on $ ~/marcos/railo, but you can put it anywhere you want.
Now within that folder from console, I issued:
This will do two things.
- Prompt you for your appfog login and password
- deploy the .war file to the railo project
You will then see a few other things will happen, as it will now be decompressing the war file, and starting your application.
If you now browse your application (using the URL provided by AppFog appending index.cfm to it), you will see Railo has been installed, and you can start rocking on the Cloud.
The example I used here can be seen on http://railo.eu01.aws.af.cm/index.cfm


Recent Comments