[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AC4YA9AR6VWTEV3S4V6XC0":3,"skill-same:01M7AC4YA9AR6VWTEV3S4V6XC0":143},{"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},"01M7AC4YA9AR6VWTEV3S4V6XC0","sagemaker-endpoint-deployer",null,"Provisions SageMaker real-time, serverless, and asynchronous inference endpoints with production defaults: model creation (S3 artifact, container image), endpoint config (instance type, count, variant, weights), endpoint creation, auto-scaling on InvocationsPerInstance, data capture, model monitor (data quality, model quality, bias drift), A\u002FB testing (weighted variants), shadow testing, Serverless Inference, Asynchronous Inference, and JumpStart foundation model deployment. Emits a READY_TO_DEPLOY checklist with verification commands. Use when deploying a SageMaker endpoint, configuring auto-scaling, enabling data capture and model monitoring, setting up A\u002FB or shadow variants, or deploying JumpStart foundation models. Triggers: create SageMaker endpoint, deploy model, real-time inference, serverless inference, async inference, A\u002FB test, shadow deployment, data capture, model monitor, JumpStart.","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\u002Fsagemaker-endpoint-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sagemaker-endpoint-deployer\ndescription: 'Provisions SageMaker real-time, serverless, and asynchronous inference endpoints with production defaults: model creation (S3 artifact, container image), endpoint config (instance type, count, variant, weights), endpoint creation, auto-scaling on InvocationsPerInstance, data capture, model monitor (data quality, model quality, bias drift), A\u002FB testing (weighted variants), shadow testing, Serverless Inference, Asynchronous Inference, and JumpStart foundation model deployment. Emits a READY_TO_DEPLOY checklist with verification commands. Use when deploying a SageMaker endpoint, configuring auto-scaling, enabling data capture and model monitoring, setting up A\u002FB or shadow variants, or deploying JumpStart foundation models. Triggers: create SageMaker endpoint, deploy model, real-time inference, serverless inference, async inference, A\u002FB test, shadow deployment, data capture, model monitor, JumpStart.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with sagemaker, s3, iam, ec2, cloudwatch, and application-autoscaling access. Works with Terraform aws_sagemaker_model \u002F aws_sagemaker_endpoint_configuration \u002F aws_sagemaker_endpoint resources and CloudFormation AWS::SageMaker::Model \u002F EndpointConfig \u002F Endpoint templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: AI\u002FML\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  when_to_use: Invoke when the user wants to deploy a SageMaker inference endpoint (real-time, serverless, or asynchronous), configure auto-scaling on InvocationsPerInstance, enable data capture and model monitoring, set up A\u002FB testing or shadow variants, or deploy a JumpStart foundation model. Do NOT invoke for SageMaker training jobs, processing jobs, feature store, or model registry auditing.\n  activation_triggers: create sagemaker endpoint, deploy sagemaker model, real-time inference, serverless inference, asynchronous inference, sagemaker auto-scaling, data capture, model monitor, a\u002Fb testing variants, shadow deployment, jumpstart foundation model\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: aws, sagemaker, endpoint, inference, deploy, real-time, serverless inference, asynchronous inference, model deployment, auto-scaling, data capture, model monitor, a\u002Fb testing, shadow testing, jumpstart, foundation models, variant, invocations, container image, model artifact\n  tags: aws, sagemaker, inference, deploy, ai-ml, endpoint, auto-scaling, model-monitor, jumpstart, serverless-inference\n  dependencies: aws-orchestrator\n---\n\n# SageMaker Endpoint Deployer\n\n## What this skill does\n\nProvisions SageMaker inference endpoints with production-grade defaults\nacross three hosting modes (real-time, serverless, asynchronous). The\nskill walks the operator through model creation, endpoint configuration,\nauto-scaling, data capture, model monitoring, and traffic distribution\n(A\u002FB testing, shadow testing). Emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate SageMaker endpoint, deploy model, real-time inference, serverless\ninference, asynchronous inference, auto-scaling, InvocationsPerInstance,\ndata capture, model monitor, data quality, model quality, bias drift,\nA\u002FB testing, weighted variants, shadow testing, shadow variant, JumpStart,\nfoundation model, container image, inference code, S3 model artifact,\nexecution role.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a SageMaker-endpoint-provisioning request\n(model name, S3 artifact, container image, instance type, hosting mode,\nor a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the section \"Output format\" using the\nliteral all-caps labels `ENDPOINT:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\n## Mindset\n\n**One-line takeaway:** a SageMaker endpoint is a three-resource chain\n(Model -> EndpointConfig -> Endpoint) where the hosting mode\n(real-time vs serverless vs async) is decided at EndpointConfig creation\nand cannot be changed in place — switching modes requires a new config\nand endpoint update.\n\nThree misconceptions dominate SageMaker endpoint misdesign at provisioning\ntime:\n\n- **\"I can switch from real-time to serverless by updating the endpoint.\"**\n  The hosting mode is baked into the EndpointConfig via the\n  `ProductionVariants` (real-time\u002Fasync) vs `ServerlessConfig` (serverless)\n  structure. Switching modes requires creating a new EndpointConfig and\n  calling `update-endpoint` with the new config. There is no in-place\n  mode toggle.\n\n- **\"Auto-scaling is enabled by default.\"** It is NOT. A newly created\n  real-time endpoint runs at `InitialInstanceCount` with no scaling\n  policy. Without an auto-scaling policy on `InvocationsPerInstance`,\n  the endpoint either throttles under load (too few instances) or burns\n  cost at idle (too many). Auto-scaling must be registered explicitly via\n  Application Auto Scaling.\n\n- **\"Data capture and model monitoring are the same thing.\"** Data\n  capture (DataCaptureConfig) records incoming requests and outgoing\n  responses to S3. Model monitoring (MonitoringSchedule) analyzes that\n  captured data for drift, quality, and bias. Data capture is the\n  prerequisite; model monitoring consumes its output. Without data\n  capture, model monitoring has no data to evaluate.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Deployment checklist + hosting mode decision gate | Before any deployment |\n| **§ Mindset** | Three-resource chain, hosting mode immutability, auto-scaling gap | Understanding the model |\n| **§ Prerequisites** | S3 artifact, execution role, VPC, model registry | Before producing the plan |\n| **§ Hosting mode selection** | Real-time vs serverless vs async decision matrix | Choosing the right mode |\n| **§ Provisioning procedure** | 10-step deploy: model, config, endpoint, scaling, capture, monitor, A\u002FB, shadow, JumpStart | When building the deploy plan |\n| **§ Common patterns** | Boilerplate for real-time, serverless, async, A\u002FB, shadow | Boilerplate lookup |\n| **§ Output format** | Structured output template with VERDICT, CHECKLIST, VERIFICATION_COMMANDS | Formatting the response |\n| **§ STRICT output contract** | Required structure + FORBIDDEN patterns | Validating the output |\n| **§ NEVER** | Top 5 anti-patterns | Review before risky operations |\n| **§ Expert heuristic** | Instance selection + auto-scaling target strategy | Sizing decisions |\n\n## Quick reference — deployment checklist\n\n| Dimension | Requirement | Step |\n|---|---|---|\n| S3 model artifact | Compressed model data (`model.tar.gz`) in an S3 bucket | Step 1 |\n| Container image | Pre-built SageMaker DLC image or custom image in ECR | Step 1 |\n| Execution role | IAM role with SageMaker assume + S3 read + ECR pull | Step 1 |\n| Model creation | `create-model` referencing artifact + image + role | Step 2 |\n| Hosting mode | Real-time \u002F Serverless \u002F Async (decided at EndpointConfig) | Step 3 |\n| Instance type | Real-time: ml.c5\u002Fm5\u002Fg5\u002Fr5; GPU for deep learning | Step 3 |\n| Initial instance count | >= 2 for HA (different AZs) in production | Step 3 |\n| Variant name | Named variant for A\u002FB or shadow testing | Step 3 |\n| Endpoint creation | `create-endpoint` from EndpointConfig | Step 4 |\n| Auto-scaling | Target tracking on InvocationsPerInstance | Step 5 |\n| Data capture | Request\u002Fresponse to S3 with sampling percentage | Step 6 |\n| Model monitor | Data quality, model quality, bias drift schedules | Step 7 |\n| A\u002FB testing | Multiple variants with traffic weights | Step 8 |\n| Shadow testing | Shadow variant at 0% traffic receiving a copy | Step 9 |\n| JumpStart | Pre-trained foundation model deployment | Step 10 |\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If any\nare missing, the verdict is **PREREQUISITES_MISSING** with a specific gap\ncitation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with SageMaker access | Cannot provision without it | `aws sts get-caller-identity` |\n| Region selected | Instance availability varies by region; GPU types are limited | `aws configure get region` |\n| S3 model artifact (`model.tar.gz`) | The model data the container loads at startup | `aws s3 ls s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz` |\n| Container image URI (DLC or ECR) | The inference code that serves predictions | `aws ecr describe-images --repository-name \u003Crepo>` or DLC registry |\n| SageMaker execution role | Needs `sagemaker:CreateModel`, S3 read, ECR pull, KMS decrypt | `aws iam get-role --role-name \u003Cexecution-role>` |\n| VPC + subnets (for VPC-attached endpoints) | Private networking; S3\u002FGateway VPC endpoints | `aws ec2 describe-subnets` |\n| KMS key (for encryption at rest) | Endpoint config and data capture encryption | `aws kms describe-key --key-id \u003Ckey-id>` |\n| Model monitoring S3 bucket | Data capture destination + baseline constraints | `aws s3 ls s3:\u002F\u002F\u003Cmonitoring-bucket>` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Hosting mode selection (decide at EndpointConfig — not swappable in place)\n\n| Mode | Latency | Payload size | Auto-scaling | Use when |\n|---|---|---|---|---|\n| **Real-time** | Low (\u003C 1s typical) | \u003C 6 MB | Application Auto Scaling (InvocationsPerInstance) | Interactive inference, synchronous APIs, low-latency SLAs |\n| **Serverless** | Cold-start + low | \u003C 4 MB | Automatic (scale-to-zero) | Intermittent traffic, unpredictable workloads, cost optimization |\n| **Asynchronous** | Minutes (with S3) | Up to 256 MB S3 payload | Application Auto Scaling (ApproximateBacklogSizePerInstance) | Large payloads, long inference times (LLM generation, batch scoring) |\n\n**Immutability note:** the hosting mode is embedded in the EndpointConfig\nstructure (`ProductionVariants` for real-time\u002Fasync, `ServerlessConfig`\nfor serverless). Switching modes requires a new EndpointConfig and\n`update-endpoint`. Plan the mode before creating the config.\n\n## 10-step provisioning procedure\n\n### Step 1 — Model artifact, container image, and execution role\n\n**S3 model artifact:** package the trained model as `model.tar.gz`\ncontaining model weights and any inference code. Upload to S3.\n\n```bash\naws s3 cp model.tar.gz s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz\n```\n\n**Container image:** choose a SageMaker Deep Learning Container (DLC) or\na custom image in ECR.\n\n```bash\n# List available DLC images for your framework + region\naws ecr describe-images --registry-id 763104351884 \\\n  --repository-name pytorch-inference --region us-east-1 \\\n  --query 'sort_by(imageDetails,& imagePushedAt)[-5].imageTags'\n```\n\n**Execution role:** the SageMaker execution role needs:\n- Trust policy: `sagemaker.amazonaws.com`\n- Permissions: `s3:GetObject` on the model artifact bucket, `ecr:BatchGetImage`\n  on the container image, optionally `kms:Decrypt` for encrypted endpoints.\n\n```bash\naws iam get-role --role-name SageMakerExecutionRole \\\n  --query 'Role.Arn' --output text\n```\n\n### Step 2 — Create the model\n\nThe model resource binds the S3 artifact, container image, and execution\nrole. This is the first resource in the three-resource chain.\n\n```bash\naws sagemaker create-model \\\n  --model-name \u003Cmodel-name> \\\n  --primary-container Image=\u003Cimage-uri>,ModelDataUrl=s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz \\\n  --execution-role-arn arn:aws:iam::\u003Caccount-id>:role\u002FSageMakerExecutionRole \\\n  --vpc-config Subnets=subnet-aaa,subnet-bbb,SecurityGroupIds=sg-xxx\n```\n\n**VPC-attached endpoints:** for private networking, specify subnets and\nsecurity groups. The endpoint's VPC needs S3 and ECR VPC endpoints (or\nNAT gateway) to pull the model artifact and container image.\n\n### Step 3 — Endpoint config (hosting mode + instance selection)\n\nThe EndpointConfig defines the hosting mode, instance type, initial count,\nvariant name, and optionally data capture.\n\n**Real-time endpoint config:**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name> \\\n  --production-variants \\\n    VariantName=AllTraffic,ModelName=\u003Cmodel-name>,InstanceType=ml.c5.xlarge,InitialInstanceCount=2,InitialVariantWeight=1 \\\n  --data-capture-config \\\n    EnableCapture=true,InitialSamplingPercentage=100,DestinationS3Uri=s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F,CaptureOptions=[{CaptureMode=Input},{CaptureMode=Output}],CaptureContentTypeHeaders={CsvContentTypes=[text\u002Fcsv],JsonContentTypes=[application\u002Fjson]} \\\n  --kms-key-id arn:aws:kms:\u003Cregion>:\u003Caccount-id>:key\u002F\u003Ckey-id>\n```\n\n**Instance type selection guide:**\n\n| Workload | CPU instances | GPU instances | When to choose |\n|---|---|---|---|\n| Tabular \u002F classical ML | `ml.c5.xlarge` - `ml.c5.9xlarge` | n\u002Fa | XGBoost, sklearn, light payloads |\n| NLP (transformers, small) | `ml.c5.2xlarge` - `ml.c5.9xlarge` | `ml.g4dn.xlarge` - `ml.g4dn.12xlarge` | BERT-base, DistilBERT, token classification |\n| Computer vision | `ml.c5.4xlarge`+ | `ml.g5.xlarge` - `ml.g5.48xlarge` | ResNet, YOLO, image classification |\n| LLM inference | n\u002Fa (too slow) | `ml.g5.12xlarge` - `ml.g5.48xlarge`, `ml.inf2.xlarge` - `ml.inf2.48xlarge` | 7B-70B parameter models; inf2 for cost-efficient LLM |\n| High-throughput batch scoring | `ml.m5.4xlarge` - `ml.m5.24xlarge` | n\u002Fa | Batch transform or async inference |\n\n**Production HA rule:** `InitialInstanceCount` of at least 2. SageMaker\ndistributes instances across AZs within the region. A single-instance\nendpoint has no redundancy — an AZ failure takes the endpoint down.\n\n**Serverless endpoint config (different structure):**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name>-serverless \\\n  --serverless-config \\\n    ServerlessInferenceConfigName=AllTraffic,MaxConcurrency=10,MemorySizeInMB=2048,ProvisionedConcurrency=2\n```\n\nServerless inference does NOT use `ProductionVariants` or instance types.\nIt uses `MemorySizeInMB` (1024-6144) and `MaxConcurrency` (1-200).\n\n**Asynchronous endpoint config:**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name>-async \\\n  --production-variants \\\n    VariantName=AllTraffic,ModelName=\u003Cmodel-name>,InstanceType=ml.g5.xlarge,InitialInstanceCount=1 \\\n  --async-inference-config \\\n    OutputConfig=S3OutputPath=s3:\u002F\u002F\u003Casync-bucket>\u002Foutput\u002F,NotificationConfig=SuccessTopic=\u003Ctopic-arn>,ErrorTopic=\u003Cerror-topic-arn>,MaxConcurrentInvocationsPerInstance=4\n```\n\nAsynchronous endpoints queue requests via S3; results are written back to\nS3 with optional SNS notification. Supports `InstanceCount: 0` for\nscale-to-zero when idle.\n\n### Step 4 — Create the endpoint\n\n```bash\naws sagemaker create-endpoint \\\n  --endpoint-name \u003Cendpoint-name> \\\n  --endpoint-config-name \u003Cconfig-name>\n```\n\nEndpoint creation takes 5-15 minutes (container pull, model load, health\ncheck). Wait for `InService` status:\n\n```bash\naws sagemaker describe-endpoint --endpoint-name \u003Cendpoint-name> \\\n  --query 'EndpointStatus' --output text\n```\n\n### Step 5 — Auto-scaling (target tracking on InvocationsPerInstance)\n\nAuto-scaling is NOT enabled by default. A real-time endpoint without a\nscaling policy runs at a fixed instance count.\n\n```bash\n# Register the endpoint as a scalable target\naws application-autoscaling register-scalable-target \\\n  --service-namespace sagemaker \\\n  --resource-id endpoint\u002F\u003Cendpoint-name>\u002Fvariant\u002F\u003Cvariant-name> \\\n  --scalable-dimension sagemaker:variant:DesiredInstanceCount \\\n  --min-capacity 1 \\\n  --max-capacity 8\n\n# Apply target tracking policy on InvocationsPerInstance\naws application-autoscaling put-scaling-policy \\\n  --policy-name \u003Cendpoint-name>-scaling-policy \\\n  --service-namespace sagemaker \\\n  --resource-id endpoint\u002F\u003Cendpoint-name>\u002Fvariant\u002F\u003Cvariant-name> \\\n  --scalable-dimension sagemaker:variant:DesiredInstanceCount \\\n  --policy-type TargetTrackingScaling \\\n  --target-tracking-scaling-policy-configuration \\\n    TargetMetricType=SageMakerVariantInvocationsPerInstance,TargetValue=300,PredefinedMetricSpecification={PredefinedMetricType=SageMakerVariantInvocationsPerInstance},ScaleInCooldown=300,ScaleOutCooldown=60\n```\n\n**TargetValue tuning:** `InvocationsPerInstance` target depends on the\ninstance type and model latency. A target too high causes throttling\nunder burst; too low causes over-scaling. Monitor `Invocations` and\n`InvocationsPerInstance` CloudWatch metrics.\n\n**For async inference:** scale on `ApproximateBacklogSizePerInstance`\ninstead of `InvocationsPerInstance`. This metric tracks queue depth per\ninstance.\n\n**For serverless inference:** auto-scaling is built-in (scale-to-zero).\nNo Application Auto Scaling configuration needed.\n\n### Step 6 — Data capture (prerequisite for model monitoring)\n\nData capture records incoming requests and outgoing responses to S3.\nIt is configured in the EndpointConfig via `DataCaptureConfig`.\n\nKey parameters:\n- **EnableCapture:** `true` \u002F `false`\n- **InitialSamplingPercentage:** 0-100 (production: 10-50%; staging: 100%)\n- **DestinationS3Uri:** S3 prefix for captured data\n- **CaptureOptions:** `Input`, `Output` (or both)\n- **CaptureContentTypeHeaders:** `CsvContentTypes`, `JsonContentTypes`\n\n```bash\n# Data capture is set in create-endpoint-config (see Step 3)\n# Verify capture is flowing:\naws s3 ls s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F\u003Cendpoint-name>\u002FAllTraffic\u002F\n```\n\n**Common mistake:** setting `InitialSamplingPercentage: 100` in production\ndoubles inference latency for the capture write and fills S3 rapidly.\nUse 10-50% for production monitoring; 100% for pre-production validation.\n\n### Step 7 — Model monitoring (data quality, model quality, bias drift)\n\nModel Monitor runs scheduled analysis on captured data: data quality (drift\u002Fschema), model quality (accuracy vs ground truth), bias drift — all require data capture enabled first and a baseline generated from training data.\nFull schedule and baseline CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 8 — A\u002FB testing (multiple weighted variants)\n\nA\u002FB testing deploys multiple ProductionVariants with relative InitialVariantWeight (9:1 = 90%\u002F10%); shift weights via update-endpoint-weights-and-capacities; use the SAME instance type for all variants.\nFull config CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 9 — Shadow testing (shadow variant)\n\nShadow testing deploys a shadow-production-variants copy of live traffic; responses are discarded; enable data capture on both variants to compare offline.\nFull config CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 10 — Latest features: Serverless, Async, JumpStart foundation models\n\nLatest hosting options — Serverless (scale-to-zero, MemorySizeInMB\u002FMaxConcurrency), Asynchronous (S3 queue, 256 MB payloads, scale-to-zero), JumpStart foundation models (one-command deploy on DJL\u002FvLLM\u002FTGI containers).\nDetails and deploy commands live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Common patterns (boilerplate)\n\nBoilerplate CLI bundles — production real-time endpoint (auto-scaling + 20% capture + KMS), serverless endpoint, A\u002FB testing with two variants — live in [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nLoad that reference when assembling a copy-pasteable deploy sequence.\n\n## NEVER do these things (top 5)\n\n1. **NEVER deploy a production real-time endpoint with\n   `InitialInstanceCount: 1`.** A single-instance endpoint has no\n   redundancy — an AZ failure takes it down with zero failover. Use\n   at least 2 for production (SageMaker distributes across AZs).\n\n2. **NEVER omit auto-scaling on a real-time endpoint expecting variable\n   traffic.** Without a scaling policy on `InvocationsPerInstance`, the\n   endpoint runs at a fixed count. Under burst load it throttles (429s);\n   at idle it burns cost. Register the scalable target and apply a\n   target-tracking policy.\n\n3. **NEVER set `InitialSamplingPercentage: 100` for data capture in a\n   high-traffic production endpoint.** 100% capture doubles the\n   inference path latency (synchronous write to S3) and fills S3\n   rapidly. Use 10-50% for production monitoring; 100% only for\n   pre-production validation.\n\n4. **NEVER use different instance types for A\u002FB testing variants.**\n   Differing hardware confounds the model comparison — latency or\n   throughput differences may come from the instance, not the model.\n   Use the same instance type for all variants in an A\u002FB test.\n\n5. **NEVER try to switch hosting modes by updating the endpoint\n   in place.** The hosting mode (real-time \u002F serverless \u002F async) is\n   embedded in the EndpointConfig structure (`ProductionVariants` vs\n   `ServerlessConfig`). Switching modes requires creating a new\n   EndpointConfig and calling `update-endpoint` with the new config.\n\n## Expert heuristic: instance selection and auto-scaling target\n\nInstance-selection and auto-scaling TargetValue decision trees — CPU\u002FGPU\u002FLLM sizing, TargetValue = capacity x utilization (50 ms model on c5.xlarge -> TargetValue=14), cooldown guidance.\nFull trees live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Output format\n\n```text\nENDPOINT: \u003Cendpoint-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Model: \u003Cmodel-name> (S3 artifact: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz)\n  [✓|✗] Container image: \u003Cimage-uri> (DLC | custom ECR)\n  [✓|✗] Execution role: \u003Crole-arn> (S3 read + ECR pull + KMS decrypt)\n  [✓|✗] Hosting mode: \u003Creal-time | serverless | asynchronous>\n  [✓|✗] Instance type: \u003Cml.c5.xlarge> (CPU) | \u003Cml.g5.xlarge> (GPU) | serverless (Memory=\u003CMB>)\n  [✓|✗] Initial instance count: \u003CN> (>=2 for HA if real-time production)\n  [✓|✗] Variant: \u003Cvariant-name> (InitialVariantWeight: \u003Cweight>)\n  [✓|✗] Encryption: KMS \u003Ckey-arn>\n  [✓|✗] Auto-scaling: target=\u003CInvocationsPerInstance|ApproximateBacklogSizePerInstance>, TargetValue=\u003CN>, min=\u003CN>, max=\u003CN> | Serverless (built-in)\n  [✓|✗] Data capture: Enabled, sampling=\u003CN>%, destination=s3:\u002F\u002F\u003Ccapture-bucket>\u002F\n  [✓|✗] Model monitor: \u003Cdata quality | model quality | bias drift> schedule=\u003Cinterval> | Disabled\n  [✓|✗] A\u002FB testing: \u003Cvariants and weights> | Single variant\n  [✓|✗] Shadow testing: \u003Cshadow variant> | None\n  [✓|✗] VPC config: \u003Csubnet-ids, sg-ids> | Public\n  [✓|✗] Tags: \u003Clist>\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-endpoint --endpoint-name \u003Cendpoint-name>\n  aws sagemaker describe-endpoint-config --endpoint-config-name \u003Cconfig-name>\n  aws sagemaker describe-model --model-name \u003Cmodel-name>\n  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker\n  aws s3 ls s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F\u003Cendpoint-name>\u002FAllTraffic\u002F\n```\n\n### Worked example — real-time endpoint with auto-scaling and monitoring\n\n```text\nENDPOINT: prod-recommendation\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Model: prod-recommendation-model (S3: s3:\u002F\u002Fml-artifacts\u002Fmodels\u002Frecommendation\u002Fmodel.tar.gz)\n  [✓] Container image: 763104351884.dkr.ecr.us-east-1.amazonaws.com\u002Fpytorch-inference:2.1.0-cpu-py310 (DLC)\n  [✓] Execution role: arn:aws:iam::123456789012:role\u002FSageMakerExecutionRole\n  [✓] Hosting mode: real-time\n  [✓] Instance type: ml.c5.xlarge (CPU, tabular recommendation model)\n  [✓] Initial instance count: 2 (HA across 2 AZs)\n  [✓] Variant: AllTraffic (InitialVariantWeight: 1)\n  [✓] Encryption: KMS arn:aws:kms:us-east-1:123456789012:key\u002Fabc-123\n  [✓] Auto-scaling: target=InvocationsPerInstance, TargetValue=14, min=2, max=8\n  [✓] Data capture: Enabled, sampling=20%, destination=s3:\u002F\u002Fsagemaker-captures-prod\u002Frecommendation\u002F\n  [✓] Model monitor: data quality schedule=hourly | model quality=disabled | bias drift=disabled\n  [✓] A\u002FB testing: Single variant\n  [✓] Shadow testing: None\n  [✓] VPC config: subnet-aaa, subnet-bbb, sg-xxx\n  [✓] Tags: Environment=production, Workload=recommendation, Team=ml-platform\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-endpoint --endpoint-name prod-recommendation\n  aws sagemaker describe-endpoint-config --endpoint-config-name prod-recommendation-config\n  aws sagemaker describe-model --model-name prod-recommendation-model\n  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker --resource-id endpoint\u002Fprod-recommendation\u002Fvariant\u002FAllTraffic\n  aws s3 ls s3:\u002F\u002Fsagemaker-captures-prod\u002Frecommendation\u002Fprod-recommendation\u002FAllTraffic\u002F\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nENDPOINT: \u003Cendpoint-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] \u003Ccheck description>\nVERIFICATION_COMMANDS:\n  \u003Caws sagemaker \u002F application-autoscaling \u002F s3 commands>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with conversational preamble. The ENDPOINT\u002FVERDICT block\n  is the FIRST line, always. Use uppercase verdict values only\n  (`READY_TO_DEPLOY`, `PREREQUISITES_MISSING`).\n- NEVER omit the CHECKLIST — every dimension (model, image, role, hosting\n  mode, instance type, instance count, variant, encryption, auto-scaling,\n  data capture, model monitor, A\u002FB, shadow, VPC, tags) must appear with\n  a pass\u002Ffail marker.\n- NEVER recommend a single-instance real-time endpoint for production\n  without flagging it as a WARN finding (no HA, AZ failure = outage).\n- NEVER list a CLI command with placeholder flags in a READY_TO_DEPLOY\n  plan — every flag must be populated with actual values from the input.\n- NEVER recommend serverless inference for a latency-sensitive workload\n  without flagging the cold-start risk.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features 2024-2026 — Serverless\u002FAsync GA tips, JumpStart containers, ml.inf2 + Neuron, 15-minute monitoring schedules, shadow variants, AWQ\u002FGPTQ quantization — live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad when choosing instances or containers for new deployments.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — boilerplate patterns: production real-time endpoint, serverless endpoint, A\u002FB testing\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — model monitoring, A\u002FB and shadow procedures, serverless\u002Fasync\u002FJumpStart, instance-selection and auto-scaling heuristics, recent AWS features\n- [references\u002Finstance-types-and-hosting-modes.md](references\u002Finstance-types-and-hosting-modes.md) — hosting mode matrix, CPU\u002FGPU\u002FInferentia instance tables\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full copy-pasteable CLI sequence for all 10 provisioning steps\n\n## Domain\n\nAWS CloudOps \u002F SageMaker Inference Endpoint Provisioning, Auto-Scaling,\nData Capture, and Model Monitoring.\n\n## AWS documentation\n\n- **SageMaker Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frealtime-endpoints.html\n- **Deploy Models for Real-Time Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frealtime-endpoints-deployment.html\n- **Serverless Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fserverless-endpoint.html\n- **Asynchronous Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fasync-inference-endpoint.html\n- **Auto-Scaling SageMaker Endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fendpoint-scaling.html\n- **Data Capture and Model Monitor** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-monitor.html\n- **A\u002FB Testing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-ab-testing.html\n- **Shadow Testing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fshadow-tests.html\n- **SageMaker JumpStart** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fstudio-jumpstart.html\n- **Inferentia2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdlami\u002Flatest\u002Fdevguide\u002Ftutorial-inferentia2.html\n","# SageMaker Endpoint Deployer\n\n## What this skill does\n\nProvisions SageMaker inference endpoints with production-grade defaults\nacross three hosting modes (real-time, serverless, asynchronous). The\nskill walks the operator through model creation, endpoint configuration,\nauto-scaling, data capture, model monitoring, and traffic distribution\n(A\u002FB testing, shadow testing). Emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate SageMaker endpoint, deploy model, real-time inference, serverless\ninference, asynchronous inference, auto-scaling, InvocationsPerInstance,\ndata capture, model monitor, data quality, model quality, bias drift,\nA\u002FB testing, weighted variants, shadow testing, shadow variant, JumpStart,\nfoundation model, container image, inference code, S3 model artifact,\nexecution role.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a SageMaker-endpoint-provisioning request\n(model name, S3 artifact, container image, instance type, hosting mode,\nor a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the section \"Output format\" using the\nliteral all-caps labels `ENDPOINT:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\n## Mindset\n\n**One-line takeaway:** a SageMaker endpoint is a three-resource chain\n(Model -> EndpointConfig -> Endpoint) where the hosting mode\n(real-time vs serverless vs async) is decided at EndpointConfig creation\nand cannot be changed in place — switching modes requires a new config\nand endpoint update.\n\nThree misconceptions dominate SageMaker endpoint misdesign at provisioning\ntime:\n\n- **\"I can switch from real-time to serverless by updating the endpoint.\"**\n  The hosting mode is baked into the EndpointConfig via the\n  `ProductionVariants` (real-time\u002Fasync) vs `ServerlessConfig` (serverless)\n  structure. Switching modes requires creating a new EndpointConfig and\n  calling `update-endpoint` with the new config. There is no in-place\n  mode toggle.\n\n- **\"Auto-scaling is enabled by default.\"** It is NOT. A newly created\n  real-time endpoint runs at `InitialInstanceCount` with no scaling\n  policy. Without an auto-scaling policy on `InvocationsPerInstance`,\n  the endpoint either throttles under load (too few instances) or burns\n  cost at idle (too many). Auto-scaling must be registered explicitly via\n  Application Auto Scaling.\n\n- **\"Data capture and model monitoring are the same thing.\"** Data\n  capture (DataCaptureConfig) records incoming requests and outgoing\n  responses to S3. Model monitoring (MonitoringSchedule) analyzes that\n  captured data for drift, quality, and bias. Data capture is the\n  prerequisite; model monitoring consumes its output. Without data\n  capture, model monitoring has no data to evaluate.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Deployment checklist + hosting mode decision gate | Before any deployment |\n| **§ Mindset** | Three-resource chain, hosting mode immutability, auto-scaling gap | Understanding the model |\n| **§ Prerequisites** | S3 artifact, execution role, VPC, model registry | Before producing the plan |\n| **§ Hosting mode selection** | Real-time vs serverless vs async decision matrix | Choosing the right mode |\n| **§ Provisioning procedure** | 10-step deploy: model, config, endpoint, scaling, capture, monitor, A\u002FB, shadow, JumpStart | When building the deploy plan |\n| **§ Common patterns** | Boilerplate for real-time, serverless, async, A\u002FB, shadow | Boilerplate lookup |\n| **§ Output format** | Structured output template with VERDICT, CHECKLIST, VERIFICATION_COMMANDS | Formatting the response |\n| **§ STRICT output contract** | Required structure + FORBIDDEN patterns | Validating the output |\n| **§ NEVER** | Top 5 anti-patterns | Review before risky operations |\n| **§ Expert heuristic** | Instance selection + auto-scaling target strategy | Sizing decisions |\n\n## Quick reference — deployment checklist\n\n| Dimension | Requirement | Step |\n|---|---|---|\n| S3 model artifact | Compressed model data (`model.tar.gz`) in an S3 bucket | Step 1 |\n| Container image | Pre-built SageMaker DLC image or custom image in ECR | Step 1 |\n| Execution role | IAM role with SageMaker assume + S3 read + ECR pull | Step 1 |\n| Model creation | `create-model` referencing artifact + image + role | Step 2 |\n| Hosting mode | Real-time \u002F Serverless \u002F Async (decided at EndpointConfig) | Step 3 |\n| Instance type | Real-time: ml.c5\u002Fm5\u002Fg5\u002Fr5; GPU for deep learning | Step 3 |\n| Initial instance count | >= 2 for HA (different AZs) in production | Step 3 |\n| Variant name | Named variant for A\u002FB or shadow testing | Step 3 |\n| Endpoint creation | `create-endpoint` from EndpointConfig | Step 4 |\n| Auto-scaling | Target tracking on InvocationsPerInstance | Step 5 |\n| Data capture | Request\u002Fresponse to S3 with sampling percentage | Step 6 |\n| Model monitor | Data quality, model quality, bias drift schedules | Step 7 |\n| A\u002FB testing | Multiple variants with traffic weights | Step 8 |\n| Shadow testing | Shadow variant at 0% traffic receiving a copy | Step 9 |\n| JumpStart | Pre-trained foundation model deployment | Step 10 |\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If any\nare missing, the verdict is **PREREQUISITES_MISSING** with a specific gap\ncitation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with SageMaker access | Cannot provision without it | `aws sts get-caller-identity` |\n| Region selected | Instance availability varies by region; GPU types are limited | `aws configure get region` |\n| S3 model artifact (`model.tar.gz`) | The model data the container loads at startup | `aws s3 ls s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz` |\n| Container image URI (DLC or ECR) | The inference code that serves predictions | `aws ecr describe-images --repository-name \u003Crepo>` or DLC registry |\n| SageMaker execution role | Needs `sagemaker:CreateModel`, S3 read, ECR pull, KMS decrypt | `aws iam get-role --role-name \u003Cexecution-role>` |\n| VPC + subnets (for VPC-attached endpoints) | Private networking; S3\u002FGateway VPC endpoints | `aws ec2 describe-subnets` |\n| KMS key (for encryption at rest) | Endpoint config and data capture encryption | `aws kms describe-key --key-id \u003Ckey-id>` |\n| Model monitoring S3 bucket | Data capture destination + baseline constraints | `aws s3 ls s3:\u002F\u002F\u003Cmonitoring-bucket>` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Hosting mode selection (decide at EndpointConfig — not swappable in place)\n\n| Mode | Latency | Payload size | Auto-scaling | Use when |\n|---|---|---|---|---|\n| **Real-time** | Low (\u003C 1s typical) | \u003C 6 MB | Application Auto Scaling (InvocationsPerInstance) | Interactive inference, synchronous APIs, low-latency SLAs |\n| **Serverless** | Cold-start + low | \u003C 4 MB | Automatic (scale-to-zero) | Intermittent traffic, unpredictable workloads, cost optimization |\n| **Asynchronous** | Minutes (with S3) | Up to 256 MB S3 payload | Application Auto Scaling (ApproximateBacklogSizePerInstance) | Large payloads, long inference times (LLM generation, batch scoring) |\n\n**Immutability note:** the hosting mode is embedded in the EndpointConfig\nstructure (`ProductionVariants` for real-time\u002Fasync, `ServerlessConfig`\nfor serverless). Switching modes requires a new EndpointConfig and\n`update-endpoint`. Plan the mode before creating the config.\n\n## 10-step provisioning procedure\n\n### Step 1 — Model artifact, container image, and execution role\n\n**S3 model artifact:** package the trained model as `model.tar.gz`\ncontaining model weights and any inference code. Upload to S3.\n\n```bash\naws s3 cp model.tar.gz s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz\n```\n\n**Container image:** choose a SageMaker Deep Learning Container (DLC) or\na custom image in ECR.\n\n```bash\n# List available DLC images for your framework + region\naws ecr describe-images --registry-id 763104351884 \\\n  --repository-name pytorch-inference --region us-east-1 \\\n  --query 'sort_by(imageDetails,& imagePushedAt)[-5].imageTags'\n```\n\n**Execution role:** the SageMaker execution role needs:\n- Trust policy: `sagemaker.amazonaws.com`\n- Permissions: `s3:GetObject` on the model artifact bucket, `ecr:BatchGetImage`\n  on the container image, optionally `kms:Decrypt` for encrypted endpoints.\n\n```bash\naws iam get-role --role-name SageMakerExecutionRole \\\n  --query 'Role.Arn' --output text\n```\n\n### Step 2 — Create the model\n\nThe model resource binds the S3 artifact, container image, and execution\nrole. This is the first resource in the three-resource chain.\n\n```bash\naws sagemaker create-model \\\n  --model-name \u003Cmodel-name> \\\n  --primary-container Image=\u003Cimage-uri>,ModelDataUrl=s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz \\\n  --execution-role-arn arn:aws:iam::\u003Caccount-id>:role\u002FSageMakerExecutionRole \\\n  --vpc-config Subnets=subnet-aaa,subnet-bbb,SecurityGroupIds=sg-xxx\n```\n\n**VPC-attached endpoints:** for private networking, specify subnets and\nsecurity groups. The endpoint's VPC needs S3 and ECR VPC endpoints (or\nNAT gateway) to pull the model artifact and container image.\n\n### Step 3 — Endpoint config (hosting mode + instance selection)\n\nThe EndpointConfig defines the hosting mode, instance type, initial count,\nvariant name, and optionally data capture.\n\n**Real-time endpoint config:**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name> \\\n  --production-variants \\\n    VariantName=AllTraffic,ModelName=\u003Cmodel-name>,InstanceType=ml.c5.xlarge,InitialInstanceCount=2,InitialVariantWeight=1 \\\n  --data-capture-config \\\n    EnableCapture=true,InitialSamplingPercentage=100,DestinationS3Uri=s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F,CaptureOptions=[{CaptureMode=Input},{CaptureMode=Output}],CaptureContentTypeHeaders={CsvContentTypes=[text\u002Fcsv],JsonContentTypes=[application\u002Fjson]} \\\n  --kms-key-id arn:aws:kms:\u003Cregion>:\u003Caccount-id>:key\u002F\u003Ckey-id>\n```\n\n**Instance type selection guide:**\n\n| Workload | CPU instances | GPU instances | When to choose |\n|---|---|---|---|\n| Tabular \u002F classical ML | `ml.c5.xlarge` - `ml.c5.9xlarge` | n\u002Fa | XGBoost, sklearn, light payloads |\n| NLP (transformers, small) | `ml.c5.2xlarge` - `ml.c5.9xlarge` | `ml.g4dn.xlarge` - `ml.g4dn.12xlarge` | BERT-base, DistilBERT, token classification |\n| Computer vision | `ml.c5.4xlarge`+ | `ml.g5.xlarge` - `ml.g5.48xlarge` | ResNet, YOLO, image classification |\n| LLM inference | n\u002Fa (too slow) | `ml.g5.12xlarge` - `ml.g5.48xlarge`, `ml.inf2.xlarge` - `ml.inf2.48xlarge` | 7B-70B parameter models; inf2 for cost-efficient LLM |\n| High-throughput batch scoring | `ml.m5.4xlarge` - `ml.m5.24xlarge` | n\u002Fa | Batch transform or async inference |\n\n**Production HA rule:** `InitialInstanceCount` of at least 2. SageMaker\ndistributes instances across AZs within the region. A single-instance\nendpoint has no redundancy — an AZ failure takes the endpoint down.\n\n**Serverless endpoint config (different structure):**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name>-serverless \\\n  --serverless-config \\\n    ServerlessInferenceConfigName=AllTraffic,MaxConcurrency=10,MemorySizeInMB=2048,ProvisionedConcurrency=2\n```\n\nServerless inference does NOT use `ProductionVariants` or instance types.\nIt uses `MemorySizeInMB` (1024-6144) and `MaxConcurrency` (1-200).\n\n**Asynchronous endpoint config:**\n\n```bash\naws sagemaker create-endpoint-config \\\n  --endpoint-config-name \u003Cconfig-name>-async \\\n  --production-variants \\\n    VariantName=AllTraffic,ModelName=\u003Cmodel-name>,InstanceType=ml.g5.xlarge,InitialInstanceCount=1 \\\n  --async-inference-config \\\n    OutputConfig=S3OutputPath=s3:\u002F\u002F\u003Casync-bucket>\u002Foutput\u002F,NotificationConfig=SuccessTopic=\u003Ctopic-arn>,ErrorTopic=\u003Cerror-topic-arn>,MaxConcurrentInvocationsPerInstance=4\n```\n\nAsynchronous endpoints queue requests via S3; results are written back to\nS3 with optional SNS notification. Supports `InstanceCount: 0` for\nscale-to-zero when idle.\n\n### Step 4 — Create the endpoint\n\n```bash\naws sagemaker create-endpoint \\\n  --endpoint-name \u003Cendpoint-name> \\\n  --endpoint-config-name \u003Cconfig-name>\n```\n\nEndpoint creation takes 5-15 minutes (container pull, model load, health\ncheck). Wait for `InService` status:\n\n```bash\naws sagemaker describe-endpoint --endpoint-name \u003Cendpoint-name> \\\n  --query 'EndpointStatus' --output text\n```\n\n### Step 5 — Auto-scaling (target tracking on InvocationsPerInstance)\n\nAuto-scaling is NOT enabled by default. A real-time endpoint without a\nscaling policy runs at a fixed instance count.\n\n```bash\n# Register the endpoint as a scalable target\naws application-autoscaling register-scalable-target \\\n  --service-namespace sagemaker \\\n  --resource-id endpoint\u002F\u003Cendpoint-name>\u002Fvariant\u002F\u003Cvariant-name> \\\n  --scalable-dimension sagemaker:variant:DesiredInstanceCount \\\n  --min-capacity 1 \\\n  --max-capacity 8\n\n# Apply target tracking policy on InvocationsPerInstance\naws application-autoscaling put-scaling-policy \\\n  --policy-name \u003Cendpoint-name>-scaling-policy \\\n  --service-namespace sagemaker \\\n  --resource-id endpoint\u002F\u003Cendpoint-name>\u002Fvariant\u002F\u003Cvariant-name> \\\n  --scalable-dimension sagemaker:variant:DesiredInstanceCount \\\n  --policy-type TargetTrackingScaling \\\n  --target-tracking-scaling-policy-configuration \\\n    TargetMetricType=SageMakerVariantInvocationsPerInstance,TargetValue=300,PredefinedMetricSpecification={PredefinedMetricType=SageMakerVariantInvocationsPerInstance},ScaleInCooldown=300,ScaleOutCooldown=60\n```\n\n**TargetValue tuning:** `InvocationsPerInstance` target depends on the\ninstance type and model latency. A target too high causes throttling\nunder burst; too low causes over-scaling. Monitor `Invocations` and\n`InvocationsPerInstance` CloudWatch metrics.\n\n**For async inference:** scale on `ApproximateBacklogSizePerInstance`\ninstead of `InvocationsPerInstance`. This metric tracks queue depth per\ninstance.\n\n**For serverless inference:** auto-scaling is built-in (scale-to-zero).\nNo Application Auto Scaling configuration needed.\n\n### Step 6 — Data capture (prerequisite for model monitoring)\n\nData capture records incoming requests and outgoing responses to S3.\nIt is configured in the EndpointConfig via `DataCaptureConfig`.\n\nKey parameters:\n- **EnableCapture:** `true` \u002F `false`\n- **InitialSamplingPercentage:** 0-100 (production: 10-50%; staging: 100%)\n- **DestinationS3Uri:** S3 prefix for captured data\n- **CaptureOptions:** `Input`, `Output` (or both)\n- **CaptureContentTypeHeaders:** `CsvContentTypes`, `JsonContentTypes`\n\n```bash\n# Data capture is set in create-endpoint-config (see Step 3)\n# Verify capture is flowing:\naws s3 ls s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F\u003Cendpoint-name>\u002FAllTraffic\u002F\n```\n\n**Common mistake:** setting `InitialSamplingPercentage: 100` in production\ndoubles inference latency for the capture write and fills S3 rapidly.\nUse 10-50% for production monitoring; 100% for pre-production validation.\n\n### Step 7 — Model monitoring (data quality, model quality, bias drift)\n\nModel Monitor runs scheduled analysis on captured data: data quality (drift\u002Fschema), model quality (accuracy vs ground truth), bias drift — all require data capture enabled first and a baseline generated from training data.\nFull schedule and baseline CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 8 — A\u002FB testing (multiple weighted variants)\n\nA\u002FB testing deploys multiple ProductionVariants with relative InitialVariantWeight (9:1 = 90%\u002F10%); shift weights via update-endpoint-weights-and-capacities; use the SAME instance type for all variants.\nFull config CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 9 — Shadow testing (shadow variant)\n\nShadow testing deploys a shadow-production-variants copy of live traffic; responses are discarded; enable data capture on both variants to compare offline.\nFull config CLI live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 10 — Latest features: Serverless, Async, JumpStart foundation models\n\nLatest hosting options — Serverless (scale-to-zero, MemorySizeInMB\u002FMaxConcurrency), Asynchronous (S3 queue, 256 MB payloads, scale-to-zero), JumpStart foundation models (one-command deploy on DJL\u002FvLLM\u002FTGI containers).\nDetails and deploy commands live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Common patterns (boilerplate)\n\nBoilerplate CLI bundles — production real-time endpoint (auto-scaling + 20% capture + KMS), serverless endpoint, A\u002FB testing with two variants — live in [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nLoad that reference when assembling a copy-pasteable deploy sequence.\n\n## NEVER do these things (top 5)\n\n1. **NEVER deploy a production real-time endpoint with\n   `InitialInstanceCount: 1`.** A single-instance endpoint has no\n   redundancy — an AZ failure takes it down with zero failover. Use\n   at least 2 for production (SageMaker distributes across AZs).\n\n2. **NEVER omit auto-scaling on a real-time endpoint expecting variable\n   traffic.** Without a scaling policy on `InvocationsPerInstance`, the\n   endpoint runs at a fixed count. Under burst load it throttles (429s);\n   at idle it burns cost. Register the scalable target and apply a\n   target-tracking policy.\n\n3. **NEVER set `InitialSamplingPercentage: 100` for data capture in a\n   high-traffic production endpoint.** 100% capture doubles the\n   inference path latency (synchronous write to S3) and fills S3\n   rapidly. Use 10-50% for production monitoring; 100% only for\n   pre-production validation.\n\n4. **NEVER use different instance types for A\u002FB testing variants.**\n   Differing hardware confounds the model comparison — latency or\n   throughput differences may come from the instance, not the model.\n   Use the same instance type for all variants in an A\u002FB test.\n\n5. **NEVER try to switch hosting modes by updating the endpoint\n   in place.** The hosting mode (real-time \u002F serverless \u002F async) is\n   embedded in the EndpointConfig structure (`ProductionVariants` vs\n   `ServerlessConfig`). Switching modes requires creating a new\n   EndpointConfig and calling `update-endpoint` with the new config.\n\n## Expert heuristic: instance selection and auto-scaling target\n\nInstance-selection and auto-scaling TargetValue decision trees — CPU\u002FGPU\u002FLLM sizing, TargetValue = capacity x utilization (50 ms model on c5.xlarge -> TargetValue=14), cooldown guidance.\nFull trees live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Output format\n\n```text\nENDPOINT: \u003Cendpoint-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Model: \u003Cmodel-name> (S3 artifact: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\u002Fmodel.tar.gz)\n  [✓|✗] Container image: \u003Cimage-uri> (DLC | custom ECR)\n  [✓|✗] Execution role: \u003Crole-arn> (S3 read + ECR pull + KMS decrypt)\n  [✓|✗] Hosting mode: \u003Creal-time | serverless | asynchronous>\n  [✓|✗] Instance type: \u003Cml.c5.xlarge> (CPU) | \u003Cml.g5.xlarge> (GPU) | serverless (Memory=\u003CMB>)\n  [✓|✗] Initial instance count: \u003CN> (>=2 for HA if real-time production)\n  [✓|✗] Variant: \u003Cvariant-name> (InitialVariantWeight: \u003Cweight>)\n  [✓|✗] Encryption: KMS \u003Ckey-arn>\n  [✓|✗] Auto-scaling: target=\u003CInvocationsPerInstance|ApproximateBacklogSizePerInstance>, TargetValue=\u003CN>, min=\u003CN>, max=\u003CN> | Serverless (built-in)\n  [✓|✗] Data capture: Enabled, sampling=\u003CN>%, destination=s3:\u002F\u002F\u003Ccapture-bucket>\u002F\n  [✓|✗] Model monitor: \u003Cdata quality | model quality | bias drift> schedule=\u003Cinterval> | Disabled\n  [✓|✗] A\u002FB testing: \u003Cvariants and weights> | Single variant\n  [✓|✗] Shadow testing: \u003Cshadow variant> | None\n  [✓|✗] VPC config: \u003Csubnet-ids, sg-ids> | Public\n  [✓|✗] Tags: \u003Clist>\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-endpoint --endpoint-name \u003Cendpoint-name>\n  aws sagemaker describe-endpoint-config --endpoint-config-name \u003Cconfig-name>\n  aws sagemaker describe-model --model-name \u003Cmodel-name>\n  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker\n  aws s3 ls s3:\u002F\u002F\u003Ccapture-bucket>\u002Fcaptures\u002F\u003Cendpoint-name>\u002FAllTraffic\u002F\n```\n\n### Worked example — real-time endpoint with auto-scaling and monitoring\n\n```text\nENDPOINT: prod-recommendation\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Model: prod-recommendation-model (S3: s3:\u002F\u002Fml-artifacts\u002Fmodels\u002Frecommendation\u002Fmodel.tar.gz)\n  [✓] Container image: 763104351884.dkr.ecr.us-east-1.amazonaws.com\u002Fpytorch-inference:2.1.0-cpu-py310 (DLC)\n  [✓] Execution role: arn:aws:iam::123456789012:role\u002FSageMakerExecutionRole\n  [✓] Hosting mode: real-time\n  [✓] Instance type: ml.c5.xlarge (CPU, tabular recommendation model)\n  [✓] Initial instance count: 2 (HA across 2 AZs)\n  [✓] Variant: AllTraffic (InitialVariantWeight: 1)\n  [✓] Encryption: KMS arn:aws:kms:us-east-1:123456789012:key\u002Fabc-123\n  [✓] Auto-scaling: target=InvocationsPerInstance, TargetValue=14, min=2, max=8\n  [✓] Data capture: Enabled, sampling=20%, destination=s3:\u002F\u002Fsagemaker-captures-prod\u002Frecommendation\u002F\n  [✓] Model monitor: data quality schedule=hourly | model quality=disabled | bias drift=disabled\n  [✓] A\u002FB testing: Single variant\n  [✓] Shadow testing: None\n  [✓] VPC config: subnet-aaa, subnet-bbb, sg-xxx\n  [✓] Tags: Environment=production, Workload=recommendation, Team=ml-platform\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-endpoint --endpoint-name prod-recommendation\n  aws sagemaker describe-endpoint-config --endpoint-config-name prod-recommendation-config\n  aws sagemaker describe-model --model-name prod-recommendation-model\n  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker --resource-id endpoint\u002Fprod-recommendation\u002Fvariant\u002FAllTraffic\n  aws s3 ls s3:\u002F\u002Fsagemaker-captures-prod\u002Frecommendation\u002Fprod-recommendation\u002FAllTraffic\u002F\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nENDPOINT: \u003Cendpoint-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] \u003Ccheck description>\nVERIFICATION_COMMANDS:\n  \u003Caws sagemaker \u002F application-autoscaling \u002F s3 commands>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with conversational preamble. The ENDPOINT\u002FVERDICT block\n  is the FIRST line, always. Use uppercase verdict values only\n  (`READY_TO_DEPLOY`, `PREREQUISITES_MISSING`).\n- NEVER omit the CHECKLIST — every dimension (model, image, role, hosting\n  mode, instance type, instance count, variant, encryption, auto-scaling,\n  data capture, model monitor, A\u002FB, shadow, VPC, tags) must appear with\n  a pass\u002Ffail marker.\n- NEVER recommend a single-instance real-time endpoint for production\n  without flagging it as a WARN finding (no HA, AZ failure = outage).\n- NEVER list a CLI command with placeholder flags in a READY_TO_DEPLOY\n  plan — every flag must be populated with actual values from the input.\n- NEVER recommend serverless inference for a latency-sensitive workload\n  without flagging the cold-start risk.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features 2024-2026 — Serverless\u002FAsync GA tips, JumpStart containers, ml.inf2 + Neuron, 15-minute monitoring schedules, shadow variants, AWQ\u002FGPTQ quantization — live in [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad when choosing instances or containers for new deployments.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — boilerplate patterns: production real-time endpoint, serverless endpoint, A\u002FB testing\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — model monitoring, A\u002FB and shadow procedures, serverless\u002Fasync\u002FJumpStart, instance-selection and auto-scaling heuristics, recent AWS features\n- [references\u002Finstance-types-and-hosting-modes.md](references\u002Finstance-types-and-hosting-modes.md) — hosting mode matrix, CPU\u002FGPU\u002FInferentia instance tables\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full copy-pasteable CLI sequence for all 10 provisioning steps\n\n## Domain\n\nAWS CloudOps \u002F SageMaker Inference Endpoint Provisioning, Auto-Scaling,\nData Capture, and Model Monitoring.\n\n## AWS documentation\n\n- **SageMaker Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frealtime-endpoints.html\n- **Deploy Models for Real-Time Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frealtime-endpoints-deployment.html\n- **Serverless Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fserverless-endpoint.html\n- **Asynchronous Inference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fasync-inference-endpoint.html\n- **Auto-Scaling SageMaker Endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fendpoint-scaling.html\n- **Data Capture and Model Monitor** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-monitor.html\n- **A\u002FB Testing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-ab-testing.html\n- **Shadow Testing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fshadow-tests.html\n- **SageMaker JumpStart** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fstudio-jumpstart.html\n- **Inferentia2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdlami\u002Flatest\u002Fdevguide\u002Ftutorial-inferentia2.html\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,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38,"activation_triggers":41},"aws, sagemaker, inference, deploy, ai-ml, endpoint, auto-scaling, model-monitor, jumpstart, serverless-inference","1","Jacky Chan — AWS Community Builder","aws-cloudops","AI\u002FML","0.1.0","aws, sagemaker, endpoint, inference, deploy, real-time, serverless inference, asynchronous inference, model deployment, auto-scaling, data capture, model monitor, a\u002Fb testing, shadow testing, jumpstart, foundation models, variant, invocations, container image, model artifact","deploy","high","false","capability","Invoke when the user wants to deploy a SageMaker inference endpoint (real-time, serverless, or asynchronous), configure auto-scaling on InvocationsPerInstance, enable data capture and model monitoring, set up A\u002FB testing or shadow variants, or deploy a JumpStart foundation model. Do NOT invoke for SageMaker training jobs, processing jobs, feature store, or model registry auditing.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","create sagemaker endpoint, deploy sagemaker model, real-time inference, serverless inference, asynchronous inference, sagemaker auto-scaling, data capture, model monitor, a\u002Fb testing variants, shadow deployment, jumpstart foundation model","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with sagemaker, s3, iam, ec2, cloudwatch, and application-autoscaling access. Works with Terraform aws_sagemaker_model \u002F aws_sagemaker_endpoint_configuration \u002F aws_sagemaker_endpoint resources and CloudFormation AWS::SageMaker::Model \u002F EndpointConfig \u002F Endpoint templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fsagemaker-endpoint-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-endpoint-deployer",{"tool":57,"command":58},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-endpoint-deployer",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-endpoint-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6950,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Feval\u002Ftest-cases.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Fbaselines\u002Fab-testing-deployment.md",1485,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fbaselines\u002Fab-testing-deployment.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Fbaselines\u002Fasync-inference-large-model.md",1077,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fbaselines\u002Fasync-inference-large-model.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Fbaselines\u002Fmissing-artifact-and-role.md",1048,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fbaselines\u002Fmissing-artifact-and-role.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"evals\u002Fbaselines\u002Freal-time-endpoint-production.md",1327,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fbaselines\u002Freal-time-endpoint-production.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"evals\u002Fbaselines\u002Fserverless-inference-intermittent.md",1121,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fbaselines\u002Fserverless-inference-intermittent.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"evals\u002Feval_config.yaml",1832,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Feval_config.yaml",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Fevals.json",13489,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fevals.json",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Fprompts\u002Fab-testing-deployment.md",810,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fprompts\u002Fab-testing-deployment.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Fprompts\u002Fasync-inference-large-model.md",988,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fprompts\u002Fasync-inference-large-model.md",{"path":108,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":109,"sourceHtmlUrl":110},"evals\u002Fprompts\u002Fmissing-artifact-and-role.md",438,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fprompts\u002Fmissing-artifact-and-role.md",{"path":112,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":113,"sourceHtmlUrl":114},"evals\u002Fprompts\u002Freal-time-endpoint-production.md",1001,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fprompts\u002Freal-time-endpoint-production.md",{"path":116,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":117,"sourceHtmlUrl":118},"evals\u002Fprompts\u002Fserverless-inference-intermittent.md",828,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fevals\u002Fprompts\u002Fserverless-inference-intermittent.md",{"path":120,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":121,"sourceHtmlUrl":122},"examples\u002FREADME.md",7209,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fexamples\u002FREADME.md",{"path":124,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fadvanced-patterns.md",9067,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":128,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Finstance-types-and-hosting-modes.md",6331,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Freferences\u002Finstance-types-and-hosting-modes.md",{"path":132,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":133,"sourceHtmlUrl":134},"references\u002Fprovisioning-cli-commands.md",10313,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":136,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":137,"sourceHtmlUrl":138},"references\u002Fworked-examples.md",2583,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Freferences\u002Fworked-examples.md",{"path":140,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":141,"sourceHtmlUrl":142},"skill.usf.yaml",4375,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-endpoint-deployer\u002Fskill.usf.yaml",[144,151,158,165,172,179],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"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":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"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":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"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":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"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":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"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":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"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",[],[]]