This repository uses Jot.jl to allow us to run Julia on Lambda through Docker.
- Install Docker
- Install the dependencies using
npm install
- Set up the
.env
file from.env.example
src/
contains a primary Julia script called deploy-functions.jl
. This script instantiates the dependencies and runs
Jot.jl to:
- turn a Julia function into a "responder" for Lambda;
- create a Docker image with the responder and it's dependencies;
- push the Docker image to ECR;
- create a Lambda function using the Docker image;
Each function that we want to deploy to Lambda needs to follow execute these steps. Future improvement will provide some automation for this process.
- Run
npm run build
to build the wrapper Docker image that sets up the environment with Julia and AWS - Run
npm start
to run the Docker image, executingdeploy-functions.jl
, and deploying the Lambda functions