Deployment and Orchestration of ML and AI Workflows
Hosting models and agents, provisioning the resources they need, and automating delivery with pipelines.
3.1Task
Manage deployment infrastructure for ML and AI model types.
You should be able to: Choose where and how models run: compute targets, inference types, foundation model hosting, agents and retrieval setup.
3.1Task
Manage deployment infrastructure for ML and AI model types.
You should be able to: Choose where and how models run: compute targets, inference types, foundation model hosting, agents and retrieval setup.
- Compute environments and deployment targetsPick where a model runs: SageMaker AI, Bedrock, Lambda, containers, EC2 or Batch.Builds on AIF-C01
- SageMaker hosting: model, endpoint config, endpointThree objects host a model: the model, the endpoint configuration and the endpoint.
- Real-time and serverless inferenceAlways-on instances for steady traffic, serverless for spiky traffic with idle gaps.Builds on AIF-C01
- Asynchronous and batch inferenceQueue big or slow requests, or score a whole dataset with no endpoint at all.Builds on AIF-C01
3.1 Manage deployment infrastructure for ML and AI model types.
- Multi-model and multi-container endpoints, inference componentsHost many models on shared instances, and know which sharing option fits.
- Choosing a deployment orchestratorSageMaker Pipelines, Step Functions, Airflow, CodePipeline or EventBridge: pick by skills and fit.
- Foundation model deployment optionsOn-demand, inference profiles, batch, provisioned, SageMaker AI endpoints or self-hosting.Builds on AIF-C01
- Hosting large models on SageMakerLarge model inference containers, tensor parallelism, quantization and memory sizing.
- Bringing in models built outside AWSHost an outside model with SageMaker AI, or import its weights into Bedrock.
Amazon Bedrock Agents (Classic)Instructions, action groups, knowledge bases, versions and aliases. Now closed to new customers.Builds on AIF-C01
3.1 Manage deployment infrastructure for ML and AI model types.
Amazon Bedrock AgentCoreRuntime hosts the agent, Gateway gives it tools, Identity controls access.Builds on AIF-C01
- Agent protocols and multi-agent patternsMCP connects agents to tools, A2A connects agents to agents, and Strands has four patterns.Builds on AIF-C01
- Reranking and retrieval strategiesTune how many chunks come back, how they are searched and how they are reordered.
3.2Task
Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
You should be able to: Provision and configure the resources: containers, endpoints in a VPC, scaling, knowledge bases, agent state and infrastructure as code.
3.2Task
Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
You should be able to: Provision and configure the resources: containers, endpoints in a VPC, scaling, knowledge bases, agent state and infrastructure as code.
- Provisioned vs on-demand resourcesPay per use or reserve capacity: when each wins for Bedrock, SageMaker AI, Lambda and training.Builds on AIF-C01
- IaC for ML: CloudFormation, CDK and Service CatalogBuild SageMaker AI and Bedrock resources from templates, and connect stacks to workflows.Builds on SAA-C03
3.2 Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
- Containers for ML: images, ECR and own containersPrebuilt images, extending them, own containers, and Amazon ECR.
- ECS, EKS and Batch for ML workloadsRun training or inference containers on ECS, EKS or Batch, with GPUs and the right roles.Builds on SAA-C03
- SageMaker endpoints in a VPCSubnets, security groups and VPC endpoints keep ML traffic off the internet.Builds on SAA-C03
- Auto scaling endpoints and choosing metricsApplication Auto Scaling for SageMaker AI endpoints: pick the metric that tracks load.Builds on SAA-C03
- Scaling GPU and LLM workloadsSize GPU memory, scale model copies, and plan for capacity and scale to zero.
Amazon Bedrock Knowledge BasesData sources, parsing, chunking, embeddings, sync, metadata and security for a knowledge base.Builds on AIF-C01
3.2 Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
- Retrieval pipelinesRetrieve or RetrieveAndGenerate, and when to build your own pipeline in Lambda.
- Agent state and memory managementKeep short-term session state and long-term memory for agents, and respect the context window.
- Agentic workflow infrastructureFlows, Step Functions, Lambda tools, queues, and the IaC, VPC and IAM that connect them.Builds on AIF-C01
3.3Task
Implement automated orchestration and continuous integration and continuous delivery (CI/CD) pipelines for MLOps and AI workloads.
You should be able to: Automate delivery: CI/CD pipelines, deployment strategies, retraining, model and prompt versions, and refresh cycles for RAG.
3.3Task
Implement automated orchestration and continuous integration and continuous delivery (CI/CD) pipelines for MLOps and AI workloads.
You should be able to: Automate delivery: CI/CD pipelines, deployment strategies, retraining, model and prompt versions, and refresh cycles for RAG.
3.3 Implement automated orchestration and continuous integration and continuous delivery (CI/CD) pipelines for MLOps and AI workloads.
AWS CodeBuildRun builds, tests and image builds from a buildspec, with secrets, caching and VPC access.
AWS CodeDeployDeploy to EC2, Lambda or ECS with an appspec, lifecycle hooks and automatic rollback.
Amazon SageMaker PipelinesA graph of ML steps with parameters, caching, retries and CI/CD templates.Builds on AIF-C01
- Automated testing in ML pipelinesWhich tests to automate for ML code, data and models, and where each one runs.
- Triggering retrainingStart retraining on a schedule, new data or drift, then compare, approve and avoid loops.Builds on AIF-C01
Amazon SageMaker Model RegistryModel groups and versions with approval status, lineage and sharing, for repeatable and auditable releases.Builds on AIF-C01
3.3 Implement automated orchestration and continuous integration and continuous delivery (CI/CD) pipelines for MLOps and AI workloads.
Amazon Bedrock Prompt ManagementPrompts with variables, variants, drafts and versions, used from Flows, Converse and your code.Builds on AIF-C01
- Agent deployment pipelines and versionsShip agents with IaC, test a new version, then flip the alias or endpoint, and roll back.
- AI model and prompt testingGolden prompt sets, evaluations and safety tests that can fail a build.
- Automating FM deployment and fine-tuned model versionsA pipeline from data to a deployed custom model, with versioning, Provisioned Throughput and rollback.
- RAG update and knowledge base refresh pipelinesKeep a knowledge base fresh: trigger syncs, reindex, swap indexes and watch for failures.
AWS Step FunctionsRun SageMaker AI and Bedrock jobs from a workflow, with waits, branches and retries.Builds on SAA-C03