Cloud-grilled delights a high-tech approach to perfect BBQ

JimmyDahlqvist 16 views 41 slides May 16, 2024
Slide 1
Slide 1 of 41
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41

About This Presentation

A cloud solution to perfect your BBQ skills.


Slide Content

Cloud-grilled delights a high-tech approach to perfect BBQ JIMMY DAHLQVIST | Believe In Serverless 2024-05-16

JIMMY DAHLQVIST Head of AWS @ Sigma Technology Cloud Founder of serverless- handbook.com AWS Community Builder | AWS Ambassador | User Group Leader § Hello, I'm

Agenda Background / Problem Architecture overview Cloud deep dive Summary

Background / Problem

Problem Multi-probe thermometer Wifi Connectivity High / Low thresholds Temperature trends / Stall History

BBQ Low and slow Low even temperature for a long time It’s an art form

Smoker types Ceramic – Kamado UDS – Ugly drum smoker Electric pellets Offset

IoT enabled smoker

IoT device – v0.1

Architecture overview

Components + AWS Cloud + IoT Device

IoT Device Software AWS IoT Greengrass 2.0 - Core Custom component Hardware Raspberry Pi 4 model B 2.5mm food probes MCP3008 – AD converter

IoT device software First iteration Python application Updated over SSH Connected directly to AWS IoT Core

Components + AWS Cloud + IoT Device

Cloud architecture

Lesson learned IoT Rules as router Small objects in S3 Hard to change data format Extending was a challenge

Improvements Cloud architecture Data transformation Event driven architecture Decouple services IoT Device Software development lifecycle Log handling Configuration

IoT Device

AWS Greengrass Interact with AWS services AWS provided components Log manager Custom components Publish new versions of components Support for AWS Lambda

Cloud architecture

Cloud architecture Data service Detection service Notification service Data augmentation service

Cloud deep dive

Cloud architecture Reliably capture data Managed services No direct EventBridge integration Data service Detection service Notification service Data augmentation service IoT Core and SQS

Reliably capture data Managed services No direct EventBridge integration IoT Core and SQS

Cloud architecture Data service Detection service Notification service Data augmentation service

Data augmentation Data transform pattern Fetch data from DynamoDB

Cloud architecture Data service Detection service Notification service Data augmentation service

Detection service Threshold breaches Temperature trends The dreadful stall

Cloud architecture Data service Detection service Notification service Data augmentation service

Serverless and event-driven Loosely coupled Scale and fail independently Cost effective Extensibility Highly available

Great BBQ?

I would say so

Takeaways and thoughts

Choreography + Orchestration Data storage service Detection service Notification service Data transform service

AWS StepFunctions workflow types Standard workflow Long running - 1 year 2000 starts per second Pay per state transition Express workflow Short running - 5 minutes 100k starts per second Pay for duration

Express workflows Express Workflows employ an at-least-once model for asynchronous invocation

Create subscriptions Creates coupling on the filter Complex to add more targets Changing the filter affect all Coupling is on the event Easy to add more targets Filters can change independently

Default bus Avoid using the default bus for custom applications!

Transform don’t transport Use AWS Lambda to transform data, not transport. AVOID

Future and summary

Next step Remove my own hardware ( Inkbird IBT-6XS) Make it SaaS!! Blog posts and Open Source coming! Add camera support Train an ML model for detection Alexa integration