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

Deploy OpenSearch search applications to Aiven for OpenSearch (a fully managed OpenSearch service across AWS, GCP, Azure, DigitalOcean, and UpCloud). Use this skill when the user wants to provision an Aiven OpenSearch service, deploy a search configuration to Aiven, migrate a local search setup to Aiven, or manage Aiven-hosted OpenSearch infrastructure. Activate even if the user says Aiven, avn, Aiven Console, managed OpenSearch on Aiven, or Aiven OpenSearch without mentioning search. For Amazon OpenSearch Service or Serverless, use aws-setup instead.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

reference.md

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

Aiven for OpenSearch Deployment Reference

Reference material for plan sizing, cost, TLS, HA, and operations. Load only when the user asks about these topics.

Plans and Sizing

Aiven OpenSearch is billed per plan (a fixed bundle of nodes + CPU + RAM + disk), not per compute unit. Plan families:

  • Hobbyist / Startup — single node, dev/test and small workloads.
  • Business — multi-node with high availability (replicas across nodes).
  • Premium — larger multi-node clusters for production scale.

Always call aiven_service_type_plans (service_type="opensearch") for the live list, exact sizes, and per-plan pricing/regions — do not hardcode. Let the user choose.

Cost

  • Billed hourly at the plan's rate for as long as the service exists (not per-query).
  • Larger plans = more nodes/CPU/RAM/disk = higher hourly cost.
  • Cost levers: right-size the plan, power the service off when idle (dev), and use the aiven_service_plan_pricing tool to compare before committing.
  • New Aiven accounts typically include trial credits — a small plan can run for evaluation at no cost until credits are exhausted.

TLS / CA Handling

Aiven fronts services with a project-level self-signed CA. Two options for opensearch-mcp-server:

  1. Dev / quick start — OPENSEARCH_SSL_VERIFY=false. Skips verification; acceptable for local experimentation only.

  2. Verified TLS (recommended for anything real) — download the project CA and point the client at it:

    • Aiven Console: Project → Settings → CA certificate, or
    • Aiven CLI: avn project ca-get --project <project>

    Then supply it to the client (e.g. OPENSEARCH_SSL_VERIFY=true with the CA on the trust path, or the client's CA-cert setting). Never disable verification in production.

High Availability

  • Choose a multi-node Business/Premium plan so shards and replicas spread across nodes.
  • Set number_of_replicas >= 1 on indices.
  • Aiven runs automated backups; enable and verify per the service's backup settings.
  • For network isolation, deploy the service into an Aiven Project VPC and peer it with your cloud VPC (project_vpc_id on the service).

Monitoring

  • Metrics: aiven_service_metrics_fetch (CPU, memory, disk, JVM) for the OpenSearch service.
  • Logs: aiven_project_get_service_logs for cluster logs (retained ~4 days by default; ship to a log integration for longer retention).
  • Integrations: Aiven can push metrics/logs to a Grafana/Prometheus or another OpenSearch service via service integrations.

Troubleshooting

Issue Check
aiven_service_create not available Connection is read-only — reconnect aiven-mcp with full access (or write_allowlist=aiven_service_create)
aiven_service_metrics_fetch / logs not available Monitoring needs full access — a provisioning-only (write_allowlist) connection excludes them
credentials show [REDACTED] Reconnect aiven-mcp with allow_secrets=true, and read them via aiven_service_connection_info
Service stuck in BUILDING Normal for a few minutes; re-check with a single aiven_service_get — do not loop
TLS handshake / cert errors Use the project CA, or OPENSEARCH_SSL_VERIFY=false for dev
401 / auth failed to the cluster Confirm username (avnadmin) and password from aiven_service_connection_info; password may have rotated
Cluster health yellow Unassigned replicas — expected on single-node plans; use a multi-node plan or set number_of_replicas: 0 for dev
Remote ML connector rejected Endpoint not in the trusted allowlist — configure trusted_connector_endpoints_regex in the service's OpenSearch user config, or use a local pretrained model
Model deployment fails Confirm ML Commons is enabled and the plan has enough heap; smaller plans may not fit larger models

Source: SKILL.md on GitHub

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.

1 alert3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    The skill is authored by a known organization and provides deployment automation for Aiven OpenSearch. It follows a discouraged security practice by passing sensitive passwords through command-line arguments during the Search UI launch.

  • Socket3mo

    1 alert: gptAnomaly

  • Snyk3mo

    Risk: HIGH · 1 issue

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 4 months ago
metadata
{
  "author": "opensearch-project",
  "version": "1.0"
}
Other metadata
compatibility
Requires the Aiven MCP server (aiven-mcp) connected with full access and allow_secrets=true, plus opensearch-mcp-server. An Aiven account with a project and a valid API token is required. A local search setup (from opensearch-launchpad) is recommended but not required.

README badge

README badge for opensearch-project/opensearch-agent-skills/aiven-setup