Skip to content
0:00 / 0:00

#awsstepfunctions#awslambda#serverless

AWS Step Functions with Lambda Tutorial | Step by Step Guide

Be A Better Dev

292K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

275K views7 years ago1 recommendation

Cloud and DevOpsAWSServerless

How to build and configure AWS Step Functions to orchestrate AWS Lambda functions and handle decision logic.

AWS Step functions allow developers to offload application orchestration into a fully managed AWS service. In this tutorial, I show you how to use AWS Step Functions to pass input into your lambda, and use your lambda's output to decide next steps in your Step Function's decision logic. I start out by creating the step function and attaching the required IAM role. From there I integrate with Lambda and fire some test events to verify everything is connected. Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/courses/aws-learning-accelerator Example Overview Creating a Lambda Function Creating our Step Function and State Machine State Machine ASL Walkthrough Invoking our Step Function with Input Viewing our Step Function Invocation Output 🎉SUPPORT BE A BETTER DEV🎉 Become a Patron: patreon.com/beabetterdev 📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚 Clean Code - amzn.to/37T7xdP Clean Architecture - amzn.to/3sCEGCe Head First Design Patterns - amzn.to/37WXAMy Domain Driver Design - amzn.to/3aWSW2W Code Complete - amzn.to/3ksQDrB The Pragmatic Programmer - amzn.to/3uH4kaQ Algorithms - amzn.to/3syvyP5 Working Effectively with Legacy Code - amzn.to/3kvMza7 Refactoring - amzn.to/3r6FQ8U 🎙 MY RECORDING EQUIPMENT 🎙 Shure SM58 Microphone - amzn.to/3r5Hrf9 Behringer UM2 Audio Interface - amzn.to/2MuEllM XLR Cable - amzn.to/3uGyZFx Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6 Desk Microphone Mount - amzn.to/3qXMVIO Logitech C920s Webcam - amzn.to/303zGu9 Fujilm XS10 Camera - amzn.to/3uGa30E Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p 💻 MY DESKTOP EQUIPMENT 💻 Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6 Autonomous ErgoChair 2 - bit.ly/2YzomEm Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF Veikk A15 Drawing Tablet - amzn.to/3uBRWsN 📚 References: Step function ASL: gist.github.com/djg07/7d4b9a7b06459723681b3fef0790ff86 Getting started with AWS: youtu.be/lTyqzyk86f8 ☁Topics covered include: - Creating and Executing an AWS Step Function - Amazon States Language - IAM role for step function - Lambda integration - Lambda Input - Lambda Output 🌎 Find me here: Twitter - twitter.com/BeABetterDevv Instagram - instagram.com/beabetterdevv/ Patreon - Donations help fund additional content - patreon.com/beabetterdev #StepFunctions #Lambda #AWS #Serverless

Why it's here

1 person recommends this

What people say. Recommended as a step-by-step guide to orchestrating tasks with AWS Step Functions and Lambda.

Ryan Davieson Stack Overflow • Recommends

On “Need to run a aws lambda function which takes more than 15 minutes to complete?”

…is used when your task is singular but has a long-running execution time and/or you have heavy hardware requirements. The idea is that you would create a script that executes your long process and put it into a docker container that's hosted in Fargate. Meaning no limits to execution time and access to powerful hardware (How to create a Fat Lambda link to this video) Step Function strategy A Step Function strategy is used to break down your entire process into smaller steps. Usually, a step function strategy would work for you if your process could have lots of miniature stages linked together instead of a big colossal job attempting to do everything simultaneously. Bear in mind that a "Fat Lambd…