SlideShare a Scribd company logo
31 May 2017 - at EPITA
Introduction to
Serverless through
Architectural Patterns
1/18
Who am I?
DevOps @CloudScreener
EPITA 2015
Specialised in Systems, Networks and Security
Cloud Systems Engineer @Axiad IDS, 2015-2016
Passion for creating products,
while learning new technologies
@MathieuMailhos
Cloud & Ops Enthousiast
2/18
Context & Introduction
I/ Introducing Serverless
II/ Architectural Patterns
III/ Serverless Framework Demo
IV/ Overall Benefits and Drawbacks
Conclusion
Agenda
3/18
Adopt the lean startup methodology:
Business Hypothesis needs to be validated
Only invest time and money on non-risky projects
If you fail, fail fast. Then learn and retry.
We need less overhead in our development
Focus on building the product:
Remove the boring and hard part around managing
your infrastructure
Timing is a major key of success
4/18
Internet based systems where application process rely on:
1. A combination of 3rd party services: Backend As A Service
2. Remote procedure calls: Function As A Service
3. Rich client-side logic
Basically, write scalable code without having to think about
details of the container, operating system or infrastructure that
run the program
Only pay for what you use
Connecting APIs to avoid hosting and managing servers
Introducing Serverless
5/18
Provide Hardware
by abstracting
physical
environment
Deploy in Months
Live for Years
Provide OS
through
Virtual Machines
Deploy in minutes
Live for weeks
Provide
Application
Environment
through
Containers
Deploy in seconds
Live for hours
Provide
completely
abstracted
environment
through
Functions
Deploy in
milliseconds
Live for seconds
Infrastructure Abstraction Evolution
Datacenter IaaS PaaS FaaS
6/18
Function As A Service
Multiple Providers:
AWS Lambda, Google Cloud Functions, MS Azure Functions, IBM OpenWhisk, Twilio Functions,
iron.io (on-premise), Galactic Fog (on-premise)
Or build your own: http://blog.alexellis.io/functions-as-a-service/
Unit of
deployment:
A Function
Stateless:
Running in an
ephemeral
containers
Pricing Model:
Pay per execution
count and length
Scaling & High
Availability:
Automatic
Execute code, without managing servers, based on direct
invocations or events
Use your own language
Zip and upload.
Choose the amount of
memory you need.
RAM, Disk and
Processes are not
persistent.
Do not count on them!
Usually, pay per 100ms.
Direct consequences of
running optimised code
Each vendor has its own
limits. However, there is
no SLA guaranteed (yet).
7/18
We can find all we need to build our product out there
APIs are the new libraries
Database,
Storage
Authentication,
Analytics,
Messaging,
Tooling (Logging, Monitoring…),
Artificial Intelligence,
As A Service
Backend As A Service
8/18
Standard Web App,
All the logic is on the servers
Serverless: More logic in the
client. Use of multiple services.
Implies the need to manage
monitoring and security on each
component.
Web Application Pattern
AWS API Gateway /
Google Cloud Endpoints: 

Gateway/Proxy for HTTP Calls.
Manage authentication, caching,
monitoring, throttling.
Update requests on the fly
9/18
Recurring Jobs:
Log analysis, SSL Checks, Backups…
Use of a scheduler / source of trigger
Multiple notifications channels, log file
Automations
Event Driven:
Processing files upload,
Reacting to database key change,
New created user…
10/18
Presenting the Fan Out Pattern
Batch Processing
Process huge volume of data on a regular basis
Non-interactive background job
Apply the MapReduce programming model to serverless
Speed depends on the number of invoked concurrent functions
Save state in any storage / database depending on your data structure
11/18
Stream Processing
Process non-interrupted stream of data in near real-time
Handle spiky traffic and message ordering
Use of Kinesis or a Message Queueing Service to store data
Beware of poisoning messages & be prepared for Lambda failures (DLQ)
Then process those data subsets by calling functions concurrently
Tune your functions capacities and concurrent calls to keep up with ingest rate
12/18
Demo
Write and deploy your entire serverless infrastructure using only
configuration files and functions
Handle multiple vendors
Serverless Framework
https://github.com/serverless/serverless
13/18
Demo
Custom OAuth Authentication
https://github.com/mathieumailhos/sls-oauth-instagram
14/18
Custom OAuth Authentication
Typical use case where 2 functions make you avoid provisioning a server, setting up the system and the
development environment, its security, installing a reverse proxy, monitoring it and managing it over time…
15/18
Overall Benefits and Drawbacks
Benefits
Costs: Don’t pay for idle, overall less Ops work
Scale: Managed by the vendor, no over-provisioning anymore
High-Availability: automatic availability zones redundancy
Ops: Easy to maintain and deploy
Time: focus on code only
Greener: shared environment
Drawbacks
Beware of Vendor lock-in: migrations won’t be easy
Multi tenancy problems: security, robustness, performances
More front-end development required
Stateless changes the way to code, might require additional component
Startup latency and network dependencies
Debugging, Versioning, Testing and Monitoring can be tricky: need more tools
16/18
Conclusion
Serverless is not a correct approach for every problem
since it still has major drawbacks: latency, vendor lock-in…
But it is awesome when applied to lean methodology: deliver
fast, get feedbacks quickly.
Easy to get started: take advantage of the “free tier”

plan provided by vendors.
Bring huge opportunities for engineers with both
infrastructure and development skills.
17/18
Thank You
Question Time!
@MathieuMailhos linkedin.com/in/mathieumailhos github.com/MathieuMailhos
18/18

More Related Content

What's hot (20)

Cloud design pattern
Cloud design pattern
Areeba jabeen
 
Rethinking Security: The Cloud Infrastructure Effect
Rethinking Security: The Cloud Infrastructure Effect
CloudPassage
 
AWS Community Day - Vitaliy Shtym - Pragmatic Container Security
AWS Community Day - Vitaliy Shtym - Pragmatic Container Security
AWS Chicago
 
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
DevOps.com
 
ICS Cybersecurity: How to Protect the Proprietary Cyber Assets That Hackers C...
ICS Cybersecurity: How to Protect the Proprietary Cyber Assets That Hackers C...
EnergySec
 
Cloud Security: Make Your CISO Successful
Cloud Security: Make Your CISO Successful
CloudPassage
 
Security and Compliance for Enterprise Cloud Infrastructure
Security and Compliance for Enterprise Cloud Infrastructure
CloudPassage
 
Automating security compliance for physical, virtual, cloud, and container en...
Automating security compliance for physical, virtual, cloud, and container en...
Lucy Huh Kerner
 
DevOps Underground - Microservices Monitoring
DevOps Underground - Microservices Monitoring
kloia
 
Best Practices for Workload Security: Securing Servers in Modern Data Center ...
Best Practices for Workload Security: Securing Servers in Modern Data Center ...
CloudPassage
 
Secure Cloud Development Resources with DevOps
Secure Cloud Development Resources with DevOps
CloudPassage
 
45 Minutes to PCI Compliance in the Cloud
45 Minutes to PCI Compliance in the Cloud
CloudPassage
 
Technologies You Need to Safely Use the Cloud
Technologies You Need to Safely Use the Cloud
CloudPassage
 
CDN Performance at eBay from Thousandeyes Connect
CDN Performance at eBay from Thousandeyes Connect
ThousandEyes
 
Claudit (cloud asset auditing)
Claudit (cloud asset auditing)
Angelos Karageorgiou
 
Practical Steps to Scale Legal Support for Open Source
Practical Steps to Scale Legal Support for Open Source
Black Duck by Synopsys
 
Protecting Your IP with Perforce Helix and Interset
Protecting Your IP with Perforce Helix and Interset
Perforce
 
Dynatrace FreeTrial Test Drive
Dynatrace FreeTrial Test Drive
Jerry Tan
 
10 Tips for Your Journey to the Public Cloud
10 Tips for Your Journey to the Public Cloud
Intuit Inc.
 
IBM QRadar BB & Rules
IBM QRadar BB & Rules
Muhammad Abdel Aal
 
Cloud design pattern
Cloud design pattern
Areeba jabeen
 
Rethinking Security: The Cloud Infrastructure Effect
Rethinking Security: The Cloud Infrastructure Effect
CloudPassage
 
AWS Community Day - Vitaliy Shtym - Pragmatic Container Security
AWS Community Day - Vitaliy Shtym - Pragmatic Container Security
AWS Chicago
 
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
DevOps.com
 
ICS Cybersecurity: How to Protect the Proprietary Cyber Assets That Hackers C...
ICS Cybersecurity: How to Protect the Proprietary Cyber Assets That Hackers C...
EnergySec
 
Cloud Security: Make Your CISO Successful
Cloud Security: Make Your CISO Successful
CloudPassage
 
Security and Compliance for Enterprise Cloud Infrastructure
Security and Compliance for Enterprise Cloud Infrastructure
CloudPassage
 
Automating security compliance for physical, virtual, cloud, and container en...
Automating security compliance for physical, virtual, cloud, and container en...
Lucy Huh Kerner
 
DevOps Underground - Microservices Monitoring
DevOps Underground - Microservices Monitoring
kloia
 
Best Practices for Workload Security: Securing Servers in Modern Data Center ...
Best Practices for Workload Security: Securing Servers in Modern Data Center ...
CloudPassage
 
Secure Cloud Development Resources with DevOps
Secure Cloud Development Resources with DevOps
CloudPassage
 
45 Minutes to PCI Compliance in the Cloud
45 Minutes to PCI Compliance in the Cloud
CloudPassage
 
Technologies You Need to Safely Use the Cloud
Technologies You Need to Safely Use the Cloud
CloudPassage
 
CDN Performance at eBay from Thousandeyes Connect
CDN Performance at eBay from Thousandeyes Connect
ThousandEyes
 
Practical Steps to Scale Legal Support for Open Source
Practical Steps to Scale Legal Support for Open Source
Black Duck by Synopsys
 
Protecting Your IP with Perforce Helix and Interset
Protecting Your IP with Perforce Helix and Interset
Perforce
 
Dynatrace FreeTrial Test Drive
Dynatrace FreeTrial Test Drive
Jerry Tan
 
10 Tips for Your Journey to the Public Cloud
10 Tips for Your Journey to the Public Cloud
Intuit Inc.
 

Similar to Introduction to Serverless through Architectural Patterns (20)

Serverless Node.js
Serverless Node.js
The Software House
 
Building Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the Cloud
Srini Karlekar
 
Serverless Pune meetup 3
Serverless Pune meetup 3
Vishal Biyani
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
State of serverless
State of serverless
Anurag Saran
 
What is Serverless Computing?
What is Serverless Computing?
AIMDek Technologies
 
Montréal AWS Users United: Let's go Serverless!
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
Serverless: A love hate relationship
Serverless: A love hate relationship
Jürgen Brüder
 
The future will be Serverless (FrontConf Munich 2017)
The future will be Serverless (FrontConf Munich 2017)
Luciano Mammino
 
From Serverless to InterCloud
From Serverless to InterCloud
Wayne Scarano
 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
 
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Frank Munz
 
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Dhaval Nagar
 
NDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green
 
Dhaval Nagar - ServerlessDays Bengaluru 2023
Dhaval Nagar - ServerlessDays Bengaluru 2023
Dhaval Nagar
 
Serverless brewbox
Serverless brewbox
Lino Telera
 
Serverless-Computing-The-Future-of-Backend-Development
Serverless-Computing-The-Future-of-Backend-Development
Ozias Rondon
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
Learning Serverless Design Develop and Deploy with Confidence 1st Edition Jas...
Learning Serverless Design Develop and Deploy with Confidence 1st Edition Jas...
hilsttrettpl
 
Why Serverless?
Why Serverless?
Ridwan Fadjar
 
Building Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the Cloud
Srini Karlekar
 
Serverless Pune meetup 3
Serverless Pune meetup 3
Vishal Biyani
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
State of serverless
State of serverless
Anurag Saran
 
Montréal AWS Users United: Let's go Serverless!
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
Serverless: A love hate relationship
Serverless: A love hate relationship
Jürgen Brüder
 
The future will be Serverless (FrontConf Munich 2017)
The future will be Serverless (FrontConf Munich 2017)
Luciano Mammino
 
From Serverless to InterCloud
From Serverless to InterCloud
Wayne Scarano
 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
 
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Frank Munz
 
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Dhaval Nagar
 
NDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green
 
Dhaval Nagar - ServerlessDays Bengaluru 2023
Dhaval Nagar - ServerlessDays Bengaluru 2023
Dhaval Nagar
 
Serverless brewbox
Serverless brewbox
Lino Telera
 
Serverless-Computing-The-Future-of-Backend-Development
Serverless-Computing-The-Future-of-Backend-Development
Ozias Rondon
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
Learning Serverless Design Develop and Deploy with Confidence 1st Edition Jas...
Learning Serverless Design Develop and Deploy with Confidence 1st Edition Jas...
hilsttrettpl
 
Ad

Recently uploaded (20)

Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
Best Inbound Call Tracking Software for Small Businesses
Best Inbound Call Tracking Software for Small Businesses
TheTelephony
 
Software Engineering Process, Notation & Tools Introduction - Part 4
Software Engineering Process, Notation & Tools Introduction - Part 4
Gaurav Sharma
 
Scaling FME Flow on Demand with Kubernetes: A Case Study At Cadac Group SaaS ...
Scaling FME Flow on Demand with Kubernetes: A Case Study At Cadac Group SaaS ...
Safe Software
 
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
WSO2
 
Bonk coin airdrop_ Everything You Need to Know.pdf
Bonk coin airdrop_ Everything You Need to Know.pdf
Herond Labs
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Integrating Survey123 and R&H Data Using FME
Integrating Survey123 and R&H Data Using FME
Safe Software
 
OpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
Neuralink Templateeeeeeeeeeeeeeeeeeeeeeeeee
Neuralink Templateeeeeeeeeeeeeeeeeeeeeeeeee
alexandernoetzold
 
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
SheenBrisals
 
AI and Deep Learning with NVIDIA Technologies
AI and Deep Learning with NVIDIA Technologies
SandeepKS52
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
Design by Contract - Building Robust Software with Contract-First Development
Design by Contract - Building Robust Software with Contract-First Development
Par-Tec S.p.A.
 
iOS Developer Resume 2025 | Pramod Kumar
iOS Developer Resume 2025 | Pramod Kumar
Pramod Kumar
 
Leveraging Foundation Models to Infer Intents
Leveraging Foundation Models to Infer Intents
Keheliya Gallaba
 
Agile Software Engineering Methodologies
Agile Software Engineering Methodologies
Gaurav Sharma
 
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
Aarno Aukia
 
The rise of e-commerce has redefined how retailers operate—and reconciliation...
The rise of e-commerce has redefined how retailers operate—and reconciliation...
Prachi Desai
 
14 Years of Developing nCine - An Open Source 2D Game Framework
14 Years of Developing nCine - An Open Source 2D Game Framework
Angelo Theodorou
 
Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
Best Inbound Call Tracking Software for Small Businesses
Best Inbound Call Tracking Software for Small Businesses
TheTelephony
 
Software Engineering Process, Notation & Tools Introduction - Part 4
Software Engineering Process, Notation & Tools Introduction - Part 4
Gaurav Sharma
 
Scaling FME Flow on Demand with Kubernetes: A Case Study At Cadac Group SaaS ...
Scaling FME Flow on Demand with Kubernetes: A Case Study At Cadac Group SaaS ...
Safe Software
 
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
WSO2
 
Bonk coin airdrop_ Everything You Need to Know.pdf
Bonk coin airdrop_ Everything You Need to Know.pdf
Herond Labs
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Integrating Survey123 and R&H Data Using FME
Integrating Survey123 and R&H Data Using FME
Safe Software
 
OpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
Neuralink Templateeeeeeeeeeeeeeeeeeeeeeeeee
Neuralink Templateeeeeeeeeeeeeeeeeeeeeeeeee
alexandernoetzold
 
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
SheenBrisals
 
AI and Deep Learning with NVIDIA Technologies
AI and Deep Learning with NVIDIA Technologies
SandeepKS52
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
Design by Contract - Building Robust Software with Contract-First Development
Design by Contract - Building Robust Software with Contract-First Development
Par-Tec S.p.A.
 
iOS Developer Resume 2025 | Pramod Kumar
iOS Developer Resume 2025 | Pramod Kumar
Pramod Kumar
 
Leveraging Foundation Models to Infer Intents
Leveraging Foundation Models to Infer Intents
Keheliya Gallaba
 
Agile Software Engineering Methodologies
Agile Software Engineering Methodologies
Gaurav Sharma
 
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
Aarno Aukia
 
The rise of e-commerce has redefined how retailers operate—and reconciliation...
The rise of e-commerce has redefined how retailers operate—and reconciliation...
Prachi Desai
 
14 Years of Developing nCine - An Open Source 2D Game Framework
14 Years of Developing nCine - An Open Source 2D Game Framework
Angelo Theodorou
 
Ad

Introduction to Serverless through Architectural Patterns

  • 1. 31 May 2017 - at EPITA Introduction to Serverless through Architectural Patterns 1/18
  • 2. Who am I? DevOps @CloudScreener EPITA 2015 Specialised in Systems, Networks and Security Cloud Systems Engineer @Axiad IDS, 2015-2016 Passion for creating products, while learning new technologies @MathieuMailhos Cloud & Ops Enthousiast 2/18
  • 3. Context & Introduction I/ Introducing Serverless II/ Architectural Patterns III/ Serverless Framework Demo IV/ Overall Benefits and Drawbacks Conclusion Agenda 3/18
  • 4. Adopt the lean startup methodology: Business Hypothesis needs to be validated Only invest time and money on non-risky projects If you fail, fail fast. Then learn and retry. We need less overhead in our development Focus on building the product: Remove the boring and hard part around managing your infrastructure Timing is a major key of success 4/18
  • 5. Internet based systems where application process rely on: 1. A combination of 3rd party services: Backend As A Service 2. Remote procedure calls: Function As A Service 3. Rich client-side logic Basically, write scalable code without having to think about details of the container, operating system or infrastructure that run the program Only pay for what you use Connecting APIs to avoid hosting and managing servers Introducing Serverless 5/18
  • 6. Provide Hardware by abstracting physical environment Deploy in Months Live for Years Provide OS through Virtual Machines Deploy in minutes Live for weeks Provide Application Environment through Containers Deploy in seconds Live for hours Provide completely abstracted environment through Functions Deploy in milliseconds Live for seconds Infrastructure Abstraction Evolution Datacenter IaaS PaaS FaaS 6/18
  • 7. Function As A Service Multiple Providers: AWS Lambda, Google Cloud Functions, MS Azure Functions, IBM OpenWhisk, Twilio Functions, iron.io (on-premise), Galactic Fog (on-premise) Or build your own: http://blog.alexellis.io/functions-as-a-service/ Unit of deployment: A Function Stateless: Running in an ephemeral containers Pricing Model: Pay per execution count and length Scaling & High Availability: Automatic Execute code, without managing servers, based on direct invocations or events Use your own language Zip and upload. Choose the amount of memory you need. RAM, Disk and Processes are not persistent. Do not count on them! Usually, pay per 100ms. Direct consequences of running optimised code Each vendor has its own limits. However, there is no SLA guaranteed (yet). 7/18
  • 8. We can find all we need to build our product out there APIs are the new libraries Database, Storage Authentication, Analytics, Messaging, Tooling (Logging, Monitoring…), Artificial Intelligence, As A Service Backend As A Service 8/18
  • 9. Standard Web App, All the logic is on the servers Serverless: More logic in the client. Use of multiple services. Implies the need to manage monitoring and security on each component. Web Application Pattern AWS API Gateway / Google Cloud Endpoints: 
 Gateway/Proxy for HTTP Calls. Manage authentication, caching, monitoring, throttling. Update requests on the fly 9/18
  • 10. Recurring Jobs: Log analysis, SSL Checks, Backups… Use of a scheduler / source of trigger Multiple notifications channels, log file Automations Event Driven: Processing files upload, Reacting to database key change, New created user… 10/18
  • 11. Presenting the Fan Out Pattern Batch Processing Process huge volume of data on a regular basis Non-interactive background job Apply the MapReduce programming model to serverless Speed depends on the number of invoked concurrent functions Save state in any storage / database depending on your data structure 11/18
  • 12. Stream Processing Process non-interrupted stream of data in near real-time Handle spiky traffic and message ordering Use of Kinesis or a Message Queueing Service to store data Beware of poisoning messages & be prepared for Lambda failures (DLQ) Then process those data subsets by calling functions concurrently Tune your functions capacities and concurrent calls to keep up with ingest rate 12/18
  • 13. Demo Write and deploy your entire serverless infrastructure using only configuration files and functions Handle multiple vendors Serverless Framework https://github.com/serverless/serverless 13/18
  • 15. Custom OAuth Authentication Typical use case where 2 functions make you avoid provisioning a server, setting up the system and the development environment, its security, installing a reverse proxy, monitoring it and managing it over time… 15/18
  • 16. Overall Benefits and Drawbacks Benefits Costs: Don’t pay for idle, overall less Ops work Scale: Managed by the vendor, no over-provisioning anymore High-Availability: automatic availability zones redundancy Ops: Easy to maintain and deploy Time: focus on code only Greener: shared environment Drawbacks Beware of Vendor lock-in: migrations won’t be easy Multi tenancy problems: security, robustness, performances More front-end development required Stateless changes the way to code, might require additional component Startup latency and network dependencies Debugging, Versioning, Testing and Monitoring can be tricky: need more tools 16/18
  • 17. Conclusion Serverless is not a correct approach for every problem since it still has major drawbacks: latency, vendor lock-in… But it is awesome when applied to lean methodology: deliver fast, get feedbacks quickly. Easy to get started: take advantage of the “free tier”
 plan provided by vendors. Bring huge opportunities for engineers with both infrastructure and development skills. 17/18
  • 18. Thank You Question Time! @MathieuMailhos linkedin.com/in/mathieumailhos github.com/MathieuMailhos 18/18