Configure Workflows on Amazon OpenSearch Serverless
Workflows
Workflows support builders in innovating AI applications on OpenSearch. The current process of using machine learning (ML) offerings in OpenSearch, such as Semantic Search, requires complex setup and pre-processing tasks, along with verbose user queries, both of which can be time-consuming and error-prone. Workflows are a simplification framework to chain multiple API calls for OpenSearch.
For setup and usage, see Automating configurations
-
OpenSearch Serverless uses only remote models in workflow steps. You don't need to deploy these models.
-
OpenSearch Serverless doesn't support the Re-index Workflow step.
-
When you search Workflows and Workflow states after other API calls, expect up to 15 seconds of latency for updates to appear.
OpenSearch Serverless Collections support Workflows when it's used as a data source in your OpenSearch UI application. For more information, see Managing data source associations.
Configure permissions
Before you create and provision a template, verify that you have the required permissions. If you need assistance, contact your account administrator. OpenSearch Serverless Workflows require the following permissions. You can scope permissions to a specific collection by defining the collection resource ARN in your IAM policy.
Example : Workflows policy
-
aoss:*CollectionItems – Grants permission to create and manage templates, and provision search and ingest pipelines.
-
aoss:*Index – Grants permission to create and delete indices using OpenSearch API operations.
-
aoss:*MLResource – Grants permission to provision workflow steps that use the Configure Machine Learning.