This lab demonstrates how you can build and run a Capital Guessing Game by using state machines to start games, add participants, ask questions, keep scores, and more. State machines are a way of defining and visualizing the flow of your application. They specify how the application should behave under different conditions, and how it should transition between states. With AWS Step Functions, you can define state machines by using a JSON-based language, visualize and test them by using the AWS Management Console, and integrate them with other AWS services and third-party applications.
Level
Intermediate
Duration
1 Hours 0 Minutes
Course Objectives
By the end of this lab, you will be able to do the following:
- Test the functionality of the Capital Guessing Game.
- Update the game’s Step Functions start_execution code snippet.
- Deploy the updated application.
- Visualize how the application uses Step Functions by observing the state machine’s workflow.
Intended Audience
This course is intended for:
- Developers
Prerequisites
To successfully complete this lab:
- Familiarity with the basic navigation of the AWS Management Console.
- Versed in editing and running scripts using an AWS Cloud9 code editor and terminal.
- A basic understanding of and familiarity with Amazon API Gateway, AWS Serverless Application Model (AWS SAM), AWS Lambda, AWS CloudFormation, and AWS Step Functions.
- Prior experience with AWS services and serverless computing is helpful, but isn’t required.
Course Outline
- Task 1: Test the Capital Guessing Game for functionality
- Task 2: Deploy the application with the latest updates
- Task 3: Start the game and review the state machine workflow