User guide

Important
In JBoss Enterprise Web Server deployed on EC2, the contents of the User Data field are
treated as a script.
If the first line is "#!" then it is run as any executable file, otherwise its contents are
executed/sourced into the Red Hat Enterprise Linux init shell.
If this is a production instance, add the following text as the first line in the User Data field to ensure
that security updates are applied on boot:
yum -y update
Chapter 4. Launching a standalone JBoss Enterprise Web Server instance
13