SageMaker Housekeeping
S3 Bucket Setup (Lesson 17)
Purpose
- Store data files for model training.
- Save trained models and artifacts post-training.
Steps for Bucket Creation
- Sign-In:
- Log in to AWS console using
my_admin account.
- Ensure using the N. Virginia region.
- Access S3 Service:
- In AWS Services, search and open the S3 Management Console.
- Create Bucket:
- Click on
Create bucket.
- Choose a globally unique name following the convention:
prefix-ml-sagemaker.
- If name conflict occurs, adjust the prefix for uniqueness.
- Select N. Virginia as the region.
- Bucket Creation Complete:
- Click on
Create to finalize the bucket setup.
- The bucket will automatically replicate data across multiple Availability Zones in N. Virginia.
Setup SageMaker Notebook Instance (Lesson 18)
Steps for Setup
- Sign-In:
- Log in with the
my_admin account to AWS Management Console.
- Access SageMaker Service:
- Find SageMaker service and select
Notebook instances.
- Select Region:
- Choose N. Virginia or a region close to you. Use the same region throughout the course.
- Create Notebook Instance:
- Click on
Create notebook instance.
- Name the instance (e.g.,
SageMakerCourse).
- Select
T3 medium for the server configuration.
- IAM Role Configuration:
- Create a new IAM role during instance setup.
- Grant access to any S3 bucket or specific ones as needed.
- Instance Creation and Access:
- Once the instance status is ‘In service’, access it by clicking
Open Jupyter.
- The homepage of the Jupyter notebook environment will appear.
Key Benefits
- AWS manages patching and maintenance of the notebook instance.
- Stop the instance when not in use to avoid charges and restart as needed.