Book Image

AWS Certified Developer - Associate Guide

By : Vipul Tankariya, Bhavin Parmar
Book Image

AWS Certified Developer - Associate Guide

By: Vipul Tankariya, Bhavin Parmar

Overview of this book

AWS Certified Developer - Associate Guide starts with a quick introduction to AWS and the prerequisites to get you started. Then, this book gives you a fair understanding of core AWS services and basic architecture. Next, this book will describe about getting familiar with Identity and Access Management (IAM) along with Virtual private cloud (VPC). Moving ahead you will learn about Elastic Compute cloud (EC2) and handling application traffic with Elastic Load Balancing (ELB). Going ahead you we will talk about Monitoring with CloudWatch, Simple storage service (S3) and Glacier and CloudFront along with other AWS storage options. Next we will take you through AWS DynamoDB – A NoSQL Database Service, Amazon Simple Queue Service (SQS) and CloudFormation Overview. Finally, this book covers understanding Elastic Beanstalk and overview of AWS lambda. At the end of this book, we will cover enough topics, tips and tricks along with mock tests for you to be able to pass the AWS Certified Developer - Associate exam and develop as well as manage your applications on the AWS platform.
Table of Contents (29 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Index

Lifecycle of workflow execution


SWF starts communicating with actors from the start to the completion of a workflow and allocates respective activities and decision tasks to these actors. Figure 14.3 describes the life cycle of a customer order-processing workflow:

Figure 14.3: Workflow execution lifecycle

Here are the steps shown in Figure 14.3:

  1. The workflow starter starts the workflow execution by calling the StartWorkflowExecution action with order information.
  2. SWF gets the request to start the workflow execution, sends it back with a WorkflowExectuionStarted event, and schedules a decision task raising a DecisionTaskScheduled event.
  3. A process configured as a decider in the workflow, polls for a decision task using the PollForDecisionTask action, and receives the decision task from SWF along with the task history. The decider then uses coordination logic to ensure that the execution is not already run. After verification, it schedules the verify order activity using the ScheduleActivityTask...