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

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

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

aossaoss-nextgen-provisioningERRORS.md

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

Error Handling

Companion file for the AOSS NextGen provisioning skill. Read this when any command fails.


Credential Failure

If aws sts get-caller-identity fails, STOP immediately. Tell the user: "AWS credentials are missing or expired. Please configure credentials and try again."

Name Collision

If any create command fails with "ConflictException" or "already exists":

  • Inform the user which resource name already exists
  • Ask if they want to use a different name
  • Suggest: <name>-2 or ask for their preference

Region Not Supported

If a command fails with "Could not connect to the endpoint URL":

  • Inform the user that AOSS may not be available in that region
  • Suggest supported regions: us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-central-1, ap-southeast-1, ap-southeast-2, ap-northeast-1

Invalid OCU Values

If create-collection-group fails with "Invalid value for maxIndexingCapacityInOCU" or similar:

  • Inform the user that OCU values must be: 1, 2, 4, 8, 16, or any multiple of 16 (32, 48, 64, 80, 96)
  • Ask for corrected values

Vector Options Not Supported

If create-collection fails with "Providing VectorOptions during collection creation is not supported for account":

  • Inform the user their account doesn't have vector acceleration enabled
  • Retry without the vectorOptions field

Collection Not Deletable (Still Creating)

If delete-collection fails with "ConflictException" and message about status not being ACTIVE/FAILED:

  • The collection is still being created (NextGen: ~30s, standalone: 3-5 minutes)
  • Wait 30 seconds and retry
  • After 5 retries, inform user and suggest waiting a few more minutes before trying again

Partial Failure During Provisioning

If a command fails mid-flow (e.g., collection group created but collection fails):

  • Report what was successfully created
  • Report what failed and the error message
  • Suggest cleanup: "You can re-run with a different name, or use the Deprovision flow to clean up the partial resources."

API Throttling

If a command fails with "ThrottlingException":

  • Wait 5 seconds and retry (max 3 attempts)
  • If still failing after retries, inform the user and suggest trying again in a minute

Collection Group Not Empty on Delete

If delete-collection-group fails with "ValidationException" and message "has collections associated":

  • The group still has active or deleting collections
  • List remaining collections, delete them first, poll until gone, then retry group deletion

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 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides comprehensive automation for deploying Amazon OpenSearch Service and Serverless infrastructure on AWS. It uses standard AWS CLI commands for provisioning and fetches specialized MCP servers from trusted organizations and well-known service domains. The skill follows security best practices such as mandatory credential verification and explicit IAM role configurations.

  • Socket1mo

    1 alert: gptAnomaly

  • 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 4 months ago
metadata
{
  "author": "opensearch-project",
  "version": "2.0"
}
Other metadata
compatibility
Requires AWS credentials (IAM role or access keys), awslabs.aws-api-mcp-server, and opensearch-mcp-server. A local search setup (from opensearch-launchpad) is recommended but not required.

README badge

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