Cloud-grilled delights a high-tech approach to perfect BBQ
JimmyDahlqvist
16 views
41 slides
May 16, 2024
Slide 1 of 41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
About This Presentation
A cloud solution to perfect your BBQ skills.
Size: 23.5 MB
Language: en
Added: May 16, 2024
Slides: 41 pages
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
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