AWS - Simple WorkFlow Service | Introduction to Amazon Web Services(AWS) - Software Development PDF Download

The following services fall under Application 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 application components. It provides a programming model and infrastructure for coordinating distributed components and maintaining their execution state in a reliable way. Using Amazon SWF, we can focus on building the aspects of the application 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 − Click the Launch Sample Walkthrough button.

Navigation

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

Start Workflow Execution

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

Create a Domain

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

Registration

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

Deployment

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

Run Sample Workflow

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

WorkFlow Execution

Benefits of Amazon SWF

  • It enables applications 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.

The document AWS - Simple WorkFlow Service | Introduction to Amazon Web Services(AWS) - Software Development is a part of the Software Development Course Introduction to Amazon Web Services(AWS).
All you need of Software Development at this link: Software Development
Are you preparing for Software Development Exam? Then you should check out the best video lectures, notes, free mock test series, crash course and much more provided by EduRev. You also get your detailed analysis and report cards along with 24x7 doubt solving for you to excel in Software Development exam. So join EduRev now and revolutionise the way you learn!
Sign up for Free Download App for Free
24 docs

Up next

FAQs on AWS - Simple WorkFlow Service - Introduction to Amazon Web Services(AWS) - Software Development

1. What is AWS Simple Workflow Service (SWF)?
Ans. AWS Simple Workflow Service (SWF) is a cloud-based workflow management system that enables developers to coordinate and track multi-step, long-running tasks in their applications. It provides a reliable infrastructure for distributed applications to handle workflow orchestration, task dispatching, tracking, and failure handling.
2. How does AWS SWF differ from other workflow management systems?
Ans. Unlike other workflow management systems, AWS SWF is designed to handle the complexity of real-world, distributed applications. It provides a fully managed service that takes care of the underlying infrastructure, allowing developers to focus on writing the business logic of their applications. Additionally, SWF offers a flexible and scalable architecture, with support for task distribution, parallel processing, and failure handling.
3. Can AWS SWF be used for both synchronous and asynchronous workflows?
Ans. Yes, AWS SWF supports both synchronous and asynchronous workflows. Synchronous workflows are useful for applications that require immediate responses, while asynchronous workflows are suitable for long-running tasks that may take hours, days, or even weeks to complete. SWF allows developers to define the flow of tasks and their dependencies, ensuring reliable and efficient execution.
4. How does AWS SWF handle failure in workflows?
Ans. AWS SWF provides built-in mechanisms for handling failures in workflows. When a task fails, SWF automatically retries the task according to predefined retry policies. If the task continues to fail, SWF can escalate the failure to a specified point and trigger compensating actions. This ensures that workflows can recover from failures and continue execution without manual intervention.
5. Can AWS SWF integrate with other AWS services and external systems?
Ans. Yes, AWS SWF can seamlessly integrate with other AWS services and external systems. It provides APIs and SDKs that allow developers to interact with various AWS services, such as Amazon S3, Amazon EC2, and AWS Lambda, to perform tasks within their workflows. Additionally, SWF supports the use of external workers, which can interact with external systems through APIs or other communication protocols.

Up next

Explore Courses for Software Development exam
Related Searches

AWS - Simple WorkFlow Service | Introduction to Amazon Web Services(AWS) - Software Development

,

video lectures

,

Semester Notes

,

Previous Year Questions with Solutions

,

shortcuts and tricks

,

Important questions

,

practice quizzes

,

AWS - Simple WorkFlow Service | Introduction to Amazon Web Services(AWS) - Software Development

,

AWS - Simple WorkFlow Service | Introduction to Amazon Web Services(AWS) - Software Development

,

Extra Questions

,

Sample Paper

,

Viva Questions

,

Summary

,

study material

,

past year papers

,

Exam

,

ppt

,

pdf

,

Free

,

MCQs

,

mock tests for examination

,

Objective type Questions

;