[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAK1HKHTK7CB6PYVV9N816":3,"skill-same:01M7AAK1HKHTK7CB6PYVV9N816":144},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7AAK1HKHTK7CB6PYVV9N816","opensearch-serverless-deployer",null,"Provisions Amazon OpenSearch Serverless collections with secure defaults — collection type selection (SEARCH, TIMESERIES, VECTORSEARCH), encryption policy with customer-managed KMS (must exist before collection), network policy (public or VPC-only), data lifecycle policy (retention), capacity (OCU, min 4 for HA, auto-scaling), standby replicas, SAML \u002F IAM Identity Center authentication, data access policies (IAM principals), VPC endpoints, vector search (k-NN, faiss, nmslib), semantic search with Bedrock embeddings, and flow frameworks. Runs deterministic pre-checks (encryption-policy-first ordering, KMS symmetric key, network policy precedes collection, OCU minimum, SAML metadata URL), emits create- collection CLIs behind a CONFIRM gate, verifies via list-collections. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning OpenSearch Serverless, configuring vector search, or setting up semantic search collections.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opensearch-serverless-deployer\ndescription: Provisions Amazon OpenSearch Serverless collections with secure defaults — collection type selection (SEARCH, TIMESERIES, VECTORSEARCH), encryption policy with customer-managed KMS (must exist before collection), network policy (public or VPC-only), data lifecycle policy (retention), capacity (OCU, min 4 for HA, auto-scaling), standby replicas, SAML \u002F IAM Identity Center authentication, data access policies (IAM principals), VPC endpoints, vector search (k-NN, faiss, nmslib), semantic search with Bedrock embeddings, and flow frameworks. Runs deterministic pre-checks (encryption-policy-first ordering, KMS symmetric key, network policy precedes collection, OCU minimum, SAML metadata URL), emits create- collection CLIs behind a CONFIRM gate, verifies via list-collections. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning OpenSearch Serverless, configuring vector search, or setting up semantic search collections.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws opensearchserverless create-security-policy (encryption, network), create-collection, create-vpc-endpoint, create-access-policy, update-collection, list-collections, batch-get-collection (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Analytics\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: opensearch, analytics, deploy, serverless, vector-search, kms, vpc, saml, semantic-search, collection\n  dependencies: aws-orchestrator\n  keywords: OpenSearch Serverless, collection, VECTORSEARCH, SEARCH, TIMESERIES, OCU, OpenSearch Compute Units, encryption policy, network policy, data lifecycle policy, access policy, KMS, VPC endpoint, SAML, IAM Identity Center, k-NN, faiss, vector search, semantic search, flow frameworks, standby replicas\n  when_to_use: Provisioning a new OpenSearch Serverless collection (SEARCH, TIMESERIES, or VECTORSEARCH), configuring encryption with customer-managed KMS, setting up VPC-only network access, enabling SAML or IAM Identity Center authentication, defining data lifecycle policies, sizing OCU capacity, deploying vector or semantic search, or wiring flow frameworks.\n  activation_triggers: create OpenSearch Serverless collection, provision vector search collection, OpenSearch Serverless with KMS, OpenSearch Serverless VPC endpoint, semantic search collection, k-NN vector index, OpenSearch Serverless SAML auth, OCU capacity planning, flow frameworks OpenSearch, opensearchserverless create-collection\n  invocation_schema: 'Input: either (a) a collection deployment intent (create, update) with target collection name, type (SEARCH \u002F TIMESERIES \u002F VECTORSEARCH), encryption, network, capacity, access, lifecycle, and optional vector config; OR (b) a collection id for live-account update or validation. Output: deterministic COLLECTION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.'\n---\n\n# OpenSearch Serverless Deployer\n\n## What this skill does\n\nProvisions Amazon OpenSearch Serverless collections with secure defaults —\nencryption policy created BEFORE the collection (KMS key is immutable\npost-creation), network policy preceding collection creation, data access\npolicy using IAM principals (never resource-based), standby replicas\nenabled for HA, OCU floor at 4 (2 indexing + 2 search) for production, and\nlifecycle policies for timeseries\u002Fvectorsearch retention. Runs deterministic\npre-checks before any state-changing CLI, emits the exact `create-collection`\nand `create-security-policy` CLIs behind a CONFIRM gate, and verifies the\ncollection via `list-collections`. Every plan surfaces the encryption-first\nordering rule, the network-policy-before-collection rule, the data-access-\npolicy vs resource-policy distinction, and the OCU cost floor.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + collection type matrix | Before any operation |\n| **Mindset** | Why encryption-first ordering matters; immutable collection fields; OCU cost floor | Understanding the deployment model |\n| **Pre-flight** | Collection metadata gate — KMS key, VPC subnets, SAML metadata, IAM permissions | Before executing any CLI |\n| **Process** | Per-operation planning: encryption, network, lifecycle, collection, VPC endpoint, access | When choosing which operation |\n| **STRICT output contract** | Required COLLECTION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent common insecure or broken patterns | Review before deploy |\n| **Expert heuristic** | Choosing collection type and OCU capacity per use case | Sizing and type selection |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (encryption policy missing or wrong key type, network policy missing, VPC subnets invalid, SAML metadata unreachable, IAM permission missing, collection name collision, standby replicas disabled in production, OCU floor below 4, attempting to change immutable field on update) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full collection config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass for\nREADY_TO_DEPLOY):**\n\n1. **Collection name uniqueness** — `list-collections` returns no match (for\n   create) or matches exactly one (for update).\n2. **Encryption policy exists** — a security policy of type `encryption`\n   with a matching pattern exists BEFORE collection creation. Without it,\n   the collection uses the AWS-owned key and cannot be changed after.\n3. **KMS key is symmetric** — if the encryption policy references a\n   customer-managed KMS key, it MUST be `SYMMETRIC_DEFAULT`.\n4. **Network policy exists** — a security policy of type `network` covering\n   the collection pattern exists BEFORE creation. Without it, the collection\n   is unreachable.\n5. **Standby replicas** — for production, `StandbyReplicas: ENABLED`. Doubles\n   the OCU cost but survives an AZ failure. DISABLED is dev\u002Fstaging only.\n6. **OCU floor** — minimum 2 indexing + 2 search OCUs (4 total) for\n   production. Below this, the collection cannot handle concurrency.\n7. **VPC subnets** — if VPC access, the VPC ID and subnet IDs resolve and\n   security groups exist.\n8. **Data access policy** — at least one IAM principal has collection-level\n   and document-level grants. Without it, the collection is unreachable.\n9. **SAML metadata (if SAML auth)** — the metadata URL or XML is reachable\n   and parses as valid SAML 2.0.\n10. **Lifecycle policy (timeseries)** — a `lifecycle` policy covering the\n    collection pattern exists. Without it, data accumulates indefinitely.\n\n## Mindset\n\n**One-line takeaway:** an OpenSearch Serverless collection is not \"an\nElasticsearch cluster that scales itself\" — it is a **policy-ordered\ndeployment** where the encryption and network policies MUST exist BEFORE\nthe collection, the KMS key choice is immutable post-creation, and the OCU\nfloor determines both cost and availability.\n\nThree facts make OpenSearch Serverless provisioning different from managed\nOpenSearch:\n\n- **Encryption policy MUST exist before collection creation.** The KMS key\n  referenced is bound at creation time and CANNOT be changed. If no\n  encryption policy matches, OpenSearch Serverless silently uses an AWS-owned\n  key — acceptable but opaque (no CloudTrail key usage, no rotation\n  visibility). Operators who want customer-managed KMS must create the\n  encryption policy FIRST.\n\n- **Network policy MUST exist before collection creation.** A collection\n  without a matching network policy is unreachable — neither public nor VPC\n  endpoints can connect. Creating the collection first and adding the network\n  policy later leaves it unusable until propagation (5-15 minutes).\n\n- **OCU is the cost floor, not the ceiling.** OpenSearch Serverless bills by\n  OCU-hour whether idle or busy. Minimum 4 OCUs (2 indexing + 2 search) at\n  ~$0.204\u002FOCU-hour = ~$590\u002Fmonth baseline. Standby replicas double it. Sizing\n  the floor correctly is the #1 cost control.\n\n## Quick reference — collection type matrix\n\n| Type | Use case | Lifecycle | k-NN |\n|---|---|---|---|\n| `SEARCH` | Full-text search, catalog, document search | Optional | Limited |\n| `TIMESERIES` | Logs, metrics, IoT with time-based retention | Required (retention + storage transition) | No |\n| `VECTORSEARCH` | Vector similarity, semantic search, RAG | Optional (size-based) | Yes (primary use case) |\n\n## Pre-flight: collection deployment gate\n\nBefore producing the deployment plan, validate the input specification.\nSeveral requirements **block deployment**.\n\n**Live-account pre-flight checks (skip if offline architecture plan):**\n1. Verify IAM permissions for `opensearchserverless:CreateCollection`,\n   `CreateSecurityPolicy`, `CreateAccessPolicy`, `CreateVpcEndpoint`.\n2. Verify the encryption security policy exists:\n   `aws opensearchserverless list-security-policies --type encryption`\n3. Verify the network security policy exists:\n   `aws opensearchserverless list-security-policies --type network`\n4. For VPC access, verify VPC ID, subnet IDs, security group IDs resolve.\n5. For SAML auth, verify the SAML metadata URL is reachable.\n6. Verify KMS key (if customer-managed) is `SYMMETRIC_DEFAULT`:\n   `aws kms describe-key --key-id \u003Cid> --query 'KeyMetadata.KeySpec'`\n\n**If the deployment spec is incomplete**, output:\n\n```text\nCOLLECTION: \u003Cname-or-unknown>\nVERDICT: PREREQUISITES_MISSING\nREASON: Deployment specification is missing required fields (\u003Clist>).\nREQUIRED:\n  - collection_type (SEARCH | TIMESERIES | VECTORSEARCH)\n  - encryption (aws-owned-key | customer-managed-kms:arn)\n  - network (public | vpc:vpc-id:subnet-ids:security-group-ids)\n  - ocu_floor (minimum 4 for production: 2 indexing + 2 search)\n  - standby_replicas (ENABLED for production HA)\n  - access_principals (IAM role ARNs with data access grants)\n```\n\n## Process — Architecture planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious behaviors\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n### Step 1: Collection type selection\n\n| Type | When to use | Notes |\n|---|---|---|\n| `SEARCH` | Full-text, catalog, document search | Standard indexes; optional lifecycle |\n| `TIMESERIES` | Logs, metrics with retention | Time-partitioned; lifecycle REQUIRED |\n| `VECTORSEARCH` | Semantic search, RAG, recommendations | k-NN (faiss\u002Fnmslib); lifecycle optional |\n\n**Anti-pattern:** NEVER use `SEARCH` for time-based log retention. Without\nlifecycle policies, logs accumulate indefinitely. Use `TIMESERIES`.\n\n### Step 2: Encryption policy (create BEFORE collection)\n\n```bash\naws opensearchserverless create-security-policy \\\n  --name prod-encryption --type encryption \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"KmsKeyArn\":\"arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\"}'\n```\n\n**KMS key requirements:**\n- MUST be `SYMMETRIC_DEFAULT` (no asymmetric keys).\n- Key policy MUST grant `kms:Decrypt`, `kms:DescribeKey`, `kms:CreateGrant`\n  to `opensearch-serverless.amazonaws.com`.\n- For AWS-owned key, omit `KmsKeyArn`.\n\n### Step 3: Network policy (create BEFORE collection)\n\n```bash\naws opensearchserverless create-security-policy \\\n  --name prod-network --type network \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"AllowFromPublic\":true}'\n```\n\nFor VPC-only: replace `AllowFromPublic` with `\"SourceVPCEs\": [\"vpce-abc123\"]`.\n\n### Step 4: Data lifecycle policy (TIMESERIES)\n\n```bash\naws opensearchserverless create-lifecycle-policy \\\n  --name prod-lifecycle --type retention \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"index\",\"Resource\":{\"index\":\"prod-logs-*\"},\"MinIndexRetention\":\"7d\",\"MaxIndexRetention\":\"30d\"}]}'\n```\n\n### Step 5: Collection creation\n\n```bash\naws opensearchserverless create-collection \\\n  --name prod-vectors --type VECTORSEARCH \\\n  --description \"Production vector search for RAG\" \\\n  --standby-replicas ENABLED\n```\n\nCreation takes 15-30 minutes (CREATING → ACTIVE). Default OCU floor is 4\n(2 indexing + 2 search).\n\n### Step 6: VPC endpoint (if VPC network)\n\n```bash\naws opensearchserverless create-vpc-endpoint \\\n  --name prod-vpce --vpc-id vpc-abc123 \\\n  --subnet-ids subnet-aaa subnet-bbb \\\n  --security-group-ids sg-abc123 \\\n  --collection-endpoints \u003Cendpoint-from-step-5>\n```\n\n### Step 7: Data access policy (IAM principals)\n\n```bash\naws opensearchserverless create-access-policy \\\n  --name prod-access --type data \\\n  --policy '[{\"Permission\":[\"aoss:CreateCollectionItems\",\"aoss:DescribeCollectionItems\"],\"Principal\":[\"arn:aws:iam::111111111111:role\u002FAppRole\"]}]'\n```\n\nThe collection creator does NOT automatically get access. A data access\npolicy MUST be created.\n\n### Step 8: SAML \u002F IAM Identity Center authentication\n\n```bash\naws opensearchserverless update-collection \\\n  --id \u003Ccollection-id> \\\n  --saml-options '{\"Metadata\":{\"URL\":\"https:\u002F\u002Fidentity-center.amazonaws.com\u002Fsaml\u002Fmetadata\u002Fabc\"},\"GroupAttribute\":\"department\",\"SessionTimeout\":60}'\n```\n\n### Step 9: Capacity configuration (OCU)\n\n```bash\naws opensearchserverless update-collection \\\n  --id \u003Ccollection-id> \\\n  --capacity '{\"CapacityLimits\":{\"MaxIndexingCapacityInOCU\":8,\"MaxSearchCapacityInOCU\":8}}'\n```\n\n### Step 10: Vector search and semantic search\n\nFor VECTORSEARCH collections, the application creates the k-NN index:\n\n```json\n{\n  \"settings\": {\"index\": {\"knn\": true}},\n  \"mappings\": {\"properties\": {\"embedding\": {\n    \"type\": \"knn_vector\", \"dimension\": 1536,\n    \"method\": {\"name\": \"hnsw\", \"space_type\": \"cosinesimil\", \"engine\": \"faiss\",\n               \"parameters\": {\"ef_construction\": 128, \"m\": 24}}\n  }}}\n}\n```\n\n**Engine:** `faiss` (recommended; HNSW + IVF) or `nmslib` (legacy).\n\n**Semantic search:** register an ML connector to Bedrock Titan Embeddings\nvia ML Commons, then create a neural search pipeline that calls the model\nat ingest and query time.\n\n## Output format (per collection deployment plan)\n\n```text\nCOLLECTION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nARCHITECTURE:\n  Type: \u003CSEARCH | TIMESERIES | VECTORSEARCH>\n  Encryption: \u003Ccustomer-managed KMS ARN | aws-owned-key>\n  Network: \u003Cpublic | VPC vpce-xxx>\n  Standby replicas: \u003CENABLED | DISABLED>\n  OCU floor: \u003Cindexing> indexing + \u003Csearch> search = \u003Ctotal>\n  Access: \u003CIAM principal count> principals via data access policy\n  Auth: \u003CSAML | IAM-only>\n  Lifecycle: \u003Cretention rules | none>\n  Vector: \u003Ck-NN engine + dimension | N\u002FA>\nCHECKLIST:\n  [x] Encryption policy exists and references symmetric KMS key\n  [x] Network policy exists and covers collection pattern\n  [x] Collection type matches use case\n  [x] Standby replicas ENABLED for production HA\n  [x] OCU floor >= 4 (2 indexing + 2 search)\n  [x] Data access policy with IAM principals\n  [x] VPC endpoint configured (if VPC network)\n  [x] SAML metadata reachable (if SAML auth)\n  [x] Lifecycle policy for retention (TIMESERIES required)\nFINDINGS:\n  - [INFO] Estimated monthly cost: OCU floor \u003CN> x $0.204\u002Fhr x 720 = $\u003CX>\n  - [WARN] Standby replicas ENABLED doubles OCU cost\nDEPLOY_COMMANDS:\n  \u003Cordered list of aws opensearchserverless commands>\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble:\n\n```text\nCOLLECTION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cname> (collection-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> collection \u003Cname> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nTYPE: SEARCH | TIMESERIES | VECTORSEARCH\nENCRYPTION: \u003CKMS ARN | aws-owned-key>\nNETWORK: \u003Cpublic | VPC vpce-xxx>\nOCU: \u003Cindexing> indexing + \u003Csearch> search (\u003Cstandby> standby)\nACCESS: \u003Ccount> IAM principals\nAUTH: \u003CSAML | IAM-only>\nLIFECYCLE: \u003Cretention rules | none>\nNOTES: \u003Csecurity posture, cost estimate, capacity caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" — the VERDICT block is the FIRST line.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER omit PRE_CHECKS — every pre-check must appear with `[PASS]` or\n  `[FAIL]` and a specific reason.\n- NEVER emit placeholder values in a READY_TO_DEPLOY plan.\n- NEVER omit the CONFIRM gate as the first STEPS entry.\n- NEVER claim success without verifying ACTIVE via `batch-get-collection`.\n- NEVER change CLI step order — encryption first, network second, collection\n  third.\n- NEVER silently allow AWS-owned key for compliance workloads — flag as\n  [WARN].\n\n### Perfect example output\n\n```text\nCOLLECTION: prod-vectors\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-vectors\nPRE_CHECKS:\n  - [PASS] Collection name unique\n  - [PASS] Encryption policy prod-encryption exists, references KMS abc-123\n  - [PASS] KMS key abc-123 is SYMMETRIC_DEFAULT\n  - [PASS] Network policy prod-network exists, covers collection\u002Fprod-*\n  - [PASS] VPC subnets resolve in vpc-abc123\n  - [PASS] Standby replicas ENABLED for production HA\n  - [PASS] OCU floor 4 (2 indexing + 2 search)\n  - [PASS] Data access policy prod-access has 3 IAM principals\n  - [PASS] SAML metadata URL reachable\n  - [PASS] IAM principal holds opensearchserverless:CreateCollection\nSTEPS:\n  1. CONFIRM: About to create-collection prod-vectors in account 111111111111 region us-east-1. VECTORSEARCH with KMS, VPC, SAML, standby replicas. Estimated monthly cost: $1175 (4 OCU x 2 standby x $0.204\u002Fhr x 720). Takes 15-30 min. Proceed? (yes\u002Fno)\n  2. aws opensearchserverless create-security-policy --name prod-encryption --type encryption --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"KmsKeyArn\":\"arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\"}'\n  3. aws opensearchserverless create-security-policy --name prod-network --type network --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"SourceVPCEs\":[\"vpce-xyz123\"]}'\n  4. aws opensearchserverless create-collection --name prod-vectors --type VECTORSEARCH --description \"Production vector search for RAG\" --standby-replicas ENABLED\n  5. aws opensearchserverless create-access-policy --name prod-access --type data --policy '[{\"Permission\":[\"aoss:CreateCollectionItems\",\"aoss:DescribeCollectionItems\"],\"Principal\":[\"arn:aws:iam::111111111111:role\u002FAppRole\"]}]'\n  6. aws opensearchserverless create-vpc-endpoint --name prod-vpce --vpc-id vpc-abc123 --subnet-ids subnet-aaa subnet-bbb --security-group-ids sg-abc123 --collection-endpoints \u003Cendpoint-from-step-4>\nPOST_VERIFY:\n  - (pending execution)\n  - batch-get-collection returns status=ACTIVE (wait 15-30 min)\n  - get-security-policy returns prod-encryption with KMS abc-123\nTYPE: VECTORSEARCH\nENCRYPTION: arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\nNETWORK: VPC vpce-xyz123\nOCU: 2 indexing + 2 search (standby doubles to 8 effective)\nACCESS: 3 IAM principals\nAUTH: SAML via IAM Identity Center\nLIFECYCLE: none (VECTORSEARCH)\nNOTES:\n  - KMS key is immutable post-creation.\n  - Standby replicas double OCU cost ($1175\u002Fmo vs $588\u002Fmo).\n  - Data access policy required — creator gets NO default access.\n```\n\n## Verification commands (run after deployment)\n> Moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Edge-case handling\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## NEVER (top 5)\n\n1. **NEVER create the collection before the encryption policy.** The KMS key\n   is IMMUTABLE post-creation. Without a matching encryption policy, the\n   collection silently uses an AWS-owned key with no key visibility. Create\n   the encryption policy FIRST, always.\n\n2. **NEVER create the collection before the network policy.** Without a\n   matching network policy, the collection endpoint is unreachable — neither\n   public nor VPC. Takes 5-15 min to propagate after creation.\n\n3. **NEVER omit the data access policy.** OpenSearch Serverless uses IAM\n   principals via data access policies, NOT resource-based policies. The\n   creator gets NO default access. Always emit `create-access-policy`.\n\n4. **NEVER use an asymmetric KMS key.** Requires `SYMMETRIC_DEFAULT`.\n   Asymmetric keys fail with an opaque error. Verify via\n   `kms describe-key --query 'KeyMetadata.KeySpec'`.\n\n5. **NEVER disable standby replicas for production.** Without standby, an AZ\n   failure causes complete downtime. ENABLED doubles OCU cost but is required\n   for HA. DISABLED is dev\u002Fstaging only.\n\n## Expert heuristic: choosing collection type and OCU capacity\n> Moved verbatim to [references\u002Fcapacity-and-encryption-guide.md](references\u002Fcapacity-and-encryption-guide.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Recent AWS features (2024-2026)\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## AWS documentation\n\n- **OpenSearch Serverless Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless.html\n- **Encryption policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-encryption.html\n- **Network policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-network.html\n- **Data access policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-data-access.html\n- **Vector search** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-vector-search.html\n- **Capacity and OCU** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-capacity.html\n- **SAML authentication** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-saml.html\n- **CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fopensearchserverless\u002F\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviors, edge cases, recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — post-deployment verification commands\n- [references\u002Fcapacity-and-encryption-guide.md](references\u002Fcapacity-and-encryption-guide.md) — collection type and OCU capacity heuristics\n- [references\u002Fvector-search-guide.md](references\u002Fvector-search-guide.md) — vector search detail\n## Domain\n\nAWS CloudOps \u002F OpenSearch Serverless Analytics & Vector Search Provisioning.\n","# OpenSearch Serverless Deployer\n\n## What this skill does\n\nProvisions Amazon OpenSearch Serverless collections with secure defaults —\nencryption policy created BEFORE the collection (KMS key is immutable\npost-creation), network policy preceding collection creation, data access\npolicy using IAM principals (never resource-based), standby replicas\nenabled for HA, OCU floor at 4 (2 indexing + 2 search) for production, and\nlifecycle policies for timeseries\u002Fvectorsearch retention. Runs deterministic\npre-checks before any state-changing CLI, emits the exact `create-collection`\nand `create-security-policy` CLIs behind a CONFIRM gate, and verifies the\ncollection via `list-collections`. Every plan surfaces the encryption-first\nordering rule, the network-policy-before-collection rule, the data-access-\npolicy vs resource-policy distinction, and the OCU cost floor.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + collection type matrix | Before any operation |\n| **Mindset** | Why encryption-first ordering matters; immutable collection fields; OCU cost floor | Understanding the deployment model |\n| **Pre-flight** | Collection metadata gate — KMS key, VPC subnets, SAML metadata, IAM permissions | Before executing any CLI |\n| **Process** | Per-operation planning: encryption, network, lifecycle, collection, VPC endpoint, access | When choosing which operation |\n| **STRICT output contract** | Required COLLECTION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent common insecure or broken patterns | Review before deploy |\n| **Expert heuristic** | Choosing collection type and OCU capacity per use case | Sizing and type selection |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (encryption policy missing or wrong key type, network policy missing, VPC subnets invalid, SAML metadata unreachable, IAM permission missing, collection name collision, standby replicas disabled in production, OCU floor below 4, attempting to change immutable field on update) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full collection config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass for\nREADY_TO_DEPLOY):**\n\n1. **Collection name uniqueness** — `list-collections` returns no match (for\n   create) or matches exactly one (for update).\n2. **Encryption policy exists** — a security policy of type `encryption`\n   with a matching pattern exists BEFORE collection creation. Without it,\n   the collection uses the AWS-owned key and cannot be changed after.\n3. **KMS key is symmetric** — if the encryption policy references a\n   customer-managed KMS key, it MUST be `SYMMETRIC_DEFAULT`.\n4. **Network policy exists** — a security policy of type `network` covering\n   the collection pattern exists BEFORE creation. Without it, the collection\n   is unreachable.\n5. **Standby replicas** — for production, `StandbyReplicas: ENABLED`. Doubles\n   the OCU cost but survives an AZ failure. DISABLED is dev\u002Fstaging only.\n6. **OCU floor** — minimum 2 indexing + 2 search OCUs (4 total) for\n   production. Below this, the collection cannot handle concurrency.\n7. **VPC subnets** — if VPC access, the VPC ID and subnet IDs resolve and\n   security groups exist.\n8. **Data access policy** — at least one IAM principal has collection-level\n   and document-level grants. Without it, the collection is unreachable.\n9. **SAML metadata (if SAML auth)** — the metadata URL or XML is reachable\n   and parses as valid SAML 2.0.\n10. **Lifecycle policy (timeseries)** — a `lifecycle` policy covering the\n    collection pattern exists. Without it, data accumulates indefinitely.\n\n## Mindset\n\n**One-line takeaway:** an OpenSearch Serverless collection is not \"an\nElasticsearch cluster that scales itself\" — it is a **policy-ordered\ndeployment** where the encryption and network policies MUST exist BEFORE\nthe collection, the KMS key choice is immutable post-creation, and the OCU\nfloor determines both cost and availability.\n\nThree facts make OpenSearch Serverless provisioning different from managed\nOpenSearch:\n\n- **Encryption policy MUST exist before collection creation.** The KMS key\n  referenced is bound at creation time and CANNOT be changed. If no\n  encryption policy matches, OpenSearch Serverless silently uses an AWS-owned\n  key — acceptable but opaque (no CloudTrail key usage, no rotation\n  visibility). Operators who want customer-managed KMS must create the\n  encryption policy FIRST.\n\n- **Network policy MUST exist before collection creation.** A collection\n  without a matching network policy is unreachable — neither public nor VPC\n  endpoints can connect. Creating the collection first and adding the network\n  policy later leaves it unusable until propagation (5-15 minutes).\n\n- **OCU is the cost floor, not the ceiling.** OpenSearch Serverless bills by\n  OCU-hour whether idle or busy. Minimum 4 OCUs (2 indexing + 2 search) at\n  ~$0.204\u002FOCU-hour = ~$590\u002Fmonth baseline. Standby replicas double it. Sizing\n  the floor correctly is the #1 cost control.\n\n## Quick reference — collection type matrix\n\n| Type | Use case | Lifecycle | k-NN |\n|---|---|---|---|\n| `SEARCH` | Full-text search, catalog, document search | Optional | Limited |\n| `TIMESERIES` | Logs, metrics, IoT with time-based retention | Required (retention + storage transition) | No |\n| `VECTORSEARCH` | Vector similarity, semantic search, RAG | Optional (size-based) | Yes (primary use case) |\n\n## Pre-flight: collection deployment gate\n\nBefore producing the deployment plan, validate the input specification.\nSeveral requirements **block deployment**.\n\n**Live-account pre-flight checks (skip if offline architecture plan):**\n1. Verify IAM permissions for `opensearchserverless:CreateCollection`,\n   `CreateSecurityPolicy`, `CreateAccessPolicy`, `CreateVpcEndpoint`.\n2. Verify the encryption security policy exists:\n   `aws opensearchserverless list-security-policies --type encryption`\n3. Verify the network security policy exists:\n   `aws opensearchserverless list-security-policies --type network`\n4. For VPC access, verify VPC ID, subnet IDs, security group IDs resolve.\n5. For SAML auth, verify the SAML metadata URL is reachable.\n6. Verify KMS key (if customer-managed) is `SYMMETRIC_DEFAULT`:\n   `aws kms describe-key --key-id \u003Cid> --query 'KeyMetadata.KeySpec'`\n\n**If the deployment spec is incomplete**, output:\n\n```text\nCOLLECTION: \u003Cname-or-unknown>\nVERDICT: PREREQUISITES_MISSING\nREASON: Deployment specification is missing required fields (\u003Clist>).\nREQUIRED:\n  - collection_type (SEARCH | TIMESERIES | VECTORSEARCH)\n  - encryption (aws-owned-key | customer-managed-kms:arn)\n  - network (public | vpc:vpc-id:subnet-ids:security-group-ids)\n  - ocu_floor (minimum 4 for production: 2 indexing + 2 search)\n  - standby_replicas (ENABLED for production HA)\n  - access_principals (IAM role ARNs with data access grants)\n```\n\n## Process — Architecture planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious behaviors\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n### Step 1: Collection type selection\n\n| Type | When to use | Notes |\n|---|---|---|\n| `SEARCH` | Full-text, catalog, document search | Standard indexes; optional lifecycle |\n| `TIMESERIES` | Logs, metrics with retention | Time-partitioned; lifecycle REQUIRED |\n| `VECTORSEARCH` | Semantic search, RAG, recommendations | k-NN (faiss\u002Fnmslib); lifecycle optional |\n\n**Anti-pattern:** NEVER use `SEARCH` for time-based log retention. Without\nlifecycle policies, logs accumulate indefinitely. Use `TIMESERIES`.\n\n### Step 2: Encryption policy (create BEFORE collection)\n\n```bash\naws opensearchserverless create-security-policy \\\n  --name prod-encryption --type encryption \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"KmsKeyArn\":\"arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\"}'\n```\n\n**KMS key requirements:**\n- MUST be `SYMMETRIC_DEFAULT` (no asymmetric keys).\n- Key policy MUST grant `kms:Decrypt`, `kms:DescribeKey`, `kms:CreateGrant`\n  to `opensearch-serverless.amazonaws.com`.\n- For AWS-owned key, omit `KmsKeyArn`.\n\n### Step 3: Network policy (create BEFORE collection)\n\n```bash\naws opensearchserverless create-security-policy \\\n  --name prod-network --type network \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"AllowFromPublic\":true}'\n```\n\nFor VPC-only: replace `AllowFromPublic` with `\"SourceVPCEs\": [\"vpce-abc123\"]`.\n\n### Step 4: Data lifecycle policy (TIMESERIES)\n\n```bash\naws opensearchserverless create-lifecycle-policy \\\n  --name prod-lifecycle --type retention \\\n  --policy '{\"Rules\":[{\"ResourceType\":\"index\",\"Resource\":{\"index\":\"prod-logs-*\"},\"MinIndexRetention\":\"7d\",\"MaxIndexRetention\":\"30d\"}]}'\n```\n\n### Step 5: Collection creation\n\n```bash\naws opensearchserverless create-collection \\\n  --name prod-vectors --type VECTORSEARCH \\\n  --description \"Production vector search for RAG\" \\\n  --standby-replicas ENABLED\n```\n\nCreation takes 15-30 minutes (CREATING → ACTIVE). Default OCU floor is 4\n(2 indexing + 2 search).\n\n### Step 6: VPC endpoint (if VPC network)\n\n```bash\naws opensearchserverless create-vpc-endpoint \\\n  --name prod-vpce --vpc-id vpc-abc123 \\\n  --subnet-ids subnet-aaa subnet-bbb \\\n  --security-group-ids sg-abc123 \\\n  --collection-endpoints \u003Cendpoint-from-step-5>\n```\n\n### Step 7: Data access policy (IAM principals)\n\n```bash\naws opensearchserverless create-access-policy \\\n  --name prod-access --type data \\\n  --policy '[{\"Permission\":[\"aoss:CreateCollectionItems\",\"aoss:DescribeCollectionItems\"],\"Principal\":[\"arn:aws:iam::111111111111:role\u002FAppRole\"]}]'\n```\n\nThe collection creator does NOT automatically get access. A data access\npolicy MUST be created.\n\n### Step 8: SAML \u002F IAM Identity Center authentication\n\n```bash\naws opensearchserverless update-collection \\\n  --id \u003Ccollection-id> \\\n  --saml-options '{\"Metadata\":{\"URL\":\"https:\u002F\u002Fidentity-center.amazonaws.com\u002Fsaml\u002Fmetadata\u002Fabc\"},\"GroupAttribute\":\"department\",\"SessionTimeout\":60}'\n```\n\n### Step 9: Capacity configuration (OCU)\n\n```bash\naws opensearchserverless update-collection \\\n  --id \u003Ccollection-id> \\\n  --capacity '{\"CapacityLimits\":{\"MaxIndexingCapacityInOCU\":8,\"MaxSearchCapacityInOCU\":8}}'\n```\n\n### Step 10: Vector search and semantic search\n\nFor VECTORSEARCH collections, the application creates the k-NN index:\n\n```json\n{\n  \"settings\": {\"index\": {\"knn\": true}},\n  \"mappings\": {\"properties\": {\"embedding\": {\n    \"type\": \"knn_vector\", \"dimension\": 1536,\n    \"method\": {\"name\": \"hnsw\", \"space_type\": \"cosinesimil\", \"engine\": \"faiss\",\n               \"parameters\": {\"ef_construction\": 128, \"m\": 24}}\n  }}}\n}\n```\n\n**Engine:** `faiss` (recommended; HNSW + IVF) or `nmslib` (legacy).\n\n**Semantic search:** register an ML connector to Bedrock Titan Embeddings\nvia ML Commons, then create a neural search pipeline that calls the model\nat ingest and query time.\n\n## Output format (per collection deployment plan)\n\n```text\nCOLLECTION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nARCHITECTURE:\n  Type: \u003CSEARCH | TIMESERIES | VECTORSEARCH>\n  Encryption: \u003Ccustomer-managed KMS ARN | aws-owned-key>\n  Network: \u003Cpublic | VPC vpce-xxx>\n  Standby replicas: \u003CENABLED | DISABLED>\n  OCU floor: \u003Cindexing> indexing + \u003Csearch> search = \u003Ctotal>\n  Access: \u003CIAM principal count> principals via data access policy\n  Auth: \u003CSAML | IAM-only>\n  Lifecycle: \u003Cretention rules | none>\n  Vector: \u003Ck-NN engine + dimension | N\u002FA>\nCHECKLIST:\n  [x] Encryption policy exists and references symmetric KMS key\n  [x] Network policy exists and covers collection pattern\n  [x] Collection type matches use case\n  [x] Standby replicas ENABLED for production HA\n  [x] OCU floor >= 4 (2 indexing + 2 search)\n  [x] Data access policy with IAM principals\n  [x] VPC endpoint configured (if VPC network)\n  [x] SAML metadata reachable (if SAML auth)\n  [x] Lifecycle policy for retention (TIMESERIES required)\nFINDINGS:\n  - [INFO] Estimated monthly cost: OCU floor \u003CN> x $0.204\u002Fhr x 720 = $\u003CX>\n  - [WARN] Standby replicas ENABLED doubles OCU cost\nDEPLOY_COMMANDS:\n  \u003Cordered list of aws opensearchserverless commands>\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble:\n\n```text\nCOLLECTION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cname> (collection-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> collection \u003Cname> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nTYPE: SEARCH | TIMESERIES | VECTORSEARCH\nENCRYPTION: \u003CKMS ARN | aws-owned-key>\nNETWORK: \u003Cpublic | VPC vpce-xxx>\nOCU: \u003Cindexing> indexing + \u003Csearch> search (\u003Cstandby> standby)\nACCESS: \u003Ccount> IAM principals\nAUTH: \u003CSAML | IAM-only>\nLIFECYCLE: \u003Cretention rules | none>\nNOTES: \u003Csecurity posture, cost estimate, capacity caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" — the VERDICT block is the FIRST line.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER omit PRE_CHECKS — every pre-check must appear with `[PASS]` or\n  `[FAIL]` and a specific reason.\n- NEVER emit placeholder values in a READY_TO_DEPLOY plan.\n- NEVER omit the CONFIRM gate as the first STEPS entry.\n- NEVER claim success without verifying ACTIVE via `batch-get-collection`.\n- NEVER change CLI step order — encryption first, network second, collection\n  third.\n- NEVER silently allow AWS-owned key for compliance workloads — flag as\n  [WARN].\n\n### Perfect example output\n\n```text\nCOLLECTION: prod-vectors\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-vectors\nPRE_CHECKS:\n  - [PASS] Collection name unique\n  - [PASS] Encryption policy prod-encryption exists, references KMS abc-123\n  - [PASS] KMS key abc-123 is SYMMETRIC_DEFAULT\n  - [PASS] Network policy prod-network exists, covers collection\u002Fprod-*\n  - [PASS] VPC subnets resolve in vpc-abc123\n  - [PASS] Standby replicas ENABLED for production HA\n  - [PASS] OCU floor 4 (2 indexing + 2 search)\n  - [PASS] Data access policy prod-access has 3 IAM principals\n  - [PASS] SAML metadata URL reachable\n  - [PASS] IAM principal holds opensearchserverless:CreateCollection\nSTEPS:\n  1. CONFIRM: About to create-collection prod-vectors in account 111111111111 region us-east-1. VECTORSEARCH with KMS, VPC, SAML, standby replicas. Estimated monthly cost: $1175 (4 OCU x 2 standby x $0.204\u002Fhr x 720). Takes 15-30 min. Proceed? (yes\u002Fno)\n  2. aws opensearchserverless create-security-policy --name prod-encryption --type encryption --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"KmsKeyArn\":\"arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\"}'\n  3. aws opensearchserverless create-security-policy --name prod-network --type network --policy '{\"Rules\":[{\"ResourceType\":\"collection\",\"Resource\":[\"collection\u002Fprod-*\"]}],\"SourceVPCEs\":[\"vpce-xyz123\"]}'\n  4. aws opensearchserverless create-collection --name prod-vectors --type VECTORSEARCH --description \"Production vector search for RAG\" --standby-replicas ENABLED\n  5. aws opensearchserverless create-access-policy --name prod-access --type data --policy '[{\"Permission\":[\"aoss:CreateCollectionItems\",\"aoss:DescribeCollectionItems\"],\"Principal\":[\"arn:aws:iam::111111111111:role\u002FAppRole\"]}]'\n  6. aws opensearchserverless create-vpc-endpoint --name prod-vpce --vpc-id vpc-abc123 --subnet-ids subnet-aaa subnet-bbb --security-group-ids sg-abc123 --collection-endpoints \u003Cendpoint-from-step-4>\nPOST_VERIFY:\n  - (pending execution)\n  - batch-get-collection returns status=ACTIVE (wait 15-30 min)\n  - get-security-policy returns prod-encryption with KMS abc-123\nTYPE: VECTORSEARCH\nENCRYPTION: arn:aws:kms:us-east-1:111111111111:key\u002Fabc-123\nNETWORK: VPC vpce-xyz123\nOCU: 2 indexing + 2 search (standby doubles to 8 effective)\nACCESS: 3 IAM principals\nAUTH: SAML via IAM Identity Center\nLIFECYCLE: none (VECTORSEARCH)\nNOTES:\n  - KMS key is immutable post-creation.\n  - Standby replicas double OCU cost ($1175\u002Fmo vs $588\u002Fmo).\n  - Data access policy required — creator gets NO default access.\n```\n\n## Verification commands (run after deployment)\n> Moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Edge-case handling\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## NEVER (top 5)\n\n1. **NEVER create the collection before the encryption policy.** The KMS key\n   is IMMUTABLE post-creation. Without a matching encryption policy, the\n   collection silently uses an AWS-owned key with no key visibility. Create\n   the encryption policy FIRST, always.\n\n2. **NEVER create the collection before the network policy.** Without a\n   matching network policy, the collection endpoint is unreachable — neither\n   public nor VPC. Takes 5-15 min to propagate after creation.\n\n3. **NEVER omit the data access policy.** OpenSearch Serverless uses IAM\n   principals via data access policies, NOT resource-based policies. The\n   creator gets NO default access. Always emit `create-access-policy`.\n\n4. **NEVER use an asymmetric KMS key.** Requires `SYMMETRIC_DEFAULT`.\n   Asymmetric keys fail with an opaque error. Verify via\n   `kms describe-key --query 'KeyMetadata.KeySpec'`.\n\n5. **NEVER disable standby replicas for production.** Without standby, an AZ\n   failure causes complete downtime. ENABLED doubles OCU cost but is required\n   for HA. DISABLED is dev\u002Fstaging only.\n\n## Expert heuristic: choosing collection type and OCU capacity\n> Moved verbatim to [references\u002Fcapacity-and-encryption-guide.md](references\u002Fcapacity-and-encryption-guide.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Recent AWS features (2024-2026)\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## AWS documentation\n\n- **OpenSearch Serverless Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless.html\n- **Encryption policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-encryption.html\n- **Network policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-network.html\n- **Data access policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-data-access.html\n- **Vector search** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-vector-search.html\n- **Capacity and OCU** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-capacity.html\n- **SAML authentication** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fserverless-saml.html\n- **CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fopensearchserverless\u002F\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviors, edge cases, recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — post-deployment verification commands\n- [references\u002Fcapacity-and-encryption-guide.md](references\u002Fcapacity-and-encryption-guide.md) — collection type and OCU capacity heuristics\n- [references\u002Fvector-search-guide.md](references\u002Fvector-search-guide.md) — vector search detail\n## Domain\n\nAWS CloudOps \u002F OpenSearch Serverless Analytics & Vector Search Provisioning.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":38,"activation_triggers":42},"opensearch, analytics, deploy, serverless, vector-search, kms, vpc, saml, semantic-search, collection","1","Jacky Chan — AWS Community Builder","aws-cloudops","Analytics","0.1.0","OpenSearch Serverless, collection, VECTORSEARCH, SEARCH, TIMESERIES, OCU, OpenSearch Compute Units, encryption policy, network policy, data lifecycle policy, access policy, KMS, VPC endpoint, SAML, IAM Identity Center, k-NN, faiss, vector search, semantic search, flow frameworks, standby replicas","deploy","high","false","capability","Provisioning a new OpenSearch Serverless collection (SEARCH, TIMESERIES, or VECTORSEARCH), configuring encryption with customer-managed KMS, setting up VPC-only network access, enabling SAML or IAM Identity Center authentication, defining data lifecycle policies, sizing OCU capacity, deploying vector or semantic search, or wiring flow frameworks.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Input: either (a) a collection deployment intent (create, update) with target collection name, type (SEARCH \u002F TIMESERIES \u002F VECTORSEARCH), encryption, network, capacity, access, lifecycle, and optional vector config; OR (b) a collection id for live-account update or validation. Output: deterministic COLLECTION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.","create OpenSearch Serverless collection, provision vector search collection, OpenSearch Serverless with KMS, OpenSearch Serverless VPC endpoint, semantic search collection, k-NN vector index, OpenSearch Serverless SAML auth, OCU capacity planning, flow frameworks OpenSearch, opensearchserverless create-collection","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws opensearchserverless create-security-policy (encryption, network), create-collection, create-vpc-endpoint, create-access-policy, update-collection, list-collections, batch-get-collection (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fopensearch-serverless-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill opensearch-serverless-deployer",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill opensearch-serverless-deployer",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill opensearch-serverless-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6497,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fkms-asymmetric-key-blocker.md",1164,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fbaselines\u002Fkms-asymmetric-key-blocker.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fmissing-encryption-policy.md",962,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fbaselines\u002Fmissing-encryption-policy.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fmissing-required-fields.md",967,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fbaselines\u002Fmissing-required-fields.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Ftimeseries-lifecycle-deploy.md",1189,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fbaselines\u002Ftimeseries-lifecycle-deploy.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fvectorsearch-full-security.md",1487,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fbaselines\u002Fvectorsearch-full-security.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1784,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4409,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fkms-asymmetric-key-blocker.md",1046,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fprompts\u002Fkms-asymmetric-key-blocker.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fmissing-encryption-policy.md",1146,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fprompts\u002Fmissing-encryption-policy.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fmissing-required-fields.md",720,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fprompts\u002Fmissing-required-fields.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Ftimeseries-lifecycle-deploy.md",1249,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fprompts\u002Ftimeseries-lifecycle-deploy.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fvectorsearch-full-security.md",1645,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fevals\u002Fprompts\u002Fvectorsearch-full-security.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002Fend-to-end.md",7194,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fexamples\u002Fend-to-end.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",3441,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fcapacity-and-encryption-guide.md",8400,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Freferences\u002Fcapacity-and-encryption-guide.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",756,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fvector-search-guide.md",7589,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Freferences\u002Fvector-search-guide.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"skill.usf.yaml",4609,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-serverless-deployer\u002Fskill.usf.yaml",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]