Concept · Builds on AIF-C01
Foundation model deployment options
On-demand, inference profiles, batch, provisioned, SageMaker AI endpoints or self-hosting.
You know from AI Practitioner
- Bedrock on-demand pays per token with no commitment, and Provisioned Throughput reserves capacity at an hourly price.
- Batch inference trades speed for a lower price, and larger or faster options cost more.
Bedrock on-demand
- You manage
- Nothing
- Pick it when
- Traffic is variable or low
- You pay
- Per token
Cross-Region profile
- You manage
- Nothing
- Pick it when
- Spikes, or residency by geography
- You pay
- Per token, global can be 10% less
Provisioned Throughput
- You manage
- Model units
- Pick it when
- Steady heavy traffic or some custom models
- You pay
- Per hour
Marketplace or JumpStart
- You manage
- Endpoint instances
- Pick it when
- Model is not serverless in Bedrock
- You pay
- Instance hours
EC2 or EKS
- You manage
- Everything
- Pick it when
- Own engine, full control
- You pay
- Instance hours
| Option | You manage | Pick it when | You pay |
|---|---|---|---|
| Bedrock on-demand | Nothing | Traffic is variable or low | Per token |
| Cross-Region profile | Nothing | Spikes, or residency by geography | Per token, global can be 10% less |
| Provisioned Throughput | Model units | Steady heavy traffic or some custom models | Per hour |
| Marketplace or JumpStart | Endpoint instances | Model is not serverless in Bedrock | Instance hours |
| EC2 or EKS | Everything | Own engine, full control | Instance hours |
1 / 3
Bedrock on-demand
- You manage
- Nothing
- Pick it when
- Traffic is variable or low
- You pay
- Per token
Cross-Region profile
- You manage
- Nothing
- Pick it when
- Spikes, or residency by geography
- You pay
- Per token, global can be 10% less
| Option | You manage | Pick it when | You pay |
|---|---|---|---|
| Bedrock on-demand | Nothing | Traffic is variable or low | Per token |
| Cross-Region profile | Nothing | Spikes, or residency by geography | Per token, global can be 10% less |
2 / 3
Provisioned Throughput
- You manage
- Model units
- Pick it when
- Steady heavy traffic or some custom models
- You pay
- Per hour
Marketplace or JumpStart
- You manage
- Endpoint instances
- Pick it when
- Model is not serverless in Bedrock
- You pay
- Instance hours
| Option | You manage | Pick it when | You pay |
|---|---|---|---|
| Provisioned Throughput | Model units | Steady heavy traffic or some custom models | Per hour |
| Marketplace or JumpStart | Endpoint instances | Model is not serverless in Bedrock | Instance hours |
3 / 3
EC2 or EKS
- You manage
- Everything
- Pick it when
- Own engine, full control
- You pay
- Instance hours
| Option | You manage | Pick it when | You pay |
|---|---|---|---|
| EC2 or EKS | Everything | Own engine, full control | Instance hours |
What it is
In Amazon Bedrock, on-demand is the default: call a model and pay per token. A cross-Region inference profile spreads those calls over several Regions to absorb spikes. A geographic profile (for example US or EU) keeps processing inside that geography, so use it for data residency. A global profile can route to any supported commercial Region. For some models it costs about 10 percent less than a geographic profile. There is no extra routing charge. Inference profiles do not support Provisioned Throughput.
What it is
When Bedrock does not offer a model serverless, use a SageMaker AI endpoint. Bedrock Marketplace lists models from many providers that run on endpoints you size, with instance type and count, and you call them through Bedrock APIs. SageMaker JumpStart deploys open models to an endpoint. You pay for the instances by the hour.
Self-hosting on Amazon EC2 or Amazon EKS gives the most control over the engine, the GPUs and the network, and the most work. Choose by four things: control (your own engine or weights), residency (where data may be processed), scale (steady or spiky) and cost (per token or per hour).
Remember
- On-demand is the default: pay per token, no capacity to manage.
- Geographic profile: stays in a geography. Global profile: any Region, and for some models about 10% cheaper.
- Provisioned Throughput: fixed hourly capacity for steady traffic or some custom models.
- Bedrock Marketplace and JumpStart run models on SageMaker AI endpoints you size and pay for by the hour.
Remember
- EC2 or EKS: full control of engine and hardware, and full responsibility.
On the exam
- “Absorb traffic spikes across Regions with no code change” points to a cross-Region inference profile.
- “Data must stay in the EU” points to a geographic EU inference profile, not a global one.
- “A model that Bedrock does not offer serverless” points to Bedrock Marketplace or JumpStart on a SageMaker AI endpoint.
- “Own inference engine and GPU type” points to self-hosting on EC2 or EKS.
In this task · 3.1
- Compute environments and deployment targets
- SageMaker hosting
- Real-time and serverless inference
- Asynchronous and batch inference
- Multi-model and multi-container endpoints, inference components
- Choosing a deployment orchestrator
- Foundation model deployment options
- Hosting large models on SageMaker
- Bringing in models built outside AWS
Agents Classic
AgentCore
- Agent protocols and multi-agent patterns
- Reranking and retrieval strategies