[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A312YAQR48SDMJR40463ZW":3,"skill-same:01M7A312YAQR48SDMJR40463ZW":142},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7A312YAQR48SDMJR40463ZW","amazon-mq-broker-deployer",null,"Provisions Amazon MQ brokers (ActiveMQ or RabbitMQ) with production defaults: engine selection (ActiveMQ for JMS\u002FOpenWire\u002FSTOMP\u002FMQTT\u002FAMQP\u002FWS, RabbitMQ for AMQP 0-9-1\u002FMQTT\u002FSTOMP high-throughput), deployment mode (single instance, active\u002Fstandby HA, cluster for RabbitMQ horizontal scale), instance type sizing (mq.t3.micro to mq.m5.16xl), EBS storage with KMS encryption, VPC networking, authentication (LDAP, AWS IAM for RabbitMQ, mTLS), configuration (ActiveMQ XML, RabbitMQ definitions JSON), automatic minor version upgrades, CloudWatch general and audit logs, RabbitMQ transit gateway cross-account. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an Amazon MQ broker, choosing ActiveMQ vs RabbitMQ, designing HA topology, wiring RabbitMQ IAM auth, or generating provisioning CLI \u002F IaC templates. Triggers: create Amazon MQ, provision ActiveMQ, provision RabbitMQ, Amazon MQ active\u002Fstandby, mq.t3, mq.m5, Amazon MQ LDAP, RabbitMQ IAM auth, transit gateway, audit logging.","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\u002Famazon-mq-broker-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: amazon-mq-broker-deployer\ndescription: 'Provisions Amazon MQ brokers (ActiveMQ or RabbitMQ) with production defaults: engine selection (ActiveMQ for JMS\u002FOpenWire\u002FSTOMP\u002FMQTT\u002FAMQP\u002FWS, RabbitMQ for AMQP 0-9-1\u002FMQTT\u002FSTOMP high-throughput), deployment mode (single instance, active\u002Fstandby HA, cluster for RabbitMQ horizontal scale), instance type sizing (mq.t3.micro to mq.m5.16xl), EBS storage with KMS encryption, VPC networking, authentication (LDAP, AWS IAM for RabbitMQ, mTLS), configuration (ActiveMQ XML, RabbitMQ definitions JSON), automatic minor version upgrades, CloudWatch general and audit logs, RabbitMQ transit gateway cross-account. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an Amazon MQ broker, choosing ActiveMQ vs RabbitMQ, designing HA topology, wiring RabbitMQ IAM auth, or generating provisioning CLI \u002F IaC templates. Triggers: create Amazon MQ, provision ActiveMQ, provision RabbitMQ, Amazon MQ active\u002Fstandby, mq.t3, mq.m5, Amazon MQ LDAP, RabbitMQ IAM auth, transit gateway, audit logging.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with mq, ec2, kms, iam, and secretsmanager access. Works with Terraform aws_mq_broker \u002F aws_mq_configuration resources and CloudFormation AWS::AmazonMQ::Broker templates.'\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: AppIntegration\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: aws, amazon-mq, activemq, rabbitmq, cloudops, deploy, appintegration, messaging, provisioning, active-standby, broker-cluster, encryption, audit-logging\n  dependencies: aws-orchestrator\n  keywords: aws, amazon mq, activemq, rabbitmq, cloudops, deploy, provisioning, message broker, active\u002Fstandby, cluster, single instance, mq.t3, mq.m5, ldap, iam authentication, mutual tls, stomp, mqtt, amqp, ws, openwire, transit gateway, audit logging, broker.xml, definitions json, automatic minor version upgrade\n  when_to_use: Invoke when the user wants to create a new Amazon MQ broker (ActiveMQ or RabbitMQ), design an active\u002Fstandby HA topology, choose between ActiveMQ and RabbitMQ for a workload, wire RabbitMQ with AWS IAM authentication, configure ActiveMQ with LDAP \u002F JAAS, enable audit logging, size broker instance types, set up cross-account access via transit gateway, harden a broker before production (encryption, MUTUAL TLS, audit logs), or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for self-managed ActiveMQ \u002F RabbitMQ on EC2, Amazon MSK (Kafka), Amazon SNS\u002FSQS, or Amazon MQ event auditing (use amazon-mq-broker-auditor).\n---\n\n# Amazon MQ Broker Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon MQ brokers (ActiveMQ or\nRabbitMQ) with correct defaults. The skill walks the operator through a\n10-step provisioning procedure, captures the operator's engine, topology,\nsecurity, and capacity decisions, explains why each default matters, and\nemits a READY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## What this skill does\n\nProvisions Amazon MQ brokers with production-grade defaults across engine\n(ActiveMQ vs RabbitMQ), deployment mode (single instance, active\u002Fstandby,\ncluster), instance type, EBS storage with KMS encryption, VPC networking,\nauthentication (LDAP, IAM, mTLS), configuration (XML \u002F definitions JSON),\nautomatic minor version upgrades, and CloudWatch general + audit logging.\nThe output is a READY_TO_DEPLOY checklist with verification commands.\n\n## Activation keywords\n\ncreate Amazon MQ, provision ActiveMQ, provision RabbitMQ, Amazon MQ\ndeployment, active\u002Fstandby broker, cluster deployment, single instance\nbroker, broker instance type, mq.t3.micro, mq.m5.large, mq.m5.16xl,\nAmazon MQ LDAP, RabbitMQ IAM authentication, mutual TLS, broker.xml,\ndefinitions JSON, STOMP, MQTT, AMQP, WS, OpenWire, Amazon MQ audit\nlogging, automatic minor version upgrade, transit gateway, Amazon MQ\nencryption, Amazon MQ KMS.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a broker-provisioning request (broker\nname, engine choice, workload shape, region, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined in\n§\"Output format\" using the literal all-caps labels `BROKER:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** Amazon MQ correctness is decided at creation time.\nEngine choice (ActiveMQ vs RabbitMQ), deployment mode (single instance vs\nactive\u002Fstandby vs cluster), and the encryption + authentication bundle\nare impossible or disruptive to change later — the provisioning procedure\ntreats each as a one-way door and forces an explicit decision before the\n`create-broker` call.\n\nThe three misconceptions (engines are interchangeable, single-instance is a safe default, audit logging can wait) with full reasoning: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| §\"Prerequisites\" | Always — verify before provisioning |\n| §\"Step 1 — Engine selection\" | Picking ActiveMQ vs RabbitMQ |\n| §\"Step 2 — Deployment mode\" | Single instance vs active\u002Fstandby vs cluster |\n| §\"Step 3 — Instance type sizing\" | Picking mq.t3 \u002F mq.m5 |\n| §\"Step 4 — Storage + KMS encryption\" | EBS, encryption at rest |\n| §\"Step 5 — Network + security\" | VPC, subnet, security group, ports |\n| §\"Step 6 — Authentication\" | LDAP, IAM, mTLS |\n| §\"Step 7 — Configuration\" | XML for ActiveMQ, definitions JSON for RabbitMQ |\n| §\"Step 8 — Logs\" | CloudWatch general + audit logs |\n| §\"Step 9 — Upgrades + maintenance\" | Automatic minor version upgrades |\n| §\"Step 10 — Transit gateway \u002F protocols\" | Latest 2024-2026 features |\n| §\"NEVER do these things\" | Review before signing off |\n| §\"Output format\" | The literal checklist template |\n| references\u002Fengine-and-topology.md | Deep ActiveMQ-vs-RabbitMQ + topology |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n| references\u002Fadvanced-patterns.md | Sizing heuristic + misconceptions + recent features |\n| references\u002Ferror-handling.md | API error table |\n\n## Reasoning framework (why provisioning order matters)\n\nAmazon MQ configurations have **dependency and immutability semantics**\nthat make the provisioning order non-trivial:\n\n1. **Engine BEFORE the first message** — ActiveMQ and RabbitMQ are NOT\n   interchangeable. Protocol surface, topology model, and client\n   libraries differ entirely. Migration is a full application rewrite.\n2. **Deployment mode BEFORE production traffic** — single instance has\n   no failover. Active\u002Fstandby → cluster conversion requires broker\n   deletion + recreation. Single → active\u002Fstandby triggers a\n   `reboot-broker` with downtime.\n3. **Encryption + authentication BEFORE the first production message** —\n   enabling TLS post-creation triggers `reboot-broker`. IAM auth is\n   creation-time-only for RabbitMQ.\n4. **Subnet BEFORE active\u002Fstandby** — HA requires >=2 AZs. A single-AZ\n   subnet silently prevents HA placement.\n5. **Instance type BEFORE production traffic** — changing type later\n   requires `reboot-broker` (downtime).\n6. **Configuration BEFORE the broker** — create via\n   `create-configuration` first, reference at `create-broker` via\n   `--configuration`.\n\n## Amazon MQ configuration dependency graph (novel heuristic)\n\nMany Amazon MQ configurations are **immutable** after creation or\nsilently downgrade. The four load-bearing rows — engine, deployment\nmode (active\u002Fstandby → cluster), IAM auth for RabbitMQ, and\nconfiguration revision semantics — are decided at creation time. The\nprocedure forces an explicit decision on each before `create-broker`.\n\n| Configuration | Immutability \u002F silent failure |\n|---|---|\n| Engine (ActiveMQ \u002F RabbitMQ) | **IMMUTABLE** — migration = full broker swap + client rewrite |\n| Deployment mode (single → active\u002Fstandby) | `reboot-broker` with downtime; active\u002Fstandby → cluster requires delete + recreate |\n| IAM auth (RabbitMQ) | **Creation-time-only** — cannot add to existing broker without recreation |\n| Encryption in transit (TLS) | Enabling post-creation triggers `reboot-broker` (client disconnects) |\n| Subnet AZs | Single-AZ subnet silently blocks active\u002Fstandby HA placement |\n| Configuration revision | Immutable once applied; changes require new revision + reboot |\n| Audit logging | Can be enabled post-creation (gap = unaudited window) |\n\n**Cross-dependency gotchas:**\n- ActiveMQ active\u002Fstandby uses shared EBS replication — the standby\n  does NOT accept connections until promoted (5-15 minutes). Clients\n  must use `failover:(ssl:\u002F\u002F...)` URI for automatic reconnect.\n- RabbitMQ cluster mode requires 3 brokers minimum (quorum). A 2-node\n  cluster loses quorum on any single failure.\n- IAM authentication for RabbitMQ is creation-time-only. A basic-auth\n  broker CANNOT be converted to IAM auth without recreation.\n\n## Expert heuristic: instance type and connection sizing\n\nSizing table (memory vs ActiveMQ\u002FRabbitMQ connection limits vs throughput) and the size-by-connections rule: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Amazon MQ access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Brokers, configurations, logs are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (for active\u002Fstandby) | Amazon MQ is VPC-only; HA requires multi-AZ | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Broker name unique in this account+region | Names are account+region-unique | `aws mq describe-broker --broker-id \u003Cname>` returns `NotFoundException` |\n| KMS key ARN (if encryption at rest with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` |\n| Security group with correct ports inbound from application SG | Network isolation; wrong port = silent connectivity failure | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rules |\n| LDAP directory details (if ActiveMQ LDAP auth) | LDAP requires a reachable directory endpoint | `aws ds describe-directories` (AWS Managed Microsoft AD \u002F Simple AD) |\n| Configuration ID (if custom broker.xml or definitions JSON) | Configuration must be created before broker | `aws mq describe-configuration --configuration-id \u003Cid>` |\n| Workload description (protocol, connection count, message rate) | Drives engine, deployment mode, instance type decisions | Captured in the prompt or follow-up question |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 1 — Engine selection (immutable — decide BEFORE create)\n\nThe engine decision is the highest-impact Amazon MQ design choice and\nis **immutable** without a full migration.\n\n**Decision tree:**\n\n```text\nDoes the workload need OpenWire, JMS, virtual topics, or ActiveMQ-specific\ndurable subscriber semantics?\n├── YES → ActiveMQ  (the only engine that supports OpenWire \u002F JMS)\n│         Note: ActiveMQ also supports STOMP, MQTT, AMQP, WS protocols.\n└── NO → Does the workload need RabbitMQ exchanges (direct, fanout, topic,\n│        headers), AMQP 0-9-1, or AWS IAM authentication?\n    ├── YES → RabbitMQ  (native exchange model, IAM auth, cluster mode)\n    └── NO  → ActiveMQ  (broader protocol surface; default for greenfield)\n```\n\nFull feature-comparison table (protocols, topology model, HA modes, horizontal scaling, encryption, auth, logging, upgrades): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** picking RabbitMQ for \"IAM auth\" then needing JMS or\nOpenWire. RabbitMQ does NOT support OpenWire or JMS. Conversely, picking\nActiveMQ for \"multi-protocol\" then needing RabbitMQ exchanges — ActiveMQ\nAMQP support is limited compared to RabbitMQ's native AMQP 0-9-1.\n\n### Step 2 — Deployment mode (immutable for cluster — decide BEFORE create)\n\nThe deployment mode determines HA and scaling behavior.\n\n**Decision tree:**\n\n```text\nIs the workload production \u002F HA-required?\n├── NO → Single instance  (dev\u002Ftest; no failover; EBS persistence)\n└── YES → Which engine?\n    ├── ActiveMQ → Active\u002FStandby  (shared EBS; standby in different AZ)\n    └── RabbitMQ → Is horizontal scaling needed (high connection count, high throughput)?\n        ├── YES → Cluster mode  (3+ nodes; quorum queues; horizontal scale)\n        └── NO  → Active\u002FStandby  (2 nodes; standby in different AZ)\n```\n\nActiveMQ active\u002Fstandby and RabbitMQ cluster specifics (shared EBS, 5-15 min promotion, failover URI, 3-node quorum): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** provisioning an ActiveMQ single-instance broker for\nproduction, then needing HA. Going from single instance to active\u002Fstandby\ntriggers a `reboot-broker` with downtime. Default to active\u002Fstandby for\nany production workload.\n\n### Step 3 — Instance type sizing\n\nAmazon MQ offers `mq.t3` and `mq.m5` families. Choose based on\nconnection count and throughput, not just memory.\n\nSize-by-workload ladder (mq.t3.micro -> mq.m5.16xlarge with connection\u002Fthroughput ranges): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** sizing by memory. Connection-handling overhead and\nfile-handle limits are the real bottleneck. A 64 GiB broker hitting\n5,000 connections will be CPU-bound before memory fills.\n\n### Step 4 — Storage + KMS encryption\n\nAmazon MQ uses EBS-backed storage for message persistence.\n\n**EBS storage:**\n- `--storage-type ebs` (default).\n- `--ebs-volume-size` (GiB, minimum 10, varies by engine\u002Ftype).\n\n**Encryption at rest (KMS):**\n- Enabled by default with AWS-managed key.\n- Customer CMK via `--kms-key-id`.\n- Can be added post-creation via modify (requires reboot).\n- **Cannot be removed** once enabled.\n\ncreate-broker with --storage-type\u002F--ebs-volume-size\u002F--kms-key-id: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** not sizing EBS for message backlog. If the broker\nbuffers messages (consumer lag), EBS fills and the broker stalls. Size\nEBS for peak backlog, not average throughput.\n\n### Step 5 — Network + security (VPC, subnet, security group)\n\nAmazon MQ is **VPC-only** for private brokers. There is no public\nendpoint by default (publicly accessible flag exists but is off by\ndefault for production).\n\n**Subnet requirements:**\n- Active\u002Fstandby: subnets in at least 2 AZs.\n- RabbitMQ cluster: subnets in at least 3 AZs (one per node).\n\n**Security group ports:**\n\n| Protocol | Port | ActiveMQ | RabbitMQ |\n|---|---|---|---|\n| OpenWire (SSL) | 61617 | YES | NO |\n| AMQP (SSL) | 5671 | YES (limited) | YES |\n| STOMP (SSL) | 61614 | YES | YES |\n| MQTT (SSL) | 8883 | YES | YES |\n| WSS (WebSocket) | 61619 | YES | YES |\n| ActiveMQ Web Console | 8162 | YES | NO |\n| RabbitMQ Management | 15671 | NO | YES |\n\nauthorize-security-group-ingress for broker ports from the application SG: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**NEVER** open broker ports to `0.0.0.0\u002F0` — even with TLS and auth,\nthis exposes the broker to internet scanning.\n\n**Common mistake:** forgetting the Web Console \u002F Management port. The\nActiveMQ Web Console (8162) and RabbitMQ Management UI (15671) need\ninbound rules for operator access.\n\n### Step 6 — Authentication (LDAP, IAM, mTLS)\n\nAuthentication is engine-specific and, for RabbitMQ IAM, creation-time.\n\n**ActiveMQ authentication options:**\n- **Username\u002Fpassword (basic):** `--users` array with ConsoleAccess and\n  Groups.\n- **LDAP (JAAS):** configure LDAP server in broker.xml. Requires a\n  reachable directory service (AWS Managed Microsoft AD, Simple AD, or\n  on-prem AD via Direct Connect\u002FVPN).\n- **Mutual TLS:** client cert validation at the TLS layer.\n\n**RabbitMQ authentication options:**\n- **Username\u002Fpassword (basic):** `--users` array.\n- **AWS IAM:** `--authentication-strategy ldap` is NOT used; instead,\n  IAM auth is enabled via the broker creation flag. IAM auth allows\n  AWS principals (users, roles) to connect using SigV4-signed\n  credentials. **Creation-time-only** — cannot add to an existing\n  broker without recreation.\n- **Mutual TLS:** client cert validation.\n\nRabbitMQ IAM-auth creation command: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** creating a RabbitMQ broker with basic auth, then\nneeding IAM auth. IAM auth is a creation-time-only setting. The broker\nmust be deleted and recreated. Decide at creation.\n\n### Step 7 — Configuration (XML for ActiveMQ, definitions JSON for RabbitMQ)\n\nConfiguration is engine-specific and must be created BEFORE the broker.\n\n**ActiveMQ configuration (XML):**\n\ncreate\u002Fupdate-configuration commands plus the broker.xml destination-policy example: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**RabbitMQ configuration (definitions JSON):**\n\nRabbitMQ uses a definitions JSON for exchanges, queues, bindings, and\nusers. Upload via the RabbitMQ Management UI or embed at creation.\n\nRabbitMQ definitions-JSON configuration commands: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** creating the broker before the configuration. The\nconfiguration ID must be referenced at `create-broker` via\n`--configuration`. A broker created without a configuration uses engine\ndefaults, which may not match the intended topology.\n\n### Step 8 — Logs (CloudWatch general + audit)\n\nAmazon MQ publishes two log types to CloudWatch:\n\n- **General logs:** broker engine logs (INFO level by default).\n- **Audit logs:** administrative and publish\u002Fsubscribe actions\n  (ActiveMQ) or connection \u002F channel events (RabbitMQ).\n\n**Enable at creation:**\n\ncreate-broker --logs General=true Audit=true: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Audit logging is critical for compliance:**\n- PCI-DSS, HIPAA, FedRAMP require an audit trail of all broker access.\n- Audit logs capture user logins, destination creation, message\n  publishes, and administrative actions.\n- Enable at creation to avoid an unaudited gap.\n\n**Common mistake:** enabling only general logs. General logs capture\nengine errors, NOT user actions. Audit logs are required for compliance.\n\n### Step 9 — Automatic minor version upgrades + maintenance\n\nAmazon MQ applies minor version upgrades automatically during a\nmaintenance window.\n\n**Defaults:**\n- `--auto-minor-version-upgrade true` (default on).\n- Maintenance window: Amazon MQ selects a random window if not\n  specified.\n\n**Override the maintenance window:**\n\ncreate-broker --maintenance-window-start-time: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** disabling automatic upgrades for \"stability.\" This\nleaves the broker unpatched against security vulnerabilities. Keep\nupgrades enabled and set an explicit maintenance window.\n\n### Step 10 — Transit gateway \u002F protocol surface (latest features)\n\n**RabbitMQ transit gateway (2024-2026):**\n- Cross-account \u002F cross-VPC broker access via AWS Transit Gateway.\n- Configure the TGW attachment, route tables, and security group rules.\n- Use RAM (Resource Access Manager) to share the TGW across accounts.\n\nRAM create-resource-share command: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**ActiveMQ protocol surface (STOMP, MQTT, AMQP, WS):**\n- ActiveMQ supports OpenWire (61617), AMQP (5671), STOMP (61614),\n  MQTT (8883), and WSS (61619) simultaneously.\n- Enable the protocols in broker.xml.\n- Each protocol needs a security group inbound rule.\n\nbroker.xml transportConnectors example (OpenWire\u002FAMQP\u002FSTOMP\u002FMQTT\u002FWS ports): [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** provisioning a RabbitMQ broker expecting ActiveMQ\nprotocols (OpenWire, WS console). RabbitMQ does NOT support OpenWire.\nVerify the protocol surface matches the engine choice.\n\n## NEVER do these things (top 5)\n\n1. **NEVER pick RabbitMQ for a workload that needs OpenWire, JMS, or\n   ActiveMQ virtual topics.** RabbitMQ does NOT support these. Migration\n   is a full application rewrite. Pick ActiveMQ for JMS \u002F OpenWire\n   workloads.\n\n2. **NEVER create a RabbitMQ broker with basic auth then need IAM auth.**\n   IAM authentication is a creation-time-only setting. Converting\n   requires deleting and recreating the broker. Decide at creation.\n\n3. **NEVER provision a single-AZ subnet for active\u002Fstandby.** HA\n   requires the standby in a different AZ. Verify\n   `aws ec2 describe-subnets` shows >=2 distinct AZs before\n   `create-broker`.\n\n4. **NEVER open broker ports to `0.0.0.0\u002F0`.** Even with TLS and auth,\n   internet exposure invites scanning and brute-force attacks. Always\n   scope inbound to the application's SG.\n\n5. **NEVER disable automatic minor version upgrades on a production\n   broker.** This leaves the broker unpatched against security\n   vulnerabilities. Keep upgrades enabled with an explicit maintenance\n   window.\n\n**Additional critical mistakes:** never enable only general logs for\ncompliance brokers (audit logs required for PCI-DSS\u002FHIPAA); never\ncreate a 2-node RabbitMQ cluster (quorum requires 3); never attempt\nactive\u002Fstandby → cluster conversion by modify (requires broker\ndeletion + recreation); never size by memory alone (connection count is\nthe real limit); never create the broker before the configuration\n(reference at `create-broker` via `--configuration`); never forget the\nWeb Console (8162) \u002F Management (15671) ports; never assume single\ninstance has failover; never use plain TCP for ActiveMQ failover\n(clients need `failover:(ssl:\u002F\u002F...)` URI).\n\n## Output format\n\n```text\nBROKER: \u003Cbroker-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: ActiveMQ | RabbitMQ\n  [✓|✗] Deployment mode: Single instance | Active\u002FStandby | Cluster (\u003CN> nodes)\n  [✓|✗] Instance type: mq.\u003Cfamily>.\u003Csize> (\u003Cmemory> GiB; \u003Cmax-connections> connections)\n  [✓|✗] EBS storage: \u003Csize> GiB (encrypted with \u003CKMS-key-arn | AWS-managed>)\n  [✓|✗] Subnet: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound ports: \u003Cport-list> from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn>) | AWS-managed\n  [✓|✗] Encryption in transit (TLS): Enabled | Disabled\n  [✓|✗] Authentication: \u003CLDAP | IAM (RabbitMQ) | Username\u002Fpassword | mTLS>\n  [✓|✗] Configuration: \u003Cconfig-id> revision \u003CN> (XML \u002F definitions JSON)\n  [✓|✗] General logs: Enabled (CloudWatch log group: \u003Cname>)\n  [✓|✗] Audit logs: Enabled (CloudWatch log group: \u003Cname>)\n  [✓|✗] Automatic minor version upgrades: Enabled (window: \u003CUTC-range>)\n  [✓|✗] Transit gateway: \u003Ctgw-id> (cross-account) | N\u002FA\nVERIFICATION_COMMANDS:\n  aws mq describe-broker --broker-id \u003Cname>\n  aws mq describe-configuration --configuration-id \u003Cconfig-id>\n  aws ec2 describe-security-groups --group-ids \u003Csg-id>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production ActiveMQ active\u002Fstandby\n\n```text\nBROKER: prod-mq\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: ActiveMQ\n  [✓] Deployment mode: Active\u002FStandby (standby in us-east-1b)\n  [✓] Instance type: mq.m5.large (8 GiB; ~1,000 connections)\n  [✓] EBS storage: 200 GiB (encrypted with customer CMK alias\u002Fprod-mq-kms)\n  [✓] Subnet: prod-mq-subnet (2 AZs: us-east-1a, us-east-1b)\n  [✓] Security group: sg-mq123 (inbound 61617, 8162 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-mq-kms)\n  [✓] Encryption in transit (TLS): Enabled\n  [✓] Authentication: LDAP (AWS Managed Microsoft AD d-1234567890)\n  [✓] Configuration: c-abc123 revision 1 (XML: OpenWire + STOMP + MQTT)\n  [✓] General logs: Enabled (CloudWatch: \u002Faws\u002Famazonmq\u002Fbroker\u002Fprod-mq\u002Fgeneral)\n  [✓] Audit logs: Enabled (CloudWatch: \u002Faws\u002Famazonmq\u002Fbroker\u002Fprod-mq\u002Faudit)\n  [✓] Automatic minor version upgrades: Enabled (window: SUN 03:00 UTC)\n  [✓] Transit gateway: N\u002FA\nVERIFICATION_COMMANDS:\n  aws mq describe-broker --broker-id prod-mq\n  aws mq describe-configuration --configuration-id c-abc123\n  aws ec2 describe-security-groups --group-ids sg-mq123\n  aws kms describe-key --key-id alias\u002Fprod-mq-kms\n```\n\n## Error handling\n\nAPI error -> cause -> fix table: [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n\n## Recent AWS features (2024-2026)\n\nFull feature list with dates: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Domain\n\nAWS CloudOps \u002F Amazon MQ Broker Provisioning & Messaging Topology Design.\n\n## References (load on demand)\n\n- [Engine and topology](references\u002Fengine-and-topology.md) — ActiveMQ vs RabbitMQ matrix, deployment-mode mechanics, size-by-workload ladder, failover semantics\n- [Provisioning CLI commands](references\u002Fprovisioning-cli-commands.md) — end-to-end create sequence: prerequisites, configuration, subnet, SG, brokers, TGW share, verification\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — mindset misconceptions, instance-type sizing heuristic, recent AWS features\n- [Error handling](references\u002Ferror-handling.md) — API error to cause to fix table\n\n## AWS documentation\n\n- **Amazon MQ Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Fwelcome.html\n- **ActiveMQ broker configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Factivemq-configuration-settings.html\n- **RabbitMQ broker configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Frabbitmq-configuration-settings.html\n- **Amazon MQ authentication** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-authentication.html\n- **Amazon MQ logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-logging-and-monitoring.html\n- **Amazon MQ best practices** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-best-practices.html\n","# Amazon MQ Broker Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon MQ brokers (ActiveMQ or\nRabbitMQ) with correct defaults. The skill walks the operator through a\n10-step provisioning procedure, captures the operator's engine, topology,\nsecurity, and capacity decisions, explains why each default matters, and\nemits a READY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## What this skill does\n\nProvisions Amazon MQ brokers with production-grade defaults across engine\n(ActiveMQ vs RabbitMQ), deployment mode (single instance, active\u002Fstandby,\ncluster), instance type, EBS storage with KMS encryption, VPC networking,\nauthentication (LDAP, IAM, mTLS), configuration (XML \u002F definitions JSON),\nautomatic minor version upgrades, and CloudWatch general + audit logging.\nThe output is a READY_TO_DEPLOY checklist with verification commands.\n\n## Activation keywords\n\ncreate Amazon MQ, provision ActiveMQ, provision RabbitMQ, Amazon MQ\ndeployment, active\u002Fstandby broker, cluster deployment, single instance\nbroker, broker instance type, mq.t3.micro, mq.m5.large, mq.m5.16xl,\nAmazon MQ LDAP, RabbitMQ IAM authentication, mutual TLS, broker.xml,\ndefinitions JSON, STOMP, MQTT, AMQP, WS, OpenWire, Amazon MQ audit\nlogging, automatic minor version upgrade, transit gateway, Amazon MQ\nencryption, Amazon MQ KMS.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a broker-provisioning request (broker\nname, engine choice, workload shape, region, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined in\n§\"Output format\" using the literal all-caps labels `BROKER:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** Amazon MQ correctness is decided at creation time.\nEngine choice (ActiveMQ vs RabbitMQ), deployment mode (single instance vs\nactive\u002Fstandby vs cluster), and the encryption + authentication bundle\nare impossible or disruptive to change later — the provisioning procedure\ntreats each as a one-way door and forces an explicit decision before the\n`create-broker` call.\n\nThe three misconceptions (engines are interchangeable, single-instance is a safe default, audit logging can wait) with full reasoning: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| §\"Prerequisites\" | Always — verify before provisioning |\n| §\"Step 1 — Engine selection\" | Picking ActiveMQ vs RabbitMQ |\n| §\"Step 2 — Deployment mode\" | Single instance vs active\u002Fstandby vs cluster |\n| §\"Step 3 — Instance type sizing\" | Picking mq.t3 \u002F mq.m5 |\n| §\"Step 4 — Storage + KMS encryption\" | EBS, encryption at rest |\n| §\"Step 5 — Network + security\" | VPC, subnet, security group, ports |\n| §\"Step 6 — Authentication\" | LDAP, IAM, mTLS |\n| §\"Step 7 — Configuration\" | XML for ActiveMQ, definitions JSON for RabbitMQ |\n| §\"Step 8 — Logs\" | CloudWatch general + audit logs |\n| §\"Step 9 — Upgrades + maintenance\" | Automatic minor version upgrades |\n| §\"Step 10 — Transit gateway \u002F protocols\" | Latest 2024-2026 features |\n| §\"NEVER do these things\" | Review before signing off |\n| §\"Output format\" | The literal checklist template |\n| references\u002Fengine-and-topology.md | Deep ActiveMQ-vs-RabbitMQ + topology |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n| references\u002Fadvanced-patterns.md | Sizing heuristic + misconceptions + recent features |\n| references\u002Ferror-handling.md | API error table |\n\n## Reasoning framework (why provisioning order matters)\n\nAmazon MQ configurations have **dependency and immutability semantics**\nthat make the provisioning order non-trivial:\n\n1. **Engine BEFORE the first message** — ActiveMQ and RabbitMQ are NOT\n   interchangeable. Protocol surface, topology model, and client\n   libraries differ entirely. Migration is a full application rewrite.\n2. **Deployment mode BEFORE production traffic** — single instance has\n   no failover. Active\u002Fstandby → cluster conversion requires broker\n   deletion + recreation. Single → active\u002Fstandby triggers a\n   `reboot-broker` with downtime.\n3. **Encryption + authentication BEFORE the first production message** —\n   enabling TLS post-creation triggers `reboot-broker`. IAM auth is\n   creation-time-only for RabbitMQ.\n4. **Subnet BEFORE active\u002Fstandby** — HA requires >=2 AZs. A single-AZ\n   subnet silently prevents HA placement.\n5. **Instance type BEFORE production traffic** — changing type later\n   requires `reboot-broker` (downtime).\n6. **Configuration BEFORE the broker** — create via\n   `create-configuration` first, reference at `create-broker` via\n   `--configuration`.\n\n## Amazon MQ configuration dependency graph (novel heuristic)\n\nMany Amazon MQ configurations are **immutable** after creation or\nsilently downgrade. The four load-bearing rows — engine, deployment\nmode (active\u002Fstandby → cluster), IAM auth for RabbitMQ, and\nconfiguration revision semantics — are decided at creation time. The\nprocedure forces an explicit decision on each before `create-broker`.\n\n| Configuration | Immutability \u002F silent failure |\n|---|---|\n| Engine (ActiveMQ \u002F RabbitMQ) | **IMMUTABLE** — migration = full broker swap + client rewrite |\n| Deployment mode (single → active\u002Fstandby) | `reboot-broker` with downtime; active\u002Fstandby → cluster requires delete + recreate |\n| IAM auth (RabbitMQ) | **Creation-time-only** — cannot add to existing broker without recreation |\n| Encryption in transit (TLS) | Enabling post-creation triggers `reboot-broker` (client disconnects) |\n| Subnet AZs | Single-AZ subnet silently blocks active\u002Fstandby HA placement |\n| Configuration revision | Immutable once applied; changes require new revision + reboot |\n| Audit logging | Can be enabled post-creation (gap = unaudited window) |\n\n**Cross-dependency gotchas:**\n- ActiveMQ active\u002Fstandby uses shared EBS replication — the standby\n  does NOT accept connections until promoted (5-15 minutes). Clients\n  must use `failover:(ssl:\u002F\u002F...)` URI for automatic reconnect.\n- RabbitMQ cluster mode requires 3 brokers minimum (quorum). A 2-node\n  cluster loses quorum on any single failure.\n- IAM authentication for RabbitMQ is creation-time-only. A basic-auth\n  broker CANNOT be converted to IAM auth without recreation.\n\n## Expert heuristic: instance type and connection sizing\n\nSizing table (memory vs ActiveMQ\u002FRabbitMQ connection limits vs throughput) and the size-by-connections rule: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Amazon MQ access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Brokers, configurations, logs are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (for active\u002Fstandby) | Amazon MQ is VPC-only; HA requires multi-AZ | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Broker name unique in this account+region | Names are account+region-unique | `aws mq describe-broker --broker-id \u003Cname>` returns `NotFoundException` |\n| KMS key ARN (if encryption at rest with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` |\n| Security group with correct ports inbound from application SG | Network isolation; wrong port = silent connectivity failure | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rules |\n| LDAP directory details (if ActiveMQ LDAP auth) | LDAP requires a reachable directory endpoint | `aws ds describe-directories` (AWS Managed Microsoft AD \u002F Simple AD) |\n| Configuration ID (if custom broker.xml or definitions JSON) | Configuration must be created before broker | `aws mq describe-configuration --configuration-id \u003Cid>` |\n| Workload description (protocol, connection count, message rate) | Drives engine, deployment mode, instance type decisions | Captured in the prompt or follow-up question |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 1 — Engine selection (immutable — decide BEFORE create)\n\nThe engine decision is the highest-impact Amazon MQ design choice and\nis **immutable** without a full migration.\n\n**Decision tree:**\n\n```text\nDoes the workload need OpenWire, JMS, virtual topics, or ActiveMQ-specific\ndurable subscriber semantics?\n├── YES → ActiveMQ  (the only engine that supports OpenWire \u002F JMS)\n│         Note: ActiveMQ also supports STOMP, MQTT, AMQP, WS protocols.\n└── NO → Does the workload need RabbitMQ exchanges (direct, fanout, topic,\n│        headers), AMQP 0-9-1, or AWS IAM authentication?\n    ├── YES → RabbitMQ  (native exchange model, IAM auth, cluster mode)\n    └── NO  → ActiveMQ  (broader protocol surface; default for greenfield)\n```\n\nFull feature-comparison table (protocols, topology model, HA modes, horizontal scaling, encryption, auth, logging, upgrades): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** picking RabbitMQ for \"IAM auth\" then needing JMS or\nOpenWire. RabbitMQ does NOT support OpenWire or JMS. Conversely, picking\nActiveMQ for \"multi-protocol\" then needing RabbitMQ exchanges — ActiveMQ\nAMQP support is limited compared to RabbitMQ's native AMQP 0-9-1.\n\n### Step 2 — Deployment mode (immutable for cluster — decide BEFORE create)\n\nThe deployment mode determines HA and scaling behavior.\n\n**Decision tree:**\n\n```text\nIs the workload production \u002F HA-required?\n├── NO → Single instance  (dev\u002Ftest; no failover; EBS persistence)\n└── YES → Which engine?\n    ├── ActiveMQ → Active\u002FStandby  (shared EBS; standby in different AZ)\n    └── RabbitMQ → Is horizontal scaling needed (high connection count, high throughput)?\n        ├── YES → Cluster mode  (3+ nodes; quorum queues; horizontal scale)\n        └── NO  → Active\u002FStandby  (2 nodes; standby in different AZ)\n```\n\nActiveMQ active\u002Fstandby and RabbitMQ cluster specifics (shared EBS, 5-15 min promotion, failover URI, 3-node quorum): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** provisioning an ActiveMQ single-instance broker for\nproduction, then needing HA. Going from single instance to active\u002Fstandby\ntriggers a `reboot-broker` with downtime. Default to active\u002Fstandby for\nany production workload.\n\n### Step 3 — Instance type sizing\n\nAmazon MQ offers `mq.t3` and `mq.m5` families. Choose based on\nconnection count and throughput, not just memory.\n\nSize-by-workload ladder (mq.t3.micro -> mq.m5.16xlarge with connection\u002Fthroughput ranges): [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md).\n\n**Common mistake:** sizing by memory. Connection-handling overhead and\nfile-handle limits are the real bottleneck. A 64 GiB broker hitting\n5,000 connections will be CPU-bound before memory fills.\n\n### Step 4 — Storage + KMS encryption\n\nAmazon MQ uses EBS-backed storage for message persistence.\n\n**EBS storage:**\n- `--storage-type ebs` (default).\n- `--ebs-volume-size` (GiB, minimum 10, varies by engine\u002Ftype).\n\n**Encryption at rest (KMS):**\n- Enabled by default with AWS-managed key.\n- Customer CMK via `--kms-key-id`.\n- Can be added post-creation via modify (requires reboot).\n- **Cannot be removed** once enabled.\n\ncreate-broker with --storage-type\u002F--ebs-volume-size\u002F--kms-key-id: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** not sizing EBS for message backlog. If the broker\nbuffers messages (consumer lag), EBS fills and the broker stalls. Size\nEBS for peak backlog, not average throughput.\n\n### Step 5 — Network + security (VPC, subnet, security group)\n\nAmazon MQ is **VPC-only** for private brokers. There is no public\nendpoint by default (publicly accessible flag exists but is off by\ndefault for production).\n\n**Subnet requirements:**\n- Active\u002Fstandby: subnets in at least 2 AZs.\n- RabbitMQ cluster: subnets in at least 3 AZs (one per node).\n\n**Security group ports:**\n\n| Protocol | Port | ActiveMQ | RabbitMQ |\n|---|---|---|---|\n| OpenWire (SSL) | 61617 | YES | NO |\n| AMQP (SSL) | 5671 | YES (limited) | YES |\n| STOMP (SSL) | 61614 | YES | YES |\n| MQTT (SSL) | 8883 | YES | YES |\n| WSS (WebSocket) | 61619 | YES | YES |\n| ActiveMQ Web Console | 8162 | YES | NO |\n| RabbitMQ Management | 15671 | NO | YES |\n\nauthorize-security-group-ingress for broker ports from the application SG: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**NEVER** open broker ports to `0.0.0.0\u002F0` — even with TLS and auth,\nthis exposes the broker to internet scanning.\n\n**Common mistake:** forgetting the Web Console \u002F Management port. The\nActiveMQ Web Console (8162) and RabbitMQ Management UI (15671) need\ninbound rules for operator access.\n\n### Step 6 — Authentication (LDAP, IAM, mTLS)\n\nAuthentication is engine-specific and, for RabbitMQ IAM, creation-time.\n\n**ActiveMQ authentication options:**\n- **Username\u002Fpassword (basic):** `--users` array with ConsoleAccess and\n  Groups.\n- **LDAP (JAAS):** configure LDAP server in broker.xml. Requires a\n  reachable directory service (AWS Managed Microsoft AD, Simple AD, or\n  on-prem AD via Direct Connect\u002FVPN).\n- **Mutual TLS:** client cert validation at the TLS layer.\n\n**RabbitMQ authentication options:**\n- **Username\u002Fpassword (basic):** `--users` array.\n- **AWS IAM:** `--authentication-strategy ldap` is NOT used; instead,\n  IAM auth is enabled via the broker creation flag. IAM auth allows\n  AWS principals (users, roles) to connect using SigV4-signed\n  credentials. **Creation-time-only** — cannot add to an existing\n  broker without recreation.\n- **Mutual TLS:** client cert validation.\n\nRabbitMQ IAM-auth creation command: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** creating a RabbitMQ broker with basic auth, then\nneeding IAM auth. IAM auth is a creation-time-only setting. The broker\nmust be deleted and recreated. Decide at creation.\n\n### Step 7 — Configuration (XML for ActiveMQ, definitions JSON for RabbitMQ)\n\nConfiguration is engine-specific and must be created BEFORE the broker.\n\n**ActiveMQ configuration (XML):**\n\ncreate\u002Fupdate-configuration commands plus the broker.xml destination-policy example: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**RabbitMQ configuration (definitions JSON):**\n\nRabbitMQ uses a definitions JSON for exchanges, queues, bindings, and\nusers. Upload via the RabbitMQ Management UI or embed at creation.\n\nRabbitMQ definitions-JSON configuration commands: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** creating the broker before the configuration. The\nconfiguration ID must be referenced at `create-broker` via\n`--configuration`. A broker created without a configuration uses engine\ndefaults, which may not match the intended topology.\n\n### Step 8 — Logs (CloudWatch general + audit)\n\nAmazon MQ publishes two log types to CloudWatch:\n\n- **General logs:** broker engine logs (INFO level by default).\n- **Audit logs:** administrative and publish\u002Fsubscribe actions\n  (ActiveMQ) or connection \u002F channel events (RabbitMQ).\n\n**Enable at creation:**\n\ncreate-broker --logs General=true Audit=true: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Audit logging is critical for compliance:**\n- PCI-DSS, HIPAA, FedRAMP require an audit trail of all broker access.\n- Audit logs capture user logins, destination creation, message\n  publishes, and administrative actions.\n- Enable at creation to avoid an unaudited gap.\n\n**Common mistake:** enabling only general logs. General logs capture\nengine errors, NOT user actions. Audit logs are required for compliance.\n\n### Step 9 — Automatic minor version upgrades + maintenance\n\nAmazon MQ applies minor version upgrades automatically during a\nmaintenance window.\n\n**Defaults:**\n- `--auto-minor-version-upgrade true` (default on).\n- Maintenance window: Amazon MQ selects a random window if not\n  specified.\n\n**Override the maintenance window:**\n\ncreate-broker --maintenance-window-start-time: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** disabling automatic upgrades for \"stability.\" This\nleaves the broker unpatched against security vulnerabilities. Keep\nupgrades enabled and set an explicit maintenance window.\n\n### Step 10 — Transit gateway \u002F protocol surface (latest features)\n\n**RabbitMQ transit gateway (2024-2026):**\n- Cross-account \u002F cross-VPC broker access via AWS Transit Gateway.\n- Configure the TGW attachment, route tables, and security group rules.\n- Use RAM (Resource Access Manager) to share the TGW across accounts.\n\nRAM create-resource-share command: [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**ActiveMQ protocol surface (STOMP, MQTT, AMQP, WS):**\n- ActiveMQ supports OpenWire (61617), AMQP (5671), STOMP (61614),\n  MQTT (8883), and WSS (61619) simultaneously.\n- Enable the protocols in broker.xml.\n- Each protocol needs a security group inbound rule.\n\nbroker.xml transportConnectors example (OpenWire\u002FAMQP\u002FSTOMP\u002FMQTT\u002FWS ports): [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n\n**Common mistake:** provisioning a RabbitMQ broker expecting ActiveMQ\nprotocols (OpenWire, WS console). RabbitMQ does NOT support OpenWire.\nVerify the protocol surface matches the engine choice.\n\n## NEVER do these things (top 5)\n\n1. **NEVER pick RabbitMQ for a workload that needs OpenWire, JMS, or\n   ActiveMQ virtual topics.** RabbitMQ does NOT support these. Migration\n   is a full application rewrite. Pick ActiveMQ for JMS \u002F OpenWire\n   workloads.\n\n2. **NEVER create a RabbitMQ broker with basic auth then need IAM auth.**\n   IAM authentication is a creation-time-only setting. Converting\n   requires deleting and recreating the broker. Decide at creation.\n\n3. **NEVER provision a single-AZ subnet for active\u002Fstandby.** HA\n   requires the standby in a different AZ. Verify\n   `aws ec2 describe-subnets` shows >=2 distinct AZs before\n   `create-broker`.\n\n4. **NEVER open broker ports to `0.0.0.0\u002F0`.** Even with TLS and auth,\n   internet exposure invites scanning and brute-force attacks. Always\n   scope inbound to the application's SG.\n\n5. **NEVER disable automatic minor version upgrades on a production\n   broker.** This leaves the broker unpatched against security\n   vulnerabilities. Keep upgrades enabled with an explicit maintenance\n   window.\n\n**Additional critical mistakes:** never enable only general logs for\ncompliance brokers (audit logs required for PCI-DSS\u002FHIPAA); never\ncreate a 2-node RabbitMQ cluster (quorum requires 3); never attempt\nactive\u002Fstandby → cluster conversion by modify (requires broker\ndeletion + recreation); never size by memory alone (connection count is\nthe real limit); never create the broker before the configuration\n(reference at `create-broker` via `--configuration`); never forget the\nWeb Console (8162) \u002F Management (15671) ports; never assume single\ninstance has failover; never use plain TCP for ActiveMQ failover\n(clients need `failover:(ssl:\u002F\u002F...)` URI).\n\n## Output format\n\n```text\nBROKER: \u003Cbroker-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: ActiveMQ | RabbitMQ\n  [✓|✗] Deployment mode: Single instance | Active\u002FStandby | Cluster (\u003CN> nodes)\n  [✓|✗] Instance type: mq.\u003Cfamily>.\u003Csize> (\u003Cmemory> GiB; \u003Cmax-connections> connections)\n  [✓|✗] EBS storage: \u003Csize> GiB (encrypted with \u003CKMS-key-arn | AWS-managed>)\n  [✓|✗] Subnet: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound ports: \u003Cport-list> from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn>) | AWS-managed\n  [✓|✗] Encryption in transit (TLS): Enabled | Disabled\n  [✓|✗] Authentication: \u003CLDAP | IAM (RabbitMQ) | Username\u002Fpassword | mTLS>\n  [✓|✗] Configuration: \u003Cconfig-id> revision \u003CN> (XML \u002F definitions JSON)\n  [✓|✗] General logs: Enabled (CloudWatch log group: \u003Cname>)\n  [✓|✗] Audit logs: Enabled (CloudWatch log group: \u003Cname>)\n  [✓|✗] Automatic minor version upgrades: Enabled (window: \u003CUTC-range>)\n  [✓|✗] Transit gateway: \u003Ctgw-id> (cross-account) | N\u002FA\nVERIFICATION_COMMANDS:\n  aws mq describe-broker --broker-id \u003Cname>\n  aws mq describe-configuration --configuration-id \u003Cconfig-id>\n  aws ec2 describe-security-groups --group-ids \u003Csg-id>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production ActiveMQ active\u002Fstandby\n\n```text\nBROKER: prod-mq\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: ActiveMQ\n  [✓] Deployment mode: Active\u002FStandby (standby in us-east-1b)\n  [✓] Instance type: mq.m5.large (8 GiB; ~1,000 connections)\n  [✓] EBS storage: 200 GiB (encrypted with customer CMK alias\u002Fprod-mq-kms)\n  [✓] Subnet: prod-mq-subnet (2 AZs: us-east-1a, us-east-1b)\n  [✓] Security group: sg-mq123 (inbound 61617, 8162 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-mq-kms)\n  [✓] Encryption in transit (TLS): Enabled\n  [✓] Authentication: LDAP (AWS Managed Microsoft AD d-1234567890)\n  [✓] Configuration: c-abc123 revision 1 (XML: OpenWire + STOMP + MQTT)\n  [✓] General logs: Enabled (CloudWatch: \u002Faws\u002Famazonmq\u002Fbroker\u002Fprod-mq\u002Fgeneral)\n  [✓] Audit logs: Enabled (CloudWatch: \u002Faws\u002Famazonmq\u002Fbroker\u002Fprod-mq\u002Faudit)\n  [✓] Automatic minor version upgrades: Enabled (window: SUN 03:00 UTC)\n  [✓] Transit gateway: N\u002FA\nVERIFICATION_COMMANDS:\n  aws mq describe-broker --broker-id prod-mq\n  aws mq describe-configuration --configuration-id c-abc123\n  aws ec2 describe-security-groups --group-ids sg-mq123\n  aws kms describe-key --key-id alias\u002Fprod-mq-kms\n```\n\n## Error handling\n\nAPI error -> cause -> fix table: [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n\n## Recent AWS features (2024-2026)\n\nFull feature list with dates: [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Domain\n\nAWS CloudOps \u002F Amazon MQ Broker Provisioning & Messaging Topology Design.\n\n## References (load on demand)\n\n- [Engine and topology](references\u002Fengine-and-topology.md) — ActiveMQ vs RabbitMQ matrix, deployment-mode mechanics, size-by-workload ladder, failover semantics\n- [Provisioning CLI commands](references\u002Fprovisioning-cli-commands.md) — end-to-end create sequence: prerequisites, configuration, subnet, SG, brokers, TGW share, verification\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — mindset misconceptions, instance-type sizing heuristic, recent AWS features\n- [Error handling](references\u002Ferror-handling.md) — API error to cause to fix table\n\n## AWS documentation\n\n- **Amazon MQ Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Fwelcome.html\n- **ActiveMQ broker configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Factivemq-configuration-settings.html\n- **RabbitMQ broker configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Frabbitmq-configuration-settings.html\n- **Amazon MQ authentication** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-authentication.html\n- **Amazon MQ logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-logging-and-monitoring.html\n- **Amazon MQ best practices** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazon-mq\u002Flatest\u002Fdeveloper-guide\u002Famazon-mq-best-practices.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"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,"supports_pipeline":38},"aws, amazon-mq, activemq, rabbitmq, cloudops, deploy, appintegration, messaging, provisioning, active-standby, broker-cluster, encryption, audit-logging","1","Jacky Chan — AWS Community Builder","aws-cloudops","AppIntegration","0.1.0","aws, amazon mq, activemq, rabbitmq, cloudops, deploy, provisioning, message broker, active\u002Fstandby, cluster, single instance, mq.t3, mq.m5, ldap, iam authentication, mutual tls, stomp, mqtt, amqp, ws, openwire, transit gateway, audit logging, broker.xml, definitions json, automatic minor version upgrade","deploy","high","false","capability","Invoke when the user wants to create a new Amazon MQ broker (ActiveMQ or RabbitMQ), design an active\u002Fstandby HA topology, choose between ActiveMQ and RabbitMQ for a workload, wire RabbitMQ with AWS IAM authentication, configure ActiveMQ with LDAP \u002F JAAS, enable audit logging, size broker instance types, set up cross-account access via transit gateway, harden a broker before production (encryption, MUTUAL TLS, audit logs), or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for self-managed ActiveMQ \u002F RabbitMQ on EC2, Amazon MSK (Kafka), Amazon SNS\u002FSQS, or Amazon MQ event auditing (use amazon-mq-broker-auditor).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with mq, ec2, kms, iam, and secretsmanager access. Works with Terraform aws_mq_broker \u002F aws_mq_configuration resources and CloudFormation AWS::AmazonMQ::Broker templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Famazon-mq-broker-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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill amazon-mq-broker-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill amazon-mq-broker-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill amazon-mq-broker-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",7534,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Factivemq-stomp-mqtt-protocols.md",796,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fbaselines\u002Factivemq-stomp-mqtt-protocols.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmissing-vpc-and-subnet.md",758,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fbaselines\u002Fmissing-vpc-and-subnet.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fproduction-activemq-active-standby.md",1008,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fbaselines\u002Fproduction-activemq-active-standby.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Frabbitmq-cluster-with-iam.md",925,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fbaselines\u002Frabbitmq-cluster-with-iam.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Frabbitmq-transit-gateway-cross-account.md",792,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fbaselines\u002Frabbitmq-transit-gateway-cross-account.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1865,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",14970,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Factivemq-stomp-mqtt-protocols.md",862,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fprompts\u002Factivemq-stomp-mqtt-protocols.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmissing-vpc-and-subnet.md",467,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fprompts\u002Fmissing-vpc-and-subnet.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fproduction-activemq-active-standby.md",1044,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fprompts\u002Fproduction-activemq-active-standby.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Frabbitmq-cluster-with-iam.md",940,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fprompts\u002Frabbitmq-cluster-with-iam.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Frabbitmq-transit-gateway-cross-account.md",938,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fevals\u002Fprompts\u002Frabbitmq-transit-gateway-cross-account.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",7024,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",3918,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fengine-and-topology.md",14285,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Freferences\u002Fengine-and-topology.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",924,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fprovisioning-cli-commands.md",11401,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4481,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Famazon-mq-broker-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"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":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"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":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"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":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[]]