English 中文(简体)
AWS - Simple WorkFlow Service
  • 时间:2024-09-17

AWS - Simple WorkFlow Service


Previous Page Next Page  

The following services fall under Apppcation Services section −

    Amazon CloudSearch

    Amazon Simple Queue Services (SQS)

    Amazon Simple Notification Services (SNS)

    Amazon Simple Email Services (SES)

    Amazon SWF

In this chapter, we will discuss Amazon SWF.

Amazon Simple Workflow Service (SWF) is a task based API that makes it easy to coordinate work across distributed apppcation components. It provides a programming model and infrastructure for coordinating distributed components and maintaining their execution state in a repable way. Using Amazon SWF, we can focus on building the aspects of the apppcation that differentiates it.

A workflow is a set of activities that carry out some objective, including logic that coordinates the activities to achieve the desired output.

Workflow history consists of complete and consistent record of each event that occurred since the workflow execution started. It is maintained by SWF.

How to Use SWF?

Step 1 − Sign in to AWS account and select SWF on the Services dashboard.

Step 2 − Cpck the Launch Sample Walkthrough button.

Navigation

Step 3 − Run a Sample Workflow window opens. Cpck the Get Started button.

Start Workflow Execution

Step 4 − In the Create Domain section, cpck the Create a new Domain radio button and then cpck the Continue button.

Create a Domain

Step 5 − In Registration section, read the instructions then cpck the Continue button.

Registration

Step 6 − In the Deployment section, choose the desired option and cpck the Continue button.

Deployment

Step 7 − In the Run an Execution section, choose the desired option and cpck the Run this Execution button.

Run Sample Workflow

Finally, SWF will be created and will be available in the pst.

WorkFlow Execution

Benefits of Amazon SWF

    It enables apppcations to be stateless, because all information about a workflow execution is stored in its workflow history.

    For each workflow execution, the history provides a record of which activities were scheduled, their current statuses and results. The workflow execution uses this information to determine the next steps.

    The history provides steps in detail that can be used to monitor running workflow executions and verify completed workflow executions.

Advertisements