SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
{ Event-driven and
serverless
Applications with
OpenWhisk

Cloud Functions }
Frédéric Lavigne
IBM Cloud Technical Product Manager
frederic.lavigne@fr.ibm.com
@L2FProd
https://github.com/IBM-Bluemix/openwhisk-emoting
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
How would you
implement this app?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
It needs to be always available
It needs to handle the unexpected load
I should not pay if it is not being used
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }Evolution of serverless
Increasingfocusonbusinesslogic
Decreasing concern (and control) over stack implementation
Bare Metal
VM VM
VM
Virtual machines
Functions
Containers
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
What is serverless aka
Functions as a Service?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }What is serverless aka Functions as a Service?
Runs code only
on-demand on a
per-request basis
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Runs code only on-demand on
a per-request basis
Serverless
deployment &
operations model
VM
No servers Just code
What is serverless aka Functions as a Service?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Runs code only on-demand on
a per-request basis
Optimal
utilization &
granular pricing
zzz
time
charged
What is serverless aka Functions as a Service?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Runs code only on-demand on
a per-request basis
Scales on
a per-request
basis
What is serverless aka Functions as a Service?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
What is

IBM Cloud Functions?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }What is IBM Cloud Functions?
Functions as a
Service (FaaS)
platform to execute
code in response to
events
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Delivered as

Open source via Apache
openwhisk.incubator.apache.org
FaaS platform to execute code
in response to events
What is IBM Cloud Functions?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Managed service on

IBM Cloud
ibm.biz/functions
FaaS platform to execute code
in response to events
What is IBM Cloud Functions?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Triggers
(response)
Rules
Actions
(code)
Source
(events) Results
What is IBM Cloud Functions?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
DEMO
<hello world />
<hello world with params />
<hello world as web action />
<hello world as API />
<emoting API />
<emoting and triggers />
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
PUT /questions
GET /questions
GET /stats
PUT /ratings
</> </>
</> </>
html, css,
js, images
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
What is serverless
good for?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
IBM Cloud
Functions allows
you to build up an
entirely serverless
application
architecture
Openwhisk
IOT
Mobile
Cognitive
APIs
Data
What is serverless good for?
Functions
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Volatile workload that can
be split in smaller short-
running pieces.
Suited for sporadic as well
as heavy load scenarios.
What is serverless good for?
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Execute logic in response to database change
Perform analytics on sensor input messages
Provide cognitive computing via chatbots
Schedule tasks performed for a short time
Invoke autoscaled APIs and mobile backends
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Swift Action
Dark Vision
Discover dark data in videos with IBM Watson and IBM
Cloud Functions.
Use cases and real world examples
https://github.com/IBM-Bluemix/openwhisk-darkvisionapp
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Swift Action
Chatbots
Implement serverless conversational applications, like
chatbots, by passing chat messages to your functions for
further processing.
Use cases and real world examples
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
Learn more
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Commercial offering home:
ibm.biz/functions
Open-source offering home:
openwhisk.org
Slack:
slack.openwhisk.org
Learn more
Learn
more
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Github github.com/apache/incubator-
openwhisk
Twitter twitter.com/openwhisk
Medium medium.com/openwhisk
Slideshare slideshare.net/OpenWhisk
Youtube youtube.com/channel/
UCbzgShnQk8F43NKsvEYA1SA
Learn more
Learn
more
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }
Q&A
© 2017 IBM Corporation
{ IBM Cloud Functions | Codemotion Berlin 2017 }Dark Vision
Image
Analysis
PUBLIC NETWORK CLOUD NETWORK
OPENWHISK
REST APIAPP STORAGE
Video
Extractor
Audio
Analysis
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
PUBLIC NETWORK CLOUD NETWORK
OPENWHISK
REST APIAPP STORAGE
Video
Extractor
1 2
3
4
Image Frames
and
Audio Track
5
Dark Vision
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
Image
Analysis
CLOUD NETWORK
OPENWHISK
STORAGE
Image Frame
1
2
3
Watson
Visual Recognition
4
5
Dark Vision
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
CLOUD NETWORK
OPENWHISK
STORAGE
Get
TranscriptWatson
Speech to Text
Audio Track
1
2
3
4
Dark Vision
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
CLOUD NETWORK
OPENWHISK
STORAGE
Save
TranscriptWatson
Speech to Text
2
3
1
Dark Vision
© 2017 IBM Corporation l IBM Cloud University l Berlin 2017
IBM Cloud Functions
CLOUD NETWORK
OPENWHISK
STORAGE
Text
AnalysisWatson
Natural Language
Understanding
Transcript
1
2
3
4
5
Dark Vision

Más contenido relacionado

La actualidad más candente

Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo SchapiroWant Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Schlomo Schapiro
 

La actualidad más candente (20)

How APIs are defining the future of retail - Shopping with Google Glass throu...
How APIs are defining the future of retail - Shopping with Google Glass throu...How APIs are defining the future of retail - Shopping with Google Glass throu...
How APIs are defining the future of retail - Shopping with Google Glass throu...
 
Visual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PNVisual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PN
 
Cloud computing simplified cit 2017
Cloud computing simplified cit 2017Cloud computing simplified cit 2017
Cloud computing simplified cit 2017
 
Developing Serverless Applications with Apache OpenWhisk
Developing Serverless Applications with Apache OpenWhiskDeveloping Serverless Applications with Apache OpenWhisk
Developing Serverless Applications with Apache OpenWhisk
 
Building Serverless Web Applications with OpenWhisk
Building Serverless Web Applications with OpenWhiskBuilding Serverless Web Applications with OpenWhisk
Building Serverless Web Applications with OpenWhisk
 
Cloud computing projects by inspire-groups (Pravin Hanchinal)
Cloud computing projects by inspire-groups (Pravin Hanchinal)Cloud computing projects by inspire-groups (Pravin Hanchinal)
Cloud computing projects by inspire-groups (Pravin Hanchinal)
 
Reply Webinar Online - Mastering AWS - AI as a Service
Reply Webinar Online - Mastering AWS - AI as a ServiceReply Webinar Online - Mastering AWS - AI as a Service
Reply Webinar Online - Mastering AWS - AI as a Service
 
SWIFTly, Go Cloud!! - Swift@IBM
SWIFTly, Go Cloud!! - Swift@IBMSWIFTly, Go Cloud!! - Swift@IBM
SWIFTly, Go Cloud!! - Swift@IBM
 
Learn how to build Functional Reactive Applications with Elm, Node.js and Inf...
Learn how to build Functional Reactive Applications with Elm, Node.js and Inf...Learn how to build Functional Reactive Applications with Elm, Node.js and Inf...
Learn how to build Functional Reactive Applications with Elm, Node.js and Inf...
 
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo SchapiroWant Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
 
Bringing swift to cloud
Bringing swift to cloudBringing swift to cloud
Bringing swift to cloud
 
Visualize your cloud data strategy - MongoDB Atlas and Charts - DEM08 - Santa...
Visualize your cloud data strategy - MongoDB Atlas and Charts - DEM08 - Santa...Visualize your cloud data strategy - MongoDB Atlas and Charts - DEM08 - Santa...
Visualize your cloud data strategy - MongoDB Atlas and Charts - DEM08 - Santa...
 
Hybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and AzureHybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and Azure
 
Serverless operations for the iRobot fleet
Serverless operations for the iRobot fleetServerless operations for the iRobot fleet
Serverless operations for the iRobot fleet
 
Unity global cs presentation
Unity global cs presentationUnity global cs presentation
Unity global cs presentation
 
사물인터넷 활용기 - My home IoT - Yoonseok Hur PhD
사물인터넷 활용기 - My home IoT - Yoonseok Hur PhD사물인터넷 활용기 - My home IoT - Yoonseok Hur PhD
사물인터넷 활용기 - My home IoT - Yoonseok Hur PhD
 
How to deploy machine learning models in the Cloud
How to deploy machine learning models in the CloudHow to deploy machine learning models in the Cloud
How to deploy machine learning models in the Cloud
 
Developing on AWS
Developing on AWSDeveloping on AWS
Developing on AWS
 
Building Serverless Machine Learning Models in the Cloud [PyData DC]
Building Serverless Machine Learning Models in the Cloud [PyData DC]Building Serverless Machine Learning Models in the Cloud [PyData DC]
Building Serverless Machine Learning Models in the Cloud [PyData DC]
 
Why is Cloud So important to Your Business
Why is Cloud So important to Your Business Why is Cloud So important to Your Business
Why is Cloud So important to Your Business
 

Similar a Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cloud Functions

Cloud Native Middleware Microservices - 10 Lessons Learned
Cloud Native Middleware Microservices - 10 Lessons LearnedCloud Native Middleware Microservices - 10 Lessons Learned
Cloud Native Middleware Microservices - 10 Lessons Learned
Kai Wähner
 

Similar a Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cloud Functions (20)

NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM ZNRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
 
NRB - BE MAINFRAME DAY 2017 - IBM Z
NRB - BE MAINFRAME DAY 2017 - IBM ZNRB - BE MAINFRAME DAY 2017 - IBM Z
NRB - BE MAINFRAME DAY 2017 - IBM Z
 
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: KeynoteIBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
 
OpenWhisk Meetup - Austin, TX 07/2017
OpenWhisk Meetup - Austin, TX 07/2017OpenWhisk Meetup - Austin, TX 07/2017
OpenWhisk Meetup - Austin, TX 07/2017
 
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical StrategyIBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy
 
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c...
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c...IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c...
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c...
 
Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019
Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019
Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019
 
An intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka usersAn intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka users
 
Meetup - Serverless
Meetup - ServerlessMeetup - Serverless
Meetup - Serverless
 
Integration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM Garage
 
Building serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud FunctionsBuilding serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud Functions
 
App Modernization
App ModernizationApp Modernization
App Modernization
 
Mobile and Serverless : an Untold Story
Mobile and Serverless : an Untold StoryMobile and Serverless : an Untold Story
Mobile and Serverless : an Untold Story
 
Cloud Native Middleware Microservices - 10 Lessons Learned
Cloud Native Middleware Microservices - 10 Lessons LearnedCloud Native Middleware Microservices - 10 Lessons Learned
Cloud Native Middleware Microservices - 10 Lessons Learned
 
IBM z/OS Provisioning Toolkit v1.0.2
IBM z/OS Provisioning Toolkit v1.0.2IBM z/OS Provisioning Toolkit v1.0.2
IBM z/OS Provisioning Toolkit v1.0.2
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
 
Upmc tpdev4
Upmc tpdev4Upmc tpdev4
Upmc tpdev4
 
Modernization: Moving workloads to cloud
Modernization: Moving workloads to cloud Modernization: Moving workloads to cloud
Modernization: Moving workloads to cloud
 
Workshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud FunctionsWorkshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud Functions
 
Apache OpenWhisk
Apache OpenWhiskApache OpenWhisk
Apache OpenWhisk
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cloud Functions

  • 1. { Event-driven and serverless Applications with OpenWhisk
 Cloud Functions } Frédéric Lavigne IBM Cloud Technical Product Manager frederic.lavigne@fr.ibm.com @L2FProd
  • 3. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } How would you implement this app?
  • 4. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } It needs to be always available It needs to handle the unexpected load I should not pay if it is not being used
  • 5. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 }Evolution of serverless Increasingfocusonbusinesslogic Decreasing concern (and control) over stack implementation Bare Metal VM VM VM Virtual machines Functions Containers
  • 6. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } What is serverless aka Functions as a Service?
  • 7. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 }What is serverless aka Functions as a Service? Runs code only on-demand on a per-request basis
  • 8. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Runs code only on-demand on a per-request basis Serverless deployment & operations model VM No servers Just code What is serverless aka Functions as a Service?
  • 9. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Runs code only on-demand on a per-request basis Optimal utilization & granular pricing zzz time charged What is serverless aka Functions as a Service?
  • 10. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Runs code only on-demand on a per-request basis Scales on a per-request basis What is serverless aka Functions as a Service?
  • 11. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } What is
 IBM Cloud Functions?
  • 12. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 }What is IBM Cloud Functions? Functions as a Service (FaaS) platform to execute code in response to events
  • 13. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Delivered as
 Open source via Apache openwhisk.incubator.apache.org FaaS platform to execute code in response to events What is IBM Cloud Functions?
  • 14. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Managed service on
 IBM Cloud ibm.biz/functions FaaS platform to execute code in response to events What is IBM Cloud Functions?
  • 15. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Triggers (response) Rules Actions (code) Source (events) Results What is IBM Cloud Functions?
  • 16. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } DEMO <hello world /> <hello world with params /> <hello world as web action /> <hello world as API /> <emoting API /> <emoting and triggers />
  • 17. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } PUT /questions GET /questions GET /stats PUT /ratings </> </> </> </> html, css, js, images
  • 18. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } What is serverless good for?
  • 19. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } IBM Cloud Functions allows you to build up an entirely serverless application architecture Openwhisk IOT Mobile Cognitive APIs Data What is serverless good for? Functions
  • 20. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Volatile workload that can be split in smaller short- running pieces. Suited for sporadic as well as heavy load scenarios. What is serverless good for?
  • 21. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Execute logic in response to database change Perform analytics on sensor input messages Provide cognitive computing via chatbots Schedule tasks performed for a short time Invoke autoscaled APIs and mobile backends
  • 22. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Swift Action Dark Vision Discover dark data in videos with IBM Watson and IBM Cloud Functions. Use cases and real world examples https://github.com/IBM-Bluemix/openwhisk-darkvisionapp
  • 23. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Swift Action Chatbots Implement serverless conversational applications, like chatbots, by passing chat messages to your functions for further processing. Use cases and real world examples
  • 24. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions Learn more
  • 25. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Commercial offering home: ibm.biz/functions Open-source offering home: openwhisk.org Slack: slack.openwhisk.org Learn more Learn more
  • 26. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Github github.com/apache/incubator- openwhisk Twitter twitter.com/openwhisk Medium medium.com/openwhisk Slideshare slideshare.net/OpenWhisk Youtube youtube.com/channel/ UCbzgShnQk8F43NKsvEYA1SA Learn more Learn more
  • 27. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 } Q&A
  • 28. © 2017 IBM Corporation { IBM Cloud Functions | Codemotion Berlin 2017 }Dark Vision Image Analysis PUBLIC NETWORK CLOUD NETWORK OPENWHISK REST APIAPP STORAGE Video Extractor Audio Analysis
  • 29. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions PUBLIC NETWORK CLOUD NETWORK OPENWHISK REST APIAPP STORAGE Video Extractor 1 2 3 4 Image Frames and Audio Track 5 Dark Vision
  • 30. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions Image Analysis CLOUD NETWORK OPENWHISK STORAGE Image Frame 1 2 3 Watson Visual Recognition 4 5 Dark Vision
  • 31. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions CLOUD NETWORK OPENWHISK STORAGE Get TranscriptWatson Speech to Text Audio Track 1 2 3 4 Dark Vision
  • 32. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions CLOUD NETWORK OPENWHISK STORAGE Save TranscriptWatson Speech to Text 2 3 1 Dark Vision
  • 33. © 2017 IBM Corporation l IBM Cloud University l Berlin 2017 IBM Cloud Functions CLOUD NETWORK OPENWHISK STORAGE Text AnalysisWatson Natural Language Understanding Transcript 1 2 3 4 5 Dark Vision