Patrick McDavid

I'm a technology leader in Colorado speaking about serverless computing, team building, devops, and leadership development.

Serverless Hotdog Detection

25 October 2017

Photo credit to Umai Hotdogs of Sacremento for their scrumptious looking dogs.

Last night I gave a talk at coloradoSprings.js about the serverless framework.

I wish I’d went to the trouble of recording the presentation, and will try that the next time I give one, but for now I can offer you the slide deck, and this quick write-up.

Hotdog Cloud?

The hottest space in tech in 2017 is inarguably hotdog detection and non-detection. Everybody’s trying to get a piece of the action. So I spent a couple nights building https://hotdog.cloud a mobile-friendly hotdog detection app. Give it a try! It’s especially good on your phone. Hotdog cloud is open sourced on github, so feel free to fork away.

Hotdog Cloud ties together about half a dozen AWS services to offer an encrypted, zero-cost-at-rest web application. It’s a pretty tight demonstration of the power available with some succinct glue-code to remix a number of ready-built cloud services to achieve a pretty slick outcome.

Takeaways

  • Serverless enables a very simple infrastructure-as-code workflow from a single YML file, in many languages
  • Free managed SSL is a snap with Amazon Certificate Manager
  • Neat, easy machine learning tools are a line or two of code with AWS Rekognition, etc

I really enjoy the serverless framework’s blend of control and automation. I’ve used minimalist tools like Chalice, and have found that I start bumping into the edges of what they can do pretty quickly. Serverless Framework exposes the full power of Terraform, allowing the management of most of kinds of cloud resources automatically.

In the future I’d like to try pointing serverless at Google Cloud or Azure and see what the appreciable differences are there.

Hotdog cloud was a great little project that’s still fun to pull out on my phone whenever the bratwurst guy at home depot tempts me by.

Update: I got a nice chuckle when a few days later AWS’s official blog posted a similar example using rekognition to detect hotdogs on slack.