April 2018
Intermediate to advanced
280 pages
8h 37m
English
We discussed security groups in Chapter 2, Exploring AWS Cloud, but just to recap, a security group is a set of firewall rules that can be associated to a virtual machine. The ports and protocols allowed in the firewall rules are implemented in the network of the virtual machine.
The following figure shows the firewall rules configured in a security group having the ID, 44c975e3-eeb9-47ec-9f76-2245b2cb59e1:

Let's see how we add and remove security groups programmatically.