Liferay 5 - Glassfish 2 - Mysql 5 - Ubuntu Server 8.0.4 LTS


This is our most recently completed liferay project on EC2 completed end July 2008. We elected to install the Liferay Portal 5  on the Glassfish/Sun Java System Application Server.  Other Application server choices included Tomcat, Jboss and Oracle OC4J.  Although we are very familiar with OC4J, in comparison we found it somewhat slower and larger than what we had anticipated. The Jboss appserver though equal to the job, proved to be significantly harder for us (with no prior expertise) to install and integrate.  Tomcat though easy to install, did not have the monitoring/managment environment that we required.

The Glassfish/Sun Java System Application Server won in the end as the most complete; yet simple enough to integrate into our stack. It has a truly impressive management interface.

The backend database is Mysql 5.  Although we are Oracle friendly, the Mysql was simply chosen as the most cost effective startup DB. If this DB turns into a Multi-terabyte monster, we will quite smartly migrate to Oracle. We are very comfortable migrating back and forth between these and other DB's. The weapon of choice here is the excellent Pentaho Data Integration toolset (Kettle).

What do we need to say about Ubuntu Server 8.0.4 LTS. Mark S and Canonical gave a head start with Ubuntu and Eric Hammond  from Alestic did a sterling job with his starter images on Amazon EC2. A good solid stable base on which to build.

A more detailed Howto is being compiled.

Page Ratings Page Ratings
Average (0 Votes)
Web Content Display Web Content Display

By deploying a PFSENSE firewall with a squid proxy and blocking undesirable sites, porn, shoppnig, Facebook and other non-buiness related  sites, we managed to reduce significantly the bandwith consumed by two of our customers. By further recommending  a few business processes together with drafting some 'acceptable use' policies, these organisation benefitted by both ADSL bandwidth reductions and thus costs as well as improving staff productivity staff . An enormous amount of time (up to 22%) was being wasted by aimless surfing. blogging, chatting and other time loss activities. Estimates costs of the time lost exceeds the ADSL costs by a FACTOR of FIVE!

Saving Thousands of Rands With Amazon

These are tough times where many companies are focusing on the basics of their IT operations and are asking themselves how they can operate more efficiently to make sure that every Rand is spent wisely. This is not the first time that we have gone through this cycle, but this time there are tools available to CIOs and CTOs that help them to manage their IT budgets very differently. By using infrastructure as a service, basic IT costs are moved from a capital expense to a variable cost. With Amazon's incredibly low price points,  one customer said, it is like renting a Mercedes for R25-00. Unbelievable but true, even with the soft rand, we still save.

In recent weeks it has become clear that  all companies are concerned about reducing upfront cost associated with the new ventures and reducing waste in existing operations. Most of them point to 3 properties of the Amazon Web Services model that helps them become more efficient:

The pay-as-you-go model. This is cost efficienct as one only pays for those resources one has actually consumed. If the application scales along the right revenue generating dimensions these costs will be in line with the revenue being generated.

Managing peak capacity. Many IT organizations need to maintain extra capacity for anticipated peak loads, capacity that sits idle for most of the time. These peak loads can be driven by customer demand such as in the online world, but it can also be capacity required to execute essential IT tasks such as periodic document indexing or business tasks such as closing the books at the end of a quarter.   A great example in the online world is the Indy 500 organization that normally runs 50 servers to serve their customers, but during the races move all of their processing into Amazon EC2 to handle all traffic no matter how many hundreds of thousands of customers show up at the same time. The savings for the Indy IT budget during the races this spring was over 50%.

Higher reliability at lower cost. Negotiating several contracts with different datacenter and network providers to make sure the IT tasks can survive complex failure scenarios is a difficult task and many organizations find it hard to achieve this in a cost efficient manner. Amazon EC2 with its Regions and Availability Zones gives its customers access to several high-end datacenters with highly redundant networking capabilities at a single pricing model.

ZHC has been at the forefront of this move to web services. We have moved several business critical systems into AWS EC2. we have moved web-centric servers like Apache, Coldfusion and email into AWS. We have also migrated backend systems like medium sized Oracle 10g databases of around 0.8 terabytes as well as CRM  systems (Vtiger) and Enterprise Document Management systems like Alfresco. www.zhc.co.za for more details.  + 27 021 5534906