概念 · 基于 AIF-C01
Provisioned vs on-demand resources
Pay per use or reserve capacity: when each wins for Bedrock, SageMaker AI, Lambda and training.
本课尚未翻译,暂以英文显示。
你在AI Practitioner中已学过
- Bedrock on-demand pays per token, and Provisioned Throughput reserves capacity at an hourly price.
- Many fine-tuned models in Bedrock are called through Provisioned Throughput.
Amazon Bedrock
- On-demand
- Pay per token
- Provisioned
- Model units, hourly, 0, 1 or 6 months
SageMaker AI inference
- On-demand
- Serverless or async, pay when used
- Provisioned
- Real-time instances, always on
AWS Lambda
- On-demand
- Cold starts possible
- Provisioned
- Provisioned concurrency, warm
Training capacity
- On-demand
- On-demand or Spot instances
- Provisioned
- Training plan reserves GPUs
| Service | On-demand | Provisioned |
|---|---|---|
| Amazon Bedrock | Pay per token | Model units, hourly, 0, 1 or 6 months |
| SageMaker AI inference | Serverless or async, pay when used | Real-time instances, always on |
| AWS Lambda | Cold starts possible | Provisioned concurrency, warm |
| Training capacity | On-demand or Spot instances | Training plan reserves GPUs |
1 / 2
Amazon Bedrock
- On-demand
- Pay per token
- Provisioned
- Model units, hourly, 0, 1 or 6 months
SageMaker AI inference
- On-demand
- Serverless or async, pay when used
- Provisioned
- Real-time instances, always on
| Service | On-demand | Provisioned |
|---|---|---|
| Amazon Bedrock | Pay per token | Model units, hourly, 0, 1 or 6 months |
| SageMaker AI inference | Serverless or async, pay when used | Real-time instances, always on |
2 / 2
AWS Lambda
- On-demand
- Cold starts possible
- Provisioned
- Provisioned concurrency, warm
Training capacity
- On-demand
- On-demand or Spot instances
- Provisioned
- Training plan reserves GPUs
| Service | On-demand | Provisioned |
|---|---|---|
| AWS Lambda | Cold starts possible | Provisioned concurrency, warm |
| Training capacity | On-demand or Spot instances | Training plan reserves GPUs |
是什么
Provisioned Throughput in Amazon Bedrock is bought in model units (MUs). An MU delivers a set number of input and output tokens per minute for one model. You choose no commitment, one month or six months, and longer terms cost less per hour. You are billed every hour until you delete it, and a term cannot be cut short. A model imported with Custom Model Import does not need it.
是什么
Many models you customize in Bedrock are called through Provisioned Throughput. For a few models, you can instead create a custom model deployment and pay per token. AWS lists Amazon Nova Lite, Nova 2 Lite, Nova Micro, Nova Pro and Llama 3.3 70B Instruct. The model must be customized on or after July 16, 2025, in a supported US Region. Check the docs for your model and Region.
是什么
Find the break-even point. Divide the hourly price of your model units by the on-demand price per token. The result is the tokens per hour at which the two cost the same. Above it with steady load, provisioned is cheaper and gives steady throughput. Below it, or with spiky load, on-demand is cheaper. Provisioned Throughput also protects you from on-demand throttling at peak.
是什么
The same choice appears elsewhere. SageMaker AI serverless and asynchronous endpoints cost nothing when idle, while a real-time endpoint bills for always-on instances. AWS Lambda provisioned concurrency keeps execution environments warm and bills while it is on, to remove cold starts. For training, SageMaker AI training plans reserve GPU capacity for a future time window, so a large job is sure to get its instances.
要记住
- Provisioned Throughput: model units, hourly, no commitment or 1 or 6 months. Billing runs until you delete it.
- A customized Bedrock model may need Provisioned Throughput. Some models also support on-demand deployment. An imported model does not need it.
- Break-even: hourly price divided by price per token gives tokens per hour.
要记住
- Steady heavy load favors provisioned. Spiky or low load favors on-demand.
- Lambda provisioned concurrency removes cold starts and bills while enabled.
- Training plans reserve GPU capacity ahead of a big training job.
考试中
- “Steady high traffic and consistent throughput on a Bedrock model” points to Provisioned Throughput.
- “Customized model, pay per token, no reserved capacity” points to on-demand deployment, if the model supports it.
- “Unpredictable traffic and no commitment” points to on-demand.
- “Guarantee GPU instances for a training run next month” points to a SageMaker AI training plan.
本任务内容 · 3.2
- Provisioned vs on-demand resources
- IaC for ML: CloudFormation, CDK and Service Catalog
- Containers for ML: images, ECR and own containers
- ECS, EKS and Batch for ML workloads
- SageMaker endpoints in a VPC
- Auto scaling endpoints and choosing metrics
- Scaling GPU and LLM workloads
Knowledge Bases
- Retrieval pipelines
- Agent state and memory management
- Agentic workflow infrastructure