In the previous recipe, we created DFW rules using the Firewall Table menu, which is more suitable for static environments. In this recipe, we will create security policy rules from Service Composer, which is more suitable for the application-based policies approach.
In the Service Composer, a security group of what we want to protect must be created first, then a security policy can be created and applied to that security group. In our example, we need to create three security groups and three security policies: one for the Web tier, one for the App tier, and one for the DB tier.
In this recipe, we will create the security group from Service Composer using various methods, and then create a security policy utilizing the newly-created security groups.