Ex: Lunchbot
Action
Lambda
Event
Post to
Slack webhook
Scrape Instagram,
Build notification
Daily timer
{ }
Slide 17
Slide 17 text
Ex: Newsbot
Action
Lambda
Event
Post to
backend
Query news feeds
and apply filters
Hourly timer
{ }
Slide 18
Slide 18 text
Ex: Server Health Alarms
Action
Lambda
Event
Post to
Slack webhook
Build notification
Environment
health check
{ }
Slide 19
Slide 19 text
Data Pipeline
• Real-time log/file/media processing
• e.g. resize and compress image upon upload
Lambda
Sink Storage
Source
{ }
Slide 20
Slide 20 text
Ex: Server Log Analytics
• Can be used with AWS Athena (“serverless” SQL)
Lambda
Sink Storage
Source
Parse user agent
strings
Post to
Kinesis Firehose
Web server
access logs
Write to
S3
{ }
Slide 21
Slide 21 text
API Service
• Microservices, Proxy backends
Lambda
API Gateway Data Store
Client
{ }
Slide 22
Slide 22 text
Ex: Proxy Backend
Lambda
API Gateway Data Store
Client
Rewrite
responses
Listen for
requests
Web app
frontend
Third-party
API service
{ }
Slide 23
Slide 23 text
Example
SURFnCODE Lunchbot
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
Ex: Lunchbot
Action
Lambda
Event
Post to
Slack webhook
Scrape Instagram,
Build notification
Daily timer
{ }
Slide 26
Slide 26 text
No content
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
No content
Slide 29
Slide 29 text
No content
Slide 30
Slide 30 text
No content
Slide 31
Slide 31 text
No content
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
No content
Slide 34
Slide 34 text
No content
Slide 35
Slide 35 text
No content
Slide 36
Slide 36 text
No content
Slide 37
Slide 37 text
• Serverless Computation == FaaS
• … also Serverless Databases
• “Serverless” means transparent scaling
What is Serverless?
FaaS AWS Lambda
GC Functions
Azure Functions
Slide 38
Slide 38 text
What is SURFnCODE?
• Startup-that-makes-startups
• Based in Matosinhos
• *+,-./012345
• We’re hiring! 6
careers.surfncode.io
(even Python newbies)