I have a project API that requires some MATLAB code to run.
Currently, the MATLAB code is compiled using the MATLAB Compiler and runs with the MATLAB Runtime and Python on EC2.
I'm trying to migrate away from EC2 into AWS Lambda. This requires me to package the MATLAB compiled executable into the Lambda package somehow.
As I see it, there are two options:
- Somehow get the MATLAB Compiler to compile a purely static executable
- Package and use the MATLAB Runtime with my Lamda function (The runtime currently sits somewhere at ~1GB of space, so this doesn't seem feasable)
Has anyone had any experience using MATLAB on AWS Lambda or something similar? Do I have any alternatives from here?