Skip to content

avr2002/sagemaker

Repository files navigation

MLOps on Sagemaker

Setup

Install uv before running.

  • If you are using AWS SSO, you can activate your profile by running the following command:

    # AWS_PROFILE=sandbox
    aws configure sso --profile sandbox
    # OR
    aws sso login --profile sandbox
  • Setup Infra

    # Bootstrap the CDK environment
    ./run cdk-bootstrap
    
    # Deploy the CDK stack
    # This will create the S3 bucket and SageMaker domain
    ./run cdk-deploy
  • Create a .env file and add

    • COMET_API_KEY, COMET_PROJECT_NAME
    • S3_BUCKET_NAME, SAGEMAKER_EXECUTION_ROLE, SQS_QUEUE_URL
  • Run the Pipeline:

    # to run the pipeline with SageMaker
    ./run pipeline
    
    # to run the pipeline locally
    ./run pipeline --local

https://github.com/aws/amazon-sagemaker-examples/tree/main

Contributing

If you find any problems with the code or have any ideas on improving it, please open an issue and share your recommendations.

About

MLOps using AWS Sagemaker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published