Java App Server Layer Reference - AWS OpsWorks

Java App Server Layer Reference

Important

The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers. We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post or through AWS Premium Support.

Note

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

Installation:

  • Tomcat installs to /usr/share/tomcat7.

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