[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABS271T4TJZ2PV3S7793S0":3,"skill-same:01M7ABS271T4TJZ2PV3S7793S0":151},{"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":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7ABS271T4TJZ2PV3S7793S0","s3-glacier-restore-operator",null,"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.","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\u002Fs3-glacier-restore-operator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: s3-glacier-restore-operator\ndescription: 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.\nlicense: Apache-2.0\ncompatibility: 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).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '4'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Storage\n  task_type: operate\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY | BLOCKED | COMPLETED\n  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 \u002F Standard \u002F 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.\n  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\n  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 }.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  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\n  tags: s3, storage, operate, glacier, restore, deep-archive, instant-retrieval, batch-operations, lifecycle, expedited, provisioned-capacity\n---\n\n# S3 Glacier Restore Operator\n\n## Mindset\n\n**One-line takeaway:** a Glacier restore is NOT a download — it is a\n**state transition** that lifts an object from a frozen archive tier\nback into Standard (or another hot tier) for a configurable number\nof days. The object does not move on its own; you request the\nrestore, wait the tier-specific duration, then the temporary restored\ncopy is readable until the restore window expires, after which the\nobject falls back to archive. The restore window is a lease, not a\npromotion — permanent promotion requires an explicit copy or\nlifecycle-policy change.\n\nThree facts make Glacier restore operations different from \"just\ncalling GetObject\":\n\n- **Retrieval tier determines the SLA, not the storage class.** The\n  source storage class (Glacier Flexible Retrieval, Deep Archive,\n  Glacier Instant Retrieval) constrains which tiers are available;\n  the chosen tier controls the wait. Expedited = 1-5 min (Flexible\n  only, requires capacity). Standard = 3-5 hr (Flexible). Bulk =\n  5-12 hr (Flexible) or 12 hr (Deep Archive). Deep Archive does NOT\n  support Expedited or Standard. Mismatching tier and source class\n  is the #1 cause of restore failures.\n\n- **Glacier Instant Retrieval does NOT require a restore.** Objects\n  in the Glacier Instant Retrieval (GIR) storage class are directly\n  accessible via GetObject with single-digit-ms latency for\n  infrequent access. Calling `restore-object` on a GIR object is a\n  no-op (or an error depending on bucket config). The single most\n  common misclassification is treating GIR like Flexible Retrieval.\n\n- **Restore in place is a temporary lease.** `restore-object` with\n  `Days=N` makes the object readable for N days, then it reverts to\n  archive. For permanent migration out of Glacier, copy the object\n  to the target storage class explicitly\n  (`copy-object` with `StorageClass` override) or update the bucket\n  lifecycle policy. Drift between operator expectations (\"we restored\n  it, it's done\") and the lease model is the #1 DR-drill failure.\n\n## Quick navigation\n\n| Section | Purpose |\n|---|---|\n| Pre-flight gate | Validate object state, IAM perms, capacity |\n| Quick reference — restore tiers | Tier SLA matrix at a glance |\n| Tier selection decision tree | Match RTO to tier |\n| Step-by-step process | Pre-checks → restore → verify → cleanup |\n| Bulk restore via Batch Operations | Manifest-driven workflows |\n| STRICT output contract | Required VERDICT block schema |\n| NEVER (top 5) | Highest-blast-radius mistakes |\n| Expert heuristic | Field craft for ambiguous cases |\n| Edge-case handling | Stalls, expirations, versioning |\n| Remediation | Recover from mis-tiered or stalled restores |\n\n## Quick reference — restore tiers and SLAs\n\n| Source storage class | Available tiers | Tier SLA | Cost marker |\n|---|---|---|---|\n| Glacier Instant Retrieval (GIR) | (none — direct GetObject) | ms latency | retrieve free (pay per-GB retrieved already) |\n| Glacier Flexible Retrieval | Expedited | 1-5 min | highest |\n| Glacier Flexible Retrieval | Standard | 3-5 hr | medium |\n| Glacier Flexible Retrieval | Bulk | 5-12 hr | lowest |\n| Glacier Deep Archive | Standard | 12 hr | medium |\n| Glacier Deep Archive | Bulk | 48 hr | lowest |\n\nNotes:\n- **Expedited requires capacity.** Without provisioned capacity,\n  Expedited requests can be queued or rejected during demand peaks.\n  Provision 1+ capacity units per region for guaranteed Expedited.\n- **Deep Archive Standard is the FAST tier for Deep Archive** (12\n  hr). Bulk is 48 hr. Deep Archive does NOT support Expedited.\n- **Bulk is cheapest, slowest.** Use for non-urgent batch restores\n  (compliance export, monthly reporting).\n- **GIR restore is a misnomer** — GIR is directly readable. Calls\n  to `restore-object` on GIR are unnecessary.\n\n## Pre-flight: restore specification gate\n\nRun before producing the execution plan. Several requirements **block\nthe operation** — proceeding produces silent failures or unnecessary\nExpedited spend.\n\n**Live-account pre-flight checks (skip if doing offline plan\nauthoring):**\n1. Verify object storage class via `head-object`:\n   `aws s3api head-object --bucket \u003Cbucket> --key \u003Ckey> --query 'StorageClass'`\n   — confirms whether the object is actually archived (Glacier\n   Flexible Retrieval, Deep Archive) or already directly accessible\n   (Standard, Intelligent-Tiering, GIR, One-Zone IA).\n2. Verify the object is in `ArchiveStatus: ARCHIVE_ACCESS` or\n   `DEEP_ARCHIVE_ACCESS` (otherwise no restore needed).\n3. Verify IAM permissions for `s3:RestoreObject`, `s3:GetObject`,\n   `s3:HeadObject`, and (for copy-to-tier) `s3:PutObject` \u002F\n   `s3:CopyObject` \u002F `s3:AbortMultipartUpload`.\n4. For Expedited, verify provisioned capacity:\n   `aws s3control describe-job` is not the right call — use\n   `aws s3api list-buckets` and consult billing for current capacity\n   units (currently no direct CLI for capacity check; verify via\n   console or billing).\n5. For S3 Batch Operations, verify the manifest bucket, the\n   IAM role with `s3:RestoreObject` plus `iam:PassRole`, and the\n   report bucket all exist.\n6. For a DR drill, capture the current timestamp and the RTO target\n   for post-verification.\n\n| Attribute | Value | Effect on plan |\n|---|---|---|\n| StorageClass | Glacier Instant Retrieval | NO RESTORE NEEDED — direct GetObject works. |\n| StorageClass | Glacier Flexible Retrieval | Tier choice: Expedited \u002F Standard \u002F Bulk. |\n| StorageClass | Glacier Deep Archive | Tier choice: Standard (12hr) \u002F Bulk (48hr). NO Expedited. |\n| ArchiveStatus | ARCHIVE_ACCESS | Restore required. |\n| ArchiveStatus | DEEP_ARCHIVE_ACCESS | Restore required (Deep Archive). |\n| Restore field present | ongoing-request=\"false\", expiry-date=\u003Cdate> | Already restored; skip new restore. |\n| Restore field present | ongoing-request=\"true\" | Restore in progress; do NOT re-issue (resets wait clock). |\n| Target | in-place | RestoreObject with Days=N. |\n| Target | copy-to-bucket | RestoreObject then CopyObject. |\n| Target | copy-to-tier (promotion) | CopyObject with StorageClass override (no restore-object needed if source is GIR). |\n| Manifest size | >1000 objects | Use S3 Batch Operations, not inline loop. |\n\n**If the spec is incomplete** (missing bucket, key\u002Fmanifest, tier\nselection, or target destination), output:\n\n```text\nOPERATION: \u003Crestore-object | bulk-restore | check-status | diagnose>\nVERDICT: BLOCKED\nTARGET: \u003Cbucket\u002Fkey or unknown>\nREASON: Restore specification is missing required fields (\u003Clist>).\nCannot produce an execution plan without \u003Cfield> — the resulting\nrestore would either fail or incur unnecessary Expedited spend.\nREQUIRED:\n  - bucket\n  - key | prefix | manifest\n  - source_storage_class (Glacier Flexible Retrieval | Deep Archive |\n                           Glacier Instant Retrieval)\n  - tier (Expedited | Standard | Bulk)\n  - target (in-place | copy-to-bucket | copy-to-tier)\n  - days (for in-place restore; lease duration)\n```\n\n## Tier selection decision tree\n\n| RTO budget | Source class | Recommended tier | Cost marker |\n|---|---|---|---|\n| \u003C 5 min | Flexible Retrieval | Expedited (+ provisioned capacity) | highest |\n| \u003C 5 min | Deep Archive | NOT POSSIBLE — Deep Archive cannot be Expedited | n\u002Fa |\n| \u003C 5 min | Glacier Instant Retrieval | direct GetObject (no restore) | free |\n| \u003C 6 hr | Flexible Retrieval | Standard | medium |\n| \u003C 6 hr | Deep Archive | Standard (12 hr — EXCEEDS RTO; renegotiate) | medium |\n| \u003C 12 hr | Flexible Retrieval | Standard or Bulk | medium\u002Flow |\n| \u003C 12 hr | Deep Archive | Standard (12 hr) | medium |\n| \u003C 48 hr | Deep Archive | Bulk (48 hr) | lowest |\n| \u003C 12 hr | Flexible Retrieval | Bulk (5-12 hr) | lowest |\n\n**Expert heuristic:** if the RTO cannot accommodate the tier's\nmaximum SLA, BLOCK the operation. A 12-hour SLA tier is NOT a\n6-hour SLA tier; restoring and hoping is a guaranteed DR-drill\nfailure.\n\n## Process — Pre-checks → restore → verify (in order)\n\n### Step 0: Expert heuristic — field craft for ambiguous cases\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — field craft for ambiguous cases.\n### Step 1: Confirm source storage class and restore state\n\n```bash\naws s3api head-object --bucket \u003Cbucket> --key \u003Ckey> \\\n  --query '{StorageClass: StorageClass, ArchiveStatus: ArchiveStatus, Restore: Restore}'\n```\n\nInterpretation:\n- `StorageClass: GLACIER` (Flexible Retrieval, formerly GLACIER),\n  `DEEP_ARCHIVE`, or `GLACIER_IR`.\n- `ArchiveStatus: ARCHIVE_ACCESS` or `DEEP_ARCHIVE_ACCESS` → restore\n  is required.\n- `Restore: { ongoing-request: false, expiry-date: \u003Cdate> }` →\n  already restored; expires on `\u003Cdate>`.\n- `Restore: { ongoing-request: true }` → restore in progress.\n\n### Step 2: Select the tier (per the decision tree)\n\nMatch RTO to tier. Mismatches are the most common failure mode.\n\n### Step 3: Restore in place (single object)\n\n```bash\naws s3api restore-object \\\n  --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --restore-request '{\"Days\": 7, \"GlacierJobParameters\": {\"Tier\": \"Expedited\"}}'\n```\n\nFor Bulk on Flexible Retrieval:\n```bash\n--restore-request '{\"Days\": 30, \"GlacierJobParameters\": {\"Tier\": \"Bulk\"}}'\n```\n\nFor Deep Archive (Standard tier, 12hr):\n```bash\n--restore-request '{\"Days\": 30, \"GlacierJobParameters\": {\"Tier\": \"Standard\"}}'\n```\n\nNote: Deep Archive supports only `Standard` (12hr) and `Bulk` (48hr).\nExpedited on Deep Archive returns an error.\n\n### Step 4: Wait for restore completion\n\n```bash\naws s3api wait object-restored --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet\n```\n\nThe waiter polls `head-object` until `Restore.ongoing-request=false`.\nFor Bulk + Deep Archive, this can be 48 hours — set expectations.\n\n### Step 5: Read the restored object (or copy to a different tier)\n\n```bash\n# Read in place\naws s3api get-object --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \u002Ftmp\u002Frestored.parquet\n\n# Or copy to a hot tier for permanent promotion\naws s3api copy-object --bucket prod-hot-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --copy-source prod-archive-bucket\u002Fquarterly-report-2025-Q1.parquet \\\n  --storage-class STANDARD\n```\n\n### Step 6: Verify post-restore state\n\n```bash\naws s3api head-object --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --query 'Restore'\n# Expected: ongoing-request=false, expiry-date populated\n```\n\nFor copy-to-tier:\n```bash\naws s3api head-object --bucket prod-hot-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --query 'StorageClass'\n# Expected: STANDARD\n```\n\n### Step 7: Document the lease expiration\n\nCapture the `expiry-date` in the operation notes. Operators who\nassume a restore is permanent are surprised when access disappears\non day N+1.\n\n## Bulk restore via S3 Batch Operations\n\n→ Full B1-B4 procedure moved to [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md).\n## Restore in place vs copy to different tier\n\n| Decision | Use case |\n|---|---|\n| Restore in place (Days=N) | Temporary access — audit, investigation, one-off query. Object reverts to archive after N days. |\n| Copy to bucket | Move restored data to a working bucket while keeping the archive intact. |\n| Copy to tier (promotion) | Permanent migration out of archive — change storage class on the copy. Update lifecycle policy to prevent re-archival. |\n| Lifecycle policy update | Bulk promotion — modify the lifecycle rule that archived the object in the first place. |\n\n**Permanent promotion requires either a copy or a lifecycle-policy\nchange.** Restore-object alone never changes the object's storage\nclass permanently.\n\n## Lifecycle integration\n\n→ Moved to [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md).\n## Output format — STRICT output contract\n\nThe output MUST follow this exact schema. Every field is required;\ndo not omit fields or add undocumented ones.\n\n```text\nOPERATION: \u003Crestore-object | bulk-restore | check-status | diagnose | copy-to-tier>\nVERDICT: READY | BLOCKED | COMPLETED\nTARGET: \u003Cbucket\u002Fkey or job-id>\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. \u003CCLI command with flags populated>\n  2. \u003Cwait command>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nSTATE: \u003Crestore progress, job status, expiry date>\nNOTES: \u003Clease caveat, tier rationale, lifecycle interaction, RTO reconciliation>\n```\n\n### Worked example — single Expedited restore\n\n```text\nOPERATION: restore-object\nVERDICT: READY\nTARGET: prod-archive-bucket\u002Fquarterly-report-2025-Q1.parquet\nPRE_CHECKS:\n  - [PASS] head-object StorageClass: GLACIER (Flexible Retrieval)\n  - [PASS] ArchiveStatus: ARCHIVE_ACCESS (restore required)\n  - [PASS] Restore field absent (no in-progress restore)\n  - [PASS] Caller IAM role holds s3:RestoreObject, s3:GetObject\n  - [PASS] Provisioned capacity: 1 unit (guarantees Expedited)\n  - [PASS] RTO 5 min accommodated by Expedited (1-5 min SLA)\nSTEPS:\n  1. CONFIRM: About to restore-object prod-archive-bucket\u002F\n     quarterly-report-2025-Q1.parquet via Expedited tier (1-5 min\n     SLA). Restore window: 7 days. Provisioned capacity: 1 unit.\n     Proceed? (yes\u002Fno)\n  2. aws s3api restore-object --bucket prod-archive-bucket\n     --key quarterly-report-2025-Q1.parquet\n     --restore-request '{\"Days\":7,\"GlacierJobParameters\":{\"Tier\":\"Expedited\"}}'\n  3. aws s3api wait object-restored --bucket prod-archive-bucket\n     --key quarterly-report-2025-Q1.parquet\nPOST_VERIFY:\n  - [PASS] head-object Restore.ongoing-request: false\n  - [PASS] head-object Restore.expiry-date populated\nSTATE: restored — lease expires 2026-08-17T00:00:00Z\nNOTES:\n  - Restore is a temporary lease. Object reverts to Glacier Flexible\n    Retrieval on expiry-date. For permanent promotion, copy to\n    STANDARD via copy-object.\n```\n\n### Worked example — Batch Operations bulk restore\n\n→ Secondary example moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md); the single-object Expedited example above is primary.\n## Verification commands\n\n→ Command listing moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\n## Anti-Patterns — NEVER (top 5)\n\n- **NEVER call `restore-object` on a Glacier Instant Retrieval (GIR)\n  object.** GIR objects are directly readable via GetObject with\n  single-digit-ms latency. A restore call is a no-op (or an error\n  depending on bucket config). Always check `StorageClass` via\n  `head-object` before requesting a restore.\n\n- **NEVER request Expedited tier on a Deep Archive object.** Deep\n  Archive supports only Standard (12 hr) and Bulk (48 hr). Expedited\n  requests on Deep Archive return an error. The fastest Deep\n  Archive restore is 12 hours — never promise faster.\n\n- **NEVER assume `restore-object` returns a Job ID.** Only S3 Batch\n  Operations returns a Job ID. Single-object restores have no Job\n  ID; the only status source is the Restore field on the object's\n  metadata (`head-object`). Operators tracking a non-existent Job ID\n  waste hours searching for status.\n\n- **NEVER issue a second `restore-object` while one is in progress.**\n  Re-issuing resets the wait clock and can change the tier mid-flight.\n  Always check `head-object Restore.ongoing-request` first — if\n  `true`, wait for completion before issuing any new restore request.\n\n- **NEVER assume a restore is permanent.** Restore-object with\n  `Days=N` is a lease. The object reverts to archive on day N+1.\n  Permanent promotion requires a copy-object to a hot storage class\n  OR a lifecycle-policy update. DR drills that assume a restored\n  object stays restored fail when access disappears.\n\n## Additional NEVER\n\n- NEVER use on-demand Expedited for DR drills without provisioned\n  capacity. On-demand is best-effort and is rejected during demand\n  peaks — exactly when DR drills happen. Pre-provision capacity.\n- NEVER request Bulk when the RTO requires \u003C12 hr. Bulk SLA is\n  5-12 hr (Flexible) or 48 hr (Deep Archive). Use Standard or\n  Expedited instead.\n- NEVER update a lifecycle policy without checking which objects\n  will be affected. A broad `Transition` rule can re-archive\n  promoted objects, undoing the restore.\n- NEVER delete the manifest or report bucket mid-job. Batch\n  Operations reads the manifest continuously; the report is the\n  only audit trail for `NoSuchKey` failures.\n- NEVER treat `ongoing-request: false` as success — it only means\n  the restore is no longer in progress. Always verify `expiry-date`\n  is populated and the object is readable via `get-object`.\n- NEVER run Batch Operations with the management account's\n  credentials. Use a scoped IAM role (`s3:RestoreObject`,\n  `s3:GetObject`, `iam:PassRole` on the job role ARN).\n\n## Pre-flight safety checks\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing\n  operation (`restore-object`, `create-job`,\n  `put-bucket-lifecycle-configuration`), the operator MUST emit:\n  `CONFIRM: About to restore \u003Cbucket>\u002F\u003Ckey> via \u003Ctier> (SLA: \u003Cmin\n  to max>). Restore window: \u003CN> days. Estimated cost: \u003C$X>. Object\n  reverts to \u003Cstorage class> on expiry. Proceed? (yes\u002Fno)`\n\n- **Tier-vs-source-class compatibility.** Expedited only on\n  Flexible Retrieval. Standard on Flexible (3-5hr) and Deep Archive\n  (12hr). Bulk on Flexible (5-12hr) and Deep Archive (48hr). GIR\n  requires no restore.\n\n- **RTO reconciliation.** The maximum SLA for the chosen tier MUST\n  fit within the user's RTO budget. If not, BLOCK and renegotiate.\n\n- **Capacity check for Expedited.** Verify provisioned capacity\n  exists before promising an Expedited SLA. On-demand is\n  best-effort.\n\n- **Cost estimate.** Emit before any restore:\n  - Expedited retrieval: ~$0.03 per GB (highest)\n  - Standard retrieval: ~$0.01 per GB (Flexible), ~$0.02 per GB\n    (Deep Archive)\n  - Bulk retrieval: ~$0.0025 per GB (Flexible), ~$0.0025 per GB\n    (Deep Archive)\n  - Provisioned capacity: $100 per unit per month in the region\n  - Batch Operations: $0.25 per million tasks\n\n- **Lease expiration awareness.** Capture `expiry-date` in\n  post-verification. Operators who assume permanence are surprised\n  when access disappears.\n\n## Edge-case handling\n\n→ Edge-case catalog moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n## Remediation guidance\n\n→ Remediation deep dive moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n## Recent AWS features (2024-2026)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n## AWS documentation\n\n- **S3 Glacier Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fdev\u002Fglacier-restore.html\n- **RestoreObject API** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002FAPI\u002FAPI_RestoreObject.html\n- **S3 Storage Classes** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage-class-intro.html\n- **Glacier Instant Retrieval** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage-class-intro.html#sc-glacier\n- **S3 Batch Operations** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fbatch-ops.html\n- **Batch Operations restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fbatch-ops-restore-object.html\n- **Lifecycle configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fobject-lifecycle-mgmt.html\n- **Provisioned capacity** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Frestoring-objects-retrieval-options.html\n- **S3 Storage Lens** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage_lens.html\n- **Pricing — S3** — https:\u002F\u002Faws.amazon.com\u002Fs3\u002Fpricing\u002F\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 field craft, edge-case catalog, recent AWS features.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (Batch Operations bulk restore).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — remediation guidance for BLOCKED\u002Fstalled\u002Funexpected cases.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — verification command listing.\n- [references\u002Frestore-tiers-and-provisioned-capacity.md](references\u002Frestore-tiers-and-provisioned-capacity.md) — pre-existing: tier SLA matrix.\n- [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md) — pre-existing; extended with the B1-B4 bulk-restore procedure and lifecycle integration.\n\n","# S3 Glacier Restore Operator\n\n## Mindset\n\n**One-line takeaway:** a Glacier restore is NOT a download — it is a\n**state transition** that lifts an object from a frozen archive tier\nback into Standard (or another hot tier) for a configurable number\nof days. The object does not move on its own; you request the\nrestore, wait the tier-specific duration, then the temporary restored\ncopy is readable until the restore window expires, after which the\nobject falls back to archive. The restore window is a lease, not a\npromotion — permanent promotion requires an explicit copy or\nlifecycle-policy change.\n\nThree facts make Glacier restore operations different from \"just\ncalling GetObject\":\n\n- **Retrieval tier determines the SLA, not the storage class.** The\n  source storage class (Glacier Flexible Retrieval, Deep Archive,\n  Glacier Instant Retrieval) constrains which tiers are available;\n  the chosen tier controls the wait. Expedited = 1-5 min (Flexible\n  only, requires capacity). Standard = 3-5 hr (Flexible). Bulk =\n  5-12 hr (Flexible) or 12 hr (Deep Archive). Deep Archive does NOT\n  support Expedited or Standard. Mismatching tier and source class\n  is the #1 cause of restore failures.\n\n- **Glacier Instant Retrieval does NOT require a restore.** Objects\n  in the Glacier Instant Retrieval (GIR) storage class are directly\n  accessible via GetObject with single-digit-ms latency for\n  infrequent access. Calling `restore-object` on a GIR object is a\n  no-op (or an error depending on bucket config). The single most\n  common misclassification is treating GIR like Flexible Retrieval.\n\n- **Restore in place is a temporary lease.** `restore-object` with\n  `Days=N` makes the object readable for N days, then it reverts to\n  archive. For permanent migration out of Glacier, copy the object\n  to the target storage class explicitly\n  (`copy-object` with `StorageClass` override) or update the bucket\n  lifecycle policy. Drift between operator expectations (\"we restored\n  it, it's done\") and the lease model is the #1 DR-drill failure.\n\n## Quick navigation\n\n| Section | Purpose |\n|---|---|\n| Pre-flight gate | Validate object state, IAM perms, capacity |\n| Quick reference — restore tiers | Tier SLA matrix at a glance |\n| Tier selection decision tree | Match RTO to tier |\n| Step-by-step process | Pre-checks → restore → verify → cleanup |\n| Bulk restore via Batch Operations | Manifest-driven workflows |\n| STRICT output contract | Required VERDICT block schema |\n| NEVER (top 5) | Highest-blast-radius mistakes |\n| Expert heuristic | Field craft for ambiguous cases |\n| Edge-case handling | Stalls, expirations, versioning |\n| Remediation | Recover from mis-tiered or stalled restores |\n\n## Quick reference — restore tiers and SLAs\n\n| Source storage class | Available tiers | Tier SLA | Cost marker |\n|---|---|---|---|\n| Glacier Instant Retrieval (GIR) | (none — direct GetObject) | ms latency | retrieve free (pay per-GB retrieved already) |\n| Glacier Flexible Retrieval | Expedited | 1-5 min | highest |\n| Glacier Flexible Retrieval | Standard | 3-5 hr | medium |\n| Glacier Flexible Retrieval | Bulk | 5-12 hr | lowest |\n| Glacier Deep Archive | Standard | 12 hr | medium |\n| Glacier Deep Archive | Bulk | 48 hr | lowest |\n\nNotes:\n- **Expedited requires capacity.** Without provisioned capacity,\n  Expedited requests can be queued or rejected during demand peaks.\n  Provision 1+ capacity units per region for guaranteed Expedited.\n- **Deep Archive Standard is the FAST tier for Deep Archive** (12\n  hr). Bulk is 48 hr. Deep Archive does NOT support Expedited.\n- **Bulk is cheapest, slowest.** Use for non-urgent batch restores\n  (compliance export, monthly reporting).\n- **GIR restore is a misnomer** — GIR is directly readable. Calls\n  to `restore-object` on GIR are unnecessary.\n\n## Pre-flight: restore specification gate\n\nRun before producing the execution plan. Several requirements **block\nthe operation** — proceeding produces silent failures or unnecessary\nExpedited spend.\n\n**Live-account pre-flight checks (skip if doing offline plan\nauthoring):**\n1. Verify object storage class via `head-object`:\n   `aws s3api head-object --bucket \u003Cbucket> --key \u003Ckey> --query 'StorageClass'`\n   — confirms whether the object is actually archived (Glacier\n   Flexible Retrieval, Deep Archive) or already directly accessible\n   (Standard, Intelligent-Tiering, GIR, One-Zone IA).\n2. Verify the object is in `ArchiveStatus: ARCHIVE_ACCESS` or\n   `DEEP_ARCHIVE_ACCESS` (otherwise no restore needed).\n3. Verify IAM permissions for `s3:RestoreObject`, `s3:GetObject`,\n   `s3:HeadObject`, and (for copy-to-tier) `s3:PutObject` \u002F\n   `s3:CopyObject` \u002F `s3:AbortMultipartUpload`.\n4. For Expedited, verify provisioned capacity:\n   `aws s3control describe-job` is not the right call — use\n   `aws s3api list-buckets` and consult billing for current capacity\n   units (currently no direct CLI for capacity check; verify via\n   console or billing).\n5. For S3 Batch Operations, verify the manifest bucket, the\n   IAM role with `s3:RestoreObject` plus `iam:PassRole`, and the\n   report bucket all exist.\n6. For a DR drill, capture the current timestamp and the RTO target\n   for post-verification.\n\n| Attribute | Value | Effect on plan |\n|---|---|---|\n| StorageClass | Glacier Instant Retrieval | NO RESTORE NEEDED — direct GetObject works. |\n| StorageClass | Glacier Flexible Retrieval | Tier choice: Expedited \u002F Standard \u002F Bulk. |\n| StorageClass | Glacier Deep Archive | Tier choice: Standard (12hr) \u002F Bulk (48hr). NO Expedited. |\n| ArchiveStatus | ARCHIVE_ACCESS | Restore required. |\n| ArchiveStatus | DEEP_ARCHIVE_ACCESS | Restore required (Deep Archive). |\n| Restore field present | ongoing-request=\"false\", expiry-date=\u003Cdate> | Already restored; skip new restore. |\n| Restore field present | ongoing-request=\"true\" | Restore in progress; do NOT re-issue (resets wait clock). |\n| Target | in-place | RestoreObject with Days=N. |\n| Target | copy-to-bucket | RestoreObject then CopyObject. |\n| Target | copy-to-tier (promotion) | CopyObject with StorageClass override (no restore-object needed if source is GIR). |\n| Manifest size | >1000 objects | Use S3 Batch Operations, not inline loop. |\n\n**If the spec is incomplete** (missing bucket, key\u002Fmanifest, tier\nselection, or target destination), output:\n\n```text\nOPERATION: \u003Crestore-object | bulk-restore | check-status | diagnose>\nVERDICT: BLOCKED\nTARGET: \u003Cbucket\u002Fkey or unknown>\nREASON: Restore specification is missing required fields (\u003Clist>).\nCannot produce an execution plan without \u003Cfield> — the resulting\nrestore would either fail or incur unnecessary Expedited spend.\nREQUIRED:\n  - bucket\n  - key | prefix | manifest\n  - source_storage_class (Glacier Flexible Retrieval | Deep Archive |\n                           Glacier Instant Retrieval)\n  - tier (Expedited | Standard | Bulk)\n  - target (in-place | copy-to-bucket | copy-to-tier)\n  - days (for in-place restore; lease duration)\n```\n\n## Tier selection decision tree\n\n| RTO budget | Source class | Recommended tier | Cost marker |\n|---|---|---|---|\n| \u003C 5 min | Flexible Retrieval | Expedited (+ provisioned capacity) | highest |\n| \u003C 5 min | Deep Archive | NOT POSSIBLE — Deep Archive cannot be Expedited | n\u002Fa |\n| \u003C 5 min | Glacier Instant Retrieval | direct GetObject (no restore) | free |\n| \u003C 6 hr | Flexible Retrieval | Standard | medium |\n| \u003C 6 hr | Deep Archive | Standard (12 hr — EXCEEDS RTO; renegotiate) | medium |\n| \u003C 12 hr | Flexible Retrieval | Standard or Bulk | medium\u002Flow |\n| \u003C 12 hr | Deep Archive | Standard (12 hr) | medium |\n| \u003C 48 hr | Deep Archive | Bulk (48 hr) | lowest |\n| \u003C 12 hr | Flexible Retrieval | Bulk (5-12 hr) | lowest |\n\n**Expert heuristic:** if the RTO cannot accommodate the tier's\nmaximum SLA, BLOCK the operation. A 12-hour SLA tier is NOT a\n6-hour SLA tier; restoring and hoping is a guaranteed DR-drill\nfailure.\n\n## Process — Pre-checks → restore → verify (in order)\n\n### Step 0: Expert heuristic — field craft for ambiguous cases\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — field craft for ambiguous cases.\n### Step 1: Confirm source storage class and restore state\n\n```bash\naws s3api head-object --bucket \u003Cbucket> --key \u003Ckey> \\\n  --query '{StorageClass: StorageClass, ArchiveStatus: ArchiveStatus, Restore: Restore}'\n```\n\nInterpretation:\n- `StorageClass: GLACIER` (Flexible Retrieval, formerly GLACIER),\n  `DEEP_ARCHIVE`, or `GLACIER_IR`.\n- `ArchiveStatus: ARCHIVE_ACCESS` or `DEEP_ARCHIVE_ACCESS` → restore\n  is required.\n- `Restore: { ongoing-request: false, expiry-date: \u003Cdate> }` →\n  already restored; expires on `\u003Cdate>`.\n- `Restore: { ongoing-request: true }` → restore in progress.\n\n### Step 2: Select the tier (per the decision tree)\n\nMatch RTO to tier. Mismatches are the most common failure mode.\n\n### Step 3: Restore in place (single object)\n\n```bash\naws s3api restore-object \\\n  --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --restore-request '{\"Days\": 7, \"GlacierJobParameters\": {\"Tier\": \"Expedited\"}}'\n```\n\nFor Bulk on Flexible Retrieval:\n```bash\n--restore-request '{\"Days\": 30, \"GlacierJobParameters\": {\"Tier\": \"Bulk\"}}'\n```\n\nFor Deep Archive (Standard tier, 12hr):\n```bash\n--restore-request '{\"Days\": 30, \"GlacierJobParameters\": {\"Tier\": \"Standard\"}}'\n```\n\nNote: Deep Archive supports only `Standard` (12hr) and `Bulk` (48hr).\nExpedited on Deep Archive returns an error.\n\n### Step 4: Wait for restore completion\n\n```bash\naws s3api wait object-restored --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet\n```\n\nThe waiter polls `head-object` until `Restore.ongoing-request=false`.\nFor Bulk + Deep Archive, this can be 48 hours — set expectations.\n\n### Step 5: Read the restored object (or copy to a different tier)\n\n```bash\n# Read in place\naws s3api get-object --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \u002Ftmp\u002Frestored.parquet\n\n# Or copy to a hot tier for permanent promotion\naws s3api copy-object --bucket prod-hot-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --copy-source prod-archive-bucket\u002Fquarterly-report-2025-Q1.parquet \\\n  --storage-class STANDARD\n```\n\n### Step 6: Verify post-restore state\n\n```bash\naws s3api head-object --bucket prod-archive-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --query 'Restore'\n# Expected: ongoing-request=false, expiry-date populated\n```\n\nFor copy-to-tier:\n```bash\naws s3api head-object --bucket prod-hot-bucket \\\n  --key quarterly-report-2025-Q1.parquet \\\n  --query 'StorageClass'\n# Expected: STANDARD\n```\n\n### Step 7: Document the lease expiration\n\nCapture the `expiry-date` in the operation notes. Operators who\nassume a restore is permanent are surprised when access disappears\non day N+1.\n\n## Bulk restore via S3 Batch Operations\n\n→ Full B1-B4 procedure moved to [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md).\n## Restore in place vs copy to different tier\n\n| Decision | Use case |\n|---|---|\n| Restore in place (Days=N) | Temporary access — audit, investigation, one-off query. Object reverts to archive after N days. |\n| Copy to bucket | Move restored data to a working bucket while keeping the archive intact. |\n| Copy to tier (promotion) | Permanent migration out of archive — change storage class on the copy. Update lifecycle policy to prevent re-archival. |\n| Lifecycle policy update | Bulk promotion — modify the lifecycle rule that archived the object in the first place. |\n\n**Permanent promotion requires either a copy or a lifecycle-policy\nchange.** Restore-object alone never changes the object's storage\nclass permanently.\n\n## Lifecycle integration\n\n→ Moved to [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md).\n## Output format — STRICT output contract\n\nThe output MUST follow this exact schema. Every field is required;\ndo not omit fields or add undocumented ones.\n\n```text\nOPERATION: \u003Crestore-object | bulk-restore | check-status | diagnose | copy-to-tier>\nVERDICT: READY | BLOCKED | COMPLETED\nTARGET: \u003Cbucket\u002Fkey or job-id>\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. \u003CCLI command with flags populated>\n  2. \u003Cwait command>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nSTATE: \u003Crestore progress, job status, expiry date>\nNOTES: \u003Clease caveat, tier rationale, lifecycle interaction, RTO reconciliation>\n```\n\n### Worked example — single Expedited restore\n\n```text\nOPERATION: restore-object\nVERDICT: READY\nTARGET: prod-archive-bucket\u002Fquarterly-report-2025-Q1.parquet\nPRE_CHECKS:\n  - [PASS] head-object StorageClass: GLACIER (Flexible Retrieval)\n  - [PASS] ArchiveStatus: ARCHIVE_ACCESS (restore required)\n  - [PASS] Restore field absent (no in-progress restore)\n  - [PASS] Caller IAM role holds s3:RestoreObject, s3:GetObject\n  - [PASS] Provisioned capacity: 1 unit (guarantees Expedited)\n  - [PASS] RTO 5 min accommodated by Expedited (1-5 min SLA)\nSTEPS:\n  1. CONFIRM: About to restore-object prod-archive-bucket\u002F\n     quarterly-report-2025-Q1.parquet via Expedited tier (1-5 min\n     SLA). Restore window: 7 days. Provisioned capacity: 1 unit.\n     Proceed? (yes\u002Fno)\n  2. aws s3api restore-object --bucket prod-archive-bucket\n     --key quarterly-report-2025-Q1.parquet\n     --restore-request '{\"Days\":7,\"GlacierJobParameters\":{\"Tier\":\"Expedited\"}}'\n  3. aws s3api wait object-restored --bucket prod-archive-bucket\n     --key quarterly-report-2025-Q1.parquet\nPOST_VERIFY:\n  - [PASS] head-object Restore.ongoing-request: false\n  - [PASS] head-object Restore.expiry-date populated\nSTATE: restored — lease expires 2026-08-17T00:00:00Z\nNOTES:\n  - Restore is a temporary lease. Object reverts to Glacier Flexible\n    Retrieval on expiry-date. For permanent promotion, copy to\n    STANDARD via copy-object.\n```\n\n### Worked example — Batch Operations bulk restore\n\n→ Secondary example moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md); the single-object Expedited example above is primary.\n## Verification commands\n\n→ Command listing moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\n## Anti-Patterns — NEVER (top 5)\n\n- **NEVER call `restore-object` on a Glacier Instant Retrieval (GIR)\n  object.** GIR objects are directly readable via GetObject with\n  single-digit-ms latency. A restore call is a no-op (or an error\n  depending on bucket config). Always check `StorageClass` via\n  `head-object` before requesting a restore.\n\n- **NEVER request Expedited tier on a Deep Archive object.** Deep\n  Archive supports only Standard (12 hr) and Bulk (48 hr). Expedited\n  requests on Deep Archive return an error. The fastest Deep\n  Archive restore is 12 hours — never promise faster.\n\n- **NEVER assume `restore-object` returns a Job ID.** Only S3 Batch\n  Operations returns a Job ID. Single-object restores have no Job\n  ID; the only status source is the Restore field on the object's\n  metadata (`head-object`). Operators tracking a non-existent Job ID\n  waste hours searching for status.\n\n- **NEVER issue a second `restore-object` while one is in progress.**\n  Re-issuing resets the wait clock and can change the tier mid-flight.\n  Always check `head-object Restore.ongoing-request` first — if\n  `true`, wait for completion before issuing any new restore request.\n\n- **NEVER assume a restore is permanent.** Restore-object with\n  `Days=N` is a lease. The object reverts to archive on day N+1.\n  Permanent promotion requires a copy-object to a hot storage class\n  OR a lifecycle-policy update. DR drills that assume a restored\n  object stays restored fail when access disappears.\n\n## Additional NEVER\n\n- NEVER use on-demand Expedited for DR drills without provisioned\n  capacity. On-demand is best-effort and is rejected during demand\n  peaks — exactly when DR drills happen. Pre-provision capacity.\n- NEVER request Bulk when the RTO requires \u003C12 hr. Bulk SLA is\n  5-12 hr (Flexible) or 48 hr (Deep Archive). Use Standard or\n  Expedited instead.\n- NEVER update a lifecycle policy without checking which objects\n  will be affected. A broad `Transition` rule can re-archive\n  promoted objects, undoing the restore.\n- NEVER delete the manifest or report bucket mid-job. Batch\n  Operations reads the manifest continuously; the report is the\n  only audit trail for `NoSuchKey` failures.\n- NEVER treat `ongoing-request: false` as success — it only means\n  the restore is no longer in progress. Always verify `expiry-date`\n  is populated and the object is readable via `get-object`.\n- NEVER run Batch Operations with the management account's\n  credentials. Use a scoped IAM role (`s3:RestoreObject`,\n  `s3:GetObject`, `iam:PassRole` on the job role ARN).\n\n## Pre-flight safety checks\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing\n  operation (`restore-object`, `create-job`,\n  `put-bucket-lifecycle-configuration`), the operator MUST emit:\n  `CONFIRM: About to restore \u003Cbucket>\u002F\u003Ckey> via \u003Ctier> (SLA: \u003Cmin\n  to max>). Restore window: \u003CN> days. Estimated cost: \u003C$X>. Object\n  reverts to \u003Cstorage class> on expiry. Proceed? (yes\u002Fno)`\n\n- **Tier-vs-source-class compatibility.** Expedited only on\n  Flexible Retrieval. Standard on Flexible (3-5hr) and Deep Archive\n  (12hr). Bulk on Flexible (5-12hr) and Deep Archive (48hr). GIR\n  requires no restore.\n\n- **RTO reconciliation.** The maximum SLA for the chosen tier MUST\n  fit within the user's RTO budget. If not, BLOCK and renegotiate.\n\n- **Capacity check for Expedited.** Verify provisioned capacity\n  exists before promising an Expedited SLA. On-demand is\n  best-effort.\n\n- **Cost estimate.** Emit before any restore:\n  - Expedited retrieval: ~$0.03 per GB (highest)\n  - Standard retrieval: ~$0.01 per GB (Flexible), ~$0.02 per GB\n    (Deep Archive)\n  - Bulk retrieval: ~$0.0025 per GB (Flexible), ~$0.0025 per GB\n    (Deep Archive)\n  - Provisioned capacity: $100 per unit per month in the region\n  - Batch Operations: $0.25 per million tasks\n\n- **Lease expiration awareness.** Capture `expiry-date` in\n  post-verification. Operators who assume permanence are surprised\n  when access disappears.\n\n## Edge-case handling\n\n→ Edge-case catalog moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n## Remediation guidance\n\n→ Remediation deep dive moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n## Recent AWS features (2024-2026)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n## AWS documentation\n\n- **S3 Glacier Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fdev\u002Fglacier-restore.html\n- **RestoreObject API** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002FAPI\u002FAPI_RestoreObject.html\n- **S3 Storage Classes** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage-class-intro.html\n- **Glacier Instant Retrieval** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage-class-intro.html#sc-glacier\n- **S3 Batch Operations** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fbatch-ops.html\n- **Batch Operations restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fbatch-ops-restore-object.html\n- **Lifecycle configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fobject-lifecycle-mgmt.html\n- **Provisioned capacity** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Frestoring-objects-retrieval-options.html\n- **S3 Storage Lens** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fstorage_lens.html\n- **Pricing — S3** — https:\u002F\u002Faws.amazon.com\u002Fs3\u002Fpricing\u002F\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 field craft, edge-case catalog, recent AWS features.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (Batch Operations bulk restore).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — remediation guidance for BLOCKED\u002Fstalled\u002Funexpected cases.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — verification command listing.\n- [references\u002Frestore-tiers-and-provisioned-capacity.md](references\u002Frestore-tiers-and-provisioned-capacity.md) — pre-existing: tier SLA matrix.\n- [references\u002Fbatch-operations-and-lifecycle-integration.md](references\u002Fbatch-operations-and-lifecycle-integration.md) — pre-existing; extended with the B1-B4 bulk-restore procedure and lifecycle integration.\n\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":42},{"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,"requires_llm":37,"verdict_shape":38,"lifecycle_status":39,"invocation_schema":40,"supports_pipeline":37,"activation_triggers":41},"s3, storage, operate, glacier, restore, deep-archive, instant-retrieval, batch-operations, lifecycle, expedited, provisioned-capacity","4","Jacky Chan — AWS Community Builder","aws-cloudops","Storage","0.1.0","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","operate","high","false","capability","Restoring a single object, prefix, or manifest of objects from S3 Glacier Flexible Retrieval, Glacier Deep Archive, or Glacier Instant Retrieval; choosing between Expedited \u002F Standard \u002F 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.","true","READY | BLOCKED | COMPLETED","active","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 }.","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","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).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fs3-glacier-restore-operator",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":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill s3-glacier-restore-operator",{"tool":57,"command":58},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill s3-glacier-restore-operator",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill s3-glacier-restore-operator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6710,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Feval\u002Ftest-cases.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Fbaselines\u002Fbatch-ops-bulk-restore-ready.md",674,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fbaselines\u002Fbatch-ops-bulk-restore-ready.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Fbaselines\u002Fcompleted-single-restore-verified.md",463,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fbaselines\u002Fcompleted-single-restore-verified.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Fbaselines\u002Fdeep-archive-expedited-blocked.md",523,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fbaselines\u002Fdeep-archive-expedited-blocked.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"evals\u002Fbaselines\u002Fexpedited-single-object-ready.md",503,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fbaselines\u002Fexpedited-single-object-ready.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"evals\u002Fbaselines\u002Fglacier-instant-retrieval-no-restore-blocked.md",497,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fbaselines\u002Fglacier-instant-retrieval-no-restore-blocked.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"evals\u002Feval_config.yaml",1951,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Feval_config.yaml",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Fevals.json",4344,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fevals.json",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Fprompts\u002Fbatch-ops-bulk-restore-ready.md",1226,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fprompts\u002Fbatch-ops-bulk-restore-ready.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Fprompts\u002Fcompleted-single-restore-verified.md",755,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fprompts\u002Fcompleted-single-restore-verified.md",{"path":108,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":109,"sourceHtmlUrl":110},"evals\u002Fprompts\u002Fdeep-archive-expedited-blocked.md",760,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fprompts\u002Fdeep-archive-expedited-blocked.md",{"path":112,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":113,"sourceHtmlUrl":114},"evals\u002Fprompts\u002Fexpedited-single-object-ready.md",800,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fprompts\u002Fexpedited-single-object-ready.md",{"path":116,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":117,"sourceHtmlUrl":118},"evals\u002Fprompts\u002Fglacier-instant-retrieval-no-restore-blocked.md",780,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fevals\u002Fprompts\u002Fglacier-instant-retrieval-no-restore-blocked.md",{"path":120,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":121,"sourceHtmlUrl":122},"examples\u002FREADME.md",6277,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fexamples\u002FREADME.md",{"path":124,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fadvanced-patterns.md",4947,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Fadvanced-patterns.md",{"path":128,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Fbatch-operations-and-lifecycle-integration.md",9792,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Fbatch-operations-and-lifecycle-integration.md",{"path":132,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":133,"sourceHtmlUrl":134},"references\u002Fdiagnostic-commands.md",935,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Fdiagnostic-commands.md",{"path":136,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":137,"sourceHtmlUrl":138},"references\u002Ferror-handling.md",1281,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Ferror-handling.md",{"path":140,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":141,"sourceHtmlUrl":142},"references\u002Frestore-tiers-and-provisioned-capacity.md",4778,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Frestore-tiers-and-provisioned-capacity.md",{"path":144,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":145,"sourceHtmlUrl":146},"references\u002Fworked-examples.md",1195,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Freferences\u002Fworked-examples.md",{"path":148,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":149,"sourceHtmlUrl":150},"skill.usf.yaml",4706,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fs3-glacier-restore-operator\u002Fskill.usf.yaml",[152,159,166,173,180,187],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"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":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"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":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"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":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"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":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"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":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"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",[],[]]