May 2018
Intermediate to advanced
554 pages
13h 51m
English
Firewall rules are similar to an AWS Security Group in that you can define incoming and outgoing packet filters. They use a network tag, which is a label, to distinguish between firewall rules and VM instances. So, VM instances can specify zero or some network tags, then the firewall rule will apply to the VM which has the same Network Tag.
Therefore, we need to set a target network tag while creating the firewall rule. Overall, we will create three firewall rules that have these configurations:
|
Firewall rule name |
Target VPC |
Allow port |
Allow from |
Target network tag |
|
public-ssh |
chap7 |
ssh (22/tcp) |
All (0.0.0.0/0) |
public |
|
public-http |
chap7 |
http (80/tcp) |
All (0.0.0.0/0) |
public |
|
private-ssh ... |