AWS Firewall Manager and AWS Organizations - AWS Organizations

AWS Firewall Manager and AWS Organizations

AWS Firewall Manager is a security management service that centrally configures and manages firewall rules for web applications across your accounts and applications. Using AWS Firewall Manager, you can roll out AWS WAF rules all at once for your Application Load Balancers and Amazon CloudFront distributions across all of the accounts in your AWS organization. Use AWS Firewall Manager to set up your firewall rules just once and have them automatically applied across all accounts and resources within your organization, even as new resources and accounts are added.

Note

Although Firewall Manager doesn't use an Organizations delegated administrator, it does have its own ability to delegate another account as administrator of the Firewall Manager service in the accounts in your organization. For more information, see Set the AWS Firewall Manager administrator account

For more information about AWS Firewall Manager, see the AWS Firewall Manager Developer Guide.

Use the following information to help you to help you integrate AWS Firewall Manager with AWS Organizations.

Service-linked roles created when you enable integration

The following service-linked role is automatically created in your organization's accounts when you enable trusted access. These roles allow Firewall Manager to perform supported operations within the accounts in your organization.

You can delete or modify these roles only if you disable trusted access between Firewall Manager and Organizations, or if you remove the member account from the organization.

  • AWSServiceRoleForFMS

Service principals used by the service-linked roles

The service-linked roles in the previous section can be assumed only by the service principals authorized by the trust relationships defined for the role. The service-linked roles used by Firewall Manager grant access to the following service principals:

  • fms.amazonaws.com

Enabling trusted access with Firewall Manager

For information about the permissions needed to enable trusted access, see Permissions required to enable trusted access.

You can enable trusted access using either the AWS Firewall Manager console or the AWS Organizations console.

Important

We strongly recommend that whenever possible, you use the AWS Firewall Manager console or tools to enable integration with Organizations. This lets AWS Firewall Manager perform any configuration that it requires, such as creating resources needed by the service. Proceed with these steps only if you can’t enable integration using the tools provided by AWS Firewall Manager.For more information, see this note.

If you enable trusted access by using the AWS Firewall Manager console or tools then you don’t need to complete these steps.

You must sign in with your AWS Organizations management account and configure an account within the organization as the AWS Firewall Manager administrator account. For more information, see Step 2: Set the AWS Firewall Manager Administrator Account in the AWS Firewall Manager Developer Guide.

You can enable trusted access by using either the AWS Organizations console, by running a AWS CLI command, or by calling an API operation in one of the AWS SDKs.

Old console

To enable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Settings tab under Trusted access for AWS services, find the row for AWS Firewall Manager, and then choose Enable trusted access.

  3. In the confirmation dialog box, choose Enable access for service-name.

  4. If you are the administrator of only AWS Organizations, tell the administrator of AWS Firewall Manager that they can now enable that service using its console to work with AWS Organizations.

New console

To enable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Services page, find the row for AWS Firewall Manager, choose the service’s name, and then choose Enable trusted access.

  3. In the confirmation dialog box, enable Show the option to enable trusted access, enter enable in the box, and then choose Enable trusted access.

  4. If you are the administrator of only AWS Organizations, tell the administrator of AWS Firewall Manager that they can now enable that service using its console to work with AWS Organizations.

AWS CLI, AWS API

To enable trusted service access using the OrganizationsCLI/SDK

You can use the following AWS CLI commands or API operations to enable trusted service access:

  • AWS CLI: aws organizations enable-aws-service-access

    You can run the following command to enable AWS Firewall Manager as a trusted service with Organizations.

    $ aws organizations enable-aws-service-access \ --service-principal fms.amazonaws.com

    This command produces no output when successful.

  • AWS API: EnableAWSServiceAccess

Disabling trusted access with Firewall Manager

For information about the permissions needed to disable trusted access, see Permissions required to disable trusted access.

You can disable trusted access using either the AWS Firewall Manager console or the AWS Organizations console.

Important

We strongly recommend that whenever possible, you use the AWS Firewall Manager console or tools to disable integration with Organizations. This lets AWS Firewall Manager perform any clean up that it requires, such as deleting resources or access roles that are no longer needed by the service. Proceed with these steps only if you can’t disable integration using the tools provided by AWS Firewall Manager.

If you disable trusted access by using the AWS Firewall Manager console or tools then you don’t need to complete these steps.

To disable trusted access using the Firewall Manager console

You can change or revoke the AWS Firewall Manager administrator account by following the instructions in Designating a Different Account as the AWS Firewall Manager Administrator Account in the AWS Firewall Manager Developer Guide.

If you revoke the administrator account, you must sign in to the AWS Organizations management account and set a new administrator account for AWS Firewall Manager.

You can disable trusted access by using either the AWS Organizations console, by running an Organizations AWS CLI command, or by calling an Organizations API operation in one of the AWS SDKs.

Old console

To disable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Settings tab under Trusted access for AWS services, find the row for AWS Firewall Manager and then choose Disable access.

  3. In the dialog box, choose Disable access for service-name.

  4. If you are the administrator of only AWS Organizations, tell the administrator of AWS Firewall Manager that they can now disable that service using its console or tools from working with AWS Organizations.

New console

To disable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Services page, find the row for AWS Firewall Manager and then choose the service’s name.

  3. Choose Enable trusted access.

  4. In the confirmation dialog box, enter disable in the box, and then choose Disable trusted access.

  5. If you are the administrator of only AWS Organizations, tell the administrator of AWS Firewall Manager that they can now disable that service using its console or tools from working with AWS Organizations.

AWS CLI, AWS API

To disable trusted service access using the Organizations CLI/SDK

You can use the following AWS CLI commands or API operations to disable trusted service access: