Wednesday, June 13, 2012

Wordpress hosting on OpenShift

You may have heard of OpenShift by Red Hat by now, but if not you should check it out.

What is OpenShift? Well, to quote from the website:

OpenShift is Red Hat's free, auto-scaling Platform as a Service (PaaS) for applications. As an application platform in the cloud, OpenShift manages the stack so you can focus on your code.

So, in a lot of ways, you could compare OpenShift to a service such as Heroku. In addition to hosting your own application, there are several pre-built applications you can choose from. I just set up a Wordpress site in literally less than 5 minutes using OpenShift. The purpose of that site? Well, there will be more to come on that later.

The developer preview supports up to 3 gears per user. You have a quota of 40,000 files, 1GB of storage, and 512MB Memory per gear.

Now, back to the Wordpress setup - I literally signed up for OpenShift, clicked a button to choose "Wordpress", gave it a name, clicked another button to "Create Application, and almost instantly I was able to log into my Wordpress instance. You really can't get any easier than that.

In addition to Wordpress you can choose from:

  • Kitchensink example to see what OpenShift can do for hosing Java apps
  • Drupal
  • Ruby on Rails
If you want even more there are more quickstarts available here including:
  • jboss
  • sinatra
  • django
  • webpy
  • nodejs
  • cakephp

...and many more.

You can also roll-your-own with your framework of choice, and create your own quickstart.
There are several Web Cartridges available. Web cartridges:

handle HTTP requests and serve web pages or business APIs. The OpenShift servers route traffic to your application's cartridge, and your code does the rest. If you need a place to store data, adding a database or NoSQL cartridge will automatically configure your web cartridge with the right access.

These include:
  • Python (2.6)
  • Perl
  • Node.js
  • Ruby (1.8.7)
  • And Do-it-Yourself which is a blank slate for currently unsupported languages and frameworks.

You can also choose from the following databases:
  • MySQL
  • PostgreSQL
  • MongoDB (NoSQL Database)

...and for Admin purposes:
  • phpMyAdmin for MySQL
  • RockMongo for MongoDB
I'm really pleased so far - I'm blown away - it's a great service by Red Hat, and my only wish is that there were a pre-built Rails 3.x/Ruby 1.9.3.

1 comment:

  1. Here you have a screencast showing how to take advatange of the Do-It-Yoursefl cartridge to deploy a play framework app on openshift

    http://playlatam.wordpress.com/2012/05/21/deploying-play-framework-2-apps-with-java-and-scala-to-openshift/

    ReplyDelete