AWS for Developers: SNS, SQS, and SWF
1h 12mAdvanced2020-01-16
Authors

Jeremy Villeneuve
Founder of Halvanta, LLC, an IT consulting firm
Course details
Are you unclear about how to best work with the messaging, queueing, and workflow services offered by AWS? If so, this course can help. Join Jeremy Villeneuve as he shines a spotlight on three key AWS services—Simple Workflow Service (SWF), Simple Queue Service (SQS), and Simple Notification Service (SNS)—and how they can help you effectively handle complex workflows. Since each service was designed to address a specific methodology of the messaging/queueing/workflow model, Jeremy spells out the key differences in methodologies so you can ensure you're using the right tool for the right job. Along the way, get hands-on experience with SQS and SNS, and learn how to refactor an existing application that tracks user state within a database table to a workflow model provided by SWF.
Topics include:
- Sending and receiving SQS messages
- Differences between SNS and SQS
- Registering subscribers of SNS topics
- Tracking state within your app with SWF
- Creating a SWF workflow
Topics include:
- Sending and receiving SQS messages
- Differences between SNS and SQS
- Registering subscribers of SNS topics
- Tracking state within your app with SWF
- Creating a SWF workflow
Skills covered
Amazon Web Services (AWS)AmazonCloud ServicesCloud PlatformsCloud ComputingDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Better workflows with SWF, SQS, and SNS
- 02 - What you should know
1. Simple Queue Service (SQS)
- 03 - Plan the refactoring
- 04 - Messaging queues
- 05 - Set up a test server
- 06 - Create an SQS queue
- 07 - Send a message to the queue
- 08 - Receive a message from the queue
- 09 - Challenge - Send and receive a SQS message
- 10 - Solution - Send and receive a SQS message
2. Simple Notification Service (SNS)
- 11 - What is SNS
- 12 - Create an SNS topic
- 13 - Register subscribers
- 14 - Publish a message to an SNS topic
- 15 - Challenge - Add another subscriber
- 16 - Solution - Add another subscriber
3. Intro to Simple Workflow Service (SWF)
- 17 - What is SWF
- 18 - SWF core concepts
- 19 - Step Functions versus SWF
- 20 - Challenge - Diagram a new workflow
- 21 - Solution - Diagram a new workflow
4. Hands-On with SWF
- 22 - Create a SWF domain
- 23 - Create an SWF workflow
- 24 - Create a SWF activity type
- 25 - Start a workflow execution
- 26 - SWF deciders
- 27 - SWF workers in PHP
- 28 - Testing the workflow
- 29 - Challenge - Create a new activity
- 30 - Solution - Create a new activity
Conclusion
- 31 - Next steps