We will create a security group for RDS called letspoll-database-security-group. It is created in the default VPC, vpc-f1c5ab96. We allow traffic on port 5432 from the security group named greeter-security-group with ID, which was created in the previous section.
The following screenshot shows the details of letspoll-database-security-group: