Deployments and Infrastructure > Extensions > Amazon OpenSearch
Amazon OpenSearch
Learn how to configure and share Amazon OpenSearch Service in your Webiny project.
- how to enable and configure Amazon OpenSearch Service
- how to connect Webiny to a shared OpenSearch domain
Overview
Webiny supports Amazon OpenSearch Service for advanced search and filtering. By default it is disabled. You configure it via the Infra.OpenSearch component in webiny.config.tsx.
Enabling OpenSearch
Adjusting Configuration
Use the Infra.Core.Pulumi extension to adjust the OpenSearch domain configuration — for example, changing the instance type, engine version, or advanced options:
Using a Shared OpenSearch Domain
For development purposes, you can share a single OpenSearch domain across multiple environments using the domainName, indexPrefix, endpoint, username, and password props.
For guidance on deploying the cluster itself and a full walkthrough of the shared setup, see Shared OpenSearch Cluster.
Sharing an OpenSearch domain is only recommended for development environments. In production, use a dedicated domain per environment.
Redeploying After Changes
After making changes, redeploy by running the webiny deploy command:
Use --env <name> to target a specific environment if needed.