From the course: AWS for Developers: SNS, SQS, and SWF

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Next steps

Next steps

- [Jeremy] Make sure you clean up any AWS resources that you don't want to keep around to avoid any charges. Delete any EC2 instances you aren't going to keep, delete the SQS queues, make sure you delete your SNS topics. And finally, delete any workflows that you don't want in SWF. I showed you a pretty condensed sample of what you can accomplish with tracking a workflow through SWF. If you take a look at the SWF docs, you'll see that there's a lot of other methods that we didn't implement in our example. You can create logic that if the worker is unable to perform a task, it can respond to SWF with a RespondAactivityTaskFailed message. Then the decider can look at the history and perform an action to maybe retry the task two or three times before it emails you through an SNS topic to let you know there's a problem with this particular work flow execution. Our example didn't go much beyond what you could probably pull off…

Contents