Skip to content

Instantly share code, notes, and snippets.

@manisnesan
Last active October 24, 2021 23:27
Show Gist options
  • Save manisnesan/dd784f447c7ae888c12471c686e259ed to your computer and use it in GitHub Desktop.
Save manisnesan/dd784f447c7ae888c12471c686e259ed to your computer and use it in GitHub Desktop.
MLOps Landing Page

MLOps Basics

Configurations

  • Use Hydra to add configurations to python code.
  • Loading a simple config(yaml) file using OmegaConf and Hydra
  • Overriding configurations at runtime
  • Splitting the configuration across multiple files
  • Variable Interpolation
  • How to run the model with different parameter combinations

Container Registry - AWS ECR

  • Basics of S3
  • Programmatic access to S3
    • Accessing s3 using CLI
import boto3

s3 = boto3.resource('s3')
bucket = s3.Bucket('models-dvc')
for obj in bucket.objects.all():
    print(obj.key)
  • Configuring AWS S3 as remote storage in DVC
  • Basics of ECR
  • Configuring GitHub Actions to use S3, ECR

Serverless Deployment - AWS Lambda

Deployment

  • Basics of Serverless
  • Basics of AWS Lambda
  • Triggering Lambda with API Gateway
  • Deploying Container using Lambda
  • Automating deployment to Lambda using Github Actions

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment