Download Amazon Elastic Compute Cloud User Guide for Linux

Transcript
Amazon Elastic Compute Cloud User Guide for Linux
ClassicLink
You have one security group in EC2-Classic, and the other in your VPC. You associated the the VPC
security group with your web server instance when you linked the instance to your VPC via ClassicLink.
The VPC security group enables you to control the outbound traffic from your web server to your application
server.
The following are the security group rules for the EC2-Classic security group (sg-1a1a1a1a).
Inbound
Source
Type
Port Range
Comments
0.0.0.0/0
HTTPS
443
Allows Internet traffic to reach your
web server.
The following are the security group rules for the VPC security group (sg-2b2b2b2b).
Outbound
Destination
Type
Port Range
Comments
sg-3c3c3c3c
TCP
6001
Allows outbound traffic from your web
server to your application server in
your VPC (or to any other instance
associated with sg-3c3c3c3c).
Security Group for Your Application Server (sg-3c3c3c3c)
The following are the security group rules for the VPC security group that's associated with your application
server.
Inbound
Source
Type
Port Comments
Range
sg-2b2b2b2b
TCP
6001 Allows the specified type of traffic from your web
server (or any other instance associated with sg2b2b2b2b) to reach your application server.
Destination
Type
Port Comments
Range
sg-4d4d4d4d
TCP
6004 Allows outbound traffic from the application
server to the database server (or to any other
instance associated with sg-4d4d4d4d).
Outbound
Security Group for Your Database Server (sg-4d4d4d4d)
The following are the security group rules for the VPC security group that's associated with your database
server.
Inbound
API Version 2015-04-15
461