Git Product home page Git Product logo

aws-fargate-with-step-functions's Introduction

AWS Fargate with Step Functions

Patterns for resilient AWS Fargate task execution with AWS Step Functions.

1. Resilient Scheduled Fargate Tasks

This example shows you how to make scheduled Fargate tasks resilient by using the Step Functions' "Retry" feature.

resilient-scheduled-fargate-tasks

2. Parallerized Fargate Tasks

This example shows you how to run parameterized and parallerized Fargate tasks by using the Step Functions' "Map" state.

parallelized-fargate-tasks

3. Granular Error Handling based on Fargate Task's "stoppedReason"s

This example shows you how to handle errors based on the "stoppedReason" field of ECS task result.

You can do "Retry when the error is ResourceInitializationError, but do not retry and just fail when the error is CannotPullContainerError", for example. See the full list of the error codes in the Amazon ECS documentation.

stoppedreason-based-error-handling

Contribution

  1. Fork (https://github.com/toricls/aws-fargate-with-step-functions/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the main branch
  5. Create a new Pull Request

Licence

MIT

Author

Tori Hara

aws-fargate-with-step-functions's People

Contributors

toricls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.