Date: 2019-01-31
Accepted
Supercedes 5. Use AWS Lambda
Given the limitations of Lambdas we decided to rely on containers to handle the bulk of the processing. Fargate provides a cheap, accessible container runtime.
We will use AWS Lambda to trigger a Fargate task for the processing pipeline.
Unfortunately, there's no easy way to trigger a Fargate task from an S3 file upload. The S3 upload will have to trigger a Lambda that can then run the Fargate task, setting the filename as the container's runtime parameters.