Nic Acton
  • My Gitbook
  • My Favorite Things
    • Podcasts
    • Newsletters
  • Monthly Summaries
    • May 2019
    • June 2019
  • Cloud Computing
    • Cloud Concepts
    • AWS
      • Certified Solutions Architect
      • Well Architected Framework
        • Operational Excellence
        • Reliability
        • Performance Efficiency
        • Cost Optimization
        • Security
      • Analytics
        • Elasticsearch Service
        • Kinesis
        • Elastic MapReduce (EMR)
      • Compute Services
        • Elastic Beanstalk
        • Elastic Container Service (ECS)
      • Deployment
        • CloudFormation
      • Application Services
        • Key Management Service (KMS)
        • Simple Queue Service (SQS)
        • API Gateway
        • Simple Work Flow (SWF)
        • Amazon MQ
        • Simple Notification Service (SNS)
      • Simple Storage Service (S3)
        • Macie
      • Databases
        • RDS
        • DynamoDB
        • ElastiCache
        • Neptune
        • Redshift
      • Cloudfront
      • IAM
      • Monitoring
        • Trusted Advisor
        • Amazon Inspector
        • AWS Config
        • AWS Shield
        • CloudWatch
          • VPC Flow Logs
        • CloudTrail
        • Guard Duty
      • Route53
      • Serverless Architectures
        • Lambda
      • VPC
        • Highly Available & Fault Tolerant VPCs
        • Hybrid Environments
          • VPC Peering
          • Direct Connect
        • Cloud HSM
    • GCP
    • Azure
    • HashiCorp
    • Red Hat
      • RHEL
        • Basics
        • Grep & Regex
        • SSH
      • Ansible
    • Tutorials/Guides
      • Linux
        • Admin
  • Software Engineering
    • Machine Learning
      • Deep Learning
        • Tensorflow
      • Training and Loss
    • Programming
      • APIs
    • Security
    • Web Development
      • OSI 7 Layer Model
    • Tutorials/Guides
      • Apache Server
    • Virtualization
      • Virtual Machines
      • Containers
      • Serverless
  • Fitness
    • Nutrition
      • Diets
      • Macronutrients
      • Supplements
      • Miscellaneous
    • Strength Training
    • BodyBuilding
  • Miscellaneous
    • Technology Ethics
      • Education
    • Interesting Concepts
      • Libertarian Paternalism
Powered by GitBook
On this page
  • Essentials
  • Components
  • AWS Flow Framework for Java

Was this helpful?

  1. Cloud Computing
  2. AWS
  3. Application Services

Simple Work Flow (SWF)

Orchestration for coordination and management of activity execution.

Essentials

  • Fully-managed "workflow" orchestration service provided by AWS

  • A workflow allows an architect/developer to implement distributed, asynchronous applications as a work flow

  • A workflow coordinates and manages the execution of activities that can be run asynchronously across multiple computing devices

  • SWF has consistent execution

  • Guarantees the order in which tasks are executed

  • There are no duplicate tasks

  • The SWF service is primarily an API which an application can integrate it's workflow service into. This allows the service to be used by non-AWS services, such as an on-premise data center

  • A workflow execution can last up to 1 year!

Components

  • Starter: Starts the workflow

  • Workflow: A sequence of steps required to perform a specific taskk.

    • A workflow is also commonly referred to as a decider

  • Activities: A single step (or unit of work) in the workflow

  • Tasks: What interacts with the "workers" that are part of a workflow

    • Activity task - tell the worker to perform a function

    • Decision task - tells the decider the state of the work flow execution, which allows the decider to determine the next activity to be performed

  • Worker: Responsible for receiving a task and taking action on it

    • Can be any type of component such as an EC2 instance, or even a person.

AWS Flow Framework for Java

  • Simplifies working with SWF by providing objects and classes

DO the sample workflow in the AWS Console!

PreviousAPI GatewayNextAmazon MQ

Last updated 6 years ago

Was this helpful?