Java App Server Layer Reference - AWS OpsWorks

Java App Server Layer Reference

Important

AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.

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.