O'Reilly logo

Learning AWS - Second Edition by Amit Shah, Aurobindo Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating security groups

For our requirements, we will create two security groups: one for the EC2 instance and the other for the RDS MySQL instance.

  1. From the EC2 dashboard, click on the Security Groups link from the navigation pane link and then click on the Create Security Group button:
  1. Create a security group for EC2 instances to allow the following:
    • Web traffic from any IP address on port 8080 (default Tomcat server port)
    • SSH traffic for remote login from any IP address.
    • ICMP traffic to ping the EC2 instance from public internet.
  1. Create a security group for MySQL RDS instances to allow access from the internet. In our example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required