Applying Security Policies Across Accounts with AWS Firewall Manager
This lesson explains how AWS Firewall Manager applies firewall and security policies consistently across every account in an organisation, including accounts and resources created later.
Learning outcomes
After completing this lesson, you will be able to:
- Identify the prerequisites for Firewall Manager.
- Identify the policy types it applies.
- Explain how it enforces policies on new resources.
Requirements
AWS Firewall Manager applies security policies across an organisation, and it depends on two other services to do so. It requires AWS Organizations, with Firewall Manager administered from the management account or a delegated administrator account. It also requires AWS Config to be enabled in every account and Region where policies apply, because it uses Config to discover resources and track their compliance.
Firewall Manager requirements
Policy types
AWS Firewall Manager applies security policies to every account in an organisation from one administrator account, and keeps applying them automatically as accounts and resources are added. It requires AWS Organizations and AWS Config.
An AWS WAF policy attaches web ACLs and rule groups to every matching ALB, API Gateway stage and CloudFront distribution. A Shield Advanced policy turns on protection for chosen resources in every account. A security group policy can apply a common group to every instance, audit rules that are too permissive, such as SSH open to the internet, and clean up unused groups. Network Firewall and Route 53 Resolver DNS Firewall policies deploy firewalls and DNS filtering rules to VPCs, and third-party firewall policies manage supported partner products. The following table summarises the policy types.
| Policy | What it does |
|---|---|
| AWS WAF | Applies web ACLs and rule groups to ALBs, API Gateway, CloudFront and more |
| Shield Advanced | Enables Shield Advanced protection on chosen resources |
| Security group | Applies a common group to every instance, audits overly permissive rules and cleans up unused groups |
| Network Firewall | Deploys firewalls and routes in VPCs |
| Route 53 Resolver DNS Firewall | Associates DNS firewall rule groups with VPCs |
| Third-party firewalls | Manages supported partner firewalls |
Firewall Manager policies
How it enforces policies
A Firewall Manager policy defines a protection, such as a WAF web ACL, Shield Advanced protection, a security group baseline or a Network Firewall configuration, and its scope: which accounts or OUs, which resource types and which resource tags it applies to. Firewall Manager applies the policy to existing resources in scope and automatically to new ones, including resources in accounts that join the organisation later.
It reports resources that do not comply, and optional automatic remediation brings them back into line, for example associating the required web ACL with a new load balancer. This is why Firewall Manager is the usual answer when a protection must be enforced consistently across every account.
The following diagram shows a policy applied across its scope.

Consistent protection in every account
An organisation with 60 accounts finds that some teams forgot to attach WAF to their ALBs and others left security groups open to the internet on port 22.
| Firewall Manager policy | Effect |
|---|---|
| AWS WAF policy for all ALBs in production OUs | A standard web ACL is attached to every existing and new ALB |
| Security group audit policy | Rules allowing 0.0.0.0/0 on port 22 are reported and removed automatically |
| Shield Advanced policy | Public-facing resources in critical accounts are protected |
Firewall Manager requires AWS Config in each account and is run from a delegated administrator, so the security team manages the policies without using the management account.
What does Firewall Manager do that WAF alone does not?
Show answer
It applies WAF rules, Shield Advanced protection, security groups and network firewall policies across all accounts in an organisation, including resources created later.
Exam Tips
Remember for the exam
- To apply WAF rules across all accounts, including new ones, use Firewall Manager.
- To audit overly permissive security groups across all accounts, use a Firewall Manager security group policy.
- Firewall Manager requires AWS Organizations and AWS Config.
- To deploy Network Firewall consistently across VPCs in many accounts, use a Firewall Manager Network Firewall policy.