AWS OpsWorks
User Guide (API Version 2013-02-18)

Java App Server Layer Reference


This layer is available only for Linux-based stacks.

A Java App Server layer supports an Apache Tomcat 7.0 application server.

Short name: java-app

Compatibility: A Java App Server layer is compatible with the following layers: custom, db-master, and memcached.

Open ports: A Java App Server layer allows public access to ports 22 (SSH), 80 (HTTP), 443 (HTTPS), and all ports from load balancers.

Autoassign Elastic IP addresses: Off by default

Default EBS Volume: No

Default security group: AWS-OpsWorks-Java-App-Server

Setup recipes:

  • opsworks_initial_setup

  • ssh_host_keys

  • ssh_users

  • mysql::client

  • dependencies

  • ebs

  • opsworks_ganglia::client

  • opsworks_java::setup

Configure recipes:

  • opsworks_ganglia::configure-client

  • ssh_users

  • agent_version

  • opsworks_java::configure

Deploy recipes:

  • deploy::default

  • deploy::java

Undeploy recipes:

  • deploy::java-undeploy

Shutdown recipes:

  • opsworks_shutdown::default

  • deploy::java-stop


  • Tomcat installs to /usr/share/tomcat7.

  • For more information about how to produce log files, see Logging in Tomcat.