serverless and iot - philipp muns
TRANSCRIPT
![Page 2: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/2.jpg)
Serverless and IoT
![Page 3: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/3.jpg)
Agenda
1. About me
2. What is Serverless?
3. What is the Serverless Framework?
4. Live coding
5. IoT examples
6. How do I get started?
7. Q & A
![Page 4: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/4.jpg)
About me
![Page 5: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/5.jpg)
About me
- Philipp Müns (27) from Paderborn, Germany
- Web development since ~2000 (“Frontpage era”)
- Studied computer science in Mannheim (Bachelor) and Paderborn (Master)
- Professional web development as a consultant (Ruby on Rails, Meteor, Node.js)
- Saw the Serverless Framework (previously JAWS) on HackerNews
- “Just Serverless” Blog / Agency, “Learn Serverless” book, learning materials
- Joined Serverless, Inc. as a Full-Time Core Developer / Maintainer
![Page 6: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/6.jpg)
What is Serverless?
![Page 7: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/7.jpg)
Client (HTTP)Server
Request
Response
![Page 8: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/8.jpg)
Client (HTTP)Server
Request
Response
![Page 9: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/9.jpg)
Client (HTTP)
ServerRequest
Response
Server
...
LB
![Page 10: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/10.jpg)
Client (HTTP)
ServerRequest
Response
Server
...
LB
![Page 11: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/11.jpg)
Client (HTTP)
ServerRequest
Response
Server
...
LB
$
$
$
![Page 12: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/12.jpg)
Client (HTTP)
Request
Response
Black Box
![Page 13: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/13.jpg)
Client (HTTP)
Request
Response
λ
![Page 14: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/14.jpg)
Client (HTTP)
Request
Response
λ
λ
λ
λ
![Page 15: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/15.jpg)
Client (HTTP)
Request
Response
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
![Page 16: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/16.jpg)
Client (HTTP)
Request
Response
![Page 17: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/17.jpg)
16000 req. / Day (200ms avg. res. time)
2 Servers $2.97 / Day
Serverless $0.05 / Day
Was ist Serverless?
![Page 18: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/18.jpg)
Image (raw)
Image (thumbnail)
λ
![Page 19: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/19.jpg)
Push notification
λ
![Page 20: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/20.jpg)
“Scheduled”
λ
![Page 21: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/21.jpg)
IoT device
Store data in DB
λ
![Page 22: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/22.jpg)
λ
“Do something”
“Event comes in”
![Page 23: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/23.jpg)
What is the Serverless Framework?
![Page 24: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/24.jpg)
What is the Serverless Framework?
![Page 25: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/25.jpg)
What is the Serverless Framework?
![Page 26: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/26.jpg)
What is the Serverless Framework?
![Page 27: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/27.jpg)
Event driven
“Pay per execution”
Scales automatically
No maintenance costs
Low total cost of ownership
Was ist Serverless?
Focus on code
Serverless teams
![Page 28: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/28.jpg)
Live coding
![Page 29: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/29.jpg)
IoT examples
![Page 30: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/30.jpg)
https://github.com/garden-aid
![Page 31: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/31.jpg)
How do I get started?
![Page 32: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/32.jpg)
https://serverless.com/framework/docs/providers/aws/guide/intro/
![Page 33: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/33.jpg)
Q & A
![Page 34: Serverless and IoT - Philipp Muns](https://reader034.vdocuments.mx/reader034/viewer/2022042723/5874046a1a28ab6f1d8b5cf5/html5/thumbnails/34.jpg)
Thank you for your attention!