# Sagemaker Endpoint Deployer

> 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/B 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/B or shadow variants, or deploying JumpStart foundation models. Triggers: create SageMaker endpoint, deploy model, real-time inference, serverless inference, async inference, A/B test, shadow deployment, data capture, model monitor, JumpStart.

- Skill: `jhkchan/sagemaker-endpoint-deployer` (Agent Skill, multi-file: 20 files)
- Install (CLI): `npx get-skill add jhkchan/sagemaker-endpoint-deployer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jhkchan/sagemaker-endpoint-deployer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: jhkchan (https://skillmd.com/u/jhkchan)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/jhkchan/sagemaker-endpoint-deployer

---


# SageMaker Endpoint Deployer

## What this skill does

Provisions SageMaker inference endpoints with production-grade defaults
across three hosting modes (real-time, serverless, asynchronous). The
skill walks the operator through model creation, endpoint configuration,
auto-scaling, data capture, model monitoring, and traffic distribution
(A/B testing, shadow testing). Emits a READY_TO_DEPLOY checklist with
copy-pasteable verification commands.

## Activation keywords

create SageMaker endpoint, deploy model, real-time inference, serverless
inference, asynchronous inference, auto-scaling, InvocationsPerInstance,
data capture, model monitor, data quality, model quality, bias drift,
A/B testing, weighted variants, shadow testing, shadow variant, JumpStart,
foundation model, container image, inference code, S3 model artifact,
execution role.

## Invocation contract (hard requirement)

When this skill is invoked with a SageMaker-endpoint-provisioning request
(model name, S3 artifact, container image, instance type, hosting mode,
or a partial configuration), the agent MUST respond with the
READY_TO_DEPLOY checklist defined in the section "Output format" using the
literal all-caps labels `ENDPOINT:`, `VERDICT:`, `CHECKLIST:`, and
`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,
headings, or disclaimers — emit the block as the first lines of the
response. This contract is what assertion-based evals and downstream
provisioning pipelines rely on; deviating from the literal labels breaks
automation silently.

## Mindset

**One-line takeaway:** a SageMaker endpoint is a three-resource chain
(Model -> EndpointConfig -> Endpoint) where the hosting mode
(real-time vs serverless vs async) is decided at EndpointConfig creation
and cannot be changed in place — switching modes requires a new config
and endpoint update.

Three misconceptions dominate SageMaker endpoint misdesign at provisioning
time:

- **"I can switch from real-time to serverless by updating the endpoint."**
  The hosting mode is baked into the EndpointConfig via the
  `ProductionVariants` (real-time/async) vs `ServerlessConfig` (serverless)
  structure. Switching modes requires creating a new EndpointConfig and
  calling `update-endpoint` with the new config. There is no in-place
  mode toggle.

- **"Auto-scaling is enabled by default."** It is NOT. A newly created
  real-time endpoint runs at `InitialInstanceCount` with no scaling
  policy. Without an auto-scaling policy on `InvocationsPerInstance`,
  the endpoint either throttles under load (too few instances) or burns
  cost at idle (too many). Auto-scaling must be registered explicitly via
  Application Auto Scaling.

- **"Data capture and model monitoring are the same thing."** Data
  capture (DataCaptureConfig) records incoming requests and outgoing
  responses to S3. Model monitoring (MonitoringSchedule) analyzes that
  captured data for drift, quality, and bias. Data capture is the
  prerequisite; model monitoring consumes its output. Without data
  capture, model monitoring has no data to evaluate.

## Quick navigation

| Section | What it covers | When to read it |
|---|---|---|
| **Quick reference** | Deployment checklist + hosting mode decision gate | Before any deployment |
| **§ Mindset** | Three-resource chain, hosting mode immutability, auto-scaling gap | Understanding the model |
| **§ Prerequisites** | S3 artifact, execution role, VPC, model registry | Before producing the plan |
| **§ Hosting mode selection** | Real-time vs serverless vs async decision matrix | Choosing the right mode |
| **§ Provisioning procedure** | 10-step deploy: model, config, endpoint, scaling, capture, monitor, A/B, shadow, JumpStart | When building the deploy plan |
| **§ Common patterns** | Boilerplate for real-time, serverless, async, A/B, shadow | Boilerplate lookup |
| **§ Output format** | Structured output template with VERDICT, CHECKLIST, VERIFICATION_COMMANDS | Formatting the response |
| **§ STRICT output contract** | Required structure + FORBIDDEN patterns | Validating the output |
| **§ NEVER** | Top 5 anti-patterns | Review before risky operations |
| **§ Expert heuristic** | Instance selection + auto-scaling target strategy | Sizing decisions |

## Quick reference — deployment checklist

| Dimension | Requirement | Step |
|---|---|---|
| S3 model artifact | Compressed model data (`model.tar.gz`) in an S3 bucket | Step 1 |
| Container image | Pre-built SageMaker DLC image or custom image in ECR | Step 1 |
| Execution role | IAM role with SageMaker assume + S3 read + ECR pull | Step 1 |
| Model creation | `create-model` referencing artifact + image + role | Step 2 |
| Hosting mode | Real-time / Serverless / Async (decided at EndpointConfig) | Step 3 |
| Instance type | Real-time: ml.c5/m5/g5/r5; GPU for deep learning | Step 3 |
| Initial instance count | >= 2 for HA (different AZs) in production | Step 3 |
| Variant name | Named variant for A/B or shadow testing | Step 3 |
| Endpoint creation | `create-endpoint` from EndpointConfig | Step 4 |
| Auto-scaling | Target tracking on InvocationsPerInstance | Step 5 |
| Data capture | Request/response to S3 with sampling percentage | Step 6 |
| Model monitor | Data quality, model quality, bias drift schedules | Step 7 |
| A/B testing | Multiple variants with traffic weights | Step 8 |
| Shadow testing | Shadow variant at 0% traffic receiving a copy | Step 9 |
| JumpStart | Pre-trained foundation model deployment | Step 10 |

## Prerequisites (verify before provisioning)

Before emitting provisioning commands, verify these prerequisites. If any
are missing, the verdict is **PREREQUISITES_MISSING** with a specific gap
citation.

| Prerequisite | Why it matters | How to verify |
|---|---|---|
| AWS account with SageMaker access | Cannot provision without it | `aws sts get-caller-identity` |
| Region selected | Instance availability varies by region; GPU types are limited | `aws configure get region` |
| S3 model artifact (`model.tar.gz`) | The model data the container loads at startup | `aws s3 ls s3://<bucket>/<prefix>/model.tar.gz` |
| Container image URI (DLC or ECR) | The inference code that serves predictions | `aws ecr describe-images --repository-name <repo>` or DLC registry |
| SageMaker execution role | Needs `sagemaker:CreateModel`, S3 read, ECR pull, KMS decrypt | `aws iam get-role --role-name <execution-role>` |
| VPC + subnets (for VPC-attached endpoints) | Private networking; S3/Gateway VPC endpoints | `aws ec2 describe-subnets` |
| KMS key (for encryption at rest) | Endpoint config and data capture encryption | `aws kms describe-key --key-id <key-id>` |
| Model monitoring S3 bucket | Data capture destination + baseline constraints | `aws s3 ls s3://<monitoring-bucket>` |

If any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`
and cite the specific gap.

## Hosting mode selection (decide at EndpointConfig — not swappable in place)

| Mode | Latency | Payload size | Auto-scaling | Use when |
|---|---|---|---|---|
| **Real-time** | Low (< 1s typical) | < 6 MB | Application Auto Scaling (InvocationsPerInstance) | Interactive inference, synchronous APIs, low-latency SLAs |
| **Serverless** | Cold-start + low | < 4 MB | Automatic (scale-to-zero) | Intermittent traffic, unpredictable workloads, cost optimization |
| **Asynchronous** | Minutes (with S3) | Up to 256 MB S3 payload | Application Auto Scaling (ApproximateBacklogSizePerInstance) | Large payloads, long inference times (LLM generation, batch scoring) |

**Immutability note:** the hosting mode is embedded in the EndpointConfig
structure (`ProductionVariants` for real-time/async, `ServerlessConfig`
for serverless). Switching modes requires a new EndpointConfig and
`update-endpoint`. Plan the mode before creating the config.

## 10-step provisioning procedure

### Step 1 — Model artifact, container image, and execution role

**S3 model artifact:** package the trained model as `model.tar.gz`
containing model weights and any inference code. Upload to S3.

```bash
aws s3 cp model.tar.gz s3://<bucket>/<prefix>/model.tar.gz
```

**Container image:** choose a SageMaker Deep Learning Container (DLC) or
a custom image in ECR.

```bash
# List available DLC images for your framework + region
aws ecr describe-images --registry-id 763104351884 \
  --repository-name pytorch-inference --region us-east-1 \
  --query 'sort_by(imageDetails,& imagePushedAt)[-5].imageTags'
```

**Execution role:** the SageMaker execution role needs:
- Trust policy: `sagemaker.amazonaws.com`
- Permissions: `s3:GetObject` on the model artifact bucket, `ecr:BatchGetImage`
  on the container image, optionally `kms:Decrypt` for encrypted endpoints.

```bash
aws iam get-role --role-name SageMakerExecutionRole \
  --query 'Role.Arn' --output text
```

### Step 2 — Create the model

The model resource binds the S3 artifact, container image, and execution
role. This is the first resource in the three-resource chain.

```bash
aws sagemaker create-model \
  --model-name <model-name> \
  --primary-container Image=<image-uri>,ModelDataUrl=s3://<bucket>/<prefix>/model.tar.gz \
  --execution-role-arn arn:aws:iam::<account-id>:role/SageMakerExecutionRole \
  --vpc-config Subnets=subnet-aaa,subnet-bbb,SecurityGroupIds=sg-xxx
```

**VPC-attached endpoints:** for private networking, specify subnets and
security groups. The endpoint's VPC needs S3 and ECR VPC endpoints (or
NAT gateway) to pull the model artifact and container image.

### Step 3 — Endpoint config (hosting mode + instance selection)

The EndpointConfig defines the hosting mode, instance type, initial count,
variant name, and optionally data capture.

**Real-time endpoint config:**

```bash
aws sagemaker create-endpoint-config \
  --endpoint-config-name <config-name> \
  --production-variants \
    VariantName=AllTraffic,ModelName=<model-name>,InstanceType=ml.c5.xlarge,InitialInstanceCount=2,InitialVariantWeight=1 \
  --data-capture-config \
    EnableCapture=true,InitialSamplingPercentage=100,DestinationS3Uri=s3://<capture-bucket>/captures/,CaptureOptions=[{CaptureMode=Input},{CaptureMode=Output}],CaptureContentTypeHeaders={CsvContentTypes=[text/csv],JsonContentTypes=[application/json]} \
  --kms-key-id arn:aws:kms:<region>:<account-id>:key/<key-id>
```

**Instance type selection guide:**

| Workload | CPU instances | GPU instances | When to choose |
|---|---|---|---|
| Tabular / classical ML | `ml.c5.xlarge` - `ml.c5.9xlarge` | n/a | XGBoost, sklearn, light payloads |
| NLP (transformers, small) | `ml.c5.2xlarge` - `ml.c5.9xlarge` | `ml.g4dn.xlarge` - `ml.g4dn.12xlarge` | BERT-base, DistilBERT, token classification |
| Computer vision | `ml.c5.4xlarge`+ | `ml.g5.xlarge` - `ml.g5.48xlarge` | ResNet, YOLO, image classification |
| LLM inference | n/a (too slow) | `ml.g5.12xlarge` - `ml.g5.48xlarge`, `ml.inf2.xlarge` - `ml.inf2.48xlarge` | 7B-70B parameter models; inf2 for cost-efficient LLM |
| High-throughput batch scoring | `ml.m5.4xlarge` - `ml.m5.24xlarge` | n/a | Batch transform or async inference |

**Production HA rule:** `InitialInstanceCount` of at least 2. SageMaker
distributes instances across AZs within the region. A single-instance
endpoint has no redundancy — an AZ failure takes the endpoint down.

**Serverless endpoint config (different structure):**

```bash
aws sagemaker create-endpoint-config \
  --endpoint-config-name <config-name>-serverless \
  --serverless-config \
    ServerlessInferenceConfigName=AllTraffic,MaxConcurrency=10,MemorySizeInMB=2048,ProvisionedConcurrency=2
```

Serverless inference does NOT use `ProductionVariants` or instance types.
It uses `MemorySizeInMB` (1024-6144) and `MaxConcurrency` (1-200).

**Asynchronous endpoint config:**

```bash
aws sagemaker create-endpoint-config \
  --endpoint-config-name <config-name>-async \
  --production-variants \
    VariantName=AllTraffic,ModelName=<model-name>,InstanceType=ml.g5.xlarge,InitialInstanceCount=1 \
  --async-inference-config \
    OutputConfig=S3OutputPath=s3://<async-bucket>/output/,NotificationConfig=SuccessTopic=<topic-arn>,ErrorTopic=<error-topic-arn>,MaxConcurrentInvocationsPerInstance=4
```

Asynchronous endpoints queue requests via S3; results are written back to
S3 with optional SNS notification. Supports `InstanceCount: 0` for
scale-to-zero when idle.

### Step 4 — Create the endpoint

```bash
aws sagemaker create-endpoint \
  --endpoint-name <endpoint-name> \
  --endpoint-config-name <config-name>
```

Endpoint creation takes 5-15 minutes (container pull, model load, health
check). Wait for `InService` status:

```bash
aws sagemaker describe-endpoint --endpoint-name <endpoint-name> \
  --query 'EndpointStatus' --output text
```

### Step 5 — Auto-scaling (target tracking on InvocationsPerInstance)

Auto-scaling is NOT enabled by default. A real-time endpoint without a
scaling policy runs at a fixed instance count.

```bash
# Register the endpoint as a scalable target
aws application-autoscaling register-scalable-target \
  --service-namespace sagemaker \
  --resource-id endpoint/<endpoint-name>/variant/<variant-name> \
  --scalable-dimension sagemaker:variant:DesiredInstanceCount \
  --min-capacity 1 \
  --max-capacity 8

# Apply target tracking policy on InvocationsPerInstance
aws application-autoscaling put-scaling-policy \
  --policy-name <endpoint-name>-scaling-policy \
  --service-namespace sagemaker \
  --resource-id endpoint/<endpoint-name>/variant/<variant-name> \
  --scalable-dimension sagemaker:variant:DesiredInstanceCount \
  --policy-type TargetTrackingScaling \
  --target-tracking-scaling-policy-configuration \
    TargetMetricType=SageMakerVariantInvocationsPerInstance,TargetValue=300,PredefinedMetricSpecification={PredefinedMetricType=SageMakerVariantInvocationsPerInstance},ScaleInCooldown=300,ScaleOutCooldown=60
```

**TargetValue tuning:** `InvocationsPerInstance` target depends on the
instance type and model latency. A target too high causes throttling
under burst; too low causes over-scaling. Monitor `Invocations` and
`InvocationsPerInstance` CloudWatch metrics.

**For async inference:** scale on `ApproximateBacklogSizePerInstance`
instead of `InvocationsPerInstance`. This metric tracks queue depth per
instance.

**For serverless inference:** auto-scaling is built-in (scale-to-zero).
No Application Auto Scaling configuration needed.

### Step 6 — Data capture (prerequisite for model monitoring)

Data capture records incoming requests and outgoing responses to S3.
It is configured in the EndpointConfig via `DataCaptureConfig`.

Key parameters:
- **EnableCapture:** `true` / `false`
- **InitialSamplingPercentage:** 0-100 (production: 10-50%; staging: 100%)
- **DestinationS3Uri:** S3 prefix for captured data
- **CaptureOptions:** `Input`, `Output` (or both)
- **CaptureContentTypeHeaders:** `CsvContentTypes`, `JsonContentTypes`

```bash
# Data capture is set in create-endpoint-config (see Step 3)
# Verify capture is flowing:
aws s3 ls s3://<capture-bucket>/captures/<endpoint-name>/AllTraffic/
```

**Common mistake:** setting `InitialSamplingPercentage: 100` in production
doubles inference latency for the capture write and fills S3 rapidly.
Use 10-50% for production monitoring; 100% for pre-production validation.

### Step 7 — Model monitoring (data quality, model quality, bias drift)

Model Monitor runs scheduled analysis on captured data: data quality (drift/schema), model quality (accuracy vs ground truth), bias drift — all require data capture enabled first and a baseline generated from training data.
Full schedule and baseline CLI live in [references/advanced-patterns.md](references/advanced-patterns.md).

### Step 8 — A/B testing (multiple weighted variants)

A/B testing deploys multiple ProductionVariants with relative InitialVariantWeight (9:1 = 90%/10%); shift weights via update-endpoint-weights-and-capacities; use the SAME instance type for all variants.
Full config CLI live in [references/advanced-patterns.md](references/advanced-patterns.md).

### Step 9 — Shadow testing (shadow variant)

Shadow testing deploys a shadow-production-variants copy of live traffic; responses are discarded; enable data capture on both variants to compare offline.
Full config CLI live in [references/advanced-patterns.md](references/advanced-patterns.md).

### Step 10 — Latest features: Serverless, Async, JumpStart foundation models

Latest hosting options — Serverless (scale-to-zero, MemorySizeInMB/MaxConcurrency), Asynchronous (S3 queue, 256 MB payloads, scale-to-zero), JumpStart foundation models (one-command deploy on DJL/vLLM/TGI containers).
Details and deploy commands live in [references/advanced-patterns.md](references/advanced-patterns.md).

## Common patterns (boilerplate)

Boilerplate CLI bundles — production real-time endpoint (auto-scaling + 20% capture + KMS), serverless endpoint, A/B testing with two variants — live in [references/worked-examples.md](references/worked-examples.md).
Load that reference when assembling a copy-pasteable deploy sequence.

## NEVER do these things (top 5)

1. **NEVER deploy a production real-time endpoint with
   `InitialInstanceCount: 1`.** A single-instance endpoint has no
   redundancy — an AZ failure takes it down with zero failover. Use
   at least 2 for production (SageMaker distributes across AZs).

2. **NEVER omit auto-scaling on a real-time endpoint expecting variable
   traffic.** Without a scaling policy on `InvocationsPerInstance`, the
   endpoint runs at a fixed count. Under burst load it throttles (429s);
   at idle it burns cost. Register the scalable target and apply a
   target-tracking policy.

3. **NEVER set `InitialSamplingPercentage: 100` for data capture in a
   high-traffic production endpoint.** 100% capture doubles the
   inference path latency (synchronous write to S3) and fills S3
   rapidly. Use 10-50% for production monitoring; 100% only for
   pre-production validation.

4. **NEVER use different instance types for A/B testing variants.**
   Differing hardware confounds the model comparison — latency or
   throughput differences may come from the instance, not the model.
   Use the same instance type for all variants in an A/B test.

5. **NEVER try to switch hosting modes by updating the endpoint
   in place.** The hosting mode (real-time / serverless / async) is
   embedded in the EndpointConfig structure (`ProductionVariants` vs
   `ServerlessConfig`). Switching modes requires creating a new
   EndpointConfig and calling `update-endpoint` with the new config.

## Expert heuristic: instance selection and auto-scaling target

Instance-selection and auto-scaling TargetValue decision trees — CPU/GPU/LLM sizing, TargetValue = capacity x utilization (50 ms model on c5.xlarge -> TargetValue=14), cooldown guidance.
Full trees live in [references/advanced-patterns.md](references/advanced-patterns.md).

## Output format

```text
ENDPOINT: <endpoint-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
CHECKLIST:
  [✓|✗] Model: <model-name> (S3 artifact: s3://<bucket>/<prefix>/model.tar.gz)
  [✓|✗] Container image: <image-uri> (DLC | custom ECR)
  [✓|✗] Execution role: <role-arn> (S3 read + ECR pull + KMS decrypt)
  [✓|✗] Hosting mode: <real-time | serverless | asynchronous>
  [✓|✗] Instance type: <ml.c5.xlarge> (CPU) | <ml.g5.xlarge> (GPU) | serverless (Memory=<MB>)
  [✓|✗] Initial instance count: <N> (>=2 for HA if real-time production)
  [✓|✗] Variant: <variant-name> (InitialVariantWeight: <weight>)
  [✓|✗] Encryption: KMS <key-arn>
  [✓|✗] Auto-scaling: target=<InvocationsPerInstance|ApproximateBacklogSizePerInstance>, TargetValue=<N>, min=<N>, max=<N> | Serverless (built-in)
  [✓|✗] Data capture: Enabled, sampling=<N>%, destination=s3://<capture-bucket>/
  [✓|✗] Model monitor: <data quality | model quality | bias drift> schedule=<interval> | Disabled
  [✓|✗] A/B testing: <variants and weights> | Single variant
  [✓|✗] Shadow testing: <shadow variant> | None
  [✓|✗] VPC config: <subnet-ids, sg-ids> | Public
  [✓|✗] Tags: <list>
VERIFICATION_COMMANDS:
  aws sagemaker describe-endpoint --endpoint-name <endpoint-name>
  aws sagemaker describe-endpoint-config --endpoint-config-name <config-name>
  aws sagemaker describe-model --model-name <model-name>
  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker
  aws s3 ls s3://<capture-bucket>/captures/<endpoint-name>/AllTraffic/
```

### Worked example — real-time endpoint with auto-scaling and monitoring

```text
ENDPOINT: prod-recommendation
VERDICT: READY_TO_DEPLOY
CHECKLIST:
  [✓] Model: prod-recommendation-model (S3: s3://ml-artifacts/models/recommendation/model.tar.gz)
  [✓] Container image: 763104351884.dkr.ecr.us-east-1.amazonaws.com/pytorch-inference:2.1.0-cpu-py310 (DLC)
  [✓] Execution role: arn:aws:iam::123456789012:role/SageMakerExecutionRole
  [✓] Hosting mode: real-time
  [✓] Instance type: ml.c5.xlarge (CPU, tabular recommendation model)
  [✓] Initial instance count: 2 (HA across 2 AZs)
  [✓] Variant: AllTraffic (InitialVariantWeight: 1)
  [✓] Encryption: KMS arn:aws:kms:us-east-1:123456789012:key/abc-123
  [✓] Auto-scaling: target=InvocationsPerInstance, TargetValue=14, min=2, max=8
  [✓] Data capture: Enabled, sampling=20%, destination=s3://sagemaker-captures-prod/recommendation/
  [✓] Model monitor: data quality schedule=hourly | model quality=disabled | bias drift=disabled
  [✓] A/B testing: Single variant
  [✓] Shadow testing: None
  [✓] VPC config: subnet-aaa, subnet-bbb, sg-xxx
  [✓] Tags: Environment=production, Workload=recommendation, Team=ml-platform
VERIFICATION_COMMANDS:
  aws sagemaker describe-endpoint --endpoint-name prod-recommendation
  aws sagemaker describe-endpoint-config --endpoint-config-name prod-recommendation-config
  aws sagemaker describe-model --model-name prod-recommendation-model
  aws application-autoscaling describe-scaling-policies --service-namespace sagemaker --resource-id endpoint/prod-recommendation/variant/AllTraffic
  aws s3 ls s3://sagemaker-captures-prod/recommendation/prod-recommendation/AllTraffic/
```

## STRICT output contract

### Required output structure

Every response MUST begin with this block — no preamble, no
conversational opening:

```text
ENDPOINT: <endpoint-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
CHECKLIST:
  [✓|✗] <check description>
VERIFICATION_COMMANDS:
  <aws sagemaker / application-autoscaling / s3 commands>
```

### FORBIDDEN output patterns

- NEVER start with conversational preamble. The ENDPOINT/VERDICT block
  is the FIRST line, always. Use uppercase verdict values only
  (`READY_TO_DEPLOY`, `PREREQUISITES_MISSING`).
- NEVER omit the CHECKLIST — every dimension (model, image, role, hosting
  mode, instance type, instance count, variant, encryption, auto-scaling,
  data capture, model monitor, A/B, shadow, VPC, tags) must appear with
  a pass/fail marker.
- NEVER recommend a single-instance real-time endpoint for production
  without flagging it as a WARN finding (no HA, AZ failure = outage).
- NEVER list a CLI command with placeholder flags in a READY_TO_DEPLOY
  plan — every flag must be populated with actual values from the input.
- NEVER recommend serverless inference for a latency-sensitive workload
  without flagging the cold-start risk.

## Recent AWS features (2024-2026)

Recent AWS features 2024-2026 — Serverless/Async GA tips, JumpStart containers, ml.inf2 + Neuron, 15-minute monitoring schedules, shadow variants, AWQ/GPTQ quantization — live in [references/advanced-patterns.md](references/advanced-patterns.md).
Load when choosing instances or containers for new deployments.

## References (load on demand)

- [references/worked-examples.md](references/worked-examples.md) — boilerplate patterns: production real-time endpoint, serverless endpoint, A/B testing
- [references/advanced-patterns.md](references/advanced-patterns.md) — model monitoring, A/B and shadow procedures, serverless/async/JumpStart, instance-selection and auto-scaling heuristics, recent AWS features
- [references/instance-types-and-hosting-modes.md](references/instance-types-and-hosting-modes.md) — hosting mode matrix, CPU/GPU/Inferentia instance tables
- [references/provisioning-cli-commands.md](references/provisioning-cli-commands.md) — full copy-pasteable CLI sequence for all 10 provisioning steps

## Domain

AWS CloudOps / SageMaker Inference Endpoint Provisioning, Auto-Scaling,
Data Capture, and Model Monitoring.

## AWS documentation

- **SageMaker Developer Guide** — https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints.html
- **Deploy Models for Real-Time Inference** — https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html
- **Serverless Inference** — https://docs.aws.amazon.com/sagemaker/latest/dg/serverless-endpoint.html
- **Asynchronous Inference** — https://docs.aws.amazon.com/sagemaker/latest/dg/async-inference-endpoint.html
- **Auto-Scaling SageMaker Endpoints** — https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-scaling.html
- **Data Capture and Model Monitor** — https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html
- **A/B Testing** — https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
- **Shadow Testing** — https://docs.aws.amazon.com/sagemaker/latest/dg/shadow-tests.html
- **SageMaker JumpStart** — https://docs.aws.amazon.com/sagemaker/latest/dg/studio-jumpstart.html
- **Inferentia2** — https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-inferentia2.html

