Index of every page on this site: llms.txt
All skills
Run it yourself

Deploy OpenSearch search applications to managed cloud providers. Use this skill when the user wants to provision an OpenSearch domain or serverless collection on AWS, provision a managed OpenSearch service on Aiven, deploy search configurations, set up Bedrock connectors, configure IAM roles for OpenSearch, or migrate a local setup to a managed OpenSearch. Activate even if the user says AOS, AOSS, OpenSearch Service, serverless collection, Bedrock connector, SigV4, AWS deployment, Aiven, or managed OpenSearch.

Use this Skill: https://skilld.dev/gh/opensearch-project/opensearch-agent-skills/cloud

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

aiven-setupaiven-02-deploy-search.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Aiven for OpenSearch — Step 2: Deploy Search Configuration

This guide covers the Aiven-specific part: pointing opensearch-mcp-server at the Aiven cluster. The actual search build (index, mappings, ML models, pipelines, sample docs) is not Aiven-specific — delegate it to the opensearch-launchpad skill rather than duplicating it here.

State Input

From .opensearch-deploy-state.json:

  • resource_host, resource_port, resource_endpoint — from provisioning
  • os_username — the OpenSearch admin user (typically avnadmin)
  • search_strategy — determines which components launchpad deploys

The password is not in the state file — retrieve it from the provisioning step (or re-read via aiven_service_get).

Step 0: Point opensearch-mcp-server at Aiven

Aiven OpenSearch uses basic authentication over HTTPS. Configure the opensearch-mcp-server env block with the connection details:

{
  "opensearch-mcp-server": {
    "command": "uvx",
    "args": ["opensearch-mcp-server-py@latest"],
    "env": {
      "OPENSEARCH_URL": "https://<resource_host>:<resource_port>",
      "OPENSEARCH_USERNAME": "<os_username>",
      "OPENSEARCH_PASSWORD": "<password>",
      "OPENSEARCH_SSL_VERIFY": "false",
      "FASTMCP_LOG_LEVEL": "ERROR"
    }
  }
}
  • OPENSEARCH_SSL_VERIFY=false is acceptable for development. For verified TLS, supply the Aiven project CA instead — see reference.md.
  • If you set the env block, ask the user to reconnect MCP servers so it picks up the endpoint. Alternatively, opensearch-mcp-server accepts the connection details per call — pass them each request and skip the reconnect.

Verify connectivity before proceeding — list indices via opensearch-mcp-server (ListIndexTool).

Step 1: Deploy the Search Configuration (delegate to opensearch-launchpad)

With opensearch-mcp-server pointed at Aiven, hand off to opensearch-launchpad for the build. It already owns index creation, ML model deployment, ingest/search pipelines, and sample indexing for every strategy (BM25, dense vector, neural sparse, hybrid, agentic). Run that flow against the Aiven endpoint exactly as against any other cluster — nothing about the build differs on Aiven.

Aiven-specific notes for the launchpad flow

  • Replicas / HA — Aiven distributes replicas across nodes automatically on multi-node plans. On a single-node plan, replicas stay unassigned (yellow health is expected) — use number_of_replicas: 0 for dev.
  • ML on single-node plans — a single node has no dedicated ML role, so model deploy fails until you set ml_commons_only_run_on_ml_node: false. Aiven blocks the direct PUT /_cluster/settings, so set it via aiven_service_update (user_config.opensearch.ml_commons_only_run_on_ml_node = false). This also means the opensearch_ops.py deploy-model helper 403s — register the model directly through opensearch-mcp-server instead.
  • Model format — prefer ONNX; the TORCH_SCRIPT format of some pretrained models fails to load on OpenSearch 2.17.
  • Remote ML connectors (Bedrock/OpenAI/etc.) — no IAM role as on AWS. Allowlist the endpoint via trusted_connector_endpoints_regex in the service's OpenSearch user configuration; otherwise fall back to a local pretrained model.
  • Plugins — ML Commons, k-NN, and SQL/PPL are available out of the box.

Update state as launchpad completes: "index_name", and (if created) "model_id", "ingest_pipeline_name", "search_pipeline_name".

State Output

Update .opensearch-deploy-state.json:

{
  "step_completed": "deploy-search",
  "index_name": "<index-name>",
  "model_id": "<if created>",
  "ingest_pipeline_name": "<if created>",
  "search_pipeline_name": "<if created>"
}

Next Step

Deployment is complete. Continue with the aiven-setup SKILL.md: launch the Search UI (Step 3), verify health via Aiven metrics/logs (Step 4), and provide access information (Step 5).

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill is a navigational index and configuration guide for deploying OpenSearch to cloud environments like AWS and Aiven. It contains no executable code or malicious patterns.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at c4f7b1e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 6 days ago
metadata
{
  "author": "opensearch-project",
  "version": "2.0"
}
Other metadata
compatibility
AWS deployment requires AWS credentials (IAM role or access keys). Aiven deployment requires the Aiven MCP server and an Aiven API token.

README badge

README badge for opensearch-project/opensearch-agent-skills/cloud