Building and Automating ML Pipelines with Amazon SageMaker Studio

Building and Automating ML Pipelines with Amazon SageMaker Studio
Building and Automating ML Pipelines with Amazon SageMaker Studio

CLOUD LABS



Building and Automating ML Pipelines with Amazon SageMaker Studio

In this Cloud Lab, you’ll build a machine learning pipeline in Amazon SageMaker Studio and automate it with a Lambda function using Lambda triggers.

9 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Working knowledge of building and deploying a machine learning pipeline in Amazon SageMaker Studio
The ability to automate a machine learning pipeline in Amazon SageMaker Studio with Lambda triggers
Hands-on experience invoking of a SageMaker endpoint with Lambda functions

Technologies
SageMaker
Lambda logoLambda
S3 logoS3
IAM logoIAM
Cloud Lab Overview

Success in machine learning is all about streamlining the entire workflow. Automation is critical in accelerating development, ensuring consistency, and enabling scalable experimentation. Amazon SageMaker Studio, an integrated development environment (IDE) for machine learning, empowers data scientists and engineers to build, train, and deploy ML models with minimal friction while automating complex workflows.

In this Cloud Lab, you’ll create an automated machine learning pipeline with an architecture similar to the one provided below:

Create an automated machine learning pipeline with Amazon SageMaker Studio
Create an automated machine learning pipeline with Amazon SageMaker Studio

As shown above, you will create an S3 bucket, add a dataset, and create the necessary IAM roles for Amazon SageMaker Studio operations. You will create a domain and a user in Amazon SageMaker AI. After that, you will also create a machine learning pipeline in it that will be able to do data processing, model training, and then model deployment. Moreover, you will automate the execution of the machine learning pipeline whenever a new dataset is uploaded to the S3 bucket with the help of Lambda function triggers. In the end, you will also create a Lambda function to invoke the endpoint of the Sagemaker model to get results from it.

Cloud Lab Tasks
1.Introduction
Getting Started
2.Create Necessary Resources
Create an S3 Bucket
Create IAM Roles
3.Build a Pipeline in SageMaker Studio
Set Up a SageMaker Domain
Create a Machine Learning Pipeline in SageMaker Studio
4.Automate the Machine Learning Pipeline in SageMaker Studio
Create Lambda Function
Invoke the Endpoint and Trigger the ML Pipeline
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like