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.

aws-setupaosdomain-01-provision.md

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

Amazon OpenSearch Service Domain — Step 1: Provision Domain

This guide covers creating and configuring an Amazon OpenSearch Service Domain (managed cluster). Follow it after prepare_aws_deployment() returns deployment_target: "domain".

Prerequisites

Before starting:

  1. Read .opensearch-deploy-state.json for current deployment state
  2. Confirm AWS credentials are valid: aws sts get-caller-identity (via AWS API MCP)
  3. Verify required MCP servers are connected: awslabs.aws-api-mcp-server, opensearch-mcp-server
  4. Save the AWS account ID and principal ARN to the state file

State Input

From .opensearch-deploy-state.json:

  • deployment_target: "domain"
  • search_strategy: "agentic" or other

Step 1: Get Latest OpenSearch Version

Before creating the domain, fetch the latest available OpenSearch version:

aws opensearch list-versions

This returns all supported versions. Pick the latest OpenSearch_X.Y version (highest major, then minor). Ignore Elasticsearch_* versions.

For agentic search, confirm the selected version is 3.3 or higher.

Step 2: Create Domain

Use the AWS API MCP server with the version from Step 1:

aws opensearch create-domain
  --domain-name <domain-name>
  --engine-version <latest-version-from-step-1>
  --cluster-config InstanceType=t3.medium.search,InstanceCount=1
  --ebs-options EBSEnabled=true,VolumeType=gp3,VolumeSize=100
  --node-to-node-encryption-options Enabled=true
  --encryption-at-rest-options Enabled=true
  --domain-endpoint-options EnforceHTTPS=true

For production, use larger instances (r6g.large.search, 3+ data nodes, 3 dedicated leaders).

Step 3: Enable Fine-Grained Access Control

aws opensearch update-domain-config
  --domain-name <domain-name>
  --advanced-security-options Enabled=true,InternalUserDatabaseEnabled=true,MasterUserOptions={MasterUserName=admin,MasterUserPassword=<strong-password>}

Set up:

  • Master user credentials
  • Role-based access control

Step 4: Configure Network Access

Public access (development):

  • Set IP-based access policies
  • Use fine-grained access control

VPC access (production):

  • Deploy within VPC, configure security groups

Step 5: Wait for Domain Active

Poll until domain is active (typically 10-15 minutes):

aws opensearch describe-domain --domain-name <domain-name>

Wait for:

  • Processing: false
  • DomainStatus.Endpoint: available

State Output

Update .opensearch-deploy-state.json:

{
  "step_completed": "provision-domain",
  "aws_account_id": "<from sts get-caller-identity>",
  "aws_region": "<configured region>",
  "principal_arn": "<from sts get-caller-identity>",
  "resource_name": "<domain-name>",
  "resource_endpoint": "<domain-endpoint-url>"
}

Next Step

Proceed to Domain Deploy Search.

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