AWS Security Groups and the Access Control list can be found under the Security section of your VPC:
A security group is a stateful virtual firewall that controls inbound and outbound access for resources. Most of the time, we will use the security group as a way to limit public access to our EC2 instance. The current limitation is 500 security groups in each VPC. Each security group can contain up to 50 inbound and 50 outbound rules. You can use the following sample script to create a security group and two simple ingress rules:
$ cat Chapter10_5_security_group.py#!/usr/bin/env python3import ...