AGENT SKILL

s3-glacier-restore-operator

Operates S3 Glacier restore workflows — initiates object restores from Flexible Retrieval tiers (Expedited 1-5 min, Standard 3-5 hr, Bulk 5-12 hr) and from Deep Archive (12-48 hr; Bulk 12 hr), provisions Expedited capacity to guarantee throughput, manages in-place restore vs copy-to-other-tier strategies, performs bulk restores via S3 Batch Operations (manifest + role + report), checks restore status via head-object Restore field and restore-object waiters, integrates with lifecycle policies (Transition + NoncurrentVersionTransition), and operates latest features (S3 Glacier Instant Retrieval for ms-latency access on cold data, Deep Archive bulk restore cost-tier). Emits a deterministic execution plan with pre-checks, CONFIRM gate, and post-verification. Use when restoring a single object, a prefix, or a manifest of thousands of objects from Glacier; provisioning Expedited capacity; running a DR restore drill; or diagnosing a stalled restore job.

License 许可
Apache-2.0
最近更新
2026-09-24
Stars
★ 4
Forks
0

01 前言 Front Matter

name
s3-glacier-restore-operator
license
Apache-2.0
metadata
{ "tags": "s3, storage, operate, glacier, restore, deep-archive, instant-retrieval, batch-operations, lifecycle, expedited, provisioned-capacity", "phase": "4", "author": "Jacky Chan — AWS Community Builder", "domain": "aws-cloudops", "family": "Storage", "version": "0.1.0", "keywords": "S3 Glacier, S3 Glacier Flexible Retrieval, S3 Glacier Deep Archive, S3 Glacier Instant Retrieval, restore-object, Expedited retrieval, Standard retrieval, Bulk retrieval, provisioned capacity, S3 Batch Operations, bulk restore, restore in place, copy to different tier, head-object Restore field, RestoreObject, lifecycle policy, Transition, NoncurrentVersionTransition, DR restore drill, manifest restore, Glacier Instant Retrieval, Deep Archive bulk restore", "task_type": "operate", "complexity": "high", "entry_point": "false", "skill_class": "capability", "when_to_use": "Restoring a single object, prefix, or manifest of objects from S3 Glacier Flexible Retrieval, Glacier Deep Archive, or Glacier Instant Retrieval; choosing between Expedited / Standard / Bulk tiers; provisioning Expedited capacity for guaranteed throughput; running a DR restore drill with an RTO target; orchestrating a bulk restore via S3 Batch Operations; checking restore status via head-object Restore field; reconciling restore in place vs copy-to-different-tier; integrating restores with lifecycle policies; or diagnosing a stalled restore job.", "requires_llm": "true", "verdict_shape": "READY | BLOCKED | COMPLETED", "lifecycle_status": "active", "invocation_schema": "Input shape (one of): (a) a restore specification including the bucket, key (or prefix, or manifest), source storage class (Glacier Flexible Retrieval | Glacier Deep Archive | Glacier Instant Retrieval), retrieval tier (Expedited | Standard | Bulk), target destination (in-place | copy-to-bucket | copy-to-tier), and RTO budget; (b) a partial spec for interactive refinement (e.g., \"restore this prefix from Glacier, urgent\"); (c) an existing job ID for status check or diagnosis. Output shape: { OPERATION, VERDICT, TARGET, PRE_CHECKS, STEPS, POST_VERIFY, STATE, NOTES } where VERDICT ∈ { READY, BLOCKED, COMPLETED, ERROR }.", "supports_pipeline": "true", "activation_triggers": "restore object from Glacier, S3 Glacier restore, expedited retrieval, standard retrieval, bulk retrieval, Deep Archive restore, Glacier Instant Retrieval, provisioned capacity, bulk restore via Batch Operations, manifest restore, restore drill, DR restore from Glacier, head-object Restore field, stalled restore job, lifecycle policy integration, copy to different storage class" }
description
Operates S3 Glacier restore workflows — initiates object restores from Flexible Retrieval tiers (Expedited 1-5 min, Standard 3-5 hr, Bulk 5-12 hr) and from Deep Archive (12-48 hr; Bulk 12 hr), provisions Expedited capacity to guarantee throughput, manages in-place restore vs copy-to-other-tier strategies, performs bulk restores via S3 Batch Operations (manifest + role + report), checks restore status via head-object Restore field and restore-object waiters, integrates with lifecycle policies (Transition + NoncurrentVersionTransition), and operates latest features (S3 Glacier Instant Retrieval for ms-latency access on cold data, Deep Archive bulk restore cost-tier). Emits a deterministic execution plan with pre-checks, CONFIRM gate, and post-verification. Use when restoring a single object, a prefix, or a manifest of thousands of objects from Glacier; provisioning Expedited capacity; running a DR restore drill; or diagnosing a stalled restore job.
compatibility
Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live-account operations use aws s3api restore-object, head-object, get-object, list-objects-v2, aws s3api wait object-restored, aws s3control create-job (Batch Operations), describe-job, get-job-tagging, and aws s3api put-bucket-lifecycle-configuration (AWS CLI v2, SSO or key-based credentials).

02 资源文件 21

03 SKILL.md 正文

S3 Glacier Restore Operator

Mindset

One-line takeaway: a Glacier restore is NOT a download — it is a state transition that lifts an object from a frozen archive tier back into Standard (or another hot tier) for a configurable number of days. The object does not move on its own; you request the restore, wait the tier-specific duration, then the temporary restored copy is readable until the restore window expires, after which the object falls back to archive. The restore window is a lease, not a promotion — permanent promotion requires an explicit copy or lifecycle-policy change.

Three facts make Glacier restore operations different from "just calling GetObject":

  • Retrieval tier determines the SLA, not the storage class. The source storage class (Glacier Flexible Retrieval, Deep Archive, Glacier Instant Retrieval) constrains which tiers are available; the chosen tier controls the wait. Expedited = 1-5 min (Flexible only, requires capacity). Standard = 3-5 hr (Flexible). Bulk = 5-12 hr (Flexible) or 12 hr (Deep Archive). Deep Archive does NOT support Expedited or Standard. Mismatching tier and source class is the #1 cause of restore failures.

  • Glacier Instant Retrieval does NOT require a restore. Objects in the Glacier Instant Retrieval (GIR) storage class are directly accessible via GetObject with single-digit-ms latency for infrequent access. Calling restore-object on a GIR object is a no-op (or an error depending on bucket config). The single most common misclassification is treating GIR like Flexible Retrieval.

  • Restore in place is a temporary lease. restore-object with Days=N makes the object readable for N days, then it reverts to archive. For permanent migration out of Glacier, copy the object to the target storage class explicitly (copy-object with StorageClass override) or update the bucket lifecycle policy. Drift between operator expectations ("we restored it, it's done") and the lease model is the #1 DR-drill failure.

Quick navigation

Section Purpose
Pre-flight gate Validate object state, IAM perms, capacity
Quick reference — restore tiers Tier SLA matrix at a glance
Tier selection decision tree Match RTO to tier
Step-by-step process Pre-checks → restore → verify → cleanup
Bulk restore via Batch Operations Manifest-driven workflows
STRICT output contract Required VERDICT block schema
NEVER (top 5) Highest-blast-radius mistakes
Expert heuristic Field craft for ambiguous cases
Edge-case handling Stalls, expirations, versioning
Remediation Recover from mis-tiered or stalled restores

Quick reference — restore tiers and SLAs

Source storage class Available tiers Tier SLA Cost marker
Glacier Instant Retrieval (GIR) (none — direct GetObject) ms latency retrieve free (pay per-GB retrieved already)
Glacier Flexible Retrieval Expedited 1-5 min highest
Glacier Flexible Retrieval Standard 3-5 hr medium
Glacier Flexible Retrieval Bulk 5-12 hr lowest
Glacier Deep Archive Standard 12 hr medium
Glacier Deep Archive Bulk 48 hr lowest

Notes:

  • Expedited requires capacity. Without provisioned capacity, Expedited requests can be queued or rejected during demand peaks. Provision 1+ capacity units per region for guaranteed Expedited.
  • Deep Archive Standard is the FAST tier for Deep Archive (12 hr). Bulk is 48 hr. Deep Archive does NOT support Expedited.
  • Bulk is cheapest, slowest. Use for non-urgent batch restores (compliance export, monthly reporting).
  • GIR restore is a misnomer — GIR is directly readable. Calls to restore-object on GIR are unnecessary.

Pre-flight: restore specification gate

Run before producing the execution plan. Several requirements block the operation — proceeding produces silent failures or unnecessary Expedited spend.

Live-account pre-flight checks (skip if doing offline plan authoring):

  1. Verify object storage class via head-object: aws s3api head-object --bucket <bucket> --key <key> --query 'StorageClass' — confirms whether the object is actually archived (Glacier Flexible Retrieval, Deep Archive) or already directly accessible (Standard, Intelligent-Tiering, GIR, One-Zone IA).
  2. Verify the object is in ArchiveStatus: ARCHIVE_ACCESS or DEEP_ARCHIVE_ACCESS (otherwise no restore needed).
  3. Verify IAM permissions for s3:RestoreObject, s3:GetObject, s3:HeadObject, and (for copy-to-tier) s3:PutObject / s3:CopyObject / s3:AbortMultipartUpload.
  4. For Expedited, verify provisioned capacity: aws s3control describe-job is not the right call — use aws s3api list-buckets and consult billing for current capacity units (currently no direct CLI for capacity check; verify via console or billing).
  5. For S3 Batch Operations, verify the manifest bucket, the IAM role with s3:RestoreObject plus iam:PassRole, and the report bucket all exist.
  6. For a DR drill, capture the current timestamp and the RTO target for post-verification.
Attribute Value Effect on plan
StorageClass Glacier Instant Retrieval NO RESTORE NEEDED — direct GetObject works.
StorageClass Glacier Flexible Retrieval Tier choice: Expedited / Standard / Bulk.
StorageClass Glacier Deep Archive Tier choice: Standard (12hr) / Bulk (48hr). NO Expedited.
ArchiveStatus ARCHIVE_ACCESS Restore required.
ArchiveStatus DEEP_ARCHIVE_ACCESS Restore required (Deep Archive).
Restore field present ongoing-request="false", expiry-date=<date> Already restored; skip new restore.
Restore field present ongoing-request="true" Restore in progress; do NOT re-issue (resets wait clock).
Target in-place RestoreObject with Days=N.
Target copy-to-bucket RestoreObject then CopyObject.
Target copy-to-tier (promotion) CopyObject with StorageClass override (no restore-object needed if source is GIR).
Manifest size >1000 objects Use S3 Batch Operations, not inline loop.

If the spec is incomplete (missing bucket, key/manifest, tier selection, or target destination), output:

OPERATION: <restore-object | bulk-restore | check-status | diagnose>
VERDICT: BLOCKED
TARGET: <bucket/key or unknown>
REASON: Restore specification is missing required fields (<list>).
Cannot produce an execution plan without <field> — the resulting
restore would either fail or incur unnecessary Expedited spend.
REQUIRED:
  - bucket
  - key | prefix | manifest
  - source_storage_class (Glacier Flexible Retrieval | Deep Archive |
                           Glacier Instant Retrieval)
  - tier (Expedited | Standard | Bulk)
  - target (in-place | copy-to-bucket | copy-to-tier)
  - days (for in-place restore; lease duration)

Tier selection decision tree

RTO budget Source class Recommended tier Cost marker
< 5 min Flexible Retrieval Expedited (+ provisioned capacity) highest
< 5 min Deep Archive NOT POSSIBLE — Deep Archive cannot be Expedited n/a
< 5 min Glacier Instant Retrieval direct GetObject (no restore) free
< 6 hr Flexible Retrieval Standard medium
< 6 hr Deep Archive Standard (12 hr — EXCEEDS RTO; renegotiate) medium
< 12 hr Flexible Retrieval Standard or Bulk medium/low
< 12 hr Deep Archive Standard (12 hr) medium
< 48 hr Deep Archive Bulk (48 hr) lowest
< 12 hr Flexible Retrieval Bulk (5-12 hr) lowest

Expert heuristic: if the RTO cannot accommodate the tier's maximum SLA, BLOCK the operation. A 12-hour SLA tier is NOT a 6-hour SLA tier; restoring and hoping is a guaranteed DR-drill failure.

Process — Pre-checks → restore → verify (in order)

Step 0: Expert heuristic — field craft for ambiguous cases

→ Moved to references/advanced-patterns.md — field craft for ambiguous cases.

Step 1: Confirm source storage class and restore state

aws s3api head-object --bucket <bucket> --key <key> \
  --query '{StorageClass: StorageClass, ArchiveStatus: ArchiveStatus, Restore: Restore}'

Interpretation:

  • StorageClass: GLACIER (Flexible Retrieval, formerly GLACIER), DEEP_ARCHIVE, or GLACIER_IR.
  • ArchiveStatus: ARCHIVE_ACCESS or DEEP_ARCHIVE_ACCESS → restore is required.
  • Restore: { ongoing-request: false, expiry-date: <date> } → already restored; expires on <date>.
  • Restore: { ongoing-request: true } → restore in progress.

Step 2: Select the tier (per the decision tree)

Match RTO to tier. Mismatches are the most common failure mode.

Step 3: Restore in place (single object)

aws s3api restore-object \
  --bucket prod-archive-bucket \
  --key quarterly-report-2025-Q1.parquet \
  --restore-request '{"Days": 7, "GlacierJobParameters": {"Tier": "Expedited"}}'

For Bulk on Flexible Retrieval:

--restore-request '{"Days": 30, "GlacierJobParameters": {"Tier": "Bulk"}}'

For Deep Archive (Standard tier, 12hr):

--restore-request '{"Days": 30, "GlacierJobParameters": {"Tier": "Standard"}}'

Note: Deep Archive supports only Standard (12hr) and Bulk (48hr). Expedited on Deep Archive returns an error.

Step 4: Wait for restore completion

aws s3api wait object-restored --bucket prod-archive-bucket \
  --key quarterly-report-2025-Q1.parquet

The waiter polls head-object until Restore.ongoing-request=false. For Bulk + Deep Archive, this can be 48 hours — set expectations.

Step 5: Read the restored object (or copy to a different tier)

# Read in place
aws s3api get-object --bucket prod-archive-bucket \
  --key quarterly-report-2025-Q1.parquet /tmp/restored.parquet

# Or copy to a hot tier for permanent promotion
aws s3api copy-object --bucket prod-hot-bucket \
  --key quarterly-report-2025-Q1.parquet \
  --copy-source prod-archive-bucket/quarterly-report-2025-Q1.parquet \
  --storage-class STANDARD

Step 6: Verify post-restore state

aws s3api head-object --bucket prod-archive-bucket \
  --key quarterly-report-2025-Q1.parquet \
  --query 'Restore'
# Expected: ongoing-request=false, expiry-date populated

For copy-to-tier:

aws s3api head-object --bucket prod-hot-bucket \
  --key quarterly-report-2025-Q1.parquet \
  --query 'StorageClass'
# Expected: STANDARD

Step 7: Document the lease expiration

Capture the expiry-date in the operation notes. Operators who assume a restore is permanent are surprised when access disappears on day N+1.

Bulk restore via S3 Batch Operations

→ Full B1-B4 procedure moved to references/batch-operations-and-lifecycle-integration.md.

Restore in place vs copy to different tier

Decision Use case
Restore in place (Days=N) Temporary access — audit, investigation, one-off query. Object reverts to archive after N days.
Copy to bucket Move restored data to a working bucket while keeping the archive intact.
Copy to tier (promotion) Permanent migration out of archive — change storage class on the copy. Update lifecycle policy to prevent re-archival.
Lifecycle policy update Bulk promotion — modify the lifecycle rule that archived the object in the first place.

Permanent promotion requires either a copy or a lifecycle-policy change. Restore-object alone never changes the object's storage class permanently.

Lifecycle integration

→ Moved to references/batch-operations-and-lifecycle-integration.md.

Output format — STRICT output contract

The output MUST follow this exact schema. Every field is required; do not omit fields or add undocumented ones.

OPERATION: <restore-object | bulk-restore | check-status | diagnose | copy-to-tier>
VERDICT: READY | BLOCKED | COMPLETED
TARGET: <bucket/key or job-id>
PRE_CHECKS:
  - [PASS] <check description>
  - [FAIL] <check description> — <reason>
STEPS:
  1. <CLI command with flags populated>
  2. <wait command>
POST_VERIFY:
  - [PASS] <verification description>
  - [FAIL] <verification description> — <reason>
STATE: <restore progress, job status, expiry date>
NOTES: <lease caveat, tier rationale, lifecycle interaction, RTO reconciliation>

Worked example — single Expedited restore

OPERATION: restore-object
VERDICT: READY
TARGET: prod-archive-bucket/quarterly-report-2025-Q1.parquet
PRE_CHECKS:
  - [PASS] head-object StorageClass: GLACIER (Flexible Retrieval)
  - [PASS] ArchiveStatus: ARCHIVE_ACCESS (restore required)
  - [PASS] Restore field absent (no in-progress restore)
  - [PASS] Caller IAM role holds s3:RestoreObject, s3:GetObject
  - [PASS] Provisioned capacity: 1 unit (guarantees Expedited)
  - [PASS] RTO 5 min accommodated by Expedited (1-5 min SLA)
STEPS:
  1. CONFIRM: About to restore-object prod-archive-bucket/
     quarterly-report-2025-Q1.parquet via Expedited tier (1-5 min
     SLA). Restore window: 7 days. Provisioned capacity: 1 unit.
     Proceed? (yes/no)
  2. aws s3api restore-object --bucket prod-archive-bucket
     --key quarterly-report-2025-Q1.parquet
     --restore-request '{"Days":7,"GlacierJobParameters":{"Tier":"Expedited"}}'
  3. aws s3api wait object-restored --bucket prod-archive-bucket
     --key quarterly-report-2025-Q1.parquet
POST_VERIFY:
  - [PASS] head-object Restore.ongoing-request: false
  - [PASS] head-object Restore.expiry-date populated
STATE: restored — lease expires 2026-08-17T00:00:00Z
NOTES:
  - Restore is a temporary lease. Object reverts to Glacier Flexible
    Retrieval on expiry-date. For permanent promotion, copy to
    STANDARD via copy-object.

Worked example — Batch Operations bulk restore

→ Secondary example moved to references/worked-examples.md; the single-object Expedited example above is primary.

Verification commands

→ Command listing moved to references/diagnostic-commands.md.

Anti-Patterns — NEVER (top 5)

  • NEVER call restore-object on a Glacier Instant Retrieval (GIR) object. GIR objects are directly readable via GetObject with single-digit-ms latency. A restore call is a no-op (or an error depending on bucket config). Always check StorageClass via head-object before requesting a restore.

  • NEVER request Expedited tier on a Deep Archive object. Deep Archive supports only Standard (12 hr) and Bulk (48 hr). Expedited requests on Deep Archive return an error. The fastest Deep Archive restore is 12 hours — never promise faster.

  • NEVER assume restore-object returns a Job ID. Only S3 Batch Operations returns a Job ID. Single-object restores have no Job ID; the only status source is the Restore field on the object's metadata (head-object). Operators tracking a non-existent Job ID waste hours searching for status.

  • NEVER issue a second restore-object while one is in progress. Re-issuing resets the wait clock and can change the tier mid-flight. Always check head-object Restore.ongoing-request first — if true, wait for completion before issuing any new restore request.

  • NEVER assume a restore is permanent. Restore-object with Days=N is a lease. The object reverts to archive on day N+1. Permanent promotion requires a copy-object to a hot storage class OR a lifecycle-policy update. DR drills that assume a restored object stays restored fail when access disappears.

Additional NEVER

  • NEVER use on-demand Expedited for DR drills without provisioned capacity. On-demand is best-effort and is rejected during demand peaks — exactly when DR drills happen. Pre-provision capacity.
  • NEVER request Bulk when the RTO requires <12 hr. Bulk SLA is 5-12 hr (Flexible) or 48 hr (Deep Archive). Use Standard or Expedited instead.
  • NEVER update a lifecycle policy without checking which objects will be affected. A broad Transition rule can re-archive promoted objects, undoing the restore.
  • NEVER delete the manifest or report bucket mid-job. Batch Operations reads the manifest continuously; the report is the only audit trail for NoSuchKey failures.
  • NEVER treat ongoing-request: false as success — it only means the restore is no longer in progress. Always verify expiry-date is populated and the object is readable via get-object.
  • NEVER run Batch Operations with the management account's credentials. Use a scoped IAM role (s3:RestoreObject, s3:GetObject, iam:PassRole on the job role ARN).

Pre-flight safety checks

  • MANDATORY CONFIRMATION GATE. Before any state-changing operation (restore-object, create-job, put-bucket-lifecycle-configuration), the operator MUST emit: CONFIRM: About to restore <bucket>/<key> via <tier> (SLA: <min to max>). Restore window: <N> days. Estimated cost: <$X>. Object reverts to <storage class> on expiry. Proceed? (yes/no)

  • Tier-vs-source-class compatibility. Expedited only on Flexible Retrieval. Standard on Flexible (3-5hr) and Deep Archive (12hr). Bulk on Flexible (5-12hr) and Deep Archive (48hr). GIR requires no restore.

  • RTO reconciliation. The maximum SLA for the chosen tier MUST fit within the user's RTO budget. If not, BLOCK and renegotiate.

  • Capacity check for Expedited. Verify provisioned capacity exists before promising an Expedited SLA. On-demand is best-effort.

  • Cost estimate. Emit before any restore:

    • Expedited retrieval: ~$0.03 per GB (highest)
    • Standard retrieval: ~$0.01 per GB (Flexible), ~$0.02 per GB (Deep Archive)
    • Bulk retrieval: ~$0.0025 per GB (Flexible), ~$0.0025 per GB (Deep Archive)
    • Provisioned capacity: $100 per unit per month in the region
    • Batch Operations: $0.25 per million tasks
  • Lease expiration awareness. Capture expiry-date in post-verification. Operators who assume permanence are surprised when access disappears.

Edge-case handling

→ Edge-case catalog moved to references/advanced-patterns.md.

Remediation guidance

→ Remediation deep dive moved to references/error-handling.md.

Recent AWS features (2024-2026)

→ Moved to references/advanced-patterns.md.

AWS documentation

References (load on demand)

04 同仓库更多 Skills

jhkchan
jhkchan/aws-agent-skills

xray-tracing-deployer

Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL / method / service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry / ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS / EKS / Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.

★ 4
jhkchan
jhkchan/aws-agent-skills

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.

★ 4
jhkchan
jhkchan/aws-agent-skills

wellarchitected-review-operator

Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer / get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.

★ 4
jhkchan
jhkchan/aws-agent-skills

wafv2-web-acl-deployer

Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB/API Gateway/CloudFront, or configuring CAPTCHA/Challenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.

★ 4
jhkchan
jhkchan/aws-agent-skills

wafv2-web-acl-auditor

Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow/bypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.

★ 4
jhkchan
jhkchan/aws-agent-skills

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.

★ 4