Trigger AWS Lambda Functions Using Amazon Simple Workflow

Posted on: Aug 6, 2015

You can now use Amazon Simple Workflow (SWF) to trigger your AWS Lambda functions. AWS Lambda is a compute service that runs your code in response to triggers and automatically manages the compute resources for you.

SWF allows you to manage the execution of Lambda functions in the context of a broader workflow. For example, when an image is uploaded to a web front-end, SWF could sequence Lambda functions to convert the image to a different format and add a watermark. SWF provides significant benefits, such as robust retry mechanisms upon failure, centralized application state tracking, and logical separation of application state and units of work. Now, these benefits can be leveraged to manage your Lambda functions.

There is no additional cost for this new feature. If you have a Lambda function ready, you can get started by logging in to the SWF section of the AWS Management Console, registering a new workflow type, and specifying a default IAM role with which to invoke Lambda functions. To create a new Lambda function, log into the Lambda section of the console. To learn more, please see our Lambda, SWF, or SWF Flow Framework documentation.