Cross-Region and cross-account data access - Amazon OpenSearch Service

Cross-Region and cross-account data access

OpenSearch UI supports accessing data from OpenSearch domains across different AWS accounts and AWS Regions. You can choose from two approaches depending on your requirements. The following table compares the two approaches.

Note

Both cross-account data access and cross-cluster search work only with OpenSearch domains. Neither approach supports OpenSearch Serverless collections.

Aspect Cross-account data access Cross-cluster search
Feature Associate domains from other accounts as direct data sources in OpenSearch UI Query data across connected domains using cross-cluster search connections
Mechanism Direct access – OpenSearch UI connects directly to the target domain in another account Indirect access – requires a local domain in the same account as OpenSearch UI to relay requests to remote domains
Cross-account support Yes Yes
Cross-Region support No – source and target domains must be in the same AWS Region Yes – source and destination domains can be in different AWS Regions
Union data across domains No – each domain is queried independently as a separate data source Yes – a single query can aggregate results from multiple connected domains
Authentication methods IAM and AWS IAM Identity Center IAM (with fine-grained access control)
Setup complexity Lower – requires a cross-account IAM role for validation Higher – requires cross-cluster connections, access policies on both domains, and fine-grained access control
Data source visibility in OpenSearch UI Each cross-account domain appears as a separate data source Remote domains are accessed through the local source domain's connection aliases
Write access to remote domain Yes – controlled by the target domain's access policy No – cross-cluster search provides read-only access to remote domains