Manage a batch job with AWS Step Functions

Step Functions → AWS Batch

This workflow use Step Functions, AWS Batch and AWS SNS Topics to start an batch job.

This sample project demonstrates how to submit an AWS Batch job, and then send an Amazon SNS notification based on whether that job succeeds or fails. Deploying this sample project creates an AWS Step Functions state machine, an AWS Batch job, and an Amazon SNS topic.

< 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-manage-batch-job-tf

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: terraform destroy.

Created by:

Itziar Olivera Goicolea

Itziar is a Technical Account Manager at AWS from Iberia (EMEA).

Follow on LinkedIn