Introduction to ML Infrastructure and Containers
Balancing on-demand and provisioned resources, automating provisioning with infrastructure as code, building containers, configuring SageMaker AI endpoints in a VPC and choosing auto scaling metrics.
- 5 lessons
- Module quiz
Behind every training job and endpoint is infrastructure: compute capacity, container images, networks and scaling policies. In production this infrastructure must be created repeatably from code, kept off the public internet and scaled on signals that reflect real load.
This module covers the choice between on-demand and provisioned capacity, infrastructure as code with AWS CloudFormation and the AWS CDK, building and storing containers in Amazon ECR, running SageMaker AI endpoints and jobs inside a VPC with interface and gateway endpoints, and auto scaling metrics for each type of endpoint.
What the exam expects
Questions test the networking needed in private subnets, such as an S3 gateway endpoint for model artefacts and an interface endpoint for invocation, restricting invocation with the aws:SourceVpce condition, building Docker images in CodeBuild with privileged mode, and choosing the scaling metric for each workload type.
How this module is organised
Balancing On-Demand and Provisioned Capacity explains the trade-off. Provisioning ML Infrastructure with Infrastructure as Code explains repeatable provisioning. Building and Maintaining Containers for ML explains container images. Running SageMaker AI Endpoints Privately in a VPC explains private networking, and Choosing Auto Scaling Metrics for Endpoints explains how endpoints scale.
- Balancing On-Demand and Provisioned Capacity Lesson 1
- Provisioning ML Infrastructure with Infrastructure as Code Lesson 2
- Building and Maintaining Containers for ML Lesson 3
- Running SageMaker AI Endpoints Privately in a VPC Lesson 4
- Choosing Auto Scaling Metrics for Endpoints Lesson 5
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 4 questions