{"id":13625466,"url":"https://github.com/nikosheng/aws-stepfunctions-local-tutorial","last_synced_at":"2026-01-16T22:59:35.547Z","repository":{"id":105273984,"uuid":"182013983","full_name":"nikosheng/aws-stepfunctions-local-tutorial","owner":"nikosheng","description":"A hands-on beginning guide to build up a AWS Step Functions project in local environment","archived":false,"fork":false,"pushed_at":"2019-04-24T14:27:00.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-01T22:05:19.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikosheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-18T04:05:37.000Z","updated_at":"2019-05-05T17:22:10.000Z","dependencies_parsed_at":"2023-06-26T14:04:00.599Z","dependency_job_id":null,"html_url":"https://github.com/nikosheng/aws-stepfunctions-local-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikosheng%2Faws-stepfunctions-local-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikosheng%2Faws-stepfunctions-local-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikosheng%2Faws-stepfunctions-local-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikosheng%2Faws-stepfunctions-local-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikosheng","download_url":"https://codeload.github.com/nikosheng/aws-stepfunctions-local-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223700478,"owners_count":17188331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:01:56.255Z","updated_at":"2026-01-16T22:59:35.535Z","avatar_url":"https://github.com/nikosheng.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# aws-stepfunctions-local-tutorial\n[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n\nA hands-on beginning guide to build up a AWS Step Functions project in local environment\n\nIn this tutorial, you will build up a AWS Step Functions workflow integrating with **AWS Lambda Local**, **AWS Dynamodb** and **AWS Simple Notification Service** natively without triggering by Lambda itself.\n\n## What is Step Functions Local\n---\nStepFunctionsLocal is a full-featured AWS Step Functions runs locally on your machine. \n\n## Why we need Step Functions Local\n---\nSFL enables developers to develop and test applications using a version of Step Functions running in your own development environment.\n\n## Getting Started\n---\n### Setting Up Step Functions Local \n\nPlease refer to the [Setting Up Step Functions Local (Downloadable Version)](https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local.html) in AWS Official Document website to setup the environment.\n\n### Setting Up AWS SAM Framework\n\nThe [AWS Serverless Application Model (AWS SAM)](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html) is an open-source framework that you can use to build serverless applications on AWS. We will use AWS SAM to develop and test AWS Lambda Local.\n\n### Initialize the Lambda Local function with AWS SAM\n\n  - Run the following command at an AWS SAM CLI command prompt.\n  ```\n  sam init --runtime python3.6 \n  ```\n  - A project folder(sam-app/) will be generated. It is a sample app to display the local ip address.\n  - In the sam-app directory, build the project by using command\n  ```\n  sam build\n  ```\n  - Test the Lambda function locally\n  ```\n  sam local start-api\n  ```\n  The command returns an API Gateway endpoint, which you can send requests to for local testing.\n  - In the teminal, use `curl` to test the Lambda function\n  ```\n  curl http://127.0.0.1:3000/hello \n  {\"message\": \"hello world\", \"location\": \"72.21.198.66\"}\n  ```\n  - If the testing works, start the lambda local\n  ```\n  sam local start-lambda\n  ```\n### Initialize the Step Functions Local with Docker\n  - In this tutorial, we will use docker to launch the Step Functions Local, you might launch it by Jar package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikosheng%2Faws-stepfunctions-local-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikosheng%2Faws-stepfunctions-local-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikosheng%2Faws-stepfunctions-local-tutorial/lists"}