aws-opensearch
Manage OpenSearch Service domains for search and analytics.
TLDR
List all OpenSearch domains
SYNOPSIS
aws opensearch subcommand [options]
DESCRIPTION
aws opensearch is a subcommand of the AWS CLI that manages Amazon OpenSearch Service, a managed search and analytics engine. It is the successor to Amazon Elasticsearch Service and is compatible with OpenSearch and legacy Elasticsearch APIs.
OpenSearch domains are clusters that run the OpenSearch engine. Each domain has a cluster configuration (instance types, counts), storage settings (EBS volumes), access policies, and optional features like fine-grained access control and encryption.
The service supports use cases including log analytics, full-text search, application monitoring, and SIEM. OpenSearch Dashboards provides visualization capabilities.
PARAMETERS
list-domain-names
List all domains in the account.describe-domain
Get domain status and configuration.describe-domain-config
Get detailed configuration settings.create-domain
Create a new OpenSearch domain.update-domain-config
Modify domain settings.delete-domain
Remove a domain.list-versions
List available OpenSearch and Elasticsearch versions.upgrade-domain
Initiate a version upgrade.get-upgrade-status
Check upgrade progress.--domain-name name
Name of the domain.--engine-version version
OpenSearch or Elasticsearch version.--cluster-config config
Instance type, count, and zone awareness.--ebs-options options
EBS volume configuration.--access-policies json
Resource-based access policy.--vpc-options options
VPC configuration for private domains.--encryption-at-rest-options options
Enable encryption at rest.
CAVEATS
Domain names must be lowercase and unique within a region. Configuration changes can take 15-30 minutes to apply. Domains in a VPC cannot be made public later. Version upgrades may require blue/green deployment. Fine-grained access control requires HTTPS and node-to-node encryption. Deleting a domain permanently removes all data.
HISTORY
Amazon Elasticsearch Service launched in October 2015 as a managed Elasticsearch offering. Following the Elasticsearch license change, AWS forked the project and rebranded the service as Amazon OpenSearch Service in September 2021, based on the open-source OpenSearch project. The service has added features like UltraWarm storage tiers, serverless collections, and vector search for AI applications.
SEE ALSO
aws(1), curl(1), aws-logs(1), aws-firehose(1)
