ec2 user data example apache Example: # /bin/bash for launching ec2 #!/bin/bash yum update -y service httpd start chkconfig httpd on