MultiCloud Marketplace

Mentor Solutions Application Team - Ryan Geyer

Tomcat6 Java or Grails (App, FrontEnd, Database & LDAP) - All In One v1

Open in Dashboard

Published by Mentor Solutions Application Team - Ryan Geyer on Oct 21, 2010Revision: 1

Description

If you're using the RightScale premium server templates Tomcat6 FrontEnd v9 and Tomcat6 App Server v9 with a database on MySQL 5.1 EBS v2 and authentication with LDAP using my OpenLDAP Directory Server v1.1 to run your Java or Grails application in production, you need this template for development, QA, and testing!


This template allows you to setup a single server which hosts all of the services provided by the servers you run in production. This allows you to setup ancillary environments (QA, Staging, Development) which almost exactly mirror your production environment.

MySQL Database Options

The template is also very flexible and configurable. You can choose to load the database directly from the latest EBS snapshot of production, create a new empty database at boot, or restore the database from a previous S3 backup.

By loading the database from the production EBS snapshot you can quickly and easily create an instant mirror of your production server for testing new code, or a big update, or troubleshooting a problem in production.

By loading the database from an S3 backup you can run an on demand QA box with a psuedo persistent database backed up to S3 on a regular basis. When your QA cycle is done, terminate the box secure in the knowledge that your configuration and QA data is still intact ready for the next QA cycle.

By creating a new empty database you have the freedom to populate it from scripts or other arbitrary backups, making an excellent development and test platform for specific issues and odd data combinations.

LDAP Options

If your application uses LDAP for authentication, you can launch an instance and load LDIF files stored in an S3 bucket. If you're not using LDAP, you can opt to disable this service entirely.

Best Practices

Since this template does run so many services, it's highly recommended that you launch it on an m1.large instance. If you don't you're likely consume nearly all of the memory of an m1.small and will get critical alerts about low available memory. Depending on your application, you might be willing/able to ignore these, but it's something you should be aware of.

Contents

  • MultiCloudImage: RightImage Ubuntu_9.10_i386_v4.5 [rev 5]

  • MultiCloudImage: RightImage Ubuntu_9.10_x64_v4.5 [rev 6]

  • RightScript: LDAP Set Config Admin Details [rev 2]

  • RightScript: DB MySQL gem install v8 [rev 3]

  • RightScript: DB MySQL s3 continuous mysqldump backups (Optional) v1 [rev 1]

  • RightScript: DB MySQL s3 mysqldump backup (Optional) v1 [rev 1]

  • RightScript: DB MySQL s3 mysqldump import (Optional) v1 [rev 1]

  • RightScript: DB Rightscale tools install v11 [rev 19]

  • RightScript: DB TERMINATE SERVER - Delete EBS volume and halt v2 [rev 5]

  • RightScript: EBS Rightscale tools install v2 [rev 5]

  • RightScript: LB HA proxy 1.3 install v6 [rev 4]

  • RightScript: LB RightScale tools install v10 [rev 9]

  • RightScript: LB apache reverse proxy configure v2 [rev 3]

  • RightScript: LB app to HA proxy disconnect v2 [rev 6]

  • RightScript: LB app to local HA proxy connect v3 [rev 5]

  • RightScript: LDAP Create Database [rev 2]

  • RightScript: LDAP DB S3 Backup [rev 2]

  • RightScript: LDAP DB S3 Disable Continuous Backup [rev 2]

  • RightScript: LDAP DB S3 Enable Continuous Backup [rev 2]

  • RightScript: LDAP DB S3 Restore [rev 2]

  • RightScript: LDAP Enable Schema(s) [rev 2]

  • RightScript: LDAP Execute LDIF File(s) [rev 1]

  • RightScript: LDAP Execute LDIF File(s) at boot [rev 1]

  • RightScript: LDAP Install OpenLDAP [rev 2]

  • RightScript: DB MySQL Initialize Empty DB [rev 1]

  • RightScript: LDAP Tools Install [rev 4]

  • RightScript: MAIL Postfix Local Delivery v2 [rev 5]

  • RightScript: MISC ssh priv key install v2 [rev 4]

  • RightScript: RB rubygems 1.3.1 + quickinstall v4 [rev 4]

  • RightScript: DB EBS init at boot (Optional) v1 [rev 1]

  • RightScript: DB MySQL 5.1 server install [rev 3]

  • RightScript: SYS Monitoring Apache Add v3 [rev 1]

  • RightScript: SYS Monitoring File Stats Add [rev 5]

  • RightScript: SYS Monitoring MySQL add v8 [rev 4]

  • RightScript: SYS Monitoring install v8 [rev 9]

  • RightScript: SYS Monitoring jcollectd Add v1 [rev 3]

  • RightScript: SYS Syslog Remote Logging Client v7 [rev 6]

  • RightScript: SYS Timezone set v1 [rev 5]

  • RightScript: SYS install sun-java6 [rev 1]

  • RightScript: SYS lvm install v1 [rev 3]

  • RightScript: WEB Tomcat Connector (Mod_JK) install from src v3 [rev 7]

  • RightScript: WEB Tomcat6 configure v1 [rev 10]

  • RightScript: WEB Tomcat6 install v1 [rev 4]

  • RightScript: WEB apache (re)start v2 [rev 4]

  • RightScript: WEB apache FrontEnd http vhost v2 [rev 4]

  • RightScript: WEB apache base install v7 [rev 4]

  • RightScript: WEB apache http-only vhost v5 [rev 5]

  • RightScript: WEB app s3 code checkout w/ get latest support v1 [rev 1]

  • See More

Revisions

Revision 1 | Oct 21, 2010

Initial Commit

Discussion

Info

No Ratings

Supported Clouds

Pricing

Available to Paid
RightScale Accounts

Sign-up for RightScale

Support Information

If you have problems with this server template or any of the scripts, feel free to email me at rgeyer@its.jnj.com.