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

Security groups

The traffic between the instances is governed by the ingress (inbound) and egress (outbound) rules defined in the security groups. Listed here are recommended security groups and their inbound and outbound rules. Please refer to Chapter 2, How Are Cloud Applications Different?, for how to create security groups.

ELB Security Group Recommended Rules: Apply this security group to the ELB.

  • Inbound:

Source (CIDR)

Protocol

Port Range

Comments

0.0.0.0/0

TCP

8080

Accept HTTP traffic from anywhere.

0.0.0.0/0

TCP

8443

Accept HTTPS traffic from anywhere.

  • Outbound:

Destination (CIDR)

Protocol

Port Range

Comments

ID of Web security group

TCP

8080

Route HTTP traffic to instances ...

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