opensearch-serverless-deployer
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 / 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.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-24
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- opensearch-serverless-deployer
- license
- Apache-2.0
- metadata
- { "tags": "opensearch, analytics, deploy, serverless, vector-search, kms, vpc, saml, semantic-search, collection", "phase": "1", "author": "Jacky Chan — AWS Community Builder", "domain": "aws-cloudops", "family": "Analytics", "version": "0.1.0", "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", "task_type": "deploy", "complexity": "high", "entry_point": "false", "skill_class": "capability", "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.", "dependencies": "aws-orchestrator", "requires_llm": "true", "verdict_shape": "READY_TO_DEPLOY | PREREQUISITES_MISSING", "lifecycle_status": "active", "invocation_schema": "Input: either (a) a collection deployment intent (create, update) with target collection name, type (SEARCH / TIMESERIES / VECTORSEARCH), encryption, network, capacity, access, lifecycle, and optional vector config; OR (b) a collection id for live-account update or validation. Output: deterministic COLLECTION/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.", "supports_pipeline": "true", "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" }
- description
- 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 / 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.
- compatibility
- 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).
02 资源文件 19
- 参考文档eval/test-cases.yaml6.3 KB
- 参考文档evals/baselines/kms-asymmetric-key-blocker.md1.1 KB
- 参考文档evals/baselines/missing-encryption-policy.md962 B
- 参考文档evals/baselines/missing-required-fields.md967 B
- 参考文档evals/baselines/timeseries-lifecycle-deploy.md1.2 KB
- 参考文档evals/baselines/vectorsearch-full-security.md1.5 KB
- 参考文档evals/eval_config.yaml1.7 KB
- 参考文档evals/evals.json4.3 KB
- 参考文档evals/prompts/kms-asymmetric-key-blocker.md1.0 KB
- 参考文档evals/prompts/missing-encryption-policy.md1.1 KB
- 参考文档evals/prompts/missing-required-fields.md720 B
- 参考文档evals/prompts/timeseries-lifecycle-deploy.md1.2 KB
- 参考文档evals/prompts/vectorsearch-full-security.md1.6 KB
- 参考文档examples/end-to-end.md7.0 KB
- 参考文档references/advanced-patterns.md3.4 KB
- 参考文档references/capacity-and-encryption-guide.md8.2 KB
- 参考文档references/diagnostic-commands.md756 B
- 参考文档references/vector-search-guide.md7.4 KB
- 参考文档skill.usf.yaml4.5 KB
03 SKILL.md 正文
OpenSearch Serverless Deployer
What this skill does
Provisions Amazon OpenSearch Serverless collections with secure defaults —
encryption policy created BEFORE the collection (KMS key is immutable
post-creation), network policy preceding collection creation, data access
policy using IAM principals (never resource-based), standby replicas
enabled for HA, OCU floor at 4 (2 indexing + 2 search) for production, and
lifecycle policies for timeseries/vectorsearch retention. Runs deterministic
pre-checks before any state-changing CLI, emits the exact create-collection
and create-security-policy CLIs behind a CONFIRM gate, and verifies the
collection via list-collections. Every plan surfaces the encryption-first
ordering rule, the network-policy-before-collection rule, the data-access-
policy vs resource-policy distinction, and the OCU cost floor.
Quick navigation
| Section | What it covers | When to read it |
|---|---|---|
| Quick reference | Verdict thresholds + pre-check priority order + collection type matrix | Before any operation |
| Mindset | Why encryption-first ordering matters; immutable collection fields; OCU cost floor | Understanding the deployment model |
| Pre-flight | Collection metadata gate — KMS key, VPC subnets, SAML metadata, IAM permissions | Before executing any CLI |
| Process | Per-operation planning: encryption, network, lifecycle, collection, VPC endpoint, access | When choosing which operation |
| STRICT output contract | Required COLLECTION/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block | Formatting the response |
| NEVER (top 5) | Hard rules that prevent common insecure or broken patterns | Review before deploy |
| Expert heuristic | Choosing collection type and OCU capacity per use case | Sizing and type selection |
Quick reference — verdict thresholds
| Verdict | Trigger condition | Action |
|---|---|---|
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 |
READY_TO_DEPLOY |
All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full collection config, wait for operator yes |
Priority order for pre-checks (apply in this sequence, all must pass for READY_TO_DEPLOY):
- Collection name uniqueness —
list-collectionsreturns no match (for create) or matches exactly one (for update). - Encryption policy exists — a security policy of type
encryptionwith a matching pattern exists BEFORE collection creation. Without it, the collection uses the AWS-owned key and cannot be changed after. - KMS key is symmetric — if the encryption policy references a
customer-managed KMS key, it MUST be
SYMMETRIC_DEFAULT. - Network policy exists — a security policy of type
networkcovering the collection pattern exists BEFORE creation. Without it, the collection is unreachable. - Standby replicas — for production,
StandbyReplicas: ENABLED. Doubles the OCU cost but survives an AZ failure. DISABLED is dev/staging only. - OCU floor — minimum 2 indexing + 2 search OCUs (4 total) for production. Below this, the collection cannot handle concurrency.
- VPC subnets — if VPC access, the VPC ID and subnet IDs resolve and security groups exist.
- Data access policy — at least one IAM principal has collection-level and document-level grants. Without it, the collection is unreachable.
- SAML metadata (if SAML auth) — the metadata URL or XML is reachable and parses as valid SAML 2.0.
- Lifecycle policy (timeseries) — a
lifecyclepolicy covering the collection pattern exists. Without it, data accumulates indefinitely.
Mindset
One-line takeaway: an OpenSearch Serverless collection is not "an Elasticsearch cluster that scales itself" — it is a policy-ordered deployment where the encryption and network policies MUST exist BEFORE the collection, the KMS key choice is immutable post-creation, and the OCU floor determines both cost and availability.
Three facts make OpenSearch Serverless provisioning different from managed OpenSearch:
-
Encryption policy MUST exist before collection creation. The KMS key referenced is bound at creation time and CANNOT be changed. If no encryption policy matches, OpenSearch Serverless silently uses an AWS-owned key — acceptable but opaque (no CloudTrail key usage, no rotation visibility). Operators who want customer-managed KMS must create the encryption policy FIRST.
-
Network policy MUST exist before collection creation. A collection without a matching network policy is unreachable — neither public nor VPC endpoints can connect. Creating the collection first and adding the network policy later leaves it unusable until propagation (5-15 minutes).
-
OCU is the cost floor, not the ceiling. OpenSearch Serverless bills by OCU-hour whether idle or busy. Minimum 4 OCUs (2 indexing + 2 search) at ~$0.204/OCU-hour = ~$590/month baseline. Standby replicas double it. Sizing the floor correctly is the #1 cost control.
Quick reference — collection type matrix
| Type | Use case | Lifecycle | k-NN |
|---|---|---|---|
SEARCH |
Full-text search, catalog, document search | Optional | Limited |
TIMESERIES |
Logs, metrics, IoT with time-based retention | Required (retention + storage transition) | No |
VECTORSEARCH |
Vector similarity, semantic search, RAG | Optional (size-based) | Yes (primary use case) |
Pre-flight: collection deployment gate
Before producing the deployment plan, validate the input specification. Several requirements block deployment.
Live-account pre-flight checks (skip if offline architecture plan):
- Verify IAM permissions for
opensearchserverless:CreateCollection,CreateSecurityPolicy,CreateAccessPolicy,CreateVpcEndpoint. - Verify the encryption security policy exists:
aws opensearchserverless list-security-policies --type encryption - Verify the network security policy exists:
aws opensearchserverless list-security-policies --type network - For VPC access, verify VPC ID, subnet IDs, security group IDs resolve.
- For SAML auth, verify the SAML metadata URL is reachable.
- Verify KMS key (if customer-managed) is
SYMMETRIC_DEFAULT:aws kms describe-key --key-id <id> --query 'KeyMetadata.KeySpec'
If the deployment spec is incomplete, output:
COLLECTION: <name-or-unknown>
VERDICT: PREREQUISITES_MISSING
REASON: Deployment specification is missing required fields (<list>).
REQUIRED:
- collection_type (SEARCH | TIMESERIES | VECTORSEARCH)
- encryption (aws-owned-key | customer-managed-kms:arn)
- network (public | vpc:vpc-id:subnet-ids:security-group-ids)
- ocu_floor (minimum 4 for production: 2 indexing + 2 search)
- standby_replicas (ENABLED for production HA)
- access_principals (IAM role ARNs with data access grants)
Process — Architecture planning (apply in order)
Step 0: Expert knowledge — non-obvious behaviors
Moved verbatim to references/advanced-patterns.md — load on demand. Read it only when this section applies.
Step 1: Collection type selection
| Type | When to use | Notes |
|---|---|---|
SEARCH |
Full-text, catalog, document search | Standard indexes; optional lifecycle |
TIMESERIES |
Logs, metrics with retention | Time-partitioned; lifecycle REQUIRED |
VECTORSEARCH |
Semantic search, RAG, recommendations | k-NN (faiss/nmslib); lifecycle optional |
Anti-pattern: NEVER use SEARCH for time-based log retention. Without
lifecycle policies, logs accumulate indefinitely. Use TIMESERIES.
Step 2: Encryption policy (create BEFORE collection)
aws opensearchserverless create-security-policy \
--name prod-encryption --type encryption \
--policy '{"Rules":[{"ResourceType":"collection","Resource":["collection/prod-*"]}],"KmsKeyArn":"arn:aws:kms:us-east-1:111111111111:key/abc-123"}'
KMS key requirements:
- MUST be
SYMMETRIC_DEFAULT(no asymmetric keys). - Key policy MUST grant
kms:Decrypt,kms:DescribeKey,kms:CreateGranttoopensearch-serverless.amazonaws.com. - For AWS-owned key, omit
KmsKeyArn.
Step 3: Network policy (create BEFORE collection)
aws opensearchserverless create-security-policy \
--name prod-network --type network \
--policy '{"Rules":[{"ResourceType":"collection","Resource":["collection/prod-*"]}],"AllowFromPublic":true}'
For VPC-only: replace AllowFromPublic with "SourceVPCEs": ["vpce-abc123"].
Step 4: Data lifecycle policy (TIMESERIES)
aws opensearchserverless create-lifecycle-policy \
--name prod-lifecycle --type retention \
--policy '{"Rules":[{"ResourceType":"index","Resource":{"index":"prod-logs-*"},"MinIndexRetention":"7d","MaxIndexRetention":"30d"}]}'
Step 5: Collection creation
aws opensearchserverless create-collection \
--name prod-vectors --type VECTORSEARCH \
--description "Production vector search for RAG" \
--standby-replicas ENABLED
Creation takes 15-30 minutes (CREATING → ACTIVE). Default OCU floor is 4 (2 indexing + 2 search).
Step 6: VPC endpoint (if VPC network)
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 <endpoint-from-step-5>
Step 7: Data access policy (IAM principals)
aws opensearchserverless create-access-policy \
--name prod-access --type data \
--policy '[{"Permission":["aoss:CreateCollectionItems","aoss:DescribeCollectionItems"],"Principal":["arn:aws:iam::111111111111:role/AppRole"]}]'
The collection creator does NOT automatically get access. A data access policy MUST be created.
Step 8: SAML / IAM Identity Center authentication
aws opensearchserverless update-collection \
--id <collection-id> \
--saml-options '{"Metadata":{"URL":"https://identity-center.amazonaws.com/saml/metadata/abc"},"GroupAttribute":"department","SessionTimeout":60}'
Step 9: Capacity configuration (OCU)
aws opensearchserverless update-collection \
--id <collection-id> \
--capacity '{"CapacityLimits":{"MaxIndexingCapacityInOCU":8,"MaxSearchCapacityInOCU":8}}'
Step 10: Vector search and semantic search
For VECTORSEARCH collections, the application creates the k-NN index:
{
"settings": {"index": {"knn": true}},
"mappings": {"properties": {"embedding": {
"type": "knn_vector", "dimension": 1536,
"method": {"name": "hnsw", "space_type": "cosinesimil", "engine": "faiss",
"parameters": {"ef_construction": 128, "m": 24}}
}}}
}
Engine: faiss (recommended; HNSW + IVF) or nmslib (legacy).
Semantic search: register an ML connector to Bedrock Titan Embeddings via ML Commons, then create a neural search pipeline that calls the model at ingest and query time.
Output format (per collection deployment plan)
COLLECTION: <name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
ARCHITECTURE:
Type: <SEARCH | TIMESERIES | VECTORSEARCH>
Encryption: <customer-managed KMS ARN | aws-owned-key>
Network: <public | VPC vpce-xxx>
Standby replicas: <ENABLED | DISABLED>
OCU floor: <indexing> indexing + <search> search = <total>
Access: <IAM principal count> principals via data access policy
Auth: <SAML | IAM-only>
Lifecycle: <retention rules | none>
Vector: <k-NN engine + dimension | N/A>
CHECKLIST:
[x] Encryption policy exists and references symmetric KMS key
[x] Network policy exists and covers collection pattern
[x] Collection type matches use case
[x] Standby replicas ENABLED for production HA
[x] OCU floor >= 4 (2 indexing + 2 search)
[x] Data access policy with IAM principals
[x] VPC endpoint configured (if VPC network)
[x] SAML metadata reachable (if SAML auth)
[x] Lifecycle policy for retention (TIMESERIES required)
FINDINGS:
- [INFO] Estimated monthly cost: OCU floor <N> x $0.204/hr x 720 = $<X>
- [WARN] Standby replicas ENABLED doubles OCU cost
DEPLOY_COMMANDS:
<ordered list of aws opensearchserverless commands>
STRICT output contract
Required output structure
Every response MUST begin with this block — no preamble:
COLLECTION: <name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
TARGET: <name> (collection-id: <id> for updates)
PRE_CHECKS:
- [PASS] <check description>
- [FAIL] <check description> — <reason>
STEPS:
1. CONFIRM: About to <operation> collection <name> in account <account> region <region>. This will <consequence>. Proceed? (yes/no)
2. <exact CLI command — no placeholders>
POST_VERIFY:
- [PASS] <verification description>
- [FAIL] <verification description> — <reason>
TYPE: SEARCH | TIMESERIES | VECTORSEARCH
ENCRYPTION: <KMS ARN | aws-owned-key>
NETWORK: <public | VPC vpce-xxx>
OCU: <indexing> indexing + <search> search (<standby> standby)
ACCESS: <count> IAM principals
AUTH: <SAML | IAM-only>
LIFECYCLE: <retention rules | none>
NOTES: <security posture, cost estimate, capacity caveats>
FORBIDDEN output patterns
- NEVER start with "Let me analyze…" — the VERDICT block is the FIRST line.
- NEVER use lowercase verdict values — emit
READY_TO_DEPLOYorPREREQUISITES_MISSING. - NEVER omit PRE_CHECKS — every pre-check must appear with
[PASS]or[FAIL]and a specific reason. - NEVER emit placeholder values in a READY_TO_DEPLOY plan.
- NEVER omit the CONFIRM gate as the first STEPS entry.
- NEVER claim success without verifying ACTIVE via
batch-get-collection. - NEVER change CLI step order — encryption first, network second, collection third.
- NEVER silently allow AWS-owned key for compliance workloads — flag as [WARN].
Perfect example output
COLLECTION: prod-vectors
VERDICT: READY_TO_DEPLOY
TARGET: prod-vectors
PRE_CHECKS:
- [PASS] Collection name unique
- [PASS] Encryption policy prod-encryption exists, references KMS abc-123
- [PASS] KMS key abc-123 is SYMMETRIC_DEFAULT
- [PASS] Network policy prod-network exists, covers collection/prod-*
- [PASS] VPC subnets resolve in vpc-abc123
- [PASS] Standby replicas ENABLED for production HA
- [PASS] OCU floor 4 (2 indexing + 2 search)
- [PASS] Data access policy prod-access has 3 IAM principals
- [PASS] SAML metadata URL reachable
- [PASS] IAM principal holds opensearchserverless:CreateCollection
STEPS:
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/hr x 720). Takes 15-30 min. Proceed? (yes/no)
2. aws opensearchserverless create-security-policy --name prod-encryption --type encryption --policy '{"Rules":[{"ResourceType":"collection","Resource":["collection/prod-*"]}],"KmsKeyArn":"arn:aws:kms:us-east-1:111111111111:key/abc-123"}'
3. aws opensearchserverless create-security-policy --name prod-network --type network --policy '{"Rules":[{"ResourceType":"collection","Resource":["collection/prod-*"]}],"SourceVPCEs":["vpce-xyz123"]}'
4. aws opensearchserverless create-collection --name prod-vectors --type VECTORSEARCH --description "Production vector search for RAG" --standby-replicas ENABLED
5. aws opensearchserverless create-access-policy --name prod-access --type data --policy '[{"Permission":["aoss:CreateCollectionItems","aoss:DescribeCollectionItems"],"Principal":["arn:aws:iam::111111111111:role/AppRole"]}]'
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 <endpoint-from-step-4>
POST_VERIFY:
- (pending execution)
- batch-get-collection returns status=ACTIVE (wait 15-30 min)
- get-security-policy returns prod-encryption with KMS abc-123
TYPE: VECTORSEARCH
ENCRYPTION: arn:aws:kms:us-east-1:111111111111:key/abc-123
NETWORK: VPC vpce-xyz123
OCU: 2 indexing + 2 search (standby doubles to 8 effective)
ACCESS: 3 IAM principals
AUTH: SAML via IAM Identity Center
LIFECYCLE: none (VECTORSEARCH)
NOTES:
- KMS key is immutable post-creation.
- Standby replicas double OCU cost ($1175/mo vs $588/mo).
- Data access policy required — creator gets NO default access.
Verification commands (run after deployment)
Moved verbatim to references/diagnostic-commands.md — load on demand. Read it only when this section applies.
Edge-case handling
Moved verbatim to references/advanced-patterns.md — load on demand. Read it only when this section applies.
NEVER (top 5)
-
NEVER create the collection before the encryption policy. The KMS key is IMMUTABLE post-creation. Without a matching encryption policy, the collection silently uses an AWS-owned key with no key visibility. Create the encryption policy FIRST, always.
-
NEVER create the collection before the network policy. Without a matching network policy, the collection endpoint is unreachable — neither public nor VPC. Takes 5-15 min to propagate after creation.
-
NEVER omit the data access policy. OpenSearch Serverless uses IAM principals via data access policies, NOT resource-based policies. The creator gets NO default access. Always emit
create-access-policy. -
NEVER use an asymmetric KMS key. Requires
SYMMETRIC_DEFAULT. Asymmetric keys fail with an opaque error. Verify viakms describe-key --query 'KeyMetadata.KeySpec'. -
NEVER disable standby replicas for production. Without standby, an AZ failure causes complete downtime. ENABLED doubles OCU cost but is required for HA. DISABLED is dev/staging only.
Expert heuristic: choosing collection type and OCU capacity
Moved verbatim to references/capacity-and-encryption-guide.md — load on demand. Read it only when this section applies.
Recent AWS features (2024-2026)
Moved verbatim to references/advanced-patterns.md — load on demand. Read it only when this section applies.
AWS documentation
- OpenSearch Serverless Developer Guide — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless.html
- Encryption policies — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html
- Network policies — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html
- Data access policies — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html
- Vector search — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vector-search.html
- Capacity and OCU — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-capacity.html
- SAML authentication — https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html
- CLI Reference — https://docs.aws.amazon.com/cli/latest/reference/opensearchserverless/
References (load on demand)
- references/advanced-patterns.md — Step 0 non-obvious behaviors, edge cases, recent AWS features
- references/diagnostic-commands.md — post-deployment verification commands
- references/capacity-and-encryption-guide.md — collection type and OCU capacity heuristics
- references/vector-search-guide.md — vector search detail
Domain
AWS CloudOps / OpenSearch Serverless Analytics & Vector Search Provisioning.
04 同仓库更多 Skills
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 / method / 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 / 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 / EKS / 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.
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.
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 / 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.
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/API Gateway/CloudFront, or configuring CAPTCHA/Challenge 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.
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/bypass 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.
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.