zlqhem / mlapi

https://mlapi-livid.vercel.app
MIT License
1 stars 3 forks source link

mlapi

Vercel preview

Requirements

Create an ECR repository

aws ecr create-repository --repository-name lambda-pytorch-example --image-scanning-configuration scanOnPush=true --region <REGION>

Register docker to ECR

aws ecr get-login-password --region <REGION> | docker login --username AWS --password-stdin <AWS_ACCOUNT_ID>.dkr.ecr.<REGION>.amazonaws.com

Deploying the application

sam build && sam deploy –-guided

Workflow

Here's the architecture of the backend:

Reference