Version 10, last updated by Richard Dallaway at May 13, 2011 13:51 UTC

Introduction

Lift applications follow the Java Servlet deployment model, meaning there are a wide range of deployment options, hosting services and styles to choose from.

Container choice

Your Lift application is deployed into a servlet container.  These productions include: Jetty, Tomcat, and also larger JEE containers such as Glassfish and JBoss.  

Web server

Some Lift users prefer to place a web server in front of the container for a variety of reasons including load balancing and virtual hosting.  Popular choices include Nginx and Apache. 

Hosting

Your container and web server could be on physical hardware you own, or on virtual hardware (EC2, Rackspace, etc).  There are also Platform as a Service options such as Amazon Beanstalk and CloudBees.

The products mentioned are far from an exhaustive list of the options available.  The list of known setups below may help you pick your deployment options.

Known deployment setups

dpp

* Nginx + Jetty + Postgres on Ubuntu
* Nginx + Tomcat + Postgres on Ubuntu
* Nginx + Tomcat + MySQL (it was a legacy data set) on Ubuntu
* Nginx + Jetty + Postgres on CentOS

sean8223 (TraceLink)

* Apache 2.0 + JBoss 4.2 against Postgres on CentOS 5 (EC2)

Ross Mellgren

* JBoss 4.2.2 / Tomcat 5 on Ubuntu server balanced by Alteon LBs

Tim Perrett

* Nginx + Jetty + MySQL 5.0 on Ubuntu
* Helicon + Jetty (embedded) + SQL Server 2005 on Windows Server 2008
* Helicon + Jetty (embedded) + SQL Server 2005 on Windows Server 2003R2

Derek Chen-Becker

* JBoss 5.1.0.GA + (MySQL, PostgreSQL, SQL Server (egads!)) on (Solaris(9|10), Ubuntu 8.04 LTS, Windows Server 2K3)

HarryH (FourSquare)

* Nginx + Jetty + Postgres & MongoDB on Ubuntu (EC2).

Jeppe Madsen

* Nginx + Jetty + Postgres on Ubuntu (EC2).

Tyler Weir

* Nginx + Jetty + Postgres on Ubuntu (Linode).

Hannes

* Apache 2.2 + Jetty 5.1 + PostgreSQL 8.3 + Ubuntu Server 8.04 and Lift-2.1

Sample for nginx/jetty setup with instructions

Simple deployment of Lift apps on Jetty/Nginx

earthling_paul

* Secure Web Entry Server + WLS 10.3.3 on Suse Linux Enterprise Server + DB2 on z/OS Version 9

WLS Deployment Issues

To Add

* Add sample config files for various http servers
* Add strategies