Deployment and Orchestration of ML and AI Workflows
Hosting models and agents, provisioning the resources they need, and automating delivery with pipelines.
3.1任务
Manage deployment infrastructure for ML and AI model types.
你应当能够: Choose where and how models run: compute targets, inference types, foundation model hosting, agents and retrieval setup.
3.1任务
Manage deployment infrastructure for ML and AI model types.
你应当能够: Choose where and how models run: compute targets, inference types, foundation model hosting, agents and retrieval setup.
3.1 Manage deployment infrastructure for ML and AI model types.
- Real-time and serverless inferenceAlways-on instances for steady traffic, serverless for spiky traffic with idle gaps.基于 AIF-C01
- Asynchronous and batch inferenceQueue big or slow requests, or score a whole dataset with no endpoint at all.基于 AIF-C01
- 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.基于 AIF-C01
- Hosting large models on SageMakerLarge model inference containers, tensor parallelism, quantization and memory sizing.
3.1 Manage deployment infrastructure for ML and AI model types.
- 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.基于 AIF-C01
Amazon Bedrock AgentCoreRuntime hosts the agent, Gateway gives it tools, Identity controls access.基于 AIF-C01
- Agent protocols and multi-agent patternsMCP connects agents to tools, A2A connects agents to agents, and Strands has four patterns.基于 AIF-C01
- Reranking and retrieval strategiesTune how many chunks come back, how they are searched and how they are reordered.
3.2任务
Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
你应当能够: Provision and configure the resources: containers, endpoints in a VPC, scaling, knowledge bases, agent state and infrastructure as code.
3.2任务
Provision and configure resources for ML and AI workloads based on existing architecture and requirements.
你应当能够: Provision and configure the resources: containers, endpoints in a VPC, scaling, knowledge bases, agent state and infrastructure as code.
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.基于 SAA-C03
- SageMaker endpoints in a VPCSubnets, security groups and VPC endpoints keep ML traffic off the internet.基于 SAA-C03
- Auto scaling endpoints and choosing metricsApplication Auto Scaling for SageMaker AI endpoints: pick the metric that tracks load.基于 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.基于 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.基于 AIF-C01
3.3任务
Implement automated orchestration and continuous integration and continuous delivery (CI/CD) pipelines for MLOps and AI workloads.
你应当能够: 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.
你应当能够: 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.基于 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.基于 AIF-C01
Amazon SageMaker Model RegistryModel groups and versions with approval status, lineage and sharing, for repeatable and auditable releases.基于 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.基于 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.基于 SAA-C03