SlideShare une entreprise Scribd logo
1  sur  36
Current state of “Serverless”
Serverless provider ecosystem, use cases and points of interest
March 14th 2017 – Disruptors in Tech
Twitter: @dkcwd
Before we get started…
Reminder about this session
The slides will be made available after the session and you are more
than welcome to share them. Any relevant links will be posted in the
description on the SlideShare page.
We have people attending with different backgrounds with different
levels of experience.
You’re more than welcome to ask questions and share knowledge
both during and after the session.
Let’s get started….
Some announcements…
AWS Summit (Sydney) – next month
5th and 6th April 2017
Hordern Pavilion & Royal Hall of Industries,
Sydney
- Excellent sessions planned
- Make sure you register!
Free serverless workshop – next month
4th April 2017
Cliftons Sydney, 60 Margaret Street,
Sydney, 2000
Interested in a hands on workshop?
- Make sure you register!
Upon arriving you will meet your instructor, and receive a Serverless workbook with step-by-step
instructions on how to build a video streaming app.
Quick overview of “Serverless” ecosystem
YAAaaS – Yet Another Acronym as a…
You may have been seeing more
“as a Service” acronyms including:
- FaaS (Function as a Service)
- BaaS (Backend as a Service)
- MBaaS (Mobile Backend as a Service)
BaaS solutions
Backend as a Service
BaaS solutions include offerings such as AWS Cognito
AWS Cognito is a user management and data synchronization service
designed to provide user related backend functionality for an
application without the need to reinvent the wheel and/or maintain
any servers directly.
FaaS solutions
Function as a Service
FaaS solutions facilitate the “on demand” execution of custom code
in response to specific events.
While most Platform as a Service (PaaS) solutions are designed to be
“always on” and ready to handle requests, FaaS solutions are
initialized and shut down on every single request.
Tonight, we’re focused on FaaS
FaaS provider platforms enable you to deploy the smallest units of
functionality, functions...
There’s a good chance that most people here tonight will have heard
of AWS Lambda but there are others which we’ll discuss shortly
Who thinks “Serverless” is the right term?
Serverless: There are still servers everywhere
Please DO NOT sack your ops team…
8-D
And repeat: “Serverless Architecture”
is not the answer to every question...
Serverless: There are still servers everywhere
People often feel the need to mention,
“there are still servers involved”:
- Developers write functions
- Functions are packaged for deployment
- Platform provider executes functions
- Limited control over the execution…
No servers and configuration to manage?
You may not need to directly maintain servers or containers but
there is definitely still work to do in terms of configuration
That’s one of the reasons for growth in the number of frameworks
which are emerging to assist with deployment to FaaS platforms
Why would my team “go Serverless”?
There is potential to reduce your infrastructure spend by avoiding
charges for idle servers (including container hosts) and increase the
rate at which your team can develop/deploy new features
Subject to the usage policy of a given “Function as a Service”
provider, there may be significant benefits for you in terms of
scalability in addition to the points mentioned above
Common Serverless use cases
Some common use cases:
- Collecting and processing analytics
- Export, Transform, Load (ETL) operations
- Image/video processing (e.g. resize/transcode)
- Interactive backends (e.g. chatbots and webhooks)
- Scheduled function execution (e.g. “Cron as a Service”)
About the FaaS platform providers
Introducing the FaaS platform providers
The main providers are:
- AWS Lambda
- Microsoft Azure Functions
- Google Cloud Functions
- IBM OpenWhisk
All providers have different offerings
Make sure you understand the programming model for
the vendor solution you are considering so you can work
out your development strategy accordingly
For example, thinking about provider interoperability,
separating business logic and provider logic
Lambda at the Sydney AWS Summit (2016)
At the AWS Summit in Sydney during April of last year,
there was a lot of excitement surrounding Serverless
programming paradigms using AWS Lambda
There was significant focus on examples of image
processing and customer enablement
AWS Serverless Computing Manifesto:
- Functions are the unit of deployment and scaling
- No machines, VMs, or containers visible in the programming model
- Permanent storage lives elsewhere
- Scales per request; Users cannot over or under provision capacity
- Never pay for idle (no cold servers/containers or their costs)
- Implicitly fault-tolerant because functions can run anywhere
- BYOC - Bring Your Own Code
- Metrics and logging are a universal right
Various concerns about adopting Lambda
The examples shown at the AWS Summit were compelling
however:
- adding functions via AWS interface seemed cumbersome
- lack of understanding how to deploy functions via CLI
- many concerned about “vendor lock-in”
Enter the frameworks…
Tonight, we’re focused on…
Introducing Serverless framework
The project exists at: https://github.com/serverless/serverless
The first commits to the project were made on April 21st, 2015
Working toward supporting major vendors reducing lock-in fear
Are there example projects?
Yes!
You can find out more here https://github.com/serverless
Note: Elliott Spira created an excellent tutorial on creating a HipChat Connector
Check it out here: https://bitbucket.org/gorillastack/serverless-hipchat-connect
Can you show me a reference diagram?
Yes!
For those building web apps, I’ll show you one for a simple website on the next slide.
The “serverless backend” is based on our website
https://www.clarkyoungman.com
What is the workflow like?
 Vendor configuration before anything else
 Initial project setup via CLI
 Development
 Local testing
 Deployment of endpoints and functions via CLI
 Rinse & Repeat
Demo time
We’ll go through some deployments...
Quick mentions…
“Serverless” things to keep an eye on…
 New tools and services are being marketed/released (StdLib)
“Serverless” things to keep an eye on…
 New tools and services are being marketed/released (FaunaDB)
Global meetup network
 Learn and share with members of the community
 If there isn’t one near you, you can find support to start one…
https://www.meetup.com/pro/serverless
Enjoy and share what you do…
I’m on Twitter: @dkcwd
LinkedIn: https://au.linkedin.com/in/daveclarkprofile

Contenu connexe

En vedette

Serverless microservices in the wild
Serverless microservices in the wildServerless microservices in the wild
Serverless microservices in the wildRotem Tamir
 
Azure Functions
Azure FunctionsAzure Functions
Azure FunctionsDino Wang
 
ServerlessPresentation
ServerlessPresentationServerlessPresentation
ServerlessPresentationRohit Kumar
 
Openstack taskflow 簡介
Openstack taskflow 簡介Openstack taskflow 簡介
Openstack taskflow 簡介kao kuo-tung
 
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...Joe Sepi
 
The Serverless Paradigm, OpenWhisk and FIWARE
The Serverless Paradigm, OpenWhisk and FIWAREThe Serverless Paradigm, OpenWhisk and FIWARE
The Serverless Paradigm, OpenWhisk and FIWAREAlex Glikson
 
OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016Stephen Fink
 
Serverles com Azure Functions & DocumentDB
Serverles com Azure Functions & DocumentDBServerles com Azure Functions & DocumentDB
Serverles com Azure Functions & DocumentDBJosé Roberto Araújo
 
An introduction to Atlassian Bitbucket Pipelines
An introduction to Atlassian Bitbucket PipelinesAn introduction to Atlassian Bitbucket Pipelines
An introduction to Atlassian Bitbucket PipelinesDave Clark
 
Architecture of a Kafka camus infrastructure
Architecture of a Kafka camus infrastructureArchitecture of a Kafka camus infrastructure
Architecture of a Kafka camus infrastructuremattlieber
 
슬로우캠퍼스 - 안드로이드 개발자들이여 Firebase로 날아보자 :)
슬로우캠퍼스 - 안드로이드 개발자들이여  Firebase로 날아보자 :)슬로우캠퍼스 - 안드로이드 개발자들이여  Firebase로 날아보자 :)
슬로우캠퍼스 - 안드로이드 개발자들이여 Firebase로 날아보자 :)마이캠퍼스
 
Open stack ocata summit enabling aws lambda-like functionality with openstac...
Open stack ocata summit  enabling aws lambda-like functionality with openstac...Open stack ocata summit  enabling aws lambda-like functionality with openstac...
Open stack ocata summit enabling aws lambda-like functionality with openstac...Shaun Murakami
 
How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...Animesh Singh
 

En vedette (18)

Serverless microservices in the wild
Serverless microservices in the wildServerless microservices in the wild
Serverless microservices in the wild
 
Azure Functions
Azure FunctionsAzure Functions
Azure Functions
 
Azure functions
Azure functionsAzure functions
Azure functions
 
ServerlessPresentation
ServerlessPresentationServerlessPresentation
ServerlessPresentation
 
Openstack taskflow 簡介
Openstack taskflow 簡介Openstack taskflow 簡介
Openstack taskflow 簡介
 
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...
Combining OpenWhisk (serverless), Open API (swagger) and API Connect to build...
 
The Serverless Paradigm, OpenWhisk and FIWARE
The Serverless Paradigm, OpenWhisk and FIWAREThe Serverless Paradigm, OpenWhisk and FIWARE
The Serverless Paradigm, OpenWhisk and FIWARE
 
Task flow
Task flowTask flow
Task flow
 
OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016
 
Serverles com Azure Functions & DocumentDB
Serverles com Azure Functions & DocumentDBServerles com Azure Functions & DocumentDB
Serverles com Azure Functions & DocumentDB
 
An introduction to Atlassian Bitbucket Pipelines
An introduction to Atlassian Bitbucket PipelinesAn introduction to Atlassian Bitbucket Pipelines
An introduction to Atlassian Bitbucket Pipelines
 
Apache kafka big data track
Apache kafka   big data trackApache kafka   big data track
Apache kafka big data track
 
Serverless Realtime Backup
Serverless Realtime BackupServerless Realtime Backup
Serverless Realtime Backup
 
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
 
Architecture of a Kafka camus infrastructure
Architecture of a Kafka camus infrastructureArchitecture of a Kafka camus infrastructure
Architecture of a Kafka camus infrastructure
 
슬로우캠퍼스 - 안드로이드 개발자들이여 Firebase로 날아보자 :)
슬로우캠퍼스 - 안드로이드 개발자들이여  Firebase로 날아보자 :)슬로우캠퍼스 - 안드로이드 개발자들이여  Firebase로 날아보자 :)
슬로우캠퍼스 - 안드로이드 개발자들이여 Firebase로 날아보자 :)
 
Open stack ocata summit enabling aws lambda-like functionality with openstac...
Open stack ocata summit  enabling aws lambda-like functionality with openstac...Open stack ocata summit  enabling aws lambda-like functionality with openstac...
Open stack ocata summit enabling aws lambda-like functionality with openstac...
 
How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...
 

Dernier

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Dernier (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

Current state of "Serverless"

  • 1. Current state of “Serverless” Serverless provider ecosystem, use cases and points of interest March 14th 2017 – Disruptors in Tech Twitter: @dkcwd
  • 2. Before we get started…
  • 3. Reminder about this session The slides will be made available after the session and you are more than welcome to share them. Any relevant links will be posted in the description on the SlideShare page. We have people attending with different backgrounds with different levels of experience. You’re more than welcome to ask questions and share knowledge both during and after the session. Let’s get started….
  • 5. AWS Summit (Sydney) – next month 5th and 6th April 2017 Hordern Pavilion & Royal Hall of Industries, Sydney - Excellent sessions planned - Make sure you register!
  • 6. Free serverless workshop – next month 4th April 2017 Cliftons Sydney, 60 Margaret Street, Sydney, 2000 Interested in a hands on workshop? - Make sure you register! Upon arriving you will meet your instructor, and receive a Serverless workbook with step-by-step instructions on how to build a video streaming app.
  • 7. Quick overview of “Serverless” ecosystem
  • 8. YAAaaS – Yet Another Acronym as a… You may have been seeing more “as a Service” acronyms including: - FaaS (Function as a Service) - BaaS (Backend as a Service) - MBaaS (Mobile Backend as a Service)
  • 9. BaaS solutions Backend as a Service BaaS solutions include offerings such as AWS Cognito AWS Cognito is a user management and data synchronization service designed to provide user related backend functionality for an application without the need to reinvent the wheel and/or maintain any servers directly.
  • 10. FaaS solutions Function as a Service FaaS solutions facilitate the “on demand” execution of custom code in response to specific events. While most Platform as a Service (PaaS) solutions are designed to be “always on” and ready to handle requests, FaaS solutions are initialized and shut down on every single request.
  • 11. Tonight, we’re focused on FaaS FaaS provider platforms enable you to deploy the smallest units of functionality, functions... There’s a good chance that most people here tonight will have heard of AWS Lambda but there are others which we’ll discuss shortly
  • 12. Who thinks “Serverless” is the right term?
  • 13. Serverless: There are still servers everywhere Please DO NOT sack your ops team… 8-D And repeat: “Serverless Architecture” is not the answer to every question...
  • 14. Serverless: There are still servers everywhere People often feel the need to mention, “there are still servers involved”: - Developers write functions - Functions are packaged for deployment - Platform provider executes functions - Limited control over the execution…
  • 15. No servers and configuration to manage? You may not need to directly maintain servers or containers but there is definitely still work to do in terms of configuration That’s one of the reasons for growth in the number of frameworks which are emerging to assist with deployment to FaaS platforms
  • 16. Why would my team “go Serverless”? There is potential to reduce your infrastructure spend by avoiding charges for idle servers (including container hosts) and increase the rate at which your team can develop/deploy new features Subject to the usage policy of a given “Function as a Service” provider, there may be significant benefits for you in terms of scalability in addition to the points mentioned above
  • 17. Common Serverless use cases Some common use cases: - Collecting and processing analytics - Export, Transform, Load (ETL) operations - Image/video processing (e.g. resize/transcode) - Interactive backends (e.g. chatbots and webhooks) - Scheduled function execution (e.g. “Cron as a Service”)
  • 18. About the FaaS platform providers
  • 19. Introducing the FaaS platform providers The main providers are: - AWS Lambda - Microsoft Azure Functions - Google Cloud Functions - IBM OpenWhisk
  • 20. All providers have different offerings Make sure you understand the programming model for the vendor solution you are considering so you can work out your development strategy accordingly For example, thinking about provider interoperability, separating business logic and provider logic
  • 21. Lambda at the Sydney AWS Summit (2016) At the AWS Summit in Sydney during April of last year, there was a lot of excitement surrounding Serverless programming paradigms using AWS Lambda There was significant focus on examples of image processing and customer enablement
  • 22. AWS Serverless Computing Manifesto: - Functions are the unit of deployment and scaling - No machines, VMs, or containers visible in the programming model - Permanent storage lives elsewhere - Scales per request; Users cannot over or under provision capacity - Never pay for idle (no cold servers/containers or their costs) - Implicitly fault-tolerant because functions can run anywhere - BYOC - Bring Your Own Code - Metrics and logging are a universal right
  • 23. Various concerns about adopting Lambda The examples shown at the AWS Summit were compelling however: - adding functions via AWS interface seemed cumbersome - lack of understanding how to deploy functions via CLI - many concerned about “vendor lock-in”
  • 26. Introducing Serverless framework The project exists at: https://github.com/serverless/serverless The first commits to the project were made on April 21st, 2015 Working toward supporting major vendors reducing lock-in fear
  • 27. Are there example projects? Yes! You can find out more here https://github.com/serverless Note: Elliott Spira created an excellent tutorial on creating a HipChat Connector Check it out here: https://bitbucket.org/gorillastack/serverless-hipchat-connect
  • 28. Can you show me a reference diagram? Yes! For those building web apps, I’ll show you one for a simple website on the next slide. The “serverless backend” is based on our website https://www.clarkyoungman.com
  • 29.
  • 30. What is the workflow like?  Vendor configuration before anything else  Initial project setup via CLI  Development  Local testing  Deployment of endpoints and functions via CLI  Rinse & Repeat
  • 31. Demo time We’ll go through some deployments...
  • 33. “Serverless” things to keep an eye on…  New tools and services are being marketed/released (StdLib)
  • 34. “Serverless” things to keep an eye on…  New tools and services are being marketed/released (FaunaDB)
  • 35. Global meetup network  Learn and share with members of the community  If there isn’t one near you, you can find support to start one… https://www.meetup.com/pro/serverless
  • 36. Enjoy and share what you do… I’m on Twitter: @dkcwd LinkedIn: https://au.linkedin.com/in/daveclarkprofile