Installing MarkLogic on an EC2 Micro Instance – Free for 1 year!


Perhaps you’ve heard about Amazon EC2′s new promotion, the AWS Free Usage Tier. New AWS customers can run a Linux Micro instance free for 1 year. Micro Instances consist of 613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform.

Earlier this year MarkLogic announced support for Amazon EC2 as part of their cloud strategy. With this they provide a preconfigured Amazon EC2 AMI (Amazon Machine Image) for MarkLogic. However, this AMI cannot be used to boot a micro instance within the free tier boundaries because micro instances must be booted from an EBS image. Also, the free tier includes up to 10GB of EBS.

Have no fear! With minimal effort you can in fact run MarkLogic on an EC2 micro instance, though keep in mind that it is quite resource constrained. Below is a recorded screencast demo of the process using this CentOS base image provided by RightScale.

Alternatively, I made the image I created in the video public. It’s AMI ID is ami-4682752f.

About Mike Brevoort

Enterprise Web Practice Manager - @mbrevoort on Twitter

Comments

  1. The micro instance is pretty light on memory. I wrote up a post recently about using the new Express license to run MarkLogic on a Small EC2 instance for about $40 a month. http://blog.davidcassel.net/2011/11/marklogic-on-40-per-month/

Leave a Comment

*