ZK on PaaS Clouds: Heroku and OpenShift Express"

From Documentation
Line 70: Line 70:
 
| style="padding:3px;" | Yes[http://zktd2-zkdemo.rhcloud.com/][http://zksandbox-zksupport.rhcloud.com/]
 
| style="padding:3px;" | Yes[http://zktd2-zkdemo.rhcloud.com/][http://zksandbox-zksupport.rhcloud.com/]
 
|}
 
|}
 
From the table above, we know that both Heroku and OpenShift are working well for ZK application
 
 
</div>
 
</div>
  

Revision as of 09:07, 3 January 2012

DocumentationSmall Talks2012FebruaryZK on PaaS Clouds: Heroku and OpenShift Express
ZK on PaaS Clouds: Heroku and OpenShift Express

Author
Vincent Jian, Engineer, Potix Corporation
Date
January 2, 2012
Version
ZK5+

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

PaaS Cloud

Platform as a service (PaaS) is a kind of cloud computing services that provide a computing platform and a solution stack as a service. Instead of hosting and maintaining server by themselves, many companies start to take advantage of PaaS services as the offerings could be extensive and will include a total cycle of application hosting, development, testing, and deployment environment, along with a complete options of integrated services that consist of scalability, maintenance, and more. Here we will introduce how to deploy ZK applications on two popular PaaS platforms - Heroku and OpenShift Express.

Heroku

Heroku, owned by Salesforce.com currently supports six languages: Ruby, Java, Node.js, Scala, Clojure and Python cloud PaaS. It also provides a lot of add-ons, such as Heroku Scheduler, ClearDB MySQL Database, NoSql related database, and so on.

OpenShift Express

OpenShift is a free, auto-scaling platform-as-a-service for Java, Ruby, PHP, Perl and Python applications provided by Ret Hat. It also supports MySQL, MySQLi, PDO MySQL, PDO SQLite, and Amazon-RDS database.

Deploying ZK to Heroku & OpenShift Express

Traditionally deploying an application to the cloud, the "standard way" is to package a war file and then upload to the cloud. Whenever there is a change, we will have to update the war file locally again, and then re-upload the file. Heroku and OpenShift both integrated Maven and GitHub, offers the ability to ...... User will be .... and then .... A simplified flow chart is shown as follows:

PaaS FlowChart.png

Even though both Heroku and OpenShift, there are some differences in the steps and ... The brief steps for running ZK on Heroku and OpenShift are as follows,

Heroku

OpenShift Express

.

The Differences

Let's see more detail features about Heroku and OpenShift with the table below:

Modify from Simon Massey's slideshare
Features Heroku OpenShift
Deploy from source Git + Maven Git + Maven
Deploy from existing war No Yes
Container Embedded Jetty or Tomcat JBossAS 7.0
Datebase NoSql add-on, PostgreSQL MySQL
For ZK application Yes[1][2] Yes[3][4]

Conclusion

The benefit of PaaS Cloud is cost down and easy to use from the deployment concept. Apparently, both Heroku and OpenShift are another good choice to broadcast your applications and also ZK applications.

Reference

Following the links for more detailed steps to deploy ZK applications.


Comments



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.