Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.05 KB

README.md

File metadata and controls

52 lines (35 loc) · 2.05 KB

Rube Goldberg Challenge

Welcome to the Rube Goldberg Challenge! This solution contains a sample Machine to store an event registration (like when someone signs up for an event). The architecture looks something like this:

Alt text

The goal in this challenge is to add steps in between the two Lambda handlers, thus increasing it's silliness and decreasing it's efficiency. Why are we doing this again?

Scoring Criteria

  • Creativity
  • Number of Steps
  • Number of Unique Services
  • Silliness Factor
  • Extravagance
  • Inefficiency

Rules

  1. Steps can be added manually, programmatically, whatever
  2. You don't have to write code to add steps
  3. Be kind to one another
  4. Have fun!

How to get started

This whole solution is built on AWS SAM and super easy to deploy. Give this recipe a try:

  1. Launch a Cloud 9 instance, pop into the terminal
  2. Clone this repo git clone https://github.com/aulvi/rube-goldberg-challenge.git
  3. Deploy the solution. When this is done it will spit out the RegistrationApi endpoint url, highlight it and copy it for later. cd rube-goldberg-challenge; sam build && sam deploy --guided
  4. Test it
    • Edit register.sh and populate the variables with your own data, including the endpoint url from Step 3.
    • Run ./register.sh
    • Go into DynamoDB and see if your registration was saved correctly
  5. Hope that worked!

Resources

See the AWS SAM developer guide for an introduction to SAM specification, the SAM CLI, and serverless application concepts.

AWS Cloud9 User Guide

AWS CLI

AWS SDKs

Amazon Builder's Library

AWS Documentation