Repository navigation
Can I use AWS Opensearch as my elastic search provider? #790
Replies: 1 comment
|
Possible in practice, with two caveats up front: OpenSearch is not an officially tested visibility backend for Temporal, and Temporal cannot sign requests. Why it works at all: Temporal talks to the visibility store through its Elasticsearch client and only uses index, search and aggregation operations that OpenSearch kept compatible. Point the chart at it as if it were Elasticsearch 7, whatever your OpenSearch major version: elasticsearch:
enabled: true
version: v7
scheme: https
host: search-<domain>.<region>.es.amazonaws.com
port: 443
username: <master user>
password: <master password>
logLevel: error
The authentication caveat is the one that stops most people: Temporal has no SigV4 signing, so an OpenSearch domain whose access policy only allows IAM signed requests will refuse it. Use fine-grained access control with an internal master user and basic auth, as in the values above, and restrict the domain by network policy and VPC placement instead. An API key, where your domain supports it, also works because that is still a header the client can send without signing. Operational notes from running it this way: index management differs, OpenSearch uses ISM where Elasticsearch uses ILM, so do not expect Temporal's index templates to set up retention for you; create your ISM policy separately. And stay on OpenSearch 2.x for this. OpenSearch 3.x removed more of the legacy Elasticsearch compatibility, and it is not a combination I would start a new deployment on. |
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
I can't find any configuration to use AWS Opensearch as the external elasticsearch provider.
I would like to know if it is possible to do that and in case I can, how can I configure it?
All reactions