<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Marwa Talaat</title>
    <description>The latest articles on DEV Community by Marwa Talaat (@marwatalaat).</description>
    <link>https://dev.to/marwatalaat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F662052%2F6d049243-e322-41f2-885d-a11164d9e2db.png</url>
      <title>DEV Community: Marwa Talaat</title>
      <link>https://dev.to/marwatalaat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marwatalaat"/>
    <language>en</language>
    <item>
      <title>AWS Reinvent 2023: Unleashing the Power of ML and Generative AI</title>
      <dc:creator>Marwa Talaat</dc:creator>
      <pubDate>Wed, 20 Dec 2023 14:46:03 +0000</pubDate>
      <link>https://dev.to/aws-builders/aws-reinvent-2023-unleashing-the-power-of-ml-and-generative-ai-4bp7</link>
      <guid>https://dev.to/aws-builders/aws-reinvent-2023-unleashing-the-power-of-ml-and-generative-ai-4bp7</guid>
      <description>&lt;p&gt;Several interesting announcements were made within the just-ended &lt;a href="https://reinvent.awsevents.com/" rel="noopener noreferrer"&gt;AWS (Amazon Web Services) Reinvent 2023&lt;/a&gt; conference, especially in the domains of machine learning (ML) and generative artificial intelligence (AI). Cutting-edge improvements and brand-new services were announced at the event, showing AWS's focus to expanding boundaries of innovation in these revolutionary technologies. We'll explore some of the main announcements and consequences for ML and generative AI in the future in the next section.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Introducing Amazon SageMaker Studio for Generative AI:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Among the most interesting announcements was the launch of Amazon SageMaker Studio, a feature-rich programming environment designed to facilitate workflows using generative AI. AWS intends to make it easier for data scientists and developers to design, test, and refine a variety of generative AI projects by automating the creation and implementation and deployment of generative models with SageMaker Studio. With the help of this new toolkit, users may now discover and take use of the possibilities of generative models in a variety of industries, including design, content creation, and the arts.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For more details check &lt;a href="https://aws.amazon.com/blogs/aws/amazon-sagemaker-studio-adds-web-based-interface-code-editor-flexible-workspaces-and-streamlines-user-onboarding/" rel="noopener noreferrer"&gt;Amazon SageMaker Studio adds web-based interface, Code Editor, flexible workspaces, and streamlines user onboarding&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Faster model deployment with guided workflows in Amazon SageMaker :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS recently released new features and updates for services in Amazon SageMaker. New interactive model deployment processes provide step-by-step guidance on which instance type to select in order to identify the most suitable endpoint configuration. It is boosting the use of ML by enterprises without the need for highly skilled employees. On top of that, SageMaker Studio offers more interfaces for test inference, adding models, and enabling auto scaling policies on the deployed endpoints.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For more details &lt;a href="https://aws.amazon.com/blogs/aws/package-and-deploy-models-faster-with-new-tools-and-guided-workflows-in-amazon-sagemaker/" rel="noopener noreferrer"&gt;check Package and deploy models faster with new tools and guided workflows in Amazon SageMaker&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Accelerated Inference Capabilities:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can deploy several foundation models (FMs) on a single SageMaker endpoint and manage the number of accelerators and memory given to each FM by utilizing the newly available inference capabilities. When ML models are executed in production, AWS guarantees improved performance and cost-effectiveness. Its powerful capabilities enable real-time decision-making, accelerate inferencing activities for businesses, and improve operational efficiency for a variety of applications, such as computer vision and natural language processing.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For more details &lt;a href="https://aws.amazon.com/blogs/aws/amazon-sagemaker-adds-new-inference-capabilities-to-help-reduce-foundation-model-deployment-costs-and-latency/" rel="noopener noreferrer"&gt;Amazon SageMaker adds new inference capabilities to help reduce foundation model deployment costs and latency&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Launching Amazon Q, a new assistant powered by generative AI :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Q, a new generative AI-powered personal assistant that can be customized for your business, has been launched by AWS. Through access to the code, data, enterprise systems, and information repositories of your organization, Amazon Q enables you to engage in conversations, solve issues, produce content, acquire insights, and act.  With Amazon Q's user-based plans, you may customize the product's features, cost, and options to suit your needs. Based on the organization's current identities, positions, and permissions, Amazon Q can customize its interactions for every single user.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For more details &lt;a href="https://aws.amazon.com/blogs/aws/introducing-amazon-q-a-new-generative-ai-powered-assistant-preview/" rel="noopener noreferrer"&gt;Introducing Amazon Q, a new generative AI-powered assistant (preview)&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Build generative AI applications with Amazon Bedrock :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Two newly optimized integration between Amazon Bedrock and AWS Step Functions were announced by AWS. With the use of Step Functions, a visual workflow tool, developers can build distributed applications, automate workflows, integrate microservices, and build pipelines for data and machine learning (ML).&lt;br&gt;
AWS released Amazon Bedrock earlier this year, which is the simplest approach for developing and expanding generative AI systems using foundation models (FMs). Bedrock offers a wide range of capabilities that customers require to develop generative AI applications while upholding privacy and security, offering a selection of foundation models from top suppliers including AI21 Labs, Anthropic, Cohere, Stability AI, and Amazon.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For more details &lt;a href="https://aws.amazon.com/blogs/aws/build-generative-ai-apps-using-aws-step-functions-and-amazon-bedrock/" rel="noopener noreferrer"&gt;Build generative AI apps using AWS Step Functions and Amazon Bedrock&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The ML and generative AI announcements released at AWS Reinvent 2023 show how devoted AWS is to providing businesses with state-of-the-art capabilities. AWS is well-positioned for leading the next wave of innovation in machine learning and generative artificial intelligence applications with the release of SageMaker Studio for Generative AI, improved inference capabilities for faster inference, development generative AI apps with Amazon Bedrock, and Amazon Q.&lt;/p&gt;

&lt;p&gt;Organizations in a variety of industries will be able to use ML and Generative AI to stimulate corporate growth, improve consumer experiences, and open new opportunities as these new services and tools become more widely available. In the years to come, we can expect interesting improvements and revolutionary uses of ML and generative AI, with AWS Reinvent 2023 laying the foundation for what's to come.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The mentioned announcements are some of the main announcements for ML and generative AI to see all announcement related to Generative AI / Machine Learning, check &lt;strong&gt;&lt;a href="https://aws.amazon.com/blogs/aws/top-announcements-of-aws-reinvent-2023/#Generative_AI" rel="noopener noreferrer"&gt;#Generative_AI&lt;/a&gt;&lt;/strong&gt; for more announcements and their details&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>machinelearning</category>
      <category>ai</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Study Plan to pass exam AWS Machine Learning Specialty exam with tips and advice</title>
      <dc:creator>Marwa Talaat</dc:creator>
      <pubDate>Thu, 03 Nov 2022 08:58:36 +0000</pubDate>
      <link>https://dev.to/aws-builders/study-plan-to-pass-exam-aws-machine-learning-specialty-exam-with-tips-and-advice-3jh0</link>
      <guid>https://dev.to/aws-builders/study-plan-to-pass-exam-aws-machine-learning-specialty-exam-with-tips-and-advice-3jh0</guid>
      <description>&lt;p&gt;The AWS Machine Learning Specialty exam is a challenging task that requires a lot of commitment, dedication, and covering theory and practice. The main objective of the exam is to validate your expertise in machine learning and your ability to apply it in the AWS cloud. It requires a lot of knowledge and experience to pass.&lt;/p&gt;

&lt;h4&gt;
  
  
  Whether or Not You Should follow This Guide?
&lt;/h4&gt;

&lt;p&gt;Before we get started, let's evaluate if this tutorial is right for you. The target audience for this learning guide is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand at least one high-level programming language in-depth and practical development experience (at least 2 years as recommended by AWS)&lt;/li&gt;
&lt;li&gt;Basic understanding of Machine Learning. if you have a solid knowledge of data science and machine learning. You won’t need to go through all these resources.&lt;/li&gt;
&lt;li&gt;You have 3 hours a day, 5 times a week excluding weekends 😃 &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;These learning resources are offered based on the real requirement in each plan stage.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage one: Testing the waters:
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/482/aws-foundations-getting-started-with-the-aws-cloud-essentials" rel="noopener noreferrer"&gt;What is AWS Cloud?&lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
        60 minutes
        &lt;/td&gt;
        &lt;td&gt;
        You will learn about the foundations of getting started in the AWS Cloud.
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/134/aws-cloud-practitioner-essentials" rel="noopener noreferrer"&gt;AWS Cloud Practitioner Essentials&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;6 hours&lt;/td&gt;
        &lt;td&gt;This course is intended for anyone who, regardless of their technical positions, wants a general grasp of the Amazon Web Services (AWS) Cloud. You will gain an understanding of AWS Cloud principles, AWS services, security, architecture, pricing, and support. You may use this course to be prepared for the AWS Certified Cloud Practitioner test as well.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/385/demystifying-aimldl" rel="noopener noreferrer"&gt;Demystifying AI/ML/DL&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;45 minutes&lt;/td&gt;
        &lt;td&gt;You will learn the relationship between artificial intelligence (AI), machine learning (ML), and deep learning after completing this collection of courses (DL).&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/118/aws-foundations-machine-learning-basics" rel="noopener noreferrer"&gt;AWS Foundations: Machine Learning Basics&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;You learn about the concepts, terminology, and processes of the exciting topic of machine learning! &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://catalog.us-east-1.prod.workshops.aws/workshops/3d705026-9edc-40e8-b353-bdabb116c89c/en-US" rel="noopener noreferrer"&gt;Learn Python on AWS Workshop&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;3 Hours&lt;/td&gt;
        &lt;td&gt;You will learn the fundamentals of Python programming in this class utilizing Amazon Web Services (AWS).It is intended for beginners who have never coded in Python before, and it employs similar ways of introducing the fundamentals as previous books and tutorials on the Python programming language.&lt;/td&gt; 
&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Stage Two: Self-based Learning Resources
&lt;/h3&gt;

&lt;p&gt;These learning resources are crucial components of the suggested learning strategy and will aid in your acquisition of new AWS machine learning capabilities and services.&lt;/p&gt;

&lt;h4&gt;
  
  
  Week- 1: Average 11 hours to 13 hours
&lt;/h4&gt;

&lt;p&gt;During this week you get to know the fundamentals of AWS cloud and AWS machine learning. &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="https://aws.amazon.com/what-is-aws/?nc2=h_ql_le" rel="noopener noreferrer"&gt;What is Cloud Computing with AWS?&lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;10 minutes &lt;/td&gt;
        &lt;td&gt;
        You will get an overview of the AWS cloud, functionalities, regions, etc.
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html" rel="noopener noreferrer"&gt;AWS glossary&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;AWS Glossary to know definitions of key terms and concepts&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/156/job-roles-in-the-cloud" rel="noopener noreferrer"&gt;Job Roles in the Cloud&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;You will learn about the typical job roles applicable to an enterprise-level AWS Cloud environment&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;a href="https://aws.amazon.com/pricing/?pg=WIAWS&amp;amp;tile=learn_more&amp;amp;aws-products-pricing.sort-by=item.additionalFields.productNameLowercase&amp;amp;aws-products-pricing.sort-order=asc&amp;amp;awsf.Free%20Tier%20Type=*all&amp;amp;awsf.tech-category=*all" rel="noopener noreferrer"&gt;AWS Pricing&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;15 minutes&lt;/td&gt;
        &lt;td&gt;You will learn a broad view of How does AWS pricing work? How do you pay for AWS? And pricing for AWS products &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://docs.aws.amazon.com/whitepapers/latest/how-aws-pricing-works/welcome.html" rel="noopener noreferrer"&gt;How AWS Pricing Works: AWS Pricing Overview&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;60 minutes&lt;/td&gt;
        &lt;td&gt;You'll discover that the flexibility to adjust expenses to match your needs, even as those needs change over time, is one of the key advantages of cloud services&lt;/td&gt; 
    &lt;/tr&gt;
    
        &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://aws.amazon.com/premiumsupport/plans/" rel="noopener noreferrer"&gt;AWS Support Plans&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;10 minutes&lt;/td&gt;
        &lt;td&gt;You will discover how AWS Support plans are created to provide you with the ideal combination of tools and access to knowledge so that you can succeed with AWS while maximizing performance, minimizing risk, and keeping costs in check.&lt;/td&gt; 
    &lt;/tr&gt;
        &lt;tr&gt;
       &lt;td&gt;&lt;ul&gt;
  &lt;li&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/155/aws-shared-responsibility-model" rel="noopener noreferrer"&gt;AWS Shared Responsibility Model&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://aws.amazon.com/compliance/shared-responsibility-model/" rel="noopener noreferrer"&gt;Shared Responsibility Model&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/td&gt;
       &lt;td&gt;15 minutes&lt;/td&gt;
        &lt;td&gt;You will get the AWS Shared Responsibility Model introduction. This course clarifies the separation of those obligations between AWS and the client, who both share responsibility for security and compliance.&lt;/td&gt; 
    &lt;/tr&gt;
        &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://aws.amazon.com/security/?nc1=f_cc" rel="noopener noreferrer"&gt;AWS Cloud Security&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;5 minutes &lt;/td&gt;
        &lt;td&gt;You will discover how AWS enables you to take back control of your organization and instils the confidence you need to operate it safely in the most adaptable and secure cloud computing environment currently available.&lt;/td&gt; 
    &lt;/tr&gt;
        &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/309/machine-learning-for-leaders" rel="noopener noreferrer"&gt;Machine Learning for Leaders&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;70 minutes&lt;/td&gt;
        &lt;td&gt;This course will teach you how as a business leader, machine learning may help your teams in maximizing project performance and gaining crucial insight into your company's or your customers' demands. &lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/349/machine-learning-for-business-challenges" rel="noopener noreferrer"&gt;Machine Learning for Business Challenges&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;60 minutes &lt;/td&gt;
        &lt;td&gt;You will learn how can you use machine learning (ML) to address business challenges in ways that weren't previously feasible, but you must think broadly.&lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/260/machine-learning-terminology-and-process" rel="noopener noreferrer"&gt;Machine Learning Terminology and Process&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;60 minutes &lt;/td&gt;
        &lt;td&gt;You will understand the fundamentals of machine learning in this course, as well as how machines analyze data. We thoroughly examine each stage of the machine learning process and define some of the words and methods that are frequently used in a particular stage of an ML project.&lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/369/process-model-crisp-dm-on-the-aws-stack" rel="noopener noreferrer"&gt;Process Model: CRISP-DM on the AWS Stack&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;50 minutes&lt;/td&gt;
        &lt;td&gt;You learn about data science as a circular process through the CRISP-DM paradigm. With the help of Jake Chen, an AWS data scientist consultant, we'll go over the CRISP-DM methodology and framework before putting its six stages to use in your day-to-day job as a data scientist.&lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://aws.amazon.com/machine-learning/?nc2=h_ql_sol_use_ml" rel="noopener noreferrer"&gt;Machine Learning on AWS&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;You will get an overview of the machine learning capabilities that AWS has.&lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/325/exploring-the-machine-learning-toolset" rel="noopener noreferrer"&gt;Exploring the Machine Learning Toolset&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;20 minutes &lt;/td&gt;
        &lt;td&gt;You will learn that anyone can apply machine learning no matter what your background or experience is. you'll go through a few of the AWS machine learning services you can use to create models and give app intelligence in this lecture.&lt;/td&gt; 
    &lt;/tr&gt;
    
    &lt;tr&gt;
       &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/external/view/elearning/44/data-analytics-fundamentals" rel="noopener noreferrer"&gt;Data Analytics Fundamentals&lt;/a&gt;&lt;/td&gt;
       &lt;td&gt;210 minutes &lt;/td&gt;
        &lt;td&gt;You will learn about the process of planning data analysis solutions, as well as the numerous data analytic techniques involved.&lt;/td&gt; 
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Week- 2: Average 16 hours to 19 hours
&lt;/h4&gt;

&lt;p&gt;This week is kind of tough you will go back to basics in math to understand vectors and matrices, linear algebra, probability theorems, univariate calculus, and multivariate calculus as well as elements of data science.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/356/math-for-machine-learning" rel="noopener noreferrer"&gt;Math for Machine Learning&lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;480 minutes&lt;/td&gt;
        &lt;td&gt;
Modern machine learning requires an understanding of vectors and matrices, linear algebra, probability theorems, univariate calculus, and multivariate calculus.
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/360/the-elements-of-data-science" rel="noopener noreferrer"&gt;The Elements of Data Science&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;480 minutes&lt;/td&gt;
        &lt;td&gt;You will learn how to develop and constantly improve machine learning models.&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Week- 3: Average 15 hours to 17 hours
&lt;/h4&gt;

&lt;p&gt;Concepts and best practices for AWS Machine Learning in the cloud.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/6351/planning-a-machine-learning-project" rel="noopener noreferrer"&gt;Planning a Machine Learning Project&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;30 minutes &lt;/td&gt;
        &lt;td&gt;You learn how to assess the data, time, and production requirements for a successful ML project.&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/11323/building-a-machine-learning-ready-organization" rel="noopener noreferrer"&gt;Building a Machine Learning Ready Organization&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;This course outlines the components required for successful machine learning adoption in organizations.&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/240/introduction-to-amazon-sagemaker" rel="noopener noreferrer"&gt;Introduction to Amazon SageMaker&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;13 minutes&lt;/td&gt;
        &lt;td&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/471/aws-foundations-how-amazon-sagemaker-can-help" rel="noopener noreferrer"&gt;AWS Foundations: How Amazon SageMaker Can Help&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;30 minutes&lt;/td&gt;
        &lt;td&gt;You will explore how Amazon SageMaker mitigates the primary problems associated with creating a machine learning pipeline.&lt;/td&gt;
    &lt;/tr&gt;
    
    
    &lt;tr&gt;
        &lt;td&gt;    &lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/58/developing-machine-learning-applications" rel="noopener noreferrer"&gt;Developing Machine Learning Applications&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;240 minutes&lt;/td&gt;
        &lt;td&gt;You'll look at Amazon SageMaker, a fully managed machine learning platform. We'll talk about how to train and fine-tune models; how certain algorithms are built-in, etc.&lt;/td&gt;
    &lt;/tr&gt;
    
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href=""&gt;Amazon SageMaker: Build an Object Detection Model Using Images Labeled with Ground Truth&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;70 minutes&lt;/td&gt;
        &lt;td&gt;You will learn how to implement a machine learning pipeline using Amazon SageMaker and Amazon SageMaker Ground Truth.&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/95/machine-learning-security" rel="noopener noreferrer"&gt;Machine Learning Security&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;120 minutes&lt;/td&gt;
        &lt;td&gt;You will how to control and maintain permissions, as well as approve traffic, which are all part of developing highly secure applications and environments on the AWS platform.&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://www.youtube.com/playlist?list=PLhr1KZpdzukcOr_6j_zmSrvYnLUtgqsZz" rel="noopener noreferrer"&gt;Amazon SageMaker Technical Deep Dive Series&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;275 minutes &lt;/td&gt;
        &lt;td&gt;Deep dive videos series provided by AWS. &lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://aws.amazon.com/machine-learning/deep-learning-guide/" rel="noopener noreferrer"&gt;Deep Learning on AWS&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;120 minutes&lt;/td&gt;
        &lt;td&gt;A technical guide to running deep learning in AWS cloud.&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Week- 4: Average 18 hours to 20 hours
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="https://www.coursera.org/learn/automl-datasets-ml-models?specialization=practical-data-science" rel="noopener noreferrer"&gt;Analyze Datasets and Train ML Models using AutoML&lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;18 hours&lt;/td&gt;
        &lt;td&gt;Prepare data, detect statistical data biases, and perform feature engineering at scale to train models with pre-built algorithms.&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Week- 5: Average 13 hours to 15 hours
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://www.coursera.org/learn/ml-pipelines-bert?specialization=practical-data-science" rel="noopener noreferrer"&gt;Build, Train, and Deploy ML Pipelines using BERT&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;13 hours &lt;/td&gt;
        &lt;td&gt;&lt;ul&gt;
        &lt;li&gt;Store and manage machine learning features using a feature store.&lt;/li&gt;
        &lt;li&gt;Debug, profile, tune and evaluate models while tracking data lineage and model artifacts.&lt;/li&gt;
        
        &lt;/ul&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Week- 6: Average 14 hours to 16 hours
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
        &lt;a href="https://www.coursera.org/learn/ml-models-human-in-the-loop-pipelines?specialization=practical-data-science" rel="noopener noreferrer"&gt;Optimize ML Models and Deploy Human-in-the-Loop Pipelines&lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;14 hours&lt;/td&gt;
        &lt;td&gt;You will learn how to build, train, and deploy scalable, end-to-end ML pipelines - both automated and human-in-the-loop - in the AWS cloud.&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Stage Three: Real live environment practice
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Week- 7 &amp;amp; 8 &amp;amp; 9: Average 36 hours to 40 hours
&lt;/h4&gt;

&lt;p&gt;It's time to get your hands dirty by solving some ML Use Cases of your own from &lt;a href="https://github.com/aws/amazon-sagemaker-examples/tree/main/use-cases/computer_vision" rel="noopener noreferrer"&gt;AWS SageMaker Use Cases repo&lt;/a&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;Learning Resource&lt;/td&gt;
        &lt;td&gt;Duration&lt;/td&gt;
        &lt;td&gt;Outcomes&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/blob/main/use-cases/credit_risk/risk_bucketing.ipynb" rel="noopener noreferrer"&gt;Risk Bucketing&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;6 hours &lt;/td&gt;
        &lt;td&gt;One of the most common use cases for machine learning in financial services is estimating the probability of default on a loan.&lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/tree/main/use-cases/customer_churn" rel="noopener noreferrer"&gt;Churn Prediction for Music Streaming&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt; 6 hours&lt;/td&gt;
        &lt;td&gt;Use case to detect whether the customer tends to leave and stop paying for a service.&lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/blob/main/use-cases/financial_payment_classification/financial_payment_classification.ipynb" rel="noopener noreferrer"&gt;Payment Classification&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;6 hours &lt;/td&gt;
        &lt;td&gt;Use case to classify payment transactions.&lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/tree/main/use-cases/predictive_maintenance" rel="noopener noreferrer"&gt;Fleet Predictive Maintenance&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;6 hours &lt;/td&gt;
        &lt;td&gt;Use case to demonstrate a Predictive Maintenance (PrM) solution for automible fleet maintenance via Amazon SageMaker Studio.&lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/tree/main/use-cases/product_ratings_with_pipelines" rel="noopener noreferrer"&gt;Amazon SageMaker Pipelines&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt;6 hours &lt;/td&gt;
        &lt;td&gt;In this use case we use SageMaker Pipelines to train and deploy a text classification model to predict e-commerce product ratings based on customers’ product reviews.&lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;
&lt;a href="https://github.com/aws/amazon-sagemaker-examples/tree/main/use-cases/computer_vision" rel="noopener noreferrer"&gt;Computer Vision&lt;/a&gt; &lt;/td&gt;
        &lt;td&gt; 6 hours&lt;/td&gt;
        &lt;td&gt;Use case about computer Vision for Medical Imaging - Pipeline Mode&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Stage Four: Prepare for and take the AWS Certified Machine Learning - Specialty certification exam
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Additional recommended resources
&lt;/h3&gt;

&lt;p&gt;Till this stage you should be about 50% ready for the exam. Though AWS provides an exact passing score of 750 for this test, it's safe to infer that a score of 75% to 80% is necessary to pass. With an extra month or two of preparation, I feel the certification is well within reach.&lt;/p&gt;

&lt;p&gt;Official documentations are important preparation resource. Its always recommended to review the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/sagemaker/faqs/" rel="noopener noreferrer"&gt;Amazon SageMaker FAQs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html" rel="noopener noreferrer"&gt;Amazon SageMaker Developer Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;These tips for exam preparation:&lt;/em&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You should be familiar with AWS's AI services’ Rekognition, AWS Polly, Comprehend, Textract, Lex, etc. are some examples. You will be asked to select a service based on a high-level use case when they are present on the exam, and you may be asked about service requirements to use it.&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html" rel="noopener noreferrer"&gt;Use Amazon SageMaker Built-in Algorithms or Pre-trained Models&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For review and practice, the following courses are highly recommended:&lt;br&gt;
 o &lt;a href="https://www.udemy.com/course/aws-machine-learning/" rel="noopener noreferrer"&gt;AWS Certified Machine Learning Specialty 2022 - Hands On!&lt;/a&gt; and &lt;a href="https://dev.too%20%20AWS%20Certified%20Machine%20Learning%20Specialty%20Full%20Practice%20Exam"&gt;AWS Certified Machine Learning Specialty Full Practice Exam&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://ffflora.cat/posts/2021/01/aws-machine-learning-exam-readiness-with-sample-questions/" rel="noopener noreferrer"&gt;Study notes directly from AWS Training course &lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can practice more for free on &lt;a href="https://www.examtopics.com/exams/amazon/aws-certified-machine-learning-specialty/" rel="noopener noreferrer"&gt;examtopics&lt;/a&gt; , &lt;a href="https://free-braindumps.com/amazon/free-mls-c01-braindumps.html" rel="noopener noreferrer"&gt;braindumps&lt;/a&gt;, &lt;a href="https://www.certification-questions.com/amazon-exam/aws-certified-machine-learning-specialty-dumps.html" rel="noopener noreferrer"&gt;certification-questions&lt;/a&gt;, and many more . Although if you’re willing to pay &lt;a href="https://portal.tutorialsdojo.com/courses/aws-certified-machine-learning-specialty-practice-exams/" rel="noopener noreferrer"&gt;tutorialsdojo&lt;/a&gt; has several nice sets of questions available.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is preferable to verify and answer the questions accurately than to guess. Obviously, as you progress through the practice tests, you should refer to the materials less frequently.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Save the questions you're having problems answering, so you can easily go back and revise them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You also need to bear in mind, you need to know &lt;a href="https://aws.amazon.com/new/?whats-new-content-all.sort-by=item.additionalFields.postDateTime&amp;amp;whats-new-content-all.sort-order=desc&amp;amp;awsf.whats-new-analytics=*all&amp;amp;awsf.whats-new-app-integration=*all&amp;amp;awsf.whats-new-arvr=*all&amp;amp;awsf.whats-new-blockchain=*all&amp;amp;awsf.whats-new-business-applications=*all&amp;amp;awsf.whats-new-cloud-financial-management=*all&amp;amp;awsf.whats-new-compute=*all&amp;amp;awsf.whats-new-containers=*all&amp;amp;awsf.whats-new-customer-enablement=*all&amp;amp;awsf.whats-new-customer%20engagement=*all&amp;amp;awsf.whats-new-database=*all&amp;amp;awsf.whats-new-developer-tools=*all&amp;amp;awsf.whats-new-end-user-computing=*all&amp;amp;awsf.whats-new-mobile=*all&amp;amp;awsf.whats-new-gametech=*all&amp;amp;awsf.whats-new-iot=*all&amp;amp;awsf.whats-new-machine-learning=*all&amp;amp;awsf.whats-new-management-governance=*all&amp;amp;awsf.whats-new-media-services=*all&amp;amp;awsf.whats-new-migration-transfer=*all&amp;amp;awsf.whats-new-networking-content-delivery=*all&amp;amp;awsf.whats-new-quantum-tech=*all&amp;amp;awsf.whats-new-robotics=*all&amp;amp;awsf.whats-new-satellite=*all&amp;amp;awsf.whats-new-security-id-compliance=*all&amp;amp;awsf.whats-new-serverless=*all&amp;amp;awsf.whats-new-storage=*all" rel="noopener noreferrer"&gt;what is new in AWS&lt;/a&gt; from AI services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Non-native English speakers can request a 30-minute exam extension when taking an English exam. The accommodation "ESL +30" only must be requested once, before &lt;a href="https://www.aws.training/certification" rel="noopener noreferrer"&gt;enrolling&lt;/a&gt; for a test.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Last but not least, always remember that there is no need to know all the answers to ace the exam, so don't put yourself under unnecessary stress!  &lt;/p&gt;

&lt;p&gt;Best of luck with the exam!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>machinelearning</category>
      <category>cloud</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why do we love AWS Step Functions vs AWS Lambda in AI/ML?</title>
      <dc:creator>Marwa Talaat</dc:creator>
      <pubDate>Mon, 03 Oct 2022 18:22:52 +0000</pubDate>
      <link>https://dev.to/aws-builders/why-do-we-love-aws-step-functions-over-lambda-in-aiml-18oi</link>
      <guid>https://dev.to/aws-builders/why-do-we-love-aws-step-functions-over-lambda-in-aiml-18oi</guid>
      <description>&lt;p&gt;Interested to know if you need to use AWS step functions in your application? This is a complete guide on what are AWS Step functions, how AWS Step Functions works, their benefits, and their strengths over AWS Lambda and weaknesses in different situations.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What are AWS Step Functions?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS Step Functions is a low-code visual workflow application that allows you to create, deploy, and automate business processes as well as data and machine learning pipelines using AWS services. Workflows handle exceptions, retries, parallelization, service integration, and monitoring, allowing developers to concentrate on higher-value business logic.&lt;br&gt;
In other words, step functions are orchestrators to help to design and implement complex workflows such as batch processing. Step Functions coordinates between multiple tasks that need orchestration, making it simple to build multi-step systems. &lt;/p&gt;

&lt;p&gt;You could develop interactive and complicated systems that use all the features mentioned in addition to full orchestration and ease of transparency with AWS Step Functions to manage and shape these interactions. Let's discuss it right away. &lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;AWS Step Function Benefits&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Build and deploy rapidly:&lt;/strong&gt;&lt;br&gt;
Workflow Studio offers a straightforward drag-and-drop user interface that makes getting started quickly. Step Functions allow you to quickly connect services, systems, or people by using low-code, event-driven workflows to describe complex business logic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Write less integration code:&lt;/strong&gt;&lt;br&gt;
Build robust business workflows, data pipelines, or apps using AWS resources from more than 200 services, such as Lambda, ECS, Fargate, Batch, DynamoDB, SNS, SQS, SageMaker, EventBridge, or EMR.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Build fault-tolerant and stateful workflows:&lt;/strong&gt;&lt;br&gt;
Step Functions keeps track of managing state, checkpoints, and restarts so that your workflows proceed as planned. Based on your predefined business logic, automatic error and exception handling are provided through built-in try/catch, retry, and rollback capabilities.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Designed for reliability and scale:&lt;/strong&gt;&lt;br&gt;
Depending on your particular use case, you can choose between the Standard or Express workflow types that Step Functions offers. Long-running workloads are managed using standard workflows. Workloads for high-volume event processing are supported by Express Workflows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Parallelism:&lt;/strong&gt;&lt;br&gt;
Declarative parallelism is possible for the work. A state of a step machine may invoke different states simultaneously. The workflow will proceed more quickly as a result.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;High Execution Time:&lt;/strong&gt;&lt;br&gt;
If some of the tasks in the workflow require a lot of time (exceeding 10 minutes), they can be executed on ECS, EC2, or as an Activity hosted outside of AWS because Step Functions have a maximum execution time of one year.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;How did AWS Step Functions build?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS Step Functions consist of the following main components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt; &lt;strong&gt;State Machine&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The term "state machine" is used to describe an application workflow in AWS Step Functions, which is based on this very idea. The Amazon States Language (ASL ) allows programmers to create state machines in Step Functions using JSON files.&lt;/p&gt;

&lt;p&gt;Processes that take a while to complete or require human involvement can be defined as a regular workflow. while Express workflows are ideal for quick, high-volume procedures that complete in under five minutes. &lt;/p&gt;

&lt;p&gt;State machine takes data in 3 main forms; input in the initial state, data which passed between states, and output in the final state.&lt;/p&gt;

&lt;p&gt;For more information, see &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-data.html"&gt;State Machine Data&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt; &lt;strong&gt;State&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Individual states could act, make decisions based on their input, and send output to other states. In your state machine, states are elements. A state is identified by its name, which can be any string but needs to be unique across the entire state machine.&lt;/p&gt;

&lt;p&gt;A state represents a step in your workflow. States can perform a variety of functions:&lt;/p&gt;

&lt;p&gt;• Do some work in your state machine (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-task-state.html"&gt;Task &lt;/a&gt;state)&lt;br&gt;
• Choose between branches of execution (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-choice-state.html"&gt;Choice&lt;/a&gt; state)&lt;br&gt;
• Stop execution with a failure or success (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-fail-state.html"&gt;Fail&lt;/a&gt; or &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-succeed-state.html"&gt;Succeed &lt;/a&gt;state)&lt;br&gt;
• Simply pass its input to its output or inject some fixed data (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-pass-state.html"&gt;Pass &lt;/a&gt;state)&lt;br&gt;
• Provide a delay for a certain amount of time or until a specified time/date (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-wait-state.html"&gt;Wait &lt;/a&gt;state)&lt;br&gt;
• Begin parallel branches of execution (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-parallel-state.html"&gt;Parallel &lt;/a&gt;state)&lt;br&gt;
• Dynamically iterate steps (a &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-map-state.html"&gt;Map&lt;/a&gt; state)&lt;/p&gt;

&lt;p&gt;Example of state definition of task type using ASL&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"States": {
"FirstState": {
"Type": "Task",
"Resource": "$",
"Next": "My Next state"
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The states that you decide to include in your state machine and the relationships between your states form the core of your Step Functions workflow.&lt;/p&gt;

&lt;p&gt;For more information, see &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-states.html"&gt;Concepts States&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt; &lt;strong&gt;Tasks state and Activities&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Tasks&lt;/strong&gt;&lt;/em&gt;: A Task also referred to as a task state is a single unit of work used in the state machine. A task can be used in invoking the Lambda function or calling the API of other services.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Activities&lt;/strong&gt;&lt;/em&gt;: Activity is used to perform a task. It lets you connect your step function with a batch of code that is running elsewhere which is known as an activity worker.&lt;/p&gt;

&lt;p&gt;You can see and verify your state machine as a set of steps through your AWS console. Step Functions record the execution time, input, output, number of retries, and errors for each step as it is carried out. Engineering teams may quickly identify which step or steps may have caused a workflow to fail and which steps may have caused that failure with the use of this information.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Drawbacks of Step functions&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vendor lock&lt;/strong&gt;:  since it's used on AWS. if you decide to migrate your application to a different cloud vendor., you will need to remodel your application or replace it with an alternative service from a new vendor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complex syntax&lt;/strong&gt;: Your application code may become more difficult to comprehend for other members of your team who might need to edit or upgrade it because of separating business logic from workflow logic. The Amazon Statements language used to configure step functions is very complex. The syntax of this language is based on JSON. In other words, the language is ideal for machine readability, not for humans. This language can be difficult to learn and is only available for AWS Step Functions as it is an AWS proprietary language.&lt;/li&gt;
&lt;li&gt;The maximum limit for keeping execution history logs is 90 days.&lt;/li&gt;
&lt;li&gt;The missing trigger for some events like in DynamoDB and Kinesis.&lt;/li&gt;
&lt;li&gt;Each Execution name for a state machine must be unique and not used in the last 90 days.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step Functions limitation&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Maximum item execution is 25,000 per workflow; so, you will need to divide workflow into multiple workflows to not exceed the limit.&lt;/li&gt;
&lt;li&gt;Request made to Step functions size should not exceed 1MB.&lt;/li&gt;
&lt;li&gt;Maximum 50 tags per each resource in step functions &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AWS Step Functions vs AWS Lambda: what are the differences?
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Overall comparison&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;AWS Step Functions&lt;/td&gt;
        &lt;td&gt;AWS Lambda&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;ul&gt;
  &lt;li&gt;Using visual workflow, it builds distributed applications. &lt;/li&gt;
  &lt;li&gt;Simplify coordinating components of distributed applications and microservices through visual workflows. &lt;/li&gt;
  &lt;li&gt;You can expand and update apps efficiently by creating them from separate components that each perform a distinct function&lt;/li&gt;
&lt;/ul&gt;&lt;/td&gt;
        &lt;td&gt;&lt;ul&gt;
  &lt;li&gt;Runs code automatically to respond to object modifications.&lt;/li&gt;
  &lt;li&gt;Create your back-end services that use AWS scalability, performance, and security while extending existing AWS services with custom logic.&lt;/li&gt;
&lt;/ul&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;Cloud Task Management category&lt;/td&gt;
        &lt;td&gt;Serverless category&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;Integration with other services&lt;/td&gt;
        &lt;td&gt;No infrastructure&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;State machine, tasks execution unit &lt;/td&gt;
        &lt;td&gt;Lambda function execution unit &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;Supported Runtimes: Java,.NET, Ruby, PHP, Python (Boto 3),JavaScript, Go, C++&lt;/td&gt;
        &lt;td&gt;Supported Runtimes: Nodejs 12, 14, 16, Python 3.6, 3.7, 3.8, Java 8, 11, .NET 5,6, Core 3.1, GO 1.x, Ruby 2.7&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;ul&gt;

  &lt;li&gt;AWS free tier offers 4,000 Step Functions state transitions per month&lt;/li&gt;
  &lt;li&gt;Beyond the free tier the price is depending on region, but the price is calculated per 1,000 state transitions&lt;/li&gt;
  
&lt;/ul&gt;&lt;/td&gt;
        &lt;td&gt;
&lt;ul&gt;
  &lt;li&gt;free tier offers 400,000 GB-seconds of compute time per month.&lt;/li&gt;
  &lt;li&gt;Beyond free tier—$0.00001667 per every GB-second&lt;/li&gt;
&lt;/ul&gt;  &lt;/td&gt;
    &lt;/tr&gt;  
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Check &lt;a href="https://calculator.aws/#/addService"&gt;AWS Price Calculator&lt;/a&gt; to calculate your AWS services and architecture cost estimation. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Cost factors comparison&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Prices are based on US East Ohio Region &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;
        &lt;td&gt;Lambda&lt;/td&gt;
        &lt;td&gt;Step Functions-Standard workflows&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;Invocation&lt;/td&gt;
        &lt;td&gt;$0.20 per 1M requests &lt;/td&gt;
        &lt;td&gt;NA &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;Consuming GB per seconds&lt;/td&gt;
        &lt;td&gt;$0.0000166667 for every GB-second &lt;/td&gt;
        &lt;td&gt;NA &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;State transitioning&lt;/td&gt;
        &lt;td&gt;NA &lt;/td&gt;
        &lt;td&gt;$0.025 per 1K &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You may observe that standard workflows have different pricing. Their charge is primarily based on the number of state changes.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Flexibility Comparison&lt;/strong&gt;&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Lambda is not well known for its flexibility and its ability to perform complex and long-running operations. For instance, Lambda is limited to up to 5 minutes, however, you can extend it to 15 minutes.  This may not be practical for large complex scripts.&lt;/p&gt;

&lt;p&gt;For example, if you build a simple app using Lambda that you expect some common steps that people expect like retrying the connection until service will be available to move to the next step or run operations in parallel. Additionally, users are unable to run failed code again. Unfortunately, Lambda does not come with these functionalities by default.&lt;/p&gt;

&lt;p&gt;This should not discourage you from using Lambda at all, as AWS Step Functions can win in this situation.&lt;/p&gt;

&lt;p&gt;You can develop interactive and complicated systems that make use of all the elements we just mentioned and more with complete orchestration and ease of transparency by using AWS Step Functions to manage and shape these interactions.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Development &amp;amp; Integrations Comparison&lt;/strong&gt;&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;To perform these longer activities, it is possible to add containers using a solution like Amazon Elastic Container Service (EC2), but what happens when the containers are also working on other tasks? You need to include the state.&lt;/p&gt;

&lt;p&gt;AWS Lambda's inability to handle state effectively is the issue. State management requires developers to add code into their systems, which complicates management and extends processing times. As a result, users are forced to decide between using resource-intensive apps and ensuring there is enough state for peak usage.&lt;/p&gt;

&lt;p&gt;Fortunately, these obstacles are easily overcome thanks to AWS Step Functions. Because less code is needed to do tasks, AWS Step Functions are genuinely unique. Engineers can build standardized procedures for dealing with errors, retries, and parallelization that free up developer resources for other higher-value tasks. By employing multi-service management, they may get rid of complicated state handling and streamline laborious application development procedures.&lt;/p&gt;

&lt;p&gt;For more information on both services integration; check &lt;a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html"&gt;Using AWS Lambda with other services&lt;/a&gt;, and &lt;a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-service-integrations.html"&gt;Using AWS Step Functions with other services&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Benchmarking Comparison&lt;/strong&gt;&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;If you are interested in benchmarking AWS Lambda and AWS Step functions, you could check the following blog posts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/cremich/aws-step-function-vs-aws-lambda-benchmark-4f41"&gt;AWS Step function vs. AWS Lambda benchmark &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.simform.com/blog/aws-lambda-performance/"&gt;AWS Lambda Performance Benchmark 2022&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To sum up, developers can quickly add, move, switch, and reorganize Lambda functions using AWS Step Functions' visual workflow interface without having to alter the business logic that is already in place. This abstraction makes it relatively simple to increase application performance without writing additional code.&lt;/p&gt;

&lt;p&gt;Additionally, AWS Step Functions easily integrates with other AWS services. The task can be configured to execute concurrently with other activities, wait for external processes, or wait for the completion of other internal tasks by developers. With AWS SageMaker, AWS Batch, serverless ETL with AWS Glue, and many more tools, users may integrate machine learning algorithms into their applications.&lt;/p&gt;

&lt;p&gt;All these benefits make AWS Step Functions an appealing solution for AI/ML apps that are using the AWS cloud platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;References:&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AWS Step Functions - Lumigo. (2022). From &lt;a href="https://lumigo.io/aws-serverless-ecosystem/aws-step-functions-limits-use-cases-best-practices/"&gt;https://lumigo.io/aws-serverless-ecosystem/aws-step-functions-limits-use-cases-best-practices/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;AWS Step Functions | Serverless Visual Workflows | Amazon Web Services. (2022).From &lt;a href="https://aws.amazon.com/step-functions/"&gt;https://aws.amazon.com/step-functions/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hombergs, T. (2022). Getting Started with AWS Step Functions. From &lt;a href="https://reflectoring.io/getting-started-with-aws-step-functions-tutorial/"&gt;https://reflectoring.io/getting-started-with-aws-step-functions-tutorial/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Lambda runtimes. (2022). From &lt;a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"&gt;https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;What is AWS Step Functions? How it Works &amp;amp; Use Cases | Datadog. (2022). From &lt;a href="https://www.datadoghq.com/knowledge-center/aws-step-functions/"&gt;https://www.datadoghq.com/knowledge-center/aws-step-functions/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;What is State Machine? - Definition from Techopedia. (2022). From &lt;a href="https://www.techopedia.com/definition/16447/state-machine"&gt;https://www.techopedia.com/definition/16447/state-machine&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;AWS Lambda vs AWS Step Functions | What are the differences? (2022).From &lt;a href="https://stackshare.io/stackups/aws-lambda-vs-aws-step-functions"&gt;https://stackshare.io/stackups/aws-lambda-vs-aws-step-functions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hirsch, R. (2022). Ask the Expert: AWS Lambda vs Lambda@Edge vs Step Functions.From &lt;a href="https://www.jeffersonfrank.com/insights/aws-lambda-vs-edge-vs-step-functions"&gt;https://www.jeffersonfrank.com/insights/aws-lambda-vs-edge-vs-step-functions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 Benefits of Using AWS Step Functions. (2022).From &lt;a href="https://blog.clearscale.com/top-3-benefits-of-aws-step-functions/"&gt;https://blog.clearscale.com/top-3-benefits-of-aws-step-functions/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>machinelearning</category>
      <category>cloud</category>
      <category>programming</category>
    </item>
    <item>
      <title>Hybrid Machine Learning | AWS Whitepaper Summary</title>
      <dc:creator>Marwa Talaat</dc:creator>
      <pubDate>Sat, 13 Nov 2021 10:09:32 +0000</pubDate>
      <link>https://dev.to/awsmenacommunity/hybrid-machine-learning-aws-whitepaper-summary-1k15</link>
      <guid>https://dev.to/awsmenacommunity/hybrid-machine-learning-aws-whitepaper-summary-1k15</guid>
      <description>&lt;p&gt;This article aims to discuss the outline, known considerations, design patterns, and solutions that customers should know when considering integrations between local compute and the AWS cloud across the machine learning lifecycle. &lt;/p&gt;

&lt;p&gt;AWS purpose hybrid ML patterns as an intermediate step in their cloud and ML journey. The patterns involve a minimum of two compute environments, typically local compute resources such as personal laptops or corporate data centers, and the cloud.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article is intended for individuals who already have a baseline understanding of machine learning, in addition to Amazon SageMaker.&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Stage One: Basics
&lt;/h1&gt;

&lt;p&gt;Developing technology that applies machine learning is challenging since it depends on data. Datasets vary from bytes to petabytes, objects to file systems, text to vision, tables to logs. Software frameworks supporting machine learning models evolve rapidly, undergoing potentially major changes multiple times a year, if not quarter or month. Nowadays, data science projects require different skill levels in team, from business stakeholders, quality and availability of datasets and models, and customer adoption&lt;/p&gt;

&lt;p&gt;Companies who adopt a cloud-native approach realize its value of compute capacity with the needs of their business, technical resources to focus on building features, rather than taking on the burden of managing and maintaining their own underlying infrastructure. But for those companies born before the cloud and even for newer companies founded more recently, potentially those that made an informed decision to build on-premises, how can they realize the value of newly launched cloud services when the early requirements that were once infeasible on the cloud are now within reach?&lt;/p&gt;

&lt;p&gt;For customers who want to integrate the cloud with existing on-premises ML, AWS propose a series of tenets to guide our discussion: -&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Seamless management experience:&lt;/strong&gt;  Customers need end-to-end ML across multiple compute environments, limiting the burden of administrative while successfully operate complex tasks. &lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Tunable latency:&lt;/strong&gt; The customers enjoy using applications that respond within the timelines of their moment-to-moment expectations, and designers of these applications understand the criticality of time-bound SLA’s. Engineers want to work with ML models that can respond to an app’s request within in milliseconds, regardless of the hosted. While not every customer requires response times at low latency levels, but faster is better. &lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Fast time-to-value:&lt;/strong&gt; Customers expect solutions to be easy to use, with simple interfaces, and not requiring significant amounts of platform-specific engineering to execute a task. &lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Flexible:&lt;/strong&gt; Customers need compute paradigms that provide the flexibility their business demands. ML applications may need to serve real-time responses to billions of users worldwide. Service providers should anticipate for deploying all environments.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Low Cost:&lt;/strong&gt; Customers want transparency in their cost structure, they need to see a clear economic advantage to computing in the cloud relative to developing locally. Service providers need to anticipate this and compete on cost with respect to local compute options&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;End in the cloud:&lt;/strong&gt; If there was any doubt that cloud computing is the way of the future, the global pandemic of 2020 put that doubt to rest. AWS also call out the final state of that design, helping customers understand which cloud technologies to leverage in the long runleverage in the long run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are two very different approaches to hosting – one type of pattern trains in the cloud with the intention of hosting the model itself on-premises, while another hosts the model in the cloud to applications deployed on-premises. Finally, a key pillar in applying these patterns is security.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is hybrid?
&lt;/h2&gt;

&lt;p&gt;At AWS, we look at “hybrid” capabilities as those that touch the cloud in some capacity, while also touching local compute resources. Local compute such as laptops hosting Jupyter notebooks and Python scripts, HDFS clusters storing terabytes of data, AWS Outposts stored on-premises, or AWS Outposts stored on-premises.&lt;/p&gt;

&lt;p&gt;The hybrid architectures are having a minimum of two compute environments, what we will call “primary” and “secondary” environments. The primary environment as where the workload begins, and secondary environment is where the workload ends.&lt;/p&gt;

&lt;p&gt;Depending on your case for instance if you are packaging up a model locally to deploy to the cloud, you might call your local laptop “primary” and your cloud environment “secondary.”. However, if you are training on cloud and want to deploy locally, you might call your cloud environment “primary” and your local environment “secondary.”&lt;/p&gt;

&lt;h2&gt;
  
  
  What hybrid is not?
&lt;/h2&gt;

&lt;p&gt;There are some container-specific tools that provide a “run anywhere” experience, such as EKS and ECS. In those contexts, we will lean into prescriptive guidance for building, training, and deploying machine learning models with these services.&lt;/p&gt;

&lt;h1&gt;
  
  
  Stage Two: Hybrid patterns for development
&lt;/h1&gt;

&lt;p&gt;Development refers to the phase in machine learning when customers are iteratively building models. This may or may not include exploratory data analysis, deep learning model development and compilation, software package installation and management, Jupyter kernels, visualization, Docker image building, and Python-driven data manipulation.&lt;/p&gt;

&lt;p&gt;There are two major options for hybrid development that customer can apply one or both. Laptop and desktop personal computers. Self-managed local servers utilizing specialized GPUs, colocations, self-managed racks, or corporate data centers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Develop on personal computers, to train and host in the cloud
&lt;/h2&gt;

&lt;p&gt;Customers can use local development environments, such as PyCharm or Jupyter installations on their laptops or personal computer, and then connect to the cloud via AWS Identity and Access Management (IAM) permissions and interface with AWS service APIs through the AWS CLI or an AWS SDK (ex boto3). Having connected to the cloud, customers can execute training jobs and/or deploy resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--25hcsFkc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o7b038nehyq5o3hucx3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--25hcsFkc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o7b038nehyq5o3hucx3.png" alt="Image description" width="633" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ybh7Wjm2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zraw5219l8hu9i13lylw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ybh7Wjm2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zraw5219l8hu9i13lylw.png" alt="Image description" width="663" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Develop on local servers, to train and host in the cloud
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Tu-Qo0Ue--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s0adz5lhe5f62ml12nus.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Tu-Qo0Ue--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s0adz5lhe5f62ml12nus.png" alt="Image description" width="600" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PepD7Djn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6k3yf11n3janoqwamd1b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PepD7Djn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6k3yf11n3janoqwamd1b.png" alt="Image description" width="686" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Stage Three: Training
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Hybrid patterns for training&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Hybrid pattern for training comes down to one of two paths. Either you train locally and deploy on the cloud. Or the data sitting on local resources and want to select from that to move into the cloud to train.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Training locally, to deploy in the cloud&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;During enterprise migrations, training locally may be advantageous as a first step to develop a model. There are two key actions here. First, if you are training locally then you will need to acquire the compute capacity to train a model and think about size of dataset, and models that you want to use. When you are training on-premises, you need to plan for that well in advance and acquire the compute resources ahead of time.&lt;/p&gt;

&lt;p&gt;After your model is trained, there are two common approaches for packaging and hosting it in the cloud. One Simple path is Docker, using a Docker file you can build your own custom image that hosts your inference script, model artifact, and packages. Register this image in the Elastic Container Registry (ECR) and point to it from your SageMaker estimator.&lt;/p&gt;

&lt;p&gt;Another option is using pre-built containers within the SageMaker Python SDK. Bring your inference script and custom packages, upload your model artifact to Amazon S3, and import an estimator for your framework of choice.&lt;/p&gt;

&lt;p&gt;In the following diagram, we outline how to do this from your laptop. The pattern is similar for doing the same from an enterprise data center with servers, as outlined above.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rs3tapz4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ar6gfsy02qlzoguhknhr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rs3tapz4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ar6gfsy02qlzoguhknhr.png" alt="Image description" width="624" height="315"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to monitor your model in the cloud?
&lt;/h2&gt;

&lt;p&gt;A key feature for hosting is model monitor, or the ability to detect data, bias, feature, and model quality drift. It is ability to capture data hitting your real-time endpoint, and programmatically compare this to your training data.&lt;/p&gt;

&lt;p&gt;Enabling model monitor is easy in SageMaker. Upload your training data to an Amazon S3 bucket and use our pre-built image to learn the upper and lower bounds on your training data. This job uses Amazon Deequ to perform “unit testing for data,” and you will receive a JSON file with the upper and lower statistically recommended bounds for each feature. You can modify these thresholds. After confirming your thresholds, schedule monitoring jobs in your production environment. The jobs run automatically, comparing your captured inference requests in Amazon S3 with your thresholds.&lt;/p&gt;

&lt;p&gt;CloudWatch will alert you when your inference data is outside of your pre-determined thresholds, and you can use those alerts to trigger a re-training pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to handle retraining / retuning?
&lt;/h2&gt;

&lt;p&gt;SageMaker makes train and tuning jobs easy to manage, because all you need to bring is your training script and dataset. Ensure your new dataset is loaded into an Amazon S3 bucket, or other supported data source.&lt;/p&gt;

&lt;p&gt;Once you have defined a training estimator, it is trivial to extend this to support hyperparameter tuning. Define your tuning job configuration using tuning best practices and execute. Having defined a tuning job, you can automate this in a variety of ways. While AWS Lambda may seem compelling upfront, to use the SageMaker Python SDK (and not boto3) with Lambda, sadly you need to create an executable layer to upload within your function.&lt;/p&gt;

&lt;p&gt;You may consider SageMaker Pipelines, an MLOps framework that uses your SageMaker Python SDK job constructs as argument and creates a step-driven framework to execute your entire pipeline. &lt;/p&gt;

&lt;h2&gt;
  
  
  How to serve thousands of models in the cloud at low cost?
&lt;/h2&gt;

&lt;p&gt;You may consider &lt;strong&gt;Multi-model&lt;/strong&gt; endpoints give you the ability to serve thousands of models from a single endpoint, invoking the name of the model when calling predict.&lt;br&gt;
Create the multi-model endpoint, pointing to Amazon S3, and load your model artifacts into the bucket. Invoke the endpoint from your client application, (eg. with AWS Lambda), and dynamically select the right model in your application. It allows to host up to 5 containers on a single SageMaker endpoint, invoking the endpoint with the name of the model you want to use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9o9xgCrs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a1v5238jvcwco7phv83f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9o9xgCrs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a1v5238jvcwco7phv83f.png" alt="Image description" width="681" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Storing data locally, to train and deploy in the cloud
&lt;/h2&gt;

&lt;p&gt;when and how do I move my data to the cloud?&lt;/p&gt;

&lt;h2&gt;
  
  
  Schedule data transfer jobs with AWS DataSync
&lt;/h2&gt;

&lt;p&gt;It is a data transfer service that simplifies, automates, and accelerates moving data between on-premises storage systems and AWS storage services, as well as between AWS storage services.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; It can be easily moved petabytes of data from your local on-premises servers up to the AWS cloud.&lt;/li&gt;
&lt;li&gt; It can be deployed can easily move petabytes of data from your local on-premises servers up to the AWS cloud.&lt;/li&gt;
&lt;li&gt; It can be connected to your local NFS resources and deploy directly into Amazon S3 buckets or EFS volumes, or both.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Migrating from Local HDFS
&lt;/h2&gt;

&lt;p&gt;As customers explore migrating data stored in local HDFS clusters, typically they find themselves somewhere between two extremes. &lt;/p&gt;

&lt;p&gt;On the other, you might wholly embrace HDFS as your center and move towards hosting it within a managed service, Amazon Elastic Map Reduce (EMR).&lt;/p&gt;

&lt;h2&gt;
  
  
  Best practices
&lt;/h2&gt;

&lt;p&gt;• Use Amazon S3 intelligent tiering for objects over 128 KB &lt;br&gt;
• Use multiple AWS accounts, and connect them with Organizations &lt;br&gt;
• Set billing alerts &lt;br&gt;
• Enable SSO with your current Active Directory provider &lt;br&gt;
• Turn on Studio! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9jg3kZuc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eow5o8nmgxnk1icjrucl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9jg3kZuc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eow5o8nmgxnk1icjrucl.png" alt="Image description" width="702" height="203"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Develop in the cloud while connecting to data hosted on-premises
&lt;/h2&gt;

&lt;p&gt;Customers who see the value of outsourcing management and upkeep of their enterprise ML development platforms, i.e. through using managed services like Amazon SageMaker, can still connect in to their on-premises data store at the beginning and middle phases of their enterprise migration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9EUVAktw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cqilgg5vtmniiizodgqn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9EUVAktw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cqilgg5vtmniiizodgqn.png" alt="Image description" width="624" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Wrangler &amp;amp; Snowflake
&lt;/h2&gt;

&lt;p&gt;Data Wrangler enables customers to browse and access data stores across Amazon S3, Amazon 3rd Athena, Amazon Redshift, and party data warehouses like Snowflake. This hybrid ML patten provides customers the ability to develop in the cloud while accessing data stored on premises, as organizations develop their migration plans.&lt;/p&gt;

&lt;h2&gt;
  
  
  Train in the cloud, to deploy ML models on-premises
&lt;/h2&gt;

&lt;p&gt;You can download whatever type of model artifact you need, but if you are deploying on-premises, you need to develop and host your own local web server.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ShxbQall--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ienxpwl9e0cp50xztje2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ShxbQall--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ienxpwl9e0cp50xztje2.png" alt="Image description" width="635" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This scenario builds on your previous experience developing and training in the cloud, with the key difference of exporting your model artifact to deploy locally. AWS recommends using dev and/or test endpoints in the cloud to give your teams the maximum potential to develop the best models they can.&lt;/p&gt;

&lt;p&gt;If you are using a managed deep learning container, also known as “script mode,” for training and tuning, but you still want to deploy that model locally, plan on building your own image with your preferred software version, scanning, maintaining, and patching this over time. If you are using your own image, you will need to own updating that image as the software version, such as TensorFlow. Note that the best practice is to decouple hosting your ML model from hosting your application.&lt;/p&gt;

&lt;p&gt;As models grow and shrink in size, hitting potentially billions of parameters and hundreds of gigs in byte size, or shrinking down to hundreds of parameters and staying under a few MB in size, you want the elasticity of the cloud to seamlessly map the state-of-the-art model to an efficient hardware choice.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NFF5cUaR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fp2oqikq002z2e4nb0so.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NFF5cUaR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fp2oqikq002z2e4nb0so.png" alt="Image description" width="697" height="252"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Stage Four: Deployment
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Monitor ML models deployed on-premises with SageMaker Edge Manager
&lt;/h2&gt;

&lt;p&gt;Customers can train ML models in the cloud, deploy these on-premises, and monitor and update them in the cloud using SageMaker Edge Manager. SageMaker Edge Manage makes it easy for customers to manage ML models deployed on Windows, Linux, or ARM-based compute environments. &lt;/p&gt;

&lt;p&gt;While customers do still need to provision, manage, procure, and physically secure the local compute environments in this pattern, Edge Manage simplifies the monitoring and updating of these models by bringing the control plane up to the cloud. However, you can bring your own monitoring algorithm to the service and trigger retraining pipelines as necessary, using the service the redeploy that model back down to the local device. This is particularly common for technology companies developing models for personal computers, such as laptops and desktops.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Hybrid patterns for deployment&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Hybrid ML patterns around deployment can be interesting and complex. Choosing the “best” local deployment option has a lot of variety. You want to think about where your customers sit geographically, then you want to get your solution as close to them as you can. You want to balance speed with cost, cutting-edge solutions with ease of deployment and managing.&lt;/p&gt;

&lt;p&gt;In this section will discuss the architecture for hosting an ML model via SageMaker in an AWS region, serving responses to requests from applications hosted on-premises. After that we’ll look at additional patterns for hosting ML models via Lambda at the Edge, Outposts, Local Zones, and Wavelength.&lt;/p&gt;

&lt;h2&gt;
  
  
  Serve models in the cloud to applications hosted on-premises
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h2OBvm22--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmfv5irtco5u5r2at0iq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2OBvm22--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmfv5irtco5u5r2at0iq.png" alt="Image description" width="659" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The most common use case for a hybrid pattern like this is enterprise migrations. You might have a data science team with tens of models, if not more than one hundred, ready to deploy via the cloud, while your application team is still refactoring their code to host on cloud-native services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ynf2kdZy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qtfr7ayhhdvppw4dqxt0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ynf2kdZy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qtfr7ayhhdvppw4dqxt0.png" alt="Image description" width="689" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Host ML Models with Lambda at Edge to applications on-premises
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WKZTqUtB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dg8ecaw6nh2ffdjah5vd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WKZTqUtB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dg8ecaw6nh2ffdjah5vd.png" alt="Image description" width="624" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This pattern takes advantage of a key capability of the AWS global network – the content delivery network known as Amazon CloudFront. Deploying content to &lt;strong&gt;CloudFront&lt;/strong&gt; is easy, customers can package up code via AWS Lambda and set it to trigger from their CloudFront distribution.&lt;/p&gt;

&lt;p&gt;What’s elegant about this approach is that CloudFront manages which of the 230+ points of presence will execute your function. Once you’ve set your Lambda function to trigger off CloudFront, you’re telling the service to replicate that function across all available regions and points of presence. This can take up to 8 minutes to replicate and become available.&lt;/p&gt;

&lt;p&gt;This is a huge value-add for global companies looking at improving their digital customer experience worldwide.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kn0Mw4b---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gm1738pswdq1uuv3ll4w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kn0Mw4b---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gm1738pswdq1uuv3ll4w.png" alt="Image description" width="688" height="213"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Local Zones
&lt;/h2&gt;

&lt;p&gt;Local Zones are a way to extend your cloud resources to physical locations that are geographically closer to your customers. You can deploy ML models via ECS or EKS to serve inference with ultra- low latency near your customers, using AWS Local Zones.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Wavelength
&lt;/h2&gt;

&lt;p&gt;Wavelength is ideal when you are solving applications around mobile 5G devices, either anticipating network drop-offs or serving uses real-time model inference results. Wavelength provides ultra-low latency to 5G devices, and you can deploy ML models to this service via ECS or EKS. Wavelength embeds storage and compute inside the telecom providers, which is the actual 5G network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Training with a 3rd party SaaS provider to host in the cloud
&lt;/h2&gt;

&lt;p&gt;There are a lot of great SaaS providers for ML out there in the market today, like H20, DataRobot, Databricks, SAS, and others. 3rd Hosting a model in Amazon SageMaker that was trained from a party SAAS provider is easy. Ensure your provider allows export of proprietary software frameworks, such as with jars, bundles, images, etc. Follow &lt;a href="https://docs.aws.amazon.com/sagemaker/latest/dg/docker-containers.html"&gt;steps to create a Docker file using&lt;/a&gt;that software framework, port into the Elastic Container Registry, and host on SageMaker.&lt;/p&gt;

&lt;p&gt;Keep in mind that providers will have different ways of handling software, in particular images and image versions.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Control plane patterns for hybrid ML&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;AWS uses the concept of a “control plane,” or set of features dedicated to operations and management, while keeping this distinct from the “data plane,” or the datasets, containers, software, and compute environments.&lt;/p&gt;

&lt;p&gt;Customers’ need it for operationalizing ML workloads are as varied and diverse as the businesses they exist within. Today it is not feasible for a single workflow orchestration tool to solve every problem, so most customers standardize on one workflow paradigm while keeping options open for others that may better solve given use cases. One such common control plane is &lt;a href="https://www.kubeflow.org/docs/started/installing-kubeflow/"&gt;Kubeflow&lt;/a&gt; in conjunction with &lt;a href="https://aws.amazon.com/eks/eks-anywhere/"&gt;EKS Anywhere&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;SageMaker offers a native approach for workflow orchestration, known as &lt;a href="https://aws.amazon.com/sagemaker/pipelines/"&gt;SageMaker Pipelines&lt;/a&gt;.. It is ideal for advanced SageMaker users, especially those who are already onboarded to the &lt;a href="https://aws.amazon.com/sagemaker/studio/"&gt;IDE SageMaker Studio&lt;/a&gt;. The Studio also offers a UI to visual workflows built with SageMaker Pipelines. Apache Airflow is also a compelling option for ML workflow orchestration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Orchestrate Hybrid ML Workloads with Kubeflow and EKS Anywhere
&lt;/h2&gt;

&lt;p&gt;In this example we’re demonstrating training within local on-premises resources and orchestrating it using Kubeflow.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ta7ceRKE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xztqrp5gwjril1cegr46.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ta7ceRKE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xztqrp5gwjril1cegr46.png" alt="Image description" width="624" height="287"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cQt9QJxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6eamh1m8meek3lpsf5ti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cQt9QJxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6eamh1m8meek3lpsf5ti.png" alt="Image description" width="690" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Stage Five: Other Services
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Auxiliary services for hybrid ML patterns&lt;/em&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  AWS Outposts
&lt;/h2&gt;

&lt;p&gt;Outposts is a keyway to enable hybrid experiences within your own data center. Order AWS Outposts, and Amazon will ship, install, and manage these resources for you. You can connect into these resources however you prefer and manage them from the cloud.&lt;/p&gt;

&lt;p&gt;Outposts helps solve cases where customers want to build applications in countries where there is not currently an AWS Region, or for regulations that have strict data residency requirements, like online gambling and sports betting.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Inferentia
&lt;/h2&gt;

&lt;p&gt;A compelling reason to consider deploying your ML models in the cloud is the ease of accessing custom hardware for ML inferencing, specifically AWS Inferentia. You can use SageMaker’s managed deep learning containers to train your ML models, compile them for Inferentia with Neo, host on the cloud, and develop retrain and tune pipeline as usual. Using AWS Inferentia, Alexa was able to reduce their cost of hosting by 25%.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Direct Connect
&lt;/h2&gt;

&lt;p&gt;Ability to establish a private connection between your on-premises resources and your data center. Remember to establish a redundant link, as wires do go south!&lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon ECS / EKS Anywhere
&lt;/h2&gt;

&lt;p&gt;Both Amazon ECS and Amazon EKS feature “Anywhere” capabilities. This means that you can use the cloud as your control plane, to define, manage, and monitor your deployed applications, while executing tasks both in the Region and on-premises. The customers can use ECS Anywhere to deploy their models both in the cloud and on-premises at the same point in time!&lt;/p&gt;

&lt;h1&gt;
  
  
  The Final Stage: Use Cases
&lt;/h1&gt;

&lt;h2&gt;
  
  
  *Hybrid ML Use Cases *
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Enterprise Migrations
&lt;/h2&gt;

&lt;p&gt;One of the single most common use cases for hybrid patterns is enterprise migrations. For some of the largest and oldest organizations on the planet, without a doubt there is going to be a difference in ability and availability in moving towards the cloud across their teams.&lt;/p&gt;

&lt;h2&gt;
  
  
  Manufacturing
&lt;/h2&gt;

&lt;p&gt;Applications within agriculture, industrial, and manufacturing are ripe opportunities for hybrid ML. After companies have invested tens, and sometimes hundreds, of thousands of dollars in advanced machinery, it is simply a matter of prudence to develop and monitor ML models to predict the health of that machinery.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gaming
&lt;/h2&gt;

&lt;p&gt;Customers who build gaming applications may see the value in adopting advanced ML services like Amazon SageMaker to raise the bar on their ML-applications but struggle to realize this if their entire platform was build and is currently hosted on premises. The AWS global delivery network to minimize end-user latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile application development
&lt;/h2&gt;

&lt;p&gt;With the introduction of AWS Wavelength, customers can deploy ML models directly inside of the 5G network. To solve applications such as anticipated network drop-off or hosting ML models in the cloud for real-time inferencing with 5G customers, you can use ML models hosted on ECS to deploy and monitor models onto AWS Wavelength. This becomes a hybrid pattern when customers develop and train in a secondary environment, wherever that may be, with the intention to deploy onto AWS Wave.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI-enhanced media and content creation
&lt;/h2&gt;

&lt;p&gt;Customers can host these billion-plus parameter models via ECS on AWS Local Zones, responding to application requests coming from on-premises data centers, to provide world-class experiences to content creators.&lt;/p&gt;

&lt;p&gt;Depending on where customers develop and retrain their models, using Local Zones with SOTA models may or may not be a true hybrid pattern, but used effectively it can enhance content generator’s productivity and ability to create.&lt;/p&gt;

&lt;h2&gt;
  
  
  Autonomous Vehicles
&lt;/h2&gt;

&lt;p&gt;Customers who develop autonomous machinery, vehicles, or robots in multiple capacity by default require hybrid solutions. This is because while training can happen anywhere, inference must necessarily happen at the edge.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/sagemaker/neo/"&gt;Amazon SageMaker Neo&lt;/a&gt; is a compelling option here. Key questions for hybrid ML AV architectures include monitoring at the edge, retraining and retuning pipelines, in addition to efficient and automatic data labelling.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;In this document, we explored hybrid ML patterns across the entire ML lifecycle. We looked at developing locally, while training and deploying in the cloud. We discussed patterns for training locally to deploy on the cloud, and even to host ML models in the cloud to serve applications on-premises.&lt;/p&gt;

&lt;p&gt;At the end of the day, we want to support customer success in all shapes and forms. We firmly believe that most workloads will end in the cloud in the long run, but because the complexity, magnitude, and length of enterprise migrations may be daunting for some of the oldest organizations in the world, we propose these hybrid ML patterns as an intermediate step on customer’s cloud journey.&lt;/p&gt;

&lt;h1&gt;
  
  
  References:
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;If you are interested in learning how to migrate from local HDFS clusters to Amazon EMR, please see this migration guide: &lt;a href="https://d1.awsstatic.com/whitepapers/amazon_emr_migration_guide.pdf"&gt;https://d1.awsstatic.com/whitepapers/amazon_emr_migration_guide.pdf&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="//chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/viewer.html?pdfurl=https%3A%2F%2Fd1.awsstatic.com%2Fwhitepapers%2Fhybrid-machine-learning.pdf%3Fdid%3Dwp_card%26trk%3Dwp_card&amp;amp;clen=848787&amp;amp;chunk=true"&gt;Original AWS Whitepaper&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>machinelearning</category>
      <category>aws</category>
      <category>cloud</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Amazon Connect Data Lake Best Practices | AWS Whitepaper Summary</title>
      <dc:creator>Marwa Talaat</dc:creator>
      <pubDate>Sat, 24 Jul 2021 12:12:50 +0000</pubDate>
      <link>https://dev.to/awsmenacommunity/amazon-connect-data-lake-best-practices-aws-whitepaper-summary-3b9i</link>
      <guid>https://dev.to/awsmenacommunity/amazon-connect-data-lake-best-practices-aws-whitepaper-summary-3b9i</guid>
      <description>&lt;p&gt;Nowadays, organizations are developing data lake strategies to harness intelligence from diverse and ever-growing data. According to Aberdeen, the survey concludes that today’s organizations manage an average of 33 unique data sources for analytics and experience 50% year-over-year data volume growth. Rapid data volume growth creates challenges in data management and storage capacity.&lt;br&gt;
The traditional on-premises call center. The hardware communication, software, and infrastructure are all stored and operated in business places. Therefore, you need a dedicated IT team responsible for installation, maintenance, software support is controlled internally, and much more. his means heavy recurring fees over the long term for small and midsize businesses.&lt;br&gt;
Therefore, the organizations need to get the most benefit from advanced analytics to robust platform and cost-effective to run a solution like a contact center. Amazon Web Services (AWS) provides customers with a comprehensive set of services and a scalable platform to ensure high availability, security, and resiliency of a data lake in the cloud.&lt;/p&gt;

&lt;p&gt;This whitepaper outlines the best practices for architecting a contact center data lake with Amazon Connect.&lt;/p&gt;

&lt;p&gt;The figure shows how it involved multiple proprietary systems, resulting in disparate data sources containing data in various formats. Therefore, there are challenges in standardizing and consolidating information that slows down the discovery of new business insights or possible operational issues.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flbw10oc3c7sgm5q9a9oc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flbw10oc3c7sgm5q9a9oc.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we know that data plays a crucial role in contact center systems success. So, having a streamlined designed contact center could help customer service agents to deliver a better customer experience by using data lake.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Data Lake?&lt;/strong&gt; &lt;br&gt;
It is more than just a data repository. It is centralized and allows you to store all your structured and unstructured data at any scale. You can store your data as-is, without structuring it, run analytics, big data processing, real-time analytics, and machine learning for predictive decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is there a difference between Data Lake and Data Warehouses? When to use them?&lt;/strong&gt;&lt;br&gt;
Yes, it depends on the requirements, a typical organization will require both a data warehouse and a data lake as they serve different needs and use cases. The following table shows some differences in characteristics between them.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr32auljub7z527nekbhf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr32auljub7z527nekbhf.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Essential elements to consider in building Data Lakes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Data Movement:&lt;/strong&gt; It allows you to import any amount of data that can be real-time data from multiple sources and moved into the data lake. It also allows you to scale to data of any size, defining structures, schema, and transformations.&lt;br&gt;
&lt;strong&gt;2. Securely store, and catalogue data:&lt;/strong&gt; It allows you to store relational and non-relational. It also allows you to understand data through crawling, cataloguing, and indexing of data. Finally, data must be secured to ensure your data assets are protected.&lt;br&gt;
&lt;strong&gt;3. Analytics:&lt;/strong&gt; It allows various roles like data scientists to access data with their choice of analytic tools and frameworks&lt;br&gt;
&lt;strong&gt;4. Machine Learning:&lt;/strong&gt; It allows organizations to generate insights and doing machine learning models, predictions, and recommendations to achieve the optimal result. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are the main challenges of Data Lake?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Architecture raw data is stored with no oversight of the contents&lt;/li&gt;
&lt;li&gt;Making data usable, it needs to have defined mechanisms to catalogue, and secure data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Should you host your data lake in the cloud?&lt;/strong&gt;&lt;br&gt;
Data Lakes are an ideal workload to be deployed in the cloud because the cloud provides performance, scalability, reliability, availability, a diverse set of analytic engines, and massive economies of scale. &lt;/p&gt;

&lt;h2&gt;
  
  
  Data Lakes in the cloud on AWS
&lt;/h2&gt;

&lt;p&gt;AWS delivers the breadth and depth of services to build a secure, scalable, comprehensive, and cost-effective data lake solution. You can use the AWS services to ingest, store, find, process, and analyze data from a wide variety of sources. The following figure shows a strategic approach for a contact center with Amazon Connect.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2bi5wg7r8shqs88f8a7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2bi5wg7r8shqs88f8a7.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon Connect
&lt;/h3&gt;

&lt;p&gt;It is a fully managed cloud-based and artificial intelligence (AI) enabled contact center within minutes, pay-as-you-go model which is easy-to-use and cost-effective and there is no infrastructure to manage or upfront costs.&lt;/p&gt;

&lt;h4&gt;
  
  
  Amazon Connect Benefits in Contact Center
&lt;/h4&gt;

&lt;p&gt;Considerations when designing a data lake:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  The way of collecting data, their types and structure.&lt;/li&gt;
&lt;li&gt;  The Data storage and share petabytes of data, on-demand globally and cost-effective&lt;/li&gt;
&lt;li&gt;  The scale IT resources to support a high number of concurrent queries against data.&lt;/li&gt;
&lt;li&gt;  The users view, search, and run queries on multiple data repositories.&lt;/li&gt;
&lt;li&gt;  The future insights using historical data patterns and past scenarios&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Data lake data types
&lt;/h4&gt;

&lt;p&gt;Some of the data types that Amazon Connect manages:&lt;br&gt;
&lt;strong&gt;1.    Customer profiles:&lt;/strong&gt; Enables agents to deliver efficient and personalized customer service by importing customer information from various applications into a unified customer profile&lt;br&gt;
&lt;strong&gt;2.    Contact trace record:&lt;/strong&gt; Captures transactional metrics such as hold time, wait time, and agent interaction time in JSON format. Amazon Connect aggregates data to create metrics reporting.&lt;br&gt;
&lt;strong&gt;3.    Contact flow logs:&lt;/strong&gt; Captures real-time events and metrics about how your customers interact with contact flows&lt;br&gt;
&lt;strong&gt;4.    Contact Lens output files:&lt;/strong&gt; Using NLP and speech-to-text analytics, Contact Lens for Amazon Connect provides insights to analyze customer sentiment, identify conversations trends for product feedback, and compliance audits for standard greetings and signoffs.&lt;br&gt;
&lt;strong&gt;5.    Agent events streams:&lt;/strong&gt; Captures and stores agent activity in S3 via Amazon Kinesis Data Streams. You can create dashboards for near real-time agent reporting such as agent login, agent logout, agent connects with a contact and agent status change.&lt;br&gt;
&lt;strong&gt;6.    Voice and chat recordings:&lt;/strong&gt; Amazon Connect records a conversation only when a customer connects to an agent. When the contact disconnects, the call recordings are available in your S3 bucket, or accessible in the customer's contact trace record.&lt;br&gt;
&lt;strong&gt;7.    Third-party integration:&lt;/strong&gt; AWS Partners or other third-party solutions with Amazon Connect to consolidate logs and external data sources in Amazon S3.&lt;/p&gt;

&lt;h4&gt;
  
  
  Data lake lifecycle
&lt;/h4&gt;

&lt;p&gt;Building a data lake typically involves five stages:&lt;br&gt;
&lt;strong&gt;•   Setting up storage:&lt;/strong&gt; As your data lake grows, you need an object storage service like S3 that offers industry-leading scalability, data availability, security, and performance. S3s Storage Lens provides organization-wide visibility into object storage usage and activity trends with actionable recommendations to reduce cost and operational overhead.&lt;br&gt;
&lt;strong&gt;•   Moving data:&lt;/strong&gt; AWS provides a comprehensive data transfer services portfolio to move your existing data into a centralized data lake. Amazon Storage Gateway and AWS Direct Connect can address hybrid cloud storage needs.&lt;br&gt;
&lt;strong&gt;•   Preparing and cataloguing data:&lt;/strong&gt; Amazon Connect segregates data by AWS account ID and Amazon Connect instance ID to ensure authorized data access at the Amazon Connect instance level.&lt;br&gt;
&lt;strong&gt;•   Configuring security policies:&lt;/strong&gt; You can create IAM users, groups, and roles in AWS accounts and associate them with identity-based policies that grant access to S3 resources.&lt;br&gt;
&lt;strong&gt;•   Making data available for consumption:&lt;/strong&gt; Once your data lands in the S3 data lake, you can use any purpose-built analytics services such as Amazon Athena and Amazon QuickSight for a wide range of use cases without labour-intensive extract, transform, and load (ETL) job&lt;br&gt;
The following figure is a high-level architecture diagram of an Amazon Connect contact center data lake&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxr0zdcst58bl765zqvpa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxr0zdcst58bl765zqvpa.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion and further reading
&lt;/h2&gt;

&lt;p&gt;Amazon Connect is a purpose-built omnichannel cloud contact center. You can simplify operations, improve agent efficiency, and lower contact center costs. Amazon S3 is a scalable, durable, and reliable service to build and manage a secure data lake at scale for contact centers. You can store all your contact center data as-is in the S3 data lake without restructuring the data. Your employees and stakeholders can run various analytics on the contact center data lake, including big data processing, real-time dashboards and visualizations, and ML to guide data-driven business decisions. You can harness the power and unleash the intelligence of your contact center data lake to accelerate business growth.&lt;/p&gt;

&lt;h2&gt;
  
  
  For additional information, see:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;• &lt;a href="https://docs.aws.amazon.com/whitepapers/latest/amazon-connect-data-lake-best-practices/amazon-connect-data-lake-best-practices.html" rel="noopener noreferrer"&gt;Original AWS Whitepaper &lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;• &lt;a href="https://aws.amazon.com/products/storage/data-lake-storage/" rel="noopener noreferrer"&gt;Data Lake Storage on AWS&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;• &lt;a href="https://aws.amazon.com/big-data/datalakes-and-analytics/" rel="noopener noreferrer"&gt;Analytics on AWS&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;• &lt;a href="https://aircall.io/blog/call-center/cloud-based-call-center-software/" rel="noopener noreferrer"&gt;On-Premises vs. Cloud-Based Call Center Software: How to Make the Call&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;• &lt;a href="https://www.guru99.com/data-lake-vs-data-warehouse.html" rel="noopener noreferrer"&gt;Data Lake vs Data Warehouse: What's the Difference?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>storage</category>
      <category>architecture</category>
      <category>cloudskills</category>
    </item>
  </channel>
</rss>
