Skill 1.2.3
Design ML inference architectures (for example, Amazon SageMaker AI endpoints).
Key Concepts
Real-time endpoints run on provisioned instances for low-latency, synchronous requests and scale with Application Auto Scaling; inference components and multi-model endpoints pack several models onto shared instances to raise utilisation. Serverless inference scales to zero and charges per request and duration, suiting intermittent traffic that tolerates cold starts. Asynchronous inference queues requests with payloads of up to 1 GB and processing of up to one hour, writes results to S3, notifies through SNS and can scale to zero instances when the queue is empty.
Batch transform processes a whole data set offline without a persistent endpoint. Production designs place endpoints in private subnets with VPC interface endpoints, call them from applications through API Gateway or directly with IAM, use deployment guardrails (blue/green with canary or linear shifting and automatic rollback) to release new model versions, and monitor them with CloudWatch and Model Monitor.