Set up Omni for your organization
Use this guide to set up CloudWatch Omni across an AWS Organization. An administrator creates the Organization domain once, from the management account. After that, a space can be created either by the member account itself or by an organization administrator on its behalf, and the space is automatically linked to the domain. See Part 2: Create a space in a member account.
This provides a single sign-in URL for your organization and centralized identity provider configuration, and removes the need for each account to configure its own domain.
If you operate in a single AWS account, see Set up Omni for a single account instead.
Enabling Omni does not change or disable anything in CloudWatch. Your existing metrics, logs, alarms, dashboards, and Logs Insights queries keep working.
Who does what
Organization domain setup involves the following roles:
-
Organization administrator — Creates the Organization domain from the AWS Organizations management account, chooses the domain name, and configures the identity provider. Optionally, creates spaces for member accounts from the management account or a delegated administrator account. For steps, see Option A: Create the space from the management account or a delegated administrator account.
-
Account owner (member account) — Creates a space in their own account and Region, unless an organization administrator has already created one for them. The space is automatically linked to the Organization domain.
Part 1: Create the domain (Organization administrator)
Prerequisites
-
Access to the AWS Organizations management account with permission to enable Omni and create a domain.
-
Trusted access between AWS Organizations and CloudWatch, enabled for your organization. Enabling trusted access requires the
organizations:EnableAWSServiceAccessandiam:CreateServiceLinkedRolepermissions. See Amazon CloudWatch and AWS Organizations. -
The AWS Region you want to work in.
-
Note: If you plan to use IAM Identity Center, the Organization domain must be created in the same Region as the primary Region of IAM Identity Center. Your member accounts can still create spaces in other Regions. For the two ways to support that, see Create a space in a Region where your IAM Identity Center instance is not available.
Choose your domain name
Your domain name becomes part of a URL your whole team uses, and it identifies your organization in Omni.
The name must meet these requirements:
-
3–63 characters using lowercase letters, numbers, and hyphens.
-
Must start and end with a letter or number.
-
Cannot contain consecutive hyphens.
-
Certain names are reserved, including AWS service names, Region-like names, and names beginning with
aws-,amazon-,cloudwatch-, oromni-. -
Must be unique across all CloudWatch domains.
After you create the domain, it is reachable at
https://<domain-name>.cloudwatch-omni.global.app.aws.
Create the domain
-
Sign in to the AWS Organizations management account.
-
Open the Omni setup page in the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch/home#settings:/omni
. -
Choose Get started.
-
Select Organization domain.
-
Enter your domain name.
-
Complete the permissions step. Omni creates the IAM roles it needs on your behalf.
-
When domain creation finishes, record your domain name and domain URL.
Connect your identity provider
You configure sign-in for your domain through AWS IAM Identity Center, so your team uses the identities you already manage, including an external provider such as Okta or Microsoft Entra ID connected to IAM Identity Center. You configure this at the domain, not per space.
Your IAM Identity Center instance and your domain must be in the same AWS Region. If they are not, you cannot configure sign-in for the domain. Your member accounts can still create spaces in other Regions. See Create a space in a Region where your IAM Identity Center instance is not available.
If you do not connect an identity provider, your team can sign in to Omni using an IAM user or IAM role (for example, through a deep link from the CloudWatch console).
Share the domain with your team
Domain setup is complete. Member accounts can now create their own spaces,
or they can be created by an organization administrator (see Option A: Create the space from the management account or a delegated administrator account).
Each space is automatically linked to this domain. Share the domain URL
(https://<domain-name>.cloudwatch-omni.global.app.aws)
with account owners who need to create spaces.
Part 2: Create a space in a member account
Each member account can have one space in each Region, and each space is automatically linked to the Organization domain. You can create a member account's space in either of two ways:
-
Option A: An organization administrator creates the space from the management account or a delegated administrator account, without signing in to the member account.
-
Option B: An account owner signs in to the member account and creates the space there.
Option A: Create the space from the management account or a delegated administrator account
When you create a space this way, the console first creates the IAM roles that Omni needs in the member account. It then gets temporary credentials for that account, called provisioning credentials, and uses them to create the space and turn on its Dataset integration. IAM Identity Center users can't create a member account's space.
Prerequisites
-
An Organization domain. See Part 1.
-
A member account that is active in the organization. It can't be the management account.
-
An IAM user or role in the management account or a delegated administrator account that has:
-
A domain admin access grant on the domain.
-
Permission for
cloudwatch:CreateProvisioningRolesForOrganizationandcloudwatch:GetSpaceCredentialsForOrganization.
-
Create the space in the console
-
Sign in to the management account or a delegated administrator account with the IAM user or role described in the prerequisites.
-
Open the Omni setup page
in the Amazon CloudWatch console. -
In the Spaces section, choose Create space.
-
In the account picker, choose the member account.
-
Enter a Space name, and choose the Space Region.
-
(Optional) If your domain has cross-Region IAM Identity Center enabled, choose the IAM Identity Center Region. See Create a space in a Region where your IAM Identity Center instance is not available.
-
(Optional) Under Permissions, choose the permissions that you want for the space.
-
Choose Create space.
If setup fails, see Troubleshooting space setup.
If the member account's Dataset uses a customer managed key
If the member account's default CloudWatch Dataset in the
space's Region is encrypted with a customer managed key, the Dataset
integration role needs permission to use that key. The role that CloudWatch
creates doesn't include AWS KMS permissions, so you must add them
before you turn on the Dataset integration.
Provisioning credentials don't include IAM permissions, so you can't make this change with them. Someone with IAM access in the member account must make it instead, for example by using a role that an organization administrator can assume in that account.
To grant access to the key, add an inline policy to the
CloudWatchOmniDatasetIntegrationRole-Org-
role that allows suffixkms:Decrypt on the key. In the following
example policy, replace the Region, account ID, and key ID with your own
values.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "DecryptDatasetCmk", "Effect": "Allow", "Action": "kms:Decrypt", "Resource": "arn:aws:kms:us-west-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab", "Condition": { "StringEquals": { "kms:EncryptionContext:aws:cloudwatch:arn": "arn:aws:cloudwatch:us-west-2:444455556666:dataset/default", "kms:ViaService": "cloudwatch.us-west-2.amazonaws.com" } } } ] }
Option B: Create the space from the member account
This option is for account owners in member accounts. You create a space in your own account and Region.
Prerequisites
-
An Organization domain for your organization. If one doesn't exist, ask an organization administrator to create it. For steps, see Part 1.
-
Permission to create a space. Grant this permission only to administrators.
-
A Region for the space. Each space belongs to one Region. By default, users sign in to a space through IAM Identity Center in the space's Region, so your organization's IAM Identity Center instance must be available there. If it isn't, see Create a space in a Region where your IAM Identity Center instance is not available.
Create a space
-
Open the Omni setup page in the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch/home#settings:/omni
. -
Choose Create space.
-
Enter a space name and confirm the account and Region.
-
(Optional) If cross-Region IAM Identity Center access is on for your domain, choose an IAM Identity Center Region. See Create a space in a Region where your IAM Identity Center instance is not available.
-
Complete the setup. Omni enables the capabilities described in the following section for your account and Region.
Create a space in a Region where your IAM Identity Center instance is not available
A space signs in through IAM Identity Center in a Region where your organization's instance is available: its primary Region, or an additional Region that the instance is replicated to. By default, a space signs in through its own Region.
If you need a space in a Region where your instance is not available, a domain administrator has two options. The following table compares them.
| Option | Where people sign in |
|---|---|
| Replicate IAM Identity Center into the space Region (recommended) | In the space's own Region. |
| Turn on cross-Region IAM Identity Center access | In another Region where the instance is available. This adds the latency of a cross-Region request to sign-in, and sign-in depends on that other Region staying available. |
Replicate IAM Identity Center into the space Region (recommended)
Replicate your IAM Identity Center instance into the Region you need. The space then signs in through its own Region, and nothing changes on the domain or the space.
This is the recommended option, because sign-in for the space does not take on the latency of a request to another Region and does not depend on another Region staying available.
To set up multi-Region replication, see Multi-Region replication in the AWS IAM Identity Center User Guide. You cannot create a space in the Region until replication to it finishes.
Turn on cross-Region IAM Identity Center access
With cross-Region IAM Identity Center access, you can create a space in a Region where your organization's IAM Identity Center instance is not available. People sign in to that space through a Region where the instance is available, and you do not replicate IAM Identity Center into the space Region.
This is not the recommended option, because sign-in for the space then takes on the latency of a request to another Region and stops working if that Region becomes unavailable.
This setting applies to the whole domain and is off by default. It is available for Organization domains only, and only administrators of the domain can adjust it. Ask them to complete the following steps:
-
Open the Omni setup page
in the Amazon CloudWatch console. -
Open the Domain overview page for your Organization domain.
-
Under Domain details, choose Actions, then Turn on cross-Region IAM Identity Center access.
-
In the cross-Region notice, select the acknowledgment, then choose Turn on. This can take a few minutes to take effect. If creating a space fails right afterward, wait a few minutes and try again.
After the setting is on, whoever creates the space chooses an IAM Identity Center Region: the Region that the space uses for sign-in. You can choose any Region where your instance is available and in which CloudWatch Omni is available. Sign-in and access to the space's data go through that Region, and the space's telemetry stays in the space Region.
If a domain administrator later turns the setting off, people can no longer sign in with IAM Identity Center to a space that uses another Region for sign-in. You also cannot add IAM Identity Center users or groups to that space.
People who are already signed in can keep reading data for up to an hour. Turning the setting back on restores sign-in.
Capabilities enabled when you create a space
Setting up a space turns on the following CloudWatch capabilities in your account and Region. These are telemetry features, not permissions. For the IAM roles that space setup creates, see the "IAM roles created during space setup" section of this page.
| Capability | What it does | Learn more |
|---|---|---|
| CloudWatch Dataset integration | Enables forwarding of your logs and traces to the CloudWatch Dataset, which makes them queryable and correlated together in Omni. You do not manage a separate store or change how you manage existing CloudWatch resources such as log groups. | CloudWatch Omni |
| OTel metrics enrichment | Enriches AWS metrics with resource attributes in OpenTelemetry format and makes them queryable with PromQL. | CloudWatch OTel metrics enrichment |
| OTel span ingestion | Enables trace and span ingestion so Omni can receive and correlate distributed traces. | Enable CloudWatch transaction search |
These capabilities apply to telemetry received after you complete space
setup. Enabling these capabilities does not incur charges on its own. Costs
begin when telemetry flows through them. See Amazon CloudWatch
pricing
On the first enablement, Omni backfills your space with up to 7 days of existing CloudWatch logs and traces. Telemetry older than 7 days, and data encrypted with a customer managed AWS KMS key, are not included in the backfill.
IAM roles created during space setup
Space setup creates the following IAM roles in the account that holds the space. Omni uses these roles to read and correlate your telemetry:
-
CloudWatchOmniSpaceDataAccessRole— Omni assumes this role to manage your space, query telemetry, and configure integrations. -
CloudWatchOmniDatasetIntegrationExecutionRole— CloudWatch assumes this role to make your telemetry available in Omni through the Dataset. -
AgentCoreEvaluationRole— Amazon Bedrock AgentCore assumes this role to run online AI agent evaluations on your telemetry. This role is optional: during setup you keep the default role, choose an existing role, or opt out. See Online evaluations.
When an organization administrator creates the space for you, CloudWatch creates
these same three roles, from role templates that AWS owns, under the
/service-role/ path. Their names include
-Org- and a suffix that identifies the setup request. CloudWatch
also creates one additional role,
CloudWatchOmniProvisioningRole, which is what lets the
management account or a delegated administrator account create the space on
your behalf. CloudWatch creates that role once per account and reuses it for later
requests. See Service roles used for setup and Permissions in CloudWatchOmniProvisioningPolicy.
Centralize telemetry across accounts and Regions
If your workloads span several AWS accounts, you can aggregate telemetry from those accounts into the account and Region that hosts your space. After centralization, you can monitor and investigate your telemetry across all of the source accounts and Regions from the same space.
You aggregate telemetry by creating CloudWatch centralization rules. A centralization rule specifies the source accounts and source Regions to collect from, and the destination account and Region to replicate into. Set the destination to the account and Region that hosts your space. Centralization rules require AWS Organizations and must be created from the management account or by a delegated administrator.
You can create centralization rules before or after you create the space. Centralized telemetry is available in the space after both the space and the rule are active.
For setup instructions, see Cross-account cross-Region log centralization and Cross-account cross-Region metrics centralization.
What centralization adds to your space
-
Logs and metrics from all source accounts and Regions in one place — Analyze and act on telemetry across all your accounts and Regions from the centralized account. See Explore and query your telemetry and Alerts.
-
Application map spans accounts — The application map includes services discovered from all source accounts (when Context Graph is enabled as part of your centralization rules), so you see cross-account dependencies. See Monitor applications.
What to know
-
Centralization does not backfill — Only telemetry generated after the centralization rule is active is replicated to the destination.
-
Cross-space queries are not supported — Each space sees the telemetry centralized into its own account and Region. If you need to query across accounts, centralize their telemetry into one account rather than creating separate spaces.
-
Trace centralization requires Transaction Search enablement for each source account — To centralize traces, enable Transaction Search in all your source accounts. Trace centralization then happens automatically when logs centralization is enabled.
-
Costs — Centralization replicates telemetry into the destination account. Standard CloudWatch pricing applies to the replicated data. See Amazon CloudWatch pricing
.
Configure encryption (optional)
By default, Omni manages the encryption of the data it stores for your space. To control encryption with your own key, configure a customer managed AWS KMS key on the space (when you create the space, or later by updating the space's encryption configuration).
The key must meet these requirements:
-
A symmetric encryption key (
ENCRYPT_DECRYPTkey usage), and enabled. -
In the same AWS account and Region as the space.
-
The identity attaching the key must have
kms:Decryptandkms:GenerateDataKeypermission on it. Both are checked when you attach the key, so a key granting only one is rejected at attach time rather than failing later on reads or writes. The error names the missing permission.
Data Omni stores for your space, such as dashboards, is encrypted under the key.
The key's own key policy must also allow CloudWatch Omni to use the key. For the statements the service needs and a complete sample key policy, see Data encryption in CloudWatch Omni.
Troubleshooting space setup
The following table lists common errors when an organization administrator creates a member account's space, and how to fix them.
| Problem | Cause and fix |
|---|---|
Setup fails with
AuthorizationException and says that
the caller doesn't have an ADMIN access grant on the
domain. |
Ask a domain admin to give your principal a domain admin access grant. |
Setup fails with
AuthorizationException and says that
the target account isn't a member of the organization,
or is suspended. |
Choose an active member account. |
Setup fails with ValidationException
and says that CloudWatch can't assume the CloudWatch Omni
service-linked role in the target account. |
Turn on trusted access between AWS Organizations and CloudWatch. |
Setup fails with ConflictException
and says that a role already exists but wasn't created
by CloudWatch for this organization. |
Make sure that nothing uses the role named in the message, delete it in the member account, and try again. |
Setup fails with
ServiceQuotaExceededException. |
The member account has too many roles of the type named in the message. Delete unused ones and try again. |
CreateSpace fails with
ValidationException and says that it's
unable to validate IAM Identity Center availability for
the Region. |
Your IAM Identity Center instance isn't available in the IAM Identity Center Region that you chose for the space. Add the Region to your instance, and then try again. |
| Right after you start, the console shows Access to this member account isn't available right now or Access denied. | New roles and new domain admin access grants can take a few minutes to take effect. Wait a few minutes and try again. |
| The console shows Space created. Some setup could not be completed. | Some setup steps failed after the space was created. Choose Retry setup to repeat only the incomplete steps, or choose Continue to space to finish later. |
Next steps
-
Send telemetry from your applications or agents. See Send telemetry to CloudWatch Omni.
-
Add your team and choose what each person can do. See Control access to your space.