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 ...

Get Learning AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.