AWS Step Functions workflow to invoke ECS tasks that read from Amazon S3

AWS Step Functions → Amazon ECS → Amazon S3

Step Functions - ECS Integration to run multiple ECS tasks in parallel

This project demonstrates how to implement a Step Functions State machine to invoke parallel ECS tasks in fargate with input parameters to read files from S3 in order to process them in parallel.
The template is implemented with SAM. The ECS task is implemented in python as a pattern reference but can be implemented in any language.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/sfn-ecs-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Praveen Koorse

Praveen Koorse

AWS Community Builder in Serverless category. Serverless advocate and enthusiast.

Follow on LinkedIn