Author: Marie Stephen Leo
This course aims to equip a learner with practical knowledge of Deploying ML models on the cloud using AWS Sagemaker.
The target audience for this course would include professionals aspiring to become Data Scientists, Machine Learning Engineers, Data Analysts, Statisticians, Data Architects, Data engineers, etc.
-
Sign up for a free AWS account at https://aws.amazon.com
-
In your AWS console search for “sagemaker” and click it
-
Click on Studio
-
Click on Launch SageMaker Studio
-
The first time you launch Sagemaker Studio, you’ll have to do a one time setup.
- Select Quick setup
- Type a name that’s meaningful
- Select create a new role from the dropdown
-
Select “Any S3 bucket” so that your Studio notebooks have access to any data on any S3 bucket in your account. Click Create role
-
Once the role is created, click Submit
-
The setup will take some time. You can see the status on the top of the page
-
Once the setup is done, you’ll see the domain you created with a “Launch app” dropdown Click on “Studio”. DO NOT CLICK ON CANVAS ($$$)!!!!
-
After some loading, your brand new jupyter lab interface running on Sagemaker studio servers will open up. If the loading gets stuck on a white screen, try refreshing the page.
- You can clone any github repository. For example, you can clone this course repository: https://github.com/stephenleo/sagemaker-deployment.git
- Follow the lessons in the
notebooks/
directory.
-
While running any code, if you get an error that the kernel is still starting, look at the bottom of your screen for the Kernel status
-
You can run the cell once the Kernel status is Idle
-
When you’re done with Sagemaker Studio, REMEMBER to shut down everything to prevent getting charged $!
-
You will get the below message only if you opened at least one jupyter notebook on the studio instance. So if you don’t get this, just create a new notebook, let it start up and then try shutting down again just to be sure.