Oddjob in the Cloud with Amazon Web Services

It’s quite straight forward to deploy a java process to an AWS EC2 instance. I followed the EC2 Getting Started Guide to create a Linux instance, installed java by following this blog article, uploaded the Oddjob tarball and started it from Putty and voila – Oddjob running on EC2.

Unfortunately it’s all a bit manual. Could automating the deployment of Oddjob be a Job for Oddjob? I think so. Time to spend two weeks automating a ten minute manual process. The result is 239 lines of XML configuration that can be seen here.

Here’s what that XML looks like in Oddjob Explorer, once it’s run:

Oddjob Deploying Oddjob to EC2

Let’s go through the main steps.

Continue reading