وبلاگ بلیان

The Definitive Guide to Machine Learning Operations in AWS: Machine Learning Scalability and Optimization with AWS

جلد کتاب The Definitive Guide to Machine Learning Operations in AWS: Machine Learning Scalability and Optimization with AWS

معرفی کتاب «The Definitive Guide to Machine Learning Operations in AWS: Machine Learning Scalability and Optimization with AWS» نوشتهٔ Alia Trabucco Zerán و Sendas Nee, Rajale Deepali.، منتشرشده توسط نشر Apress در سال 2025. این کتاب در 432 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.

Apress, 2025. – 432 p. – ISBN-13 979-8-8688-1076-3.Полное руководство по операциям машинного обучения в AWS: Масштабируемость и оптимизация машинного обучения с помощью AWSThis book focuses on deploying, testing, monitoring, and automating ML systems in production. It covers AWS MLOPS tools like Amazon SageMaker, Data Wrangler, and AWS Feature Store, along with best practices for operating ML systems on AWS.This book explains how to design, develop, and deploy ML workloads at scale using AWS cloud's well-architected pillars. It starts with an introduction to AWS services and MLOps tools, setting up the MLOps environment. It covers operational excellence, including CI/CD pipelines and Infrastructure as code. Security in MLOps, data privacy, IAM, and reliability with automated testing are discussed. Performance efficiency and cost optimization, like Right-sizing ML resources, are explored. The book concludes with MLOps best practices, MLOPS for GenAI, emerging trends, and future developments in MLOps.Machine Learning operations (MLOps) is when DevOps principles are applied to a Machine Learning system. This is a relatively new term as nowadays most businesses try to incorporate AI/ML systems into their products and platforms. MLOps is an engineering discipline that aims to unify ML systems development (dev) and ML systems deployment/operations (ops) to standardize and streamline the continuous delivery of high-performing models in production. MLOps aims to provide high-quality Machine Learning solutions in production in an automated and repeatable manner. MLOps has three contributing disciplines: Machine Learning, DevOps, and data engineering. MLOps is an extension of the DevOps practice of continuously building, deploying code, and testing applied to data engineering (data) and Machine Learning (models).By the end, readers will learn operating ML workloads on the AWS cloud. This book suits software developers, ML engineers, DevOps engineers, architects,... Table of Contents About the Authors About the Technical Reviewer Foreword Chapter 1: Introduction to MLOps MLOps Components Evolution of MLOps Need of MLOps? Understanding Broad Phases of MLOps MLOps Principles MLOps Lifecycle MLOps Infrastructure Tool Stack Role of Tool Stack Components MLOps Challenges MLOps Best Practices Model Governance in MLOps References Chapter 2: Foundations of MLOps on AWS The Evolution of Machine Learning in the Cloud Key Components of MLOps on AWS Data Management and Processing Scalable Data Lakes with Amazon S3 Data Processing with Amazon SageMaker SageMaker Data Wrangler SageMaker Feature Store SageMaker Processing Single Universal Notebook with Built-in Integration with Amazon EMR Low-Code/No-Code Options for ETL Pipelines Self-Managed Stack Using Spark, Python, or R Spark Processing with Amazon EMR Model Training and Optimization Scalable Training Environments in AWS Framework Support with SageMaker Deep Learning AMIs Hyperparameter Tuning with SageMaker Experiment Management Cost-Effective Model Training Strategies Automated Model Deployment and Scaling Deployment Strategies: Real-Time vs. Batch Inference Amazon Elastic Kubernetes Service (Amazon EKS) Managing Model Latency and Scalability Continuous Integration and Continuous Deployment (CI/CD) Automating MLOps with AWS CodePipeline Building CI/CD Pipelines with AWS CodeBuild Version Control with AWS CodeCommit Orchestrate ML Workflows with SageMaker Pipelines Run ML Pipelines with AWS Step Functions Monitoring, Logging, and Model Maintenance Monitoring Models with Amazon CloudWatch Logging and Auditing with AWS CloudTrail Model Retraining and Updating Strategies Model Lineage Tracking Conclusion References Chapter 3: Operational Excellence in MLOps What Is Operational Excellence? Principles of Operational Excellence Phases of Operational Excellence Operational Excellence and MLOps Integration Best Practices of Operational Excellence in MLOps Continuous Integration and Continuous Delivery (CI/CD) Pipelines Level 0: Manual Process Machine Learning Steps Challenges with Level 0 Level 1: ML Pipeline Automation Additional Components in Level 1 Characteristics of Level 1 Challenges with Level 1 Level 2: CI/CD Pipeline Automation Components in Level 2 Stages of the ML CI/CD Automation Pipeline Challenges with Level 2 Infrastructure as Code for Reproducible ML Environments What Is Infrastructure as Code? Main Features of Infrastructure as Code for MLOps Benefits of Using Infrastructure as Code for ML Environments Best Practices for Implementing Infrastructure as Code for MLOps Monitoring and Observability in MLOps What to Monitor in MLOps? MLOps Observability Benefits of MLOps Observability MLOps Use Case NatWest: MLOps Use Case Business Goal of NatWest Challenges Platform Used Solutions Key Outcomes Final Thoughts How to Implement Operational Excellence in AWS Operational Excellence Design Principles Operational Excellence in the Cloud Operational Excellence Best Practices Establish Model Improvement Strategies Understanding Machine Learning Experimentation Implementing Model Improvement Strategies Establish a Lineage Tracker System Implementing Lineage Tracker System Establish Feedback Loops across ML Lifecycle Phases Implementing Feedback Loop Across ML Lifecycle Phases Establish SageMaker Model Monitoring Use Amazon CloudWatch Use Amazon SageMaker Model Dashboard Automate Retraining Pipelines Use Amazon Augmented AI (A2I) Review Fairness and Explainability Implementation Plan Amazon SageMaker Clarify Create Tracking and Version Control Mechanisms Implementation Plan for Tracking, Version Control, and Automation Track Your ML Experiments with SageMaker Experiments Use SageMaker Processing Associate Notebook Instances with Git Repositories Use SageMaker Model Registry Automate Operations Through MLOps and CI/CD Implementation Plan to Automate Operations Use AWS CloudFormation Use AWS Cloud Development Kit (AWS CDK) Use SageMaker Pipelines to Orchestrate Your Workflows Use AWS Step Functions Use Third-Party Tools Establish Deployment Environment Metrics Implementation Plan to Establish Deployment Environment Metrics Record Performance-Related Metrics Analyze Metrics When Events or Incidents Occur Establish Key Performance Indicators (KPIs) Use Monitoring to Generate Alarm-Based Notifications Review Metrics at Regular Intervals Monitor and Alarm Proactively Use Amazon CloudWatch Metrics Use Amazon EventBridge Use AWS Application Cost Profiler Enable Model Observability and Tracking Implementation Plan to Enable Model Observability and Tracking Use Amazon SageMaker Model Monitor Use Amazon CloudWatch Use SageMaker Model Dashboard Use Amazon SageMaker Clarify Track Model Pipeline with SageMaker ML Lineage Tracking Use SageMaker Model Cards Using Automated Validation Capability of Amazon SageMaker Synchronize Architecture and Configuration Implementation Plan for Synchronizing Architecture and Configuration Use AWS CloudFormation Use Amazon SageMaker Model Monitor References Chapter 4: MLOps Security in AI/ML Introduction to MLOps Security Importance of MLSecOps Security Challenges in ML Systems Five Pillars of MLSecOps Best Practices of MLSecOps Implementing Secure AI with MLSecOps Step 1: Assess the ML System’s Security Needs Step 2: Establish a Cross-Functional Security Team Step 3: Define Policies and Procedures for MLSecOps Step 4: Implement the Core Pillars of MLSecOps Step 5: Follow the Secure Development Lifecycle Step 6: Implement Security Monitoring and Incident Response Step 7: Implement Regular Audits and Assessments Step 8: Conduct Employee Training and Awareness How to Implement Security in AWS Security Best Practices by ML Lifecycle Phase Business Goal Identification ML Problem Framing Design Data Encryption Protect Credentials Data Processing Implementing Least Privileged Access Implementing Sensitive Data Privacy Protection Implementing Keep Only Relevant Data Final Thoughts References Chapter 5: MLOps Reliability in AI/ML Introduction to MLOps Reliability MLOps Reliability Principles Importance of Reliability in MLOps CAP Theorem for MLOps Reliability Pillars of MLOps Reliability Best Practices to Ensure a Reliable ML System How to Implement Reliability in AWS Reliability Best Practices by ML Lifecycle Phase Final Thoughts References Chapter 6: Performance Efficiency in MLOps Understanding Performance Efficiency Drivers for ML Lifecycle Defining Business Goals and Framing the Machine Learning Problem Guidance from Business Stakeholders Quantify Business Value Align ML Problems with Business Challenges Data Processing Modern Data Architecture for MLOps Centralized Data Lakes Purpose-Built Data Stores Enhancing Data Movement and Integration Leveraging Real-Time Analytics and Processing Exploratory Data Analysis (EDA) Data Preparation and Feature Engineering Optimizing Resource Utilization Monitoring and Continuous Improvement Model Development Instance Type Selection Model Complexity and Inference Speed Benchmarking and Performance Evaluation Feature Engineering Algorithm Selection and Hyperparameter Tuning Enhancing Model Training with Ensemble Learning Bias-Variance Trade-Off Advantages of Multiple Models Diversity in Ensembles Model Deployment Optimizing Neural Networks for Deployment Deployment Strategies Choosing the Right Deployment Platform Optimizing Model Performance for Deployment Continuous Optimization Post-Deployment Model Monitoring Evaluating Model Explainability Monitoring and Adapting to Data Drift Continuous Model Quality Monitoring Integrating Human-in-the-Loop Monitoring Automating Model Retraining Maintaining Data and Model Integrity Achieving MLOps Performance Efficiency with AWS Defining Business Goals and Framing the Machine Learning Problem Data Processing Accelerating MLOps with AWS’s Comprehensive Analytics Ecosystem Data Lake on AWS Lake House Architecture on AWS AWS Compute Options for Data Processing SageMaker Processing Jobs Model Development Optimizing Model Training with Amazon SageMaker Debugger Distributed Training for Performance Efficiency Explore Alternatives for Performance Improvement Perform a Performance Trade-Off Analysis Bias vs. Fairness Trade-Off Bias vs. Variance Trade-Off (Supervised ML) Precision vs. Recall Trade-Off (Supervised ML) Model Deployment Optimize Edge Deployment Amazon SageMaker Neo and AWS IoT Greengrass Optimizing Cloud Deployment for Machine Learning Models Optimize model inference with Amazon SageMaker Optimize Model Performance with SageMaker Neo How SageMaker Neo Works Model Monitoring Key Components of Model Monitoring Enhance Model Explainability with SageMaker Clarify Evaluate Data Drift with SageMaker Model Monitor Monitoring and Managing Model Performance Degradation Monitor Model Performance Configure Alerts Automatic Scaling Monitor Endpoint Metrics Use Human-in-the-Loop Monitoring Conclusion References Chapter 7: Cost Optimization in MLOps Overview of ML Model Lifecycle Understanding Cost Drivers for ML Lifecycle Business Goal Identification Assessing Opportunity Cost and ROI Ensuring Cost-Effective Resource Allocation Automation and Optimization Strategies Reducing Total Cost of Ownership (TCO) ML Problem Framing Evaluating Alternatives Balancing Costs and Benefits Specialized Resources Hardware and Infrastructure Choices Strategic Decision-Making Data Processing Data Storage Management Data Processing Optimization Model Development Infrastructure Costs Model Training and Optimization Development and Experimentation Performance Monitoring Licensing and Software Costs Model Deployment Using the Right Inference Option Selecting the Optimal Infrastructure Autoscaling Model Monitoring Data Collection and Storage Computational Resources Monitoring Infrastructure Model Performance and Drift Detection Compliance and Security Strategies for MLOps Cost Optimization in AWS Business Goal Identification ML Problem Framing Custom Models vs. Pre-Trained Models Amazon SageMaker Built-in Algorithms SageMaker Jumpstart for Pre-trained Models Data Processing SageMaker GroundTruth for Managed Data Labeling SageMaker Processing for Managed Data Preprocessing SageMaker Data Wrangler for Data Preparation SageMaker Feature Store to Enable Feature Reusability Model Development Right-Sizing the Training Instance Recommended Best Practices for Instance Right-Sizing Selecting the Appropriate Data Source for Training Use Managed Spot Training Reduce Training Time Model Deployment Select the Right Inference Option Right-Size the Model Hosting Instance Fleet Recommended Best Practices for Instance Right-Sizing Consolidate Multiple Models to Fewer Endpoints Explore Cost-Effective Hardware Options Clean Up Unused Endpoints Model Monitoring Automation and Tooling Assess the Cost Advantages of Automation Utilize AWS Tagging for Enhanced Resource Management and Cost Tracking Leverage AWS Budgets for Comprehensive Cost Tracking and Management Utilize AWS Savings Plans Track Usage and Spend with AWS Cost Explorer Monitor and Enhance Return on Investment (ROI) for ML Models Use Comprehensive Logging and Monitoring Consider Use of Spot Instances Conclusion References Chapter 8: MLOps Case Studies Amazon Music Business Goal Challenges Platform Used Solution Overview Key Outcomes Yara Business Goal of Yara Challenges Platform Used Solution Overview Key Outcomes NatWest Business Goal of NatWest Challenges Platform Used Solutions Overview Key Outcomes Thomson Reuters Business Goal Challenges Platform Used Solution Overview Key Outcomes Cepsa Business Goal Challenges Platform Used Solution Overview Key Outcomes Final Thoughts References Chapter 9: MLOps for Generative AI Understanding Generative AI Why Foundation Models Significance of Generative AI Creativity and Innovation Data Augmentation Automation and Efficiency Personalization Applications of Generative AI in Various Industries Healthcare Medical Imaging Drug Discovery Personalized Medicine Entertainment and Media Content Creation Animation and Visual Effects Virtual Reality (VR) and Augmented Reality (AR) Finance Fraud Detection Algorithmic Trading Financial Forecasting Retail and E-commerce Personalized Recommendations Virtual Try-Ons Inventory Management Manufacturing Design Optimization Predictive Maintenance Supply Chain Management Conceptualizing MLOps for Generative AI Lifecycle of a Modern Generative AI Application LLMOps Benefits of LLMOps LLMOps Best Practices GenAIOps Challenges in GenAIOps Automation GenAIOps Best Practices for Enterprises MLOps MLOps for Generative AI on AWS Building with Foundation Models Amazon Bedrock Flexibility of Model Choice Secure Customization Foundation Model Training and Hosting Infrastructure Amazon SageMaker HyperPod AWS Trainium and AWS Inferentia2 DJLServing SageMaker Deep Learning Containers (DLCs) SageMaker Jumpstart Operationalizing MLOps for Generative AI on AWS LLMOps Using Amazon Bedrock Selecting the Right Foundation Model Customizing a Foundation Model Prompt Engineering and Testing Bedrock Guardrails Contextualizing a Foundation Model Deploy Bedrock Agents Inference with Amazon Bedrock Monitoring and Governance Evaluation and Continuous Improvement Managing Cost and Performance Trade-Offs Best Practices for LLMOps on AWS Bedrock Conclusion References Chapter 10: Future Trends in MLOps Navigating the Next Wave of Gen AI Evolution The Convergence of MLOps and Generative AI The Role of Emerging Technologies in MLOps Advancements in High-Performance Computing (HPC) Revolutionizing MLOps with High-Speed Networks Harnessing the Power of LLMs and Big Data in MLOps Edge Computing: The Frontier of MLOps Innovation Cloud Services Evolution and Its Impact on MLOps Challenges and Opportunities in Data Management Future Directions in MLOps Open Issues and Challenges in MLOps The Interdisciplinary Challenge Challenges in ML/AI Engineering Data Management Challenges Orchestrating the ML Lifecycle Distributed and Parallelized Workflows Resource Constraints in Edge Computing Containerization and Dependency Management Automation and AutoML Orchestrating AI Workloads Across Complex Environments Ensuring Security and Compliance Hardware and Architectural Challenges Heterogeneity of Hardware Platforms Incompatibility of Machine Learning Libraries Architectural Design Complexities Security and Isolation in ML Workflows Optimizing Resource Allocation Scalability and Flexibility in Architectural Design High-Performance Computing (HPC) Integration Edge Computing and Serverless Architectures Frameworks and Tools for Effective Resource Management Monitoring and Maintenance Increased Complexity in Model Monitoring Fairness, Transparency, and Explainability Ethical and Responsible AI Deployment Real-Time Performance Monitoring Human-in-the-Loop Monitoring Scalability Challenges Proactive Monitoring and Predictive Analytics Challenges in LLM Observability The Thriving Domains of MLOps: Current and Future Current Thriving Domains Industry and Research Information Technology Future Thriving Domains Expansion of AI in Space Exploration Growth of AI in Healthcare Generative AI in Creative Industries AI-Powered Autonomous Systems Integration with Edge Computing Opportunities and Future Trends in MLOps Industry Impact and Business Integration Advancements in the AI Lifecycle The Cloud Continuum and Edge Computing Networking and Infrastructure Opportunities in Data Management The Role of Automation in MLOps The Role of Emerging Frameworks in MLOps The Path Forward: 2025 and Beyond Increased Automation and AI-Driven Operations Integration with Edge Computing Emphasis on Model Interpretability and Ethics Scalability and Hyper-Automation Adoption of Federated Learning and Privacy-Preserving Techniques Advanced Monitoring and Observability Foreseeing the LLMOps Evolution Data Monetization and LLMs The Rise of Consumption-Based Pricing Models In-House LLMs and the Integration of External Data Ethical Considerations of Deploying AI at Scale in MLOps Addressing Bias in AI Algorithms Through MLOps Privacy Concerns in Large-Scale AI Deployments Regulatory Challenges in AI Deployment Ethical Implications of AI at Scale: A Holistic Approach Conclusion Sources Index This book focuses on deploying, testing, monitoring, and automating ML systems in production. It covers AWS MLOPS tools like Amazon SageMaker, Data Wrangler, and AWS Feature Store, along with best practices for operating ML systems on AWS. This book explains how to design, develop, and deploy ML workloads at scale using AWS cloud's well-architected pillars. It starts with an introduction to AWS services and MLOps tools, setting up the MLOps environment. It covers operational excellence, including CI/CD pipelines and Infrastructure as code. Security in MLOps, data privacy, IAM, and reliability with automated testing are discussed. Performance efficiency and cost optimization, like Right-sizing ML resources, are explored. The book concludes with MLOps best practices, MLOPS for GenAI, emerging trends, and future developments in MLOps By the end, readers will learn operating ML workloads on the AWS cloud. This book suits software developers, ML engineers, DevOps engineers, architects, and team leaders aspiring to be MLOps professionals on AWS. What you will learn ● Create repeatable training workflows to accelerate model development ● Catalog ML artifacts centrally for model reproducibility and governance ● Integrate ML workflows with CI/CD pipelines for faster time to production ● Continuously monitor data and models in production to maintain quality ● Optimize model deployment for performance and cost Who this book is for This book suits ML engineers, DevOps engineers, software developers, architects, and team leaders aspiring to be MLOps professionals on AWS.
دانلود کتاب The Definitive Guide to Machine Learning Operations in AWS: Machine Learning Scalability and Optimization with AWS