A company has recently completed the migration of a three-tier web application to a new VPC in AWS. Upon review, the security team finds that the current Amazon EC2 security group configuration violates the principle of least privilege. Specifically, the ingress and egress rules between the web, application, and database tiers are overly permissive. What should a solutions architect recommend to enforce tighter security controls between tiers?