AWS account and CLI configured
aws --version
- install nodejs
https://nodejs.org/en/
- install serverless
npm install -g serverless
- Clone this repo
git clone https://github.com/mattlaver/coffee-cake.git
Simulate customers placing orders
- Create an order by picking random items from the menu
- Create an SNS Order Topic, update serverless.yaml
- Post the order to an SNS Order Topic
Menu: https://raw.githubusercontent.com/mattlaver/coffee-cake/master/menu.js
Creates a recipt for the order
- Add an event for the SNS Order Topic
- Calculate the total from the order
- Post the total to Splunk