[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAB2Z6HEWSV06P8G6M0C5V":3,"skill-same:01M7AAB2Z6HEWSV06P8G6M0C5V":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},"01M7AAB2Z6HEWSV06P8G6M0C5V","neptune-db-cluster-deployer",null,"Provisions Amazon Neptune DB clusters (graph database) with production defaults: cluster creation (instance type, cluster size, reader replicas), VPC networking (DB subnet group across >=3 AZs, security groups on port 8182), encryption (KMS at creation — immutable), auto-failover (Multi-AZ with reader promotion), parameter groups (neptune_enforce_ssl, neptune_query_timeout), IAM database auth, loading data (bulk load from S3 via the Neptune Loader), querying (Gremlin, SPARQL, openCypher), Neptune Streams, snapshot\u002Frestore, and the Neptune Analytics boundary. Emits a READY_TO_DEPLOY checklist. Use when creating a Neptune DB cluster, sizing writer\u002Freader instances, designing a Multi-AZ graph topology, hardening TLS\u002FIAM, loading graph data from S3, or choosing between Neptune DB and Neptune Analytics. Triggers: create Neptune, provision graph database, Neptune cluster, Gremlin, SPARQL, openCypher, Neptune bulk load, Neptune Streams, neptune_enforce_ssl, Neptune Multi-AZ.","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\u002Fneptune-db-cluster-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: neptune-db-cluster-deployer\ndescription: 'Provisions Amazon Neptune DB clusters (graph database) with production defaults: cluster creation (instance type, cluster size, reader replicas), VPC networking (DB subnet group across >=3 AZs, security groups on port 8182), encryption (KMS at creation — immutable), auto-failover (Multi-AZ with reader promotion), parameter groups (neptune_enforce_ssl, neptune_query_timeout), IAM database auth, loading data (bulk load from S3 via the Neptune Loader), querying (Gremlin, SPARQL, openCypher), Neptune Streams, snapshot\u002Frestore, and the Neptune Analytics boundary. Emits a READY_TO_DEPLOY checklist. Use when creating a Neptune DB cluster, sizing writer\u002Freader instances, designing a Multi-AZ graph topology, hardening TLS\u002FIAM, loading graph data from S3, or choosing between Neptune DB and Neptune Analytics. Triggers: create Neptune, provision graph database, Neptune cluster, Gremlin, SPARQL, openCypher, Neptune bulk load, Neptune Streams, neptune_enforce_ssl, Neptune Multi-AZ.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with neptune, ec2, kms, iam, and s3 access. Works with Terraform aws_neptune_cluster \u002F aws_neptune_cluster_instance resources and CloudFormation AWS::Neptune::DBCluster \u002F AWS::Neptune::DBInstance 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: Databases\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, neptune, graph-database, cloudops, deploy, databases, provisioning, gremlin, sparql, opencypher, multi-az, encryption, iam-db-auth, neptune-streams\n  dependencies: aws-orchestrator\n  keywords: aws, neptune, graph database, cloudops, deploy, provisioning, gremlin, sparql, opencypher, multi-az, failover, encryption at rest, tls, iam database auth, subnet group, parameter group, neptune_enforce_ssl, neptune_query_timeout, bulk load, neptune loader, neptune streams, reader instance\n  when_to_use: Invoke when the user wants to create a new Amazon Neptune DB cluster (graph database), size writer and reader instances, design a Multi-AZ topology with reader promotion, harden TLS via neptune_enforce_ssl, enable IAM database auth, load graph data from S3 via the Neptune Loader, query via Gremlin \u002F SPARQL \u002F openCypher, enable Neptune Streams for change capture, or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for Neptune Analytics (analytics graph service, separate API), for self-managed Neo4j \u002F JanusGraph on EC2, or for auditing an existing Neptune cluster's posture.\n---\n\n# Neptune DB Cluster Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Neptune DB clusters\n(graph database) with correct defaults. The skill walks the operator\nthrough a provisioning procedure, captures the operator's instance,\ntopology, security, and query-language decisions, explains why each\ndefault matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate Neptune, provision Neptune, Neptune cluster, graph database,\nGremlin, SPARQL, openCypher, Neptune Multi-AZ, Neptune reader instance,\nNeptune bulk load, Neptune Loader, Neptune Streams, Neptune parameter\ngroup, neptune_enforce_ssl, neptune_query_timeout, IAM database auth,\nNeptune subnet group, Neptune KMS encryption, db.r6g.large,\ndb.r6g.8xlarge, db.x2gdb.16xlarge.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Neptune-provisioning request\n(cluster name, instance class, workload shape, region, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `NEPTUNE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is\n`PREREQUISITES_MISSING` with a specific gap citation in the checklist\n(marked `[✗]`), and `READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Neptune DB vs Neptune Analytics | Boundary call (avoid the common misroute) |\n| Step 2 — Instance class + cluster size | Sizing writer + readers |\n| Step 3 — Multi-AZ with reader promotion | Production topology |\n| Step 4 — Network + security (VPC, subnet group, SG) | VPC wiring |\n| Step 5 — Encryption (KMS at creation, immutable) | TLS + at-rest |\n| Step 6 — Parameter groups | neptune_enforce_ssl, neptune_query_timeout |\n| Step 7 — IAM database auth | Token-based access |\n| Step 8 — Bulk load from S3 | Initial data ingest |\n| Step 9 — Query languages (Gremlin, SPARQL, openCypher) | API surface |\n| Step 10 — Streams \u002F snapshots \u002F recent features | Change capture, recovery |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Finstance-and-topology.md | Writer\u002Freader math, instance classes |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n## Mindset\n\n**One-line takeaway:** Neptune correctness is decided at creation\ntime. Encryption at rest (KMS) and the cluster's VPC\u002Fsubnet placement\nare immutable post-creation — modifying them requires a snapshot\nrestore into a new cluster. The procedure treats each one-way door as\nan explicit decision before the `create-db-cluster` call.\n\n> The three provisioning-time misconceptions (DB vs Analytics, encryption-at-creation, single-instance production) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Load on demand; the one-line takeaway above is the operative rule.\n\n## Configuration dependency graph (novel heuristic)\n\n> Full dependency graph table and cross-dependency gotchas moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Load on demand to sequence provisioning and debug immutable\u002Fone-way-door settings.\n\n## Expert heuristic: graph sizing (memory budget)\n\n> Graph sizing heuristic (60% buffer-cache budget, 3x index rule, worked example) moved to [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md).\n> Sizing rules in Step 2 summarize the operative constraints.\n\n## Expert heuristic: failover promotion semantics\n\n> Failover promotion semantics (cluster endpoint stability, ~30s promotion, zero committed-transaction loss, AZ spread) moved to [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md).\n> Load on demand for SLA analysis; Step 3 keeps the requirements.\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 Neptune access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Neptune clusters and subnet groups are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (3+ preferred) | Neptune is VPC-only; Multi-AZ requires multi-AZ subnet group | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Cluster name unique in this region | Names are region-unique | `aws neptune describe-db-clusters --db-cluster-identifier \u003Cname>` returns `DBClusterNotFound` |\n| KMS key ARN (if encryption with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` — confirm `Enabled=true` |\n| Security group with port 8182 inbound from application SG | Wrong port = silent connectivity failure; Neptune listens on 8182 | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rule on 8182 |\n| Workload description (graph size, query depth, write rate) | Drives instance class, replica count, parameter group decisions | Captured in the prompt or follow-up question |\n| S3 bucket + IAM role for bulk load (if loading data) | Loader needs IAM role with `s3:GetObject` and Neptune trust policy; bucket in same region | `aws iam get-role --role-name \u003Crole>`; bucket in same region |\n| Engine choice (DB vs Analytics) | Neptune Analytics is a separate service; this skill is DB only | If the user asks for graph algorithms \u002F large-scale analytics, redirect to Neptune Analytics |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Neptune DB vs Neptune Analytics (boundary call)\n\nThe single highest-impact Neptune decision is which SERVICE to use.\nThis skill only provisions Neptune DB. If the user wants Neptune\nAnalytics, stop and redirect.\n\n**Decision tree:**\n\n```text\nWhat is the workload shape?\n├── Transactional (OLTP) — point lookups, short traversals,\n│   real-time app queries, frequent writes\n│   └── Neptune DB  (this skill)\n├── Analytical (OLAP) — PageRank \u002F connected-components \u002F\n│   community-detection on a large static graph, batch\n│   └── Neptune Analytics  (NOT this skill — separate API:\n│       aws graph create-graph, no writer\u002Freader split)\n└── Both  └── Neptune DB for transactions + export to Neptune\n                Analytics for batch algorithm runs\n```\n\n**Feature comparison:**\n\n| Feature | Neptune DB | Neptune Analytics |\n|---|---|---|\n| API family | `aws neptune create-db-cluster` | `aws graph create-graph` (different CLI namespace) |\n| Topology | writer + reader replicas (Multi-AZ) | single graph (no writer\u002Freader split) |\n| Failover | YES (writer promotion) | N\u002FA (recreate on failure) |\n| Gremlin transactions | YES | NO (read-only analytic queries) |\n| SPARQL | YES | NO |\n| openCypher | YES | YES |\n| Graph algorithms (built-in) | NO (write your own Gremlin) | YES (PageRank, BFS, etc.) |\n| Storage | cluster-shared (6-way) | ephemeral snapshot-loaded |\n| Pricing | instance-hour + storage + IO | GB-hour (memory) + snapshot |\n\n**Common mistake:** provisioning Neptune DB for a PageRank workload.\nNeptune DB has no built-in algorithm library; running PageRank in\nGremlin on a large graph will time out and exhaust memory. Use Neptune\nAnalytics.\n\n## Step 2 — Instance class + cluster size\n\nNeptune offers `db.r5`, `db.r6g`, `db.r6i`, `db.x2g` families.\nMemory-bound graphs favor `r6g`\u002F`x2g`. Avoid `t3`\u002F`t4g` burstable for\nproduction (Neptune is not supported on burstable in some regions).\n\n**Cluster size by workload:**\n\n- **Dev \u002F test:** 1 writer instance, `db.r6g.large`. No failover.\n- **Small production (read-heavy, \u003C 100 GB working set):** 1 writer +\n  1 reader (Multi-AZ), `db.r6g.2xlarge`.\n- **Mid production (100-500 GB, mixed read\u002Fwrite):** 1 writer + 2\n  readers across 3 AZs, `db.r6g.8xlarge`.\n- **Large production (500 GB+, deep traversals):** 1 writer + 3+\n  readers, `db.r6g.16xlarge` or `db.x2gdb.16xlarge`.\n\n**Sizing rules:**\n- Plan for 60% of instance memory as the buffer cache budget (see\n  Expert heuristic above). The graph working set (vertices + edges +\n  3x indexes) MUST fit in the buffer cache for sub-second traversals.\n- Readers scale reads, not writes. There is exactly one writer per\n  Neptune cluster.\n- Cluster storage auto-scales; do NOT size for storage, size for\n  memory.\n\n## Step 3 — Multi-AZ with reader promotion\n\nMulti-AZ is the primary resilience control for Neptune DB.\n\n**Requirements:**\n- At least 1 reader instance in a DIFFERENT AZ than the writer.\n- DB subnet group spanning at least 2 AZs (3+ preferred for\n  spreading readers).\n- Deletion protection enabled on the cluster.\n\n**Behavior on writer failure:**\n- Neptune detects writer loss (health check).\n- A reader in a different AZ is promoted to writer (~30 seconds).\n- The cluster endpoint repoints to the new writer automatically.\n- Clients reconnect via the cluster endpoint — no code change.\n- Data loss window: zero committed transactions (cluster-shared\n  storage).\n\n**Common mistake:** subnet group with only one AZ. Multi-AZ cannot\nplace the reader in a different AZ, and the cluster silently degrades\nto writer-only (no failover). Verify the subnet group spans >=2 AZs\nbefore `create-db-cluster`.\n\n## Step 4 — Network + security (VPC, subnet group, security group)\n\nNeptune is **VPC-only** — there is no public IP option. All clusters\nlive inside a VPC and are reachable only from inside the VPC (or via\na bastion \u002F VPN \u002F PrivateLink).\n\n> Subnet-group and security-group CLI blocks moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> NEVER open port 8182 to 0.0.0.0\u002F0 — rule retained below.\n\n**NEVER** open port 8182 to `0.0.0.0\u002F0` — even with TLS and IAM auth,\nthis exposes the cluster to internet scanning. Always scope inbound to\nthe application's SG.\n\n## Step 5 — Encryption (KMS at creation, immutable)\n\nNeptune encryption at rest is **immutable**: set at creation via\n`--storage-encrypted`. Adding it later requires a snapshot → restore\ninto a new encrypted cluster.\n\n- `--storage-encrypted` enables encryption (AWS-managed KMS key by\n  default).\n- `--kms-key-id \u003Ccmk-arn>` uses a customer-managed CMK (required for\n  most compliance regimes — HIPAA, PCI, SOC2).\n- TLS in transit is controlled by the parameter group via\n  `neptune_enforce_ssl=1` (see Step 6). Pair at-rest + in-transit\n  encryption for defense in depth.\n\n**Common mistake:** planning to \"enable encryption later.\" A\nnon-encrypted Neptune cluster CANNOT be encrypted without a full\nsnapshot\u002Frestore cycle. Decide at creation.\n\n## Step 6 — Parameter groups (neptune_enforce_ssl, neptune_query_timeout)\n\nParameter groups control Neptune runtime behavior. Most parameters\nrequire an instance reboot to take effect — set them at cluster\ncreation in the DB cluster parameter group.\n\n| Parameter | Default | Recommended | Why |\n|---|---|---|---|\n| `neptune_enforce_ssl` | `0` (off) | `1` (on) for all production | Forces TLS-only connections; plaintext rejected. Defense against network sniffing. |\n| `neptune_query_timeout` | `120000` (ms) | `30000` (30s) for OLTP; `120000+` for analytics | Caps runaway traversals. Long-running queries consume CPU\u002Fmemory and starve other queries. |\n| `neptune_streams` | `0` (off) | `1` (on) if change capture needed | Enables Neptune Streams for CDC (see Step 10). |\n| `neptune_lab_mode` | varies | Leave at default unless AWS support advises | Labs features may change; do not enable in production without testing. |\n\n> Parameter-group creation\u002Fmodify CLI moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Parameter table above stays authoritative.\n\n**Common mistake:** enabling `neptune_enforce_ssl=1` on an existing\nproduction cluster without a maintenance window. The rolling reboot\ndrops plaintext clients. Enable at creation.\n\n## Step 7 — IAM database auth\n\nNeptune supports IAM database auth — token-based access using AWS SigV4\ninstead of static passwords. Recommended for production; pairs with\n`neptune_enforce_ssl=1`.\n\n> IAM enable flag and the neptune-db:Connect policy JSON moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Gotchas below remain in-file.\n\n**Common gotchas:**\n- IAM auth and password auth can coexist. To enforce IAM-only, do NOT\n  set a password and rely on IAM tokens.\n- IAM tokens are SigV4-derived — short-lived (~15 minutes). The\n  Gremlin\u002FSPARQL driver must refresh tokens automatically (most modern\n  drivers do; verify your client lib).\n- IAM auth requires TLS — pair with `neptune_enforce_ssl=1`.\n\n## Step 8 — Bulk load from S3 (Neptune Loader)\n\nFor initial data ingest, use the Neptune Loader (NOT a script that\nissues individual Gremlin `g.addV` calls — that is 10-100x slower).\n\n**Prerequisites:**\n- S3 bucket in the SAME region as the Neptune cluster.\n- IAM role with trust policy allowing Neptune and permissions\n  `s3:GetObject` on the bucket.\n- Data in a supported format: Gremlin CSV\u002FJSON\u002Fn-quad, or SPARQL\n  N-Triples\u002FRDF.\n\n> Neptune Loader curl payload moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Prerequisites and common mistakes below remain in-file.\n\n**Common mistakes:**\n- Cross-region S3 bucket — the Loader fails silently or with a\n  generic permissions error. Always same-region.\n- Concurrent loads on the same cluster conflict. Run one load at a\n  time per cluster.\n- `mode=AUTO` overwrites existing vertices; `mode=NEW` errors on\n  duplicates; `mode=RESUME` continues an interrupted load.\n\n## Step 9 — Query languages (Gremlin, SPARQL, openCypher)\n\nNeptune supports three query languages on the SAME cluster (no need\nto pick at creation). Endpoints:\n\n| Language | Endpoint path | Use when |\n|---|---|---|\n| Gremlin | `:8182\u002Fgremlin` | Apache TinkerPop-compatible; property graph; deep traversals |\n| SPARQL | `:8182\u002Fsparql` | RDF \u002F semantic web; triple-store; SPARQL queries |\n| openCypher | `:8182\u002Fopencypher` | Cypher (Neo4j-compatible) syntax; property graph; declarative patterns |\n\n**Common mistake:** loading property-graph data then trying SPARQL.\nGremlin and openCypher operate on the property graph; SPARQL operates\non RDF triples. They are different data models. Pick the model at load\ntime.\n\n## Step 10 — Streams \u002F snapshots \u002F recent features\n\n**Neptune Streams (CDC):**\n- Enable via `neptune_streams=1` in the parameter group + reboot.\n- Exposes an HTTP endpoint (`:8182\u002Fstreams`) returning change records\n  (vertex\u002Fedge insertions, updates, deletions).\n- Pair with a consumer (Kinesis Data Streams + Lambda, or a custom\n  poller) for downstream replication \u002F audit.\n- Stream records are retained for ~24 hours.\n\n**Snapshots (automated + manual):**\n- Automated: set `--backup-retention-period 7` (days) at creation.\n- Manual: `aws neptune create-db-cluster-snapshot` before upgrades.\n- Restore creates a NEW cluster (the snapshot is cluster-scoped).\n\n> Recent AWS features (2023-2026) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Streams and snapshot guidance above remain in-file.\n\n## NEVER do these things\n\n1. **NEVER plan to \"enable encryption at rest later.\"** Neptune\n   encryption is immutable post-creation. Adding it requires a\n   snapshot → restore into a new encrypted cluster. Decide at creation.\n\n2. **NEVER provision Neptune DB for a graph-algorithm (PageRank,\n   connected components) workload.** Neptune DB has no built-in\n   algorithm library. Use Neptune Analytics (separate service). A\n   baseline model conflates the two.\n\n3. **NEVER enable `neptune_enforce_ssl=1` on an existing production\n   cluster without a maintenance window.** The rolling reboot drops\n   plaintext clients. Enable at creation.\n\n4. **NEVER open port 8182 to `0.0.0.0\u002F0`.** Even with TLS and IAM\n   auth, internet exposure invites scanning. Always scope inbound to\n   the application's SG.\n\n5. **NEVER use a single-AZ subnet group for Multi-AZ Neptune.**\n   Multi-AZ requires the promoted reader in a different AZ than the\n   writer. Verify `aws ec2 describe-subnets` shows >=2 distinct AZs in\n   the subnet group before `create-db-cluster`.\n\n6. **NEVER run a Neptune DB cluster with only a writer instance in\n   production.** There is no failover target. The minimum production\n   topology is 1 writer + 1 reader in a different AZ.\n\n7. **NEVER load data via individual Gremlin `g.addV()` calls for bulk\n   ingest.** Use the Neptune Loader (10-100x faster). Per-vertex\n   inserts are for incremental app writes only.\n\n8. **NEVER use a cross-region S3 bucket for the Neptune Loader.** It\n   fails silently or with a generic permissions error. Always\n   same-region.\n\n9. **NEVER load property-graph data then expect SPARQL to work.**\n   Gremlin\u002FopenCypher operate on the property graph; SPARQL operates\n   on RDF triples. Different data models. Pick at load time.\n\n10. **NEVER size Neptune by spec-sheet memory.** Plan for 60% buffer\n    cache budget; the graph working set (vertices + edges + 3x\n    indexes) MUST fit in 60% of nominal or traversals slow 10-100x.\n\n11. **NEVER disable deletion protection on a production cluster\n    outside of a planned teardown.** Accidental `delete-db-cluster`\n    destroys the cluster + storage irrecoverably.\n\n12. **NEVER use the engine version \"latest\" in production.** Pin the\n    major version explicitly; auto-upgrades during maintenance windows\n    can introduce breaking behavior.\n\n## Output format\n\n```text\nNEPTUNE: \u003Ccluster-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Service: Neptune DB (NOT Analytics)\n  [✓|✗] Engine version: 1.3.x.x (pinned)\n  [✓|✗] Writer instance: db.\u003Cfamily>.\u003Csize>\n  [✓|✗] Reader instances: \u003CN> (across \u003CAZ-count> AZs for Multi-AZ)\n  [✓|✗] Multi-AZ with reader promotion: Enabled | Disabled (writer-only — NO failover)\n  [✓|✗] Subnet group: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound port 8182 from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn> | AWS-managed) | Disabled\n  [✓|✗] TLS \u002F neptune_enforce_ssl: Enabled | Disabled\n  [✓|✗] IAM database auth: Enabled | Disabled\n  [✓|✗] Parameter group: \u003Cname> (neptune_query_timeout=\u003Cms>, neptune_streams=\u003C0|1>)\n  [✓|✗] Snapshot retention: \u003CN> days | Disabled\n  [✓|✗] Deletion protection: Enabled | Disabled\n  [✓|✗] Bulk load source: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix> (same region, IAM role \u003Crole-arn>) | N\u002FA\n  [✓|✗] Query languages: Gremlin | SPARQL | openCypher\nVERIFICATION_COMMANDS:\n  aws neptune describe-db-clusters --db-cluster-identifier \u003Cname>\n  aws neptune describe-db-instances --db-instance-identifier \u003Cname>-instance-1\n  aws neptune describe-db-cluster-parameters --db-cluster-parameter-group-name \u003Cpg>\n  aws ec2 describe-subnets --subnet-ids \u003Csubnet-ids>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production Neptune DB with Multi-AZ\n\n```text\nNEPTUNE: prod-graph\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Service: Neptune DB (NOT Analytics)\n  [✓] Engine version: 1.3.2.0 (pinned)\n  [✓] Writer instance: db.r6g.8xlarge\n  [✓] Reader instances: 2 (across us-east-1b, us-east-1c for Multi-AZ)\n  [✓] Multi-AZ with reader promotion: Enabled\n  [✓] Subnet group: prod-neptune-subnet (3 AZs)\n  [✓] Security group: sg-neptune123 (inbound 8182 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-graph-kms)\n  [✓] TLS \u002F neptune_enforce_ssl: Enabled\n  [✓] IAM database auth: Enabled\n  [✓] Parameter group: prod-neptune-pg (neptune_query_timeout=30000, neptune_streams=1)\n  [✓] Snapshot retention: 7 days\n  [✓] Deletion protection: Enabled\n  [✓] Bulk load source: s3:\u002F\u002Fprod-graph-bucket\u002Finitial-load\u002F (same region, IAM role NeptuneLoadRole)\n  [✓] Query languages: Gremlin, openCypher\nVERIFICATION_COMMANDS:\n  aws neptune describe-db-clusters --db-cluster-identifier prod-graph\n  aws neptune describe-db-instances --db-instance-identifier prod-graph-instance-1\n  aws neptune describe-db-cluster-parameters --db-cluster-parameter-group-name prod-neptune-pg\n  aws ec2 describe-subnets --subnet-ids subnet-0aaa subnet-0bbb subnet-0ccc\n  aws kms describe-key --key-id alias\u002Fprod-graph-kms\n```\n\n## Decision tree: Neptune DB vs Neptune Analytics\n\n```text\nIs the workload transactional (OLTP) — point lookups, short\ntraversals, real-time app queries, frequent writes?\n├── YES → Neptune DB  (this skill)\n│         writer + readers, Multi-AZ, Gremlin\u002FSPARQL\u002FopenCypher\n└── NO  → Is the workload analytical (OLAP) — PageRank,\n          connected-components, community-detection on a large\n          static graph?\n    ├── YES → Neptune Analytics  (NOT this skill — aws graph)\n    │         single graph, built-in algorithms, GB-hour pricing\n    └── NO  → Neptune DB for transactions + scheduled export to\n              Neptune Analytics for batch algorithm runs\n```\n\n## Error handling\n\n> API error deep dives (DBClusterAlreadyExists, DBSubnetGroup AZ span, IAM AccessDenied, Loader assume-role) moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n> Load on demand when a provisioning call fails.\n\n## References (load on demand)\n\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — provisioning API error deep dives and fixes.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — misconceptions, configuration dependency graph, recent AWS features.\n- [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md) — sizing heuristic and failover promotion semantics.\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full copy-pasteable CLI sequence (subnet group, SG, parameter group, IAM, loader).\n\n## Domain\n\nAWS CloudOps \u002F Amazon Neptune DB Provisioning & Graph Topology Design.\n\n## AWS documentation\n\n- **Amazon Neptune User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fintro.html\n- **Neptune instance classes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Finstance-types.html\n- **Neptune encryption at rest** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fencrypt.html\n- **Neptune TLS \u002F neptune_enforce_ssl** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fsecurity-ssl.html\n- **Neptune IAM database auth** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fiam-auth.html\n- **Neptune Loader** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fload-data.html\n- **Neptune Streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fstreams.html\n- **Neptune Analytics (separate service)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune-analytics\u002Flatest\u002Fdg\u002Fwhat-is-neptune-analytics.html\n- **Gremlin \u002F SPARQL \u002F openCypher in Neptune** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fgraph-engines.html\n\n","# Neptune DB Cluster Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Neptune DB clusters\n(graph database) with correct defaults. The skill walks the operator\nthrough a provisioning procedure, captures the operator's instance,\ntopology, security, and query-language decisions, explains why each\ndefault matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate Neptune, provision Neptune, Neptune cluster, graph database,\nGremlin, SPARQL, openCypher, Neptune Multi-AZ, Neptune reader instance,\nNeptune bulk load, Neptune Loader, Neptune Streams, Neptune parameter\ngroup, neptune_enforce_ssl, neptune_query_timeout, IAM database auth,\nNeptune subnet group, Neptune KMS encryption, db.r6g.large,\ndb.r6g.8xlarge, db.x2gdb.16xlarge.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Neptune-provisioning request\n(cluster name, instance class, workload shape, region, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `NEPTUNE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is\n`PREREQUISITES_MISSING` with a specific gap citation in the checklist\n(marked `[✗]`), and `READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Neptune DB vs Neptune Analytics | Boundary call (avoid the common misroute) |\n| Step 2 — Instance class + cluster size | Sizing writer + readers |\n| Step 3 — Multi-AZ with reader promotion | Production topology |\n| Step 4 — Network + security (VPC, subnet group, SG) | VPC wiring |\n| Step 5 — Encryption (KMS at creation, immutable) | TLS + at-rest |\n| Step 6 — Parameter groups | neptune_enforce_ssl, neptune_query_timeout |\n| Step 7 — IAM database auth | Token-based access |\n| Step 8 — Bulk load from S3 | Initial data ingest |\n| Step 9 — Query languages (Gremlin, SPARQL, openCypher) | API surface |\n| Step 10 — Streams \u002F snapshots \u002F recent features | Change capture, recovery |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Finstance-and-topology.md | Writer\u002Freader math, instance classes |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n## Mindset\n\n**One-line takeaway:** Neptune correctness is decided at creation\ntime. Encryption at rest (KMS) and the cluster's VPC\u002Fsubnet placement\nare immutable post-creation — modifying them requires a snapshot\nrestore into a new cluster. The procedure treats each one-way door as\nan explicit decision before the `create-db-cluster` call.\n\n> The three provisioning-time misconceptions (DB vs Analytics, encryption-at-creation, single-instance production) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Load on demand; the one-line takeaway above is the operative rule.\n\n## Configuration dependency graph (novel heuristic)\n\n> Full dependency graph table and cross-dependency gotchas moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Load on demand to sequence provisioning and debug immutable\u002Fone-way-door settings.\n\n## Expert heuristic: graph sizing (memory budget)\n\n> Graph sizing heuristic (60% buffer-cache budget, 3x index rule, worked example) moved to [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md).\n> Sizing rules in Step 2 summarize the operative constraints.\n\n## Expert heuristic: failover promotion semantics\n\n> Failover promotion semantics (cluster endpoint stability, ~30s promotion, zero committed-transaction loss, AZ spread) moved to [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md).\n> Load on demand for SLA analysis; Step 3 keeps the requirements.\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 Neptune access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Neptune clusters and subnet groups are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (3+ preferred) | Neptune is VPC-only; Multi-AZ requires multi-AZ subnet group | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Cluster name unique in this region | Names are region-unique | `aws neptune describe-db-clusters --db-cluster-identifier \u003Cname>` returns `DBClusterNotFound` |\n| KMS key ARN (if encryption with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` — confirm `Enabled=true` |\n| Security group with port 8182 inbound from application SG | Wrong port = silent connectivity failure; Neptune listens on 8182 | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rule on 8182 |\n| Workload description (graph size, query depth, write rate) | Drives instance class, replica count, parameter group decisions | Captured in the prompt or follow-up question |\n| S3 bucket + IAM role for bulk load (if loading data) | Loader needs IAM role with `s3:GetObject` and Neptune trust policy; bucket in same region | `aws iam get-role --role-name \u003Crole>`; bucket in same region |\n| Engine choice (DB vs Analytics) | Neptune Analytics is a separate service; this skill is DB only | If the user asks for graph algorithms \u002F large-scale analytics, redirect to Neptune Analytics |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Neptune DB vs Neptune Analytics (boundary call)\n\nThe single highest-impact Neptune decision is which SERVICE to use.\nThis skill only provisions Neptune DB. If the user wants Neptune\nAnalytics, stop and redirect.\n\n**Decision tree:**\n\n```text\nWhat is the workload shape?\n├── Transactional (OLTP) — point lookups, short traversals,\n│   real-time app queries, frequent writes\n│   └── Neptune DB  (this skill)\n├── Analytical (OLAP) — PageRank \u002F connected-components \u002F\n│   community-detection on a large static graph, batch\n│   └── Neptune Analytics  (NOT this skill — separate API:\n│       aws graph create-graph, no writer\u002Freader split)\n└── Both  └── Neptune DB for transactions + export to Neptune\n                Analytics for batch algorithm runs\n```\n\n**Feature comparison:**\n\n| Feature | Neptune DB | Neptune Analytics |\n|---|---|---|\n| API family | `aws neptune create-db-cluster` | `aws graph create-graph` (different CLI namespace) |\n| Topology | writer + reader replicas (Multi-AZ) | single graph (no writer\u002Freader split) |\n| Failover | YES (writer promotion) | N\u002FA (recreate on failure) |\n| Gremlin transactions | YES | NO (read-only analytic queries) |\n| SPARQL | YES | NO |\n| openCypher | YES | YES |\n| Graph algorithms (built-in) | NO (write your own Gremlin) | YES (PageRank, BFS, etc.) |\n| Storage | cluster-shared (6-way) | ephemeral snapshot-loaded |\n| Pricing | instance-hour + storage + IO | GB-hour (memory) + snapshot |\n\n**Common mistake:** provisioning Neptune DB for a PageRank workload.\nNeptune DB has no built-in algorithm library; running PageRank in\nGremlin on a large graph will time out and exhaust memory. Use Neptune\nAnalytics.\n\n## Step 2 — Instance class + cluster size\n\nNeptune offers `db.r5`, `db.r6g`, `db.r6i`, `db.x2g` families.\nMemory-bound graphs favor `r6g`\u002F`x2g`. Avoid `t3`\u002F`t4g` burstable for\nproduction (Neptune is not supported on burstable in some regions).\n\n**Cluster size by workload:**\n\n- **Dev \u002F test:** 1 writer instance, `db.r6g.large`. No failover.\n- **Small production (read-heavy, \u003C 100 GB working set):** 1 writer +\n  1 reader (Multi-AZ), `db.r6g.2xlarge`.\n- **Mid production (100-500 GB, mixed read\u002Fwrite):** 1 writer + 2\n  readers across 3 AZs, `db.r6g.8xlarge`.\n- **Large production (500 GB+, deep traversals):** 1 writer + 3+\n  readers, `db.r6g.16xlarge` or `db.x2gdb.16xlarge`.\n\n**Sizing rules:**\n- Plan for 60% of instance memory as the buffer cache budget (see\n  Expert heuristic above). The graph working set (vertices + edges +\n  3x indexes) MUST fit in the buffer cache for sub-second traversals.\n- Readers scale reads, not writes. There is exactly one writer per\n  Neptune cluster.\n- Cluster storage auto-scales; do NOT size for storage, size for\n  memory.\n\n## Step 3 — Multi-AZ with reader promotion\n\nMulti-AZ is the primary resilience control for Neptune DB.\n\n**Requirements:**\n- At least 1 reader instance in a DIFFERENT AZ than the writer.\n- DB subnet group spanning at least 2 AZs (3+ preferred for\n  spreading readers).\n- Deletion protection enabled on the cluster.\n\n**Behavior on writer failure:**\n- Neptune detects writer loss (health check).\n- A reader in a different AZ is promoted to writer (~30 seconds).\n- The cluster endpoint repoints to the new writer automatically.\n- Clients reconnect via the cluster endpoint — no code change.\n- Data loss window: zero committed transactions (cluster-shared\n  storage).\n\n**Common mistake:** subnet group with only one AZ. Multi-AZ cannot\nplace the reader in a different AZ, and the cluster silently degrades\nto writer-only (no failover). Verify the subnet group spans >=2 AZs\nbefore `create-db-cluster`.\n\n## Step 4 — Network + security (VPC, subnet group, security group)\n\nNeptune is **VPC-only** — there is no public IP option. All clusters\nlive inside a VPC and are reachable only from inside the VPC (or via\na bastion \u002F VPN \u002F PrivateLink).\n\n> Subnet-group and security-group CLI blocks moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> NEVER open port 8182 to 0.0.0.0\u002F0 — rule retained below.\n\n**NEVER** open port 8182 to `0.0.0.0\u002F0` — even with TLS and IAM auth,\nthis exposes the cluster to internet scanning. Always scope inbound to\nthe application's SG.\n\n## Step 5 — Encryption (KMS at creation, immutable)\n\nNeptune encryption at rest is **immutable**: set at creation via\n`--storage-encrypted`. Adding it later requires a snapshot → restore\ninto a new encrypted cluster.\n\n- `--storage-encrypted` enables encryption (AWS-managed KMS key by\n  default).\n- `--kms-key-id \u003Ccmk-arn>` uses a customer-managed CMK (required for\n  most compliance regimes — HIPAA, PCI, SOC2).\n- TLS in transit is controlled by the parameter group via\n  `neptune_enforce_ssl=1` (see Step 6). Pair at-rest + in-transit\n  encryption for defense in depth.\n\n**Common mistake:** planning to \"enable encryption later.\" A\nnon-encrypted Neptune cluster CANNOT be encrypted without a full\nsnapshot\u002Frestore cycle. Decide at creation.\n\n## Step 6 — Parameter groups (neptune_enforce_ssl, neptune_query_timeout)\n\nParameter groups control Neptune runtime behavior. Most parameters\nrequire an instance reboot to take effect — set them at cluster\ncreation in the DB cluster parameter group.\n\n| Parameter | Default | Recommended | Why |\n|---|---|---|---|\n| `neptune_enforce_ssl` | `0` (off) | `1` (on) for all production | Forces TLS-only connections; plaintext rejected. Defense against network sniffing. |\n| `neptune_query_timeout` | `120000` (ms) | `30000` (30s) for OLTP; `120000+` for analytics | Caps runaway traversals. Long-running queries consume CPU\u002Fmemory and starve other queries. |\n| `neptune_streams` | `0` (off) | `1` (on) if change capture needed | Enables Neptune Streams for CDC (see Step 10). |\n| `neptune_lab_mode` | varies | Leave at default unless AWS support advises | Labs features may change; do not enable in production without testing. |\n\n> Parameter-group creation\u002Fmodify CLI moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Parameter table above stays authoritative.\n\n**Common mistake:** enabling `neptune_enforce_ssl=1` on an existing\nproduction cluster without a maintenance window. The rolling reboot\ndrops plaintext clients. Enable at creation.\n\n## Step 7 — IAM database auth\n\nNeptune supports IAM database auth — token-based access using AWS SigV4\ninstead of static passwords. Recommended for production; pairs with\n`neptune_enforce_ssl=1`.\n\n> IAM enable flag and the neptune-db:Connect policy JSON moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Gotchas below remain in-file.\n\n**Common gotchas:**\n- IAM auth and password auth can coexist. To enforce IAM-only, do NOT\n  set a password and rely on IAM tokens.\n- IAM tokens are SigV4-derived — short-lived (~15 minutes). The\n  Gremlin\u002FSPARQL driver must refresh tokens automatically (most modern\n  drivers do; verify your client lib).\n- IAM auth requires TLS — pair with `neptune_enforce_ssl=1`.\n\n## Step 8 — Bulk load from S3 (Neptune Loader)\n\nFor initial data ingest, use the Neptune Loader (NOT a script that\nissues individual Gremlin `g.addV` calls — that is 10-100x slower).\n\n**Prerequisites:**\n- S3 bucket in the SAME region as the Neptune cluster.\n- IAM role with trust policy allowing Neptune and permissions\n  `s3:GetObject` on the bucket.\n- Data in a supported format: Gremlin CSV\u002FJSON\u002Fn-quad, or SPARQL\n  N-Triples\u002FRDF.\n\n> Neptune Loader curl payload moved to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\n> Prerequisites and common mistakes below remain in-file.\n\n**Common mistakes:**\n- Cross-region S3 bucket — the Loader fails silently or with a\n  generic permissions error. Always same-region.\n- Concurrent loads on the same cluster conflict. Run one load at a\n  time per cluster.\n- `mode=AUTO` overwrites existing vertices; `mode=NEW` errors on\n  duplicates; `mode=RESUME` continues an interrupted load.\n\n## Step 9 — Query languages (Gremlin, SPARQL, openCypher)\n\nNeptune supports three query languages on the SAME cluster (no need\nto pick at creation). Endpoints:\n\n| Language | Endpoint path | Use when |\n|---|---|---|\n| Gremlin | `:8182\u002Fgremlin` | Apache TinkerPop-compatible; property graph; deep traversals |\n| SPARQL | `:8182\u002Fsparql` | RDF \u002F semantic web; triple-store; SPARQL queries |\n| openCypher | `:8182\u002Fopencypher` | Cypher (Neo4j-compatible) syntax; property graph; declarative patterns |\n\n**Common mistake:** loading property-graph data then trying SPARQL.\nGremlin and openCypher operate on the property graph; SPARQL operates\non RDF triples. They are different data models. Pick the model at load\ntime.\n\n## Step 10 — Streams \u002F snapshots \u002F recent features\n\n**Neptune Streams (CDC):**\n- Enable via `neptune_streams=1` in the parameter group + reboot.\n- Exposes an HTTP endpoint (`:8182\u002Fstreams`) returning change records\n  (vertex\u002Fedge insertions, updates, deletions).\n- Pair with a consumer (Kinesis Data Streams + Lambda, or a custom\n  poller) for downstream replication \u002F audit.\n- Stream records are retained for ~24 hours.\n\n**Snapshots (automated + manual):**\n- Automated: set `--backup-retention-period 7` (days) at creation.\n- Manual: `aws neptune create-db-cluster-snapshot` before upgrades.\n- Restore creates a NEW cluster (the snapshot is cluster-scoped).\n\n> Recent AWS features (2023-2026) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n> Streams and snapshot guidance above remain in-file.\n\n## NEVER do these things\n\n1. **NEVER plan to \"enable encryption at rest later.\"** Neptune\n   encryption is immutable post-creation. Adding it requires a\n   snapshot → restore into a new encrypted cluster. Decide at creation.\n\n2. **NEVER provision Neptune DB for a graph-algorithm (PageRank,\n   connected components) workload.** Neptune DB has no built-in\n   algorithm library. Use Neptune Analytics (separate service). A\n   baseline model conflates the two.\n\n3. **NEVER enable `neptune_enforce_ssl=1` on an existing production\n   cluster without a maintenance window.** The rolling reboot drops\n   plaintext clients. Enable at creation.\n\n4. **NEVER open port 8182 to `0.0.0.0\u002F0`.** Even with TLS and IAM\n   auth, internet exposure invites scanning. Always scope inbound to\n   the application's SG.\n\n5. **NEVER use a single-AZ subnet group for Multi-AZ Neptune.**\n   Multi-AZ requires the promoted reader in a different AZ than the\n   writer. Verify `aws ec2 describe-subnets` shows >=2 distinct AZs in\n   the subnet group before `create-db-cluster`.\n\n6. **NEVER run a Neptune DB cluster with only a writer instance in\n   production.** There is no failover target. The minimum production\n   topology is 1 writer + 1 reader in a different AZ.\n\n7. **NEVER load data via individual Gremlin `g.addV()` calls for bulk\n   ingest.** Use the Neptune Loader (10-100x faster). Per-vertex\n   inserts are for incremental app writes only.\n\n8. **NEVER use a cross-region S3 bucket for the Neptune Loader.** It\n   fails silently or with a generic permissions error. Always\n   same-region.\n\n9. **NEVER load property-graph data then expect SPARQL to work.**\n   Gremlin\u002FopenCypher operate on the property graph; SPARQL operates\n   on RDF triples. Different data models. Pick at load time.\n\n10. **NEVER size Neptune by spec-sheet memory.** Plan for 60% buffer\n    cache budget; the graph working set (vertices + edges + 3x\n    indexes) MUST fit in 60% of nominal or traversals slow 10-100x.\n\n11. **NEVER disable deletion protection on a production cluster\n    outside of a planned teardown.** Accidental `delete-db-cluster`\n    destroys the cluster + storage irrecoverably.\n\n12. **NEVER use the engine version \"latest\" in production.** Pin the\n    major version explicitly; auto-upgrades during maintenance windows\n    can introduce breaking behavior.\n\n## Output format\n\n```text\nNEPTUNE: \u003Ccluster-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Service: Neptune DB (NOT Analytics)\n  [✓|✗] Engine version: 1.3.x.x (pinned)\n  [✓|✗] Writer instance: db.\u003Cfamily>.\u003Csize>\n  [✓|✗] Reader instances: \u003CN> (across \u003CAZ-count> AZs for Multi-AZ)\n  [✓|✗] Multi-AZ with reader promotion: Enabled | Disabled (writer-only — NO failover)\n  [✓|✗] Subnet group: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound port 8182 from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn> | AWS-managed) | Disabled\n  [✓|✗] TLS \u002F neptune_enforce_ssl: Enabled | Disabled\n  [✓|✗] IAM database auth: Enabled | Disabled\n  [✓|✗] Parameter group: \u003Cname> (neptune_query_timeout=\u003Cms>, neptune_streams=\u003C0|1>)\n  [✓|✗] Snapshot retention: \u003CN> days | Disabled\n  [✓|✗] Deletion protection: Enabled | Disabled\n  [✓|✗] Bulk load source: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix> (same region, IAM role \u003Crole-arn>) | N\u002FA\n  [✓|✗] Query languages: Gremlin | SPARQL | openCypher\nVERIFICATION_COMMANDS:\n  aws neptune describe-db-clusters --db-cluster-identifier \u003Cname>\n  aws neptune describe-db-instances --db-instance-identifier \u003Cname>-instance-1\n  aws neptune describe-db-cluster-parameters --db-cluster-parameter-group-name \u003Cpg>\n  aws ec2 describe-subnets --subnet-ids \u003Csubnet-ids>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production Neptune DB with Multi-AZ\n\n```text\nNEPTUNE: prod-graph\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Service: Neptune DB (NOT Analytics)\n  [✓] Engine version: 1.3.2.0 (pinned)\n  [✓] Writer instance: db.r6g.8xlarge\n  [✓] Reader instances: 2 (across us-east-1b, us-east-1c for Multi-AZ)\n  [✓] Multi-AZ with reader promotion: Enabled\n  [✓] Subnet group: prod-neptune-subnet (3 AZs)\n  [✓] Security group: sg-neptune123 (inbound 8182 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-graph-kms)\n  [✓] TLS \u002F neptune_enforce_ssl: Enabled\n  [✓] IAM database auth: Enabled\n  [✓] Parameter group: prod-neptune-pg (neptune_query_timeout=30000, neptune_streams=1)\n  [✓] Snapshot retention: 7 days\n  [✓] Deletion protection: Enabled\n  [✓] Bulk load source: s3:\u002F\u002Fprod-graph-bucket\u002Finitial-load\u002F (same region, IAM role NeptuneLoadRole)\n  [✓] Query languages: Gremlin, openCypher\nVERIFICATION_COMMANDS:\n  aws neptune describe-db-clusters --db-cluster-identifier prod-graph\n  aws neptune describe-db-instances --db-instance-identifier prod-graph-instance-1\n  aws neptune describe-db-cluster-parameters --db-cluster-parameter-group-name prod-neptune-pg\n  aws ec2 describe-subnets --subnet-ids subnet-0aaa subnet-0bbb subnet-0ccc\n  aws kms describe-key --key-id alias\u002Fprod-graph-kms\n```\n\n## Decision tree: Neptune DB vs Neptune Analytics\n\n```text\nIs the workload transactional (OLTP) — point lookups, short\ntraversals, real-time app queries, frequent writes?\n├── YES → Neptune DB  (this skill)\n│         writer + readers, Multi-AZ, Gremlin\u002FSPARQL\u002FopenCypher\n└── NO  → Is the workload analytical (OLAP) — PageRank,\n          connected-components, community-detection on a large\n          static graph?\n    ├── YES → Neptune Analytics  (NOT this skill — aws graph)\n    │         single graph, built-in algorithms, GB-hour pricing\n    └── NO  → Neptune DB for transactions + scheduled export to\n              Neptune Analytics for batch algorithm runs\n```\n\n## Error handling\n\n> API error deep dives (DBClusterAlreadyExists, DBSubnetGroup AZ span, IAM AccessDenied, Loader assume-role) moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n> Load on demand when a provisioning call fails.\n\n## References (load on demand)\n\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — provisioning API error deep dives and fixes.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — misconceptions, configuration dependency graph, recent AWS features.\n- [references\u002Finstance-and-topology.md](references\u002Finstance-and-topology.md) — sizing heuristic and failover promotion semantics.\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full copy-pasteable CLI sequence (subnet group, SG, parameter group, IAM, loader).\n\n## Domain\n\nAWS CloudOps \u002F Amazon Neptune DB Provisioning & Graph Topology Design.\n\n## AWS documentation\n\n- **Amazon Neptune User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fintro.html\n- **Neptune instance classes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Finstance-types.html\n- **Neptune encryption at rest** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fencrypt.html\n- **Neptune TLS \u002F neptune_enforce_ssl** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fsecurity-ssl.html\n- **Neptune IAM database auth** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fiam-auth.html\n- **Neptune Loader** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fload-data.html\n- **Neptune Streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fstreams.html\n- **Neptune Analytics (separate service)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune-analytics\u002Flatest\u002Fdg\u002Fwhat-is-neptune-analytics.html\n- **Gremlin \u002F SPARQL \u002F openCypher in Neptune** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fneptune\u002Flatest\u002Fuserguide\u002Fgraph-engines.html\n\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, neptune, graph-database, cloudops, deploy, databases, provisioning, gremlin, sparql, opencypher, multi-az, encryption, iam-db-auth, neptune-streams","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, neptune, graph database, cloudops, deploy, provisioning, gremlin, sparql, opencypher, multi-az, failover, encryption at rest, tls, iam database auth, subnet group, parameter group, neptune_enforce_ssl, neptune_query_timeout, bulk load, neptune loader, neptune streams, reader instance","deploy","high","false","capability","Invoke when the user wants to create a new Amazon Neptune DB cluster (graph database), size writer and reader instances, design a Multi-AZ topology with reader promotion, harden TLS via neptune_enforce_ssl, enable IAM database auth, load graph data from S3 via the Neptune Loader, query via Gremlin \u002F SPARQL \u002F openCypher, enable Neptune Streams for change capture, or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for Neptune Analytics (analytics graph service, separate API), for self-managed Neo4j \u002F JanusGraph on EC2, or for auditing an existing Neptune cluster's posture.","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 neptune, ec2, kms, iam, and s3 access. Works with Terraform aws_neptune_cluster \u002F aws_neptune_cluster_instance resources and CloudFormation AWS::Neptune::DBCluster \u002F AWS::Neptune::DBInstance templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fneptune-db-cluster-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 neptune-db-cluster-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill neptune-db-cluster-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill neptune-db-cluster-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-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","参考文档",6397,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fanalytics-redirect-boundary.md",932,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fbaselines\u002Fanalytics-redirect-boundary.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fdev-single-instance.md",580,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fbaselines\u002Fdev-single-instance.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fgremlin-bulk-load-from-s3.md",976,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fbaselines\u002Fgremlin-bulk-load-from-s3.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-subnet-group-and-cmk.md",781,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fbaselines\u002Fmissing-subnet-group-and-cmk.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fproduction-multiaz-gremlin.md",950,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fbaselines\u002Fproduction-multiaz-gremlin.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1806,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",11824,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fanalytics-redirect-boundary.md",516,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fprompts\u002Fanalytics-redirect-boundary.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fdev-single-instance.md",681,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fprompts\u002Fdev-single-instance.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fgremlin-bulk-load-from-s3.md",820,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fprompts\u002Fgremlin-bulk-load-from-s3.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fmissing-subnet-group-and-cmk.md",460,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fprompts\u002Fmissing-subnet-group-and-cmk.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fproduction-multiaz-gremlin.md",963,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fevals\u002Fprompts\u002Fproduction-multiaz-gremlin.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",8892,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",6136,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ferror-handling.md",1291,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Freferences\u002Ferror-handling.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Finstance-and-topology.md",10702,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Freferences\u002Finstance-and-topology.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fprovisioning-cli-commands.md",14979,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4423,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneptune-db-cluster-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",[],[]]