1. 程式人生 > >Create a Serverless Workflow with AWS Step Functions

Create a Serverless Workflow with AWS Step Functions

In this tutorial, you will learn how to use AWS Step Functions to design and run a serverless workflow that coordinates multiple AWS Lambda functions. AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

In our example, you are a developer who has been asked to create a serverless application to automate handling of support tickets in a call center. While you could have one Lambda function call the other, you worry that managing all of those connections will become challenging as the call center application becomes more sophisticated. Plus, any change in the flow of the application will require changes in multiple places, and you could end up writing the same code over and over again.

To solve this challenge, you decide to use AWS Step Functions. Step Functions is a serverless orchestration service that lets you easily coordinate multiple Lambda functions into flexible workflows that are easy to debug and easy to change. Step Functions will keep your Lambda functions free of additional logic by triggering and tracking each step of your application for you.

In the next 10 minutes, you will create a Step Functions state machine to describe the current call center process, create a few simple Lambda functions that simulate the tasks of the support team, and pass data between each Lambda function to track the progress of the support case. Then, you’ll perform several tests of your workflow to observe how it responds to different inputs. Finally, you’ll delete the AWS resources you used in the tutorial.

You'll use and AWS Lambda in this tutorial. These services are within the AWS Free Tier.

相關推薦

Create a Serverless Workflow with AWS Step Functions

In this tutorial, you will learn how to use AWS Step Functions to design and run a serverless workflow that coordinates multiple AWS Lambda func

Invoke AWS Lambda when a State (Execution Event) Changes in AWS Step Functions

Before you begin this procedure, you must: Confirm that the event change that you want to trigger the Lambda function i

[React] Create a Virtualized List with Auto Sizing Cells using react-virtualized and CellMeasurer

color react fault mail osi rem owin logs ati In this lesson we‘ll use CellMeasurer and CellMeasurerCache to automatically calculate and c

How to create a new business with AI?

Artificial intelligence is about to sweep massively in companies because it is a major element of digital transformation. Automation of low value-added tas

Create a Slack bot with golang GopherAcademy

Create a Slack bot with golang Introduction In this post we’ll look at how to set up a quick Slack bot that receives m

使用PHP建立一個REST API(Create a REST API with PHP)

譯者前言: 首先這是一篇國外的英文文章,非常系統、詳盡的介紹瞭如何使用PHP建立REST API,國內這方面的資料非常非常的有限,而且基本沒有可操作性。這篇文章寫的非常好,只要對PHP稍有了解的程式設計師,看完本文基本可以自己動手寫REST API,花了幾個小時翻譯過來和大

Tutorial: Build a .NET Bot with AWS

The .NET core chatbot application code allows you to order flowers using a Chatbot powered by Amazon Lex, AWS Lambda, and Amazon Cognito Identi

Create a VPC Using the AWS Management Console

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Create a Secure Connection to AWS VPC

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Create an approval workflow for AWS Service Catalog in ServiceNow

The AWS Service Catalog connector for ServiceNow allows AWS enterprise customers to securely provision compliant workloads using ServiceNow on AWS

AWS Step Functions

An application workflow with branching conditions has more than one path. In this example, there are 10 arrows (or arcs) connecting steps. T

Tarification d'AWS Step Functions

Un flux de travail d'application ayant des conditions en ramification a plusieurs chemins. Dans cet exemple, il y a 10 flèches (ou arcs) qui

AWS Step Functions

AWS Step Functions vous permet de coordonner plusieurs services AWS dans des flux de travail sans serveur afin de créer et mettre à jour rapidem

AWS Step Functions視覺化工作流服務_分散式應用調節

AWS Step Functions 讓您將多個 AWS 服務協調為無伺服器工作流,以便您可以快速構建和更新應用程式。使用 Step Functions,您可以設計和執行將 AWS Lambda 和 Amazon ECS 等服務整合到功能豐富的應用程式中的工作流。工作流由一系列步驟組成,

Go Serverless! Let’s create a File Sharing application based on AWS services

Let’s start illustrating the services that are utilized according to design choices.Amazon S3“Amazon S3 is an object storage service created to memorize an

[React] Create a queue of Ajax requests with redux-observable and group the results.

exe new sta fault merge tasks return cer convert With redux-observable, we have the power of RxJS at our disposal - this means tasks that

【MySQL】MySQL5.7 匯入時報“cannot create a JSON value from a string with CHARACTER SET 'binary'.”錯誤的解決辦法

json是mysql 5.7版本才新增的資料型別,用mysql-front 6.0匯出時json欄位會自動轉換成十六進位制“X’7B226……227D”,而不是json格式。 所以在匯入時就會報錯。 我的解決辦法: 1.用notepad++等文字編輯器開啟.sql檔案;

Managing a Spotify Library with Go and AWS Lambda

Managing a Spotify Library with Go and AWS LambdaSpotify exposes a robust API that can be used to manage your (or someone elses) music library and do all s

How to Build Serverless Vue Applications with AWS Amplify

You can also implement serverless AWS AppSync GraphQL APIs, Lambda functions, analytics, hosting, VR / AR scenes & more using the Amplify CLI & lib

Deploy a serverless Jekyll website on a CDN at AWS

When I was developing my personal blog website with Jekyll, I was eager to deploy the site on a well-known performant and scalable platform. Namely Amazon