Introduction to Deploying Foundation Models
Choosing FM deployment options, bringing models built outside AWS, configuring FM hosting and resource allocation, and scaling GPU workloads.
- 4 lessons
- Module quiz
Foundation models are far larger than traditional models, so hosting them raises different questions: whether to use a managed API or run the model on your own instances, how to fit the model into GPU memory, and how to scale when each request may run for seconds.
Amazon Bedrock serves models as a serverless API with the least operational effort, and Bedrock Custom Model Import brings supported open-weight models into that API. SageMaker AI, Amazon EKS and Amazon EC2 give full control over the model, the container and the hardware, using large model inference (LMI) containers with engines such as vLLM and TensorRT-LLM, tensor parallelism across GPUs and continuous batching.
What the exam expects
Questions test choosing Bedrock when the least operational effort is required and SageMaker AI or self-managed hosting when full control is, estimating GPU memory from the number of parameters, and scaling LLM endpoints on concurrent requests rather than invocation counts.
How this module is organised
Choosing Between Bedrock and Self-Hosted Foundation Models compares the hosting choices. Bringing Externally Trained Models to AWS explains Custom Model Import and other ways to host external models. Configuring Self-Hosted Foundation Model Serving explains memory and container settings, and Scaling GPU Inference Workloads explains how to scale large model endpoints.
- Choosing Between Bedrock and Self-Hosted Foundation Models Lesson 1
- Bringing Externally Trained Models to AWS Lesson 2
- Configuring Self-Hosted Foundation Model Serving Lesson 3
- Scaling GPU Inference Workloads Lesson 4
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 4 questions