Added security groups for Apache and Tomcat