Agenda
Contextualization SWF Definition SWF Basic Concepts How to use it (quick view) SWF Pricing RighScale Case Study Thinking about our startups
Workflow- Example
Customer Order (Start) Verify Order
Order Verifiers
Ship Order
Warehouse Employees
Record Completition
End
Databases Recorders
Workflow ??
What we learned.....
1. The applications often incorporate a workflow 2. The workflow often represents a business process 3. Processes can be complex 4. Flexibility is key 5. Ease of use is important
SWF - Definition
Amazon Simple Workflow Service (Amazon SWF) is a workflow service for building scalable, resilient applications. Whether automating business processes for finance or insurance applications, building sophisticated data analytics applications, or managing cloud infrastructure services, Amazon SWF reliably coordinates all of the processing steps within an application.
Workflows History
The workflow history is a detailed, complete, and consistent record of every event that occurred since the workflow execution started.
Invoice0001 Start Workflow Execution Schedule Verify Order Start Verify Order Activity Complete Verify Order Activity Schedule Charge Credit Card Start Charge Credit Card Activity Complete Charge Credit Card Activity Schedule Ship Order Start Ship Order Activity
Tasks
Activity task. Decision task.
Actors
Actors - Deciders
A decider is an implementation of a workflow's coordination logic A decider represents a single computer process or thread.
history
+
Decision
SWF
Hey SWF, do you have any task to me?
Domains
Domains provide a way of scoping Amazon SWF resources within your AWS account It is possible to have more than one workflow in a domain Workflows in different domains cannot interact with each other
Timeouts
Workflow Start to Close Decision Task Start to Close Activity Task Start to Close Activity Task Heartbeat Activity Task Schedule to Start Activity Task Schedule to Close
Dashboard
Create a domain
Registration
Deployment
Run an execution
Finish.
Pricing
Starting for free
1,000 Workflows and 10,000 tasks per month
The problem
Automatically launching and terminating servers based on monitoring metrics, such as cpu load
Search Products
Sort By Price
Trace Route
Search Events
Check Cost
To bid a Packet
Against bid
Ship Order
Record Completition
End
MixedTV
Upload Videos Convert Videos
Streaming
Create Playlist
Thanks!!
SWF site
http://aws.amazon.com/swf/