Security group acts as a virtual firewall for your Aurora database instances to control the incoming and outgoing traffic. Inbound rules control the incoming traffic to your instance, and outbound rules control the outgoing traffic from your instance. When you launch an instance, you can specify one or more security groups. If you don’t specify a security group, Aurora uses the default security group. You can add rules to each security group that allow traffic to or from its associated instances. You can modify the rules for a security group at any time. New and modified rules are automatically applied to all instances that are associated with the security group.
In this section, you will configure the default VPC security group to allow the inbound traffic from EC2 instance security group on port 5432 (PostgreSQL).
AWS Management Console is going through an UI update. Screenshots in this section might look different from your console.
You will use this security group while creating the Aurora PostgreSQL database in the next section.