Tomcat WebApp

Overview

To demonstrate a deployment of a (very) simple web application, several job templates are provided:

Job Template Description
Operations - Deploy new Virtual Machine Deploy a new VM or instance on the selected provider
Development - Install and Setup Tomcat Development - Deploy WebApp
Operations - Base configuration Apply base Operating System configuration
Operations - Open Firewall Port Open an unprivileged port on the firewall (only works with GCP)
Operations - Tomcat Compliance Check Verify Tomcat Directory permissions

The Ansible Playbooks can be found in the playbook-tomcat-dev and playbook-tomcat-ops repositories on GitLab.

Consider using this part of the demo together with instructions from the RBAC Demo

Prerequisites

Make sure to enable the Tomcat Use Case.

Caveats

Considerations before running the demo:

  • a new instance is deployed which makes your demo more expensive

  • keep in mind deploying the instance will take will take a minute or two, make sure you have something to talk about while the instance is created

  • don’t forget to delete the instance when you’re done

  • there will be no DNS record for the Tomcat instance

How to use

Run the job templates in the following order:

  • Operations - Deploy new Virtual Machine

  • Development - Install and Setup Tomcat

  • Operations - Base configuration

  • Operations - Open Firewall Port (only on GCP)

  • Operations - Tomcat Compliance Check