Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (11 loc) · 651 Bytes

0012-use-lambda-and-fargate-for-task-execution.md

File metadata and controls

21 lines (11 loc) · 651 Bytes

12. Use Lambda and Fargate for Task Execution

Date: 2019-01-31

Status

Accepted

Supercedes 5. Use AWS Lambda

Context

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.

Decision

We will use AWS Lambda to trigger a Fargate task for the processing pipeline.

Consequences

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.