Workshop: Develop Serverless Applications with IBM Cloud Functions

Daniel Krook
Daniel KrookChief Technology Officer - The Call for Code Global Initiative & IBM Code and Response
IBM and Business Partner Use Only l Fast Start 2018


Develop Serverless Applications with
IBM Cloud Functions
© 2018 IBM Corporation l Index 2018
Daniel Krook

Software Engineer & Developer Advocate
Olivier Tardieu
Software Engineer & Research Staff Member
Priti Desai
Naiyarah Hussein
Mangesh Patankar
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda / Learning Objectives
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Preparing your workstation
1. Go to bit.ly/serverless-index
2. Create an IBM Cloud account
• Instructions: bit.ly/index-accounts
3. Download the bx CLI and Cloud Functions plug-in
4. Download the Shell tool
5. Download an IDE like Atom or VSCode
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
What is Serverless computing (Functions-as-a-Service)?
Runs code only on-demand on
a per-request basis
Serverless
deployment &
operations model
VM
No servers Just code
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Runs code only on-demand on
a per-request basis
Scales on
a per-request
basis
What is Serverless computing (Functions-as-a-Service)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Runs code only on-demand on
a per-request basis
Optimal
utilization &
granular pricing
zzz
time
charged
What is Serverless computing (Functions-as-a-Service)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
What is Serverless computing (Functions-as-a-Service)?
Increasingfocusonbusinesslogic
Decreasing concern (and control) over stack implementation
Bare Metal
VM VM
VM
Virtual machines
Functions
Containers
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Why is serverless better than a traditional approach?
CF Container VM
Application
Process
and Idle
2
Requests
1a
Polling
1b
Worry about scaling
• When to scale? (mem-, cpu-, response time-, etc. driven?)
• How fast can you scale?
Worry about resiliency & cost
• At least 2 processes for HA
• Keep them running & healthy
• Deployment in multiple regions
Charged even when idling / not 100% utilized
Continuous polling due to missing event programming model
Traditional model
Process
and Idle
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Trigger
1
OpenWhisk
Engine
2 Pool of Actions
Js Swift
Java PythonDocker
Running
Action
Running
Action
Running
Action
3
Scales inherently
• One process per request
No cost overhead for resiliency
• No long running process to be made HA / multi-region
Introduces event programming model
Charges only for what is used
• Only worry about code

higher dev velocity, lower operational costs
Serverless model
Deploy actions
within millisecs,
run it, free up
resources
Why is serverless better than a traditional approach?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
What is IBM Cloud Functions (Apache OpenWhisk)?
Serverless
platform to
execute code in
response to
events
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Developed as

open source software
via Apache Foundation
openwhisk.org
Serverless platform to execute
code in response to events
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Managed service on

IBM Cloud
bluemix.net/openwhisk
Serverless platform to execute
code in response to events
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
What is IBM Cloud Functions (Apache OpenWhisk)?
Results
Package
(feed)
Packages provide integration
with external event sources
Trigger
(event)
Data sources define events
they emit as Triggers
Rule (map)
Action
(function)
Developers map Actions
to Triggers via Rules
Data sources define events
they emit as Triggers.
Developers map Actions to
Triggers via Rules.
T
A
R
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Supported
Languages
JS/NodeJS Swift
Python
Java Docker
Go Haskell
Scala . . .
Multi-
language
Support
Community
Efforts
… and more to come
JS/NodeJS 8
Java
Python 3
Swift 4
Docker
Haskell
…
Scala
PHP 7
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Non-blocking
Blocking
Periodic
Support for
different invocation
models
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Supports
higher-level
programming
constructs Sequencing
Conditionals
Loops
Error handling
Parameter
binding
Default Name
Default
Parameters
Default Value
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Event
Provider
Open event emitter
(consumer ecosystem)
Open interface

for event emitters
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Event
Provider Periodic IBM Cloudant IBM Message Hub
Mobile Push Github IBM App Connect
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
zzz
time
chargedGranular pricing
Pay only for the exact time your actions run. When
an action is not invoked, it’s not in memory, so you
don’t pay anything.
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Memory
allocated
(MB)
Time executing
(milliseconds)
Instances
executing
simultaneously
(count)
Pricing model
Time an action was running *
memory allocated to action
$0.000017 per GBs
Free tier: 400,000 GBs
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Allows packaging of pieces of a
serverless application into a single project
and deploy it in a vendor-agnostic way.
Serverless
Framework support
What is IBM Cloud Functions (Apache OpenWhisk)?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
How does IBM Cloud Functions fit into our cloud ecosystem?
IoT
Block
Chain
Health
Zone
FSS
Zone
Media
Zone
Discovery
Conver-
sation
Natural
Language
Speech &
Vision
Tradeoff
Analytics
Retrieve &
Rank
Database Data Sets Analytics Management
Messaging Mobile App Security
API &
Integration
DevOps
Containers Cloud Foundry Event-Driven Run-Times
Compute Network Storage
Security&Compliance
Industry
Cognitive
Data
Developer
Tools
Infrastructure
Public Dedicated
Multi-Tenant Single-Tenant
Local
Client DC & HW
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
How does IBM Cloud Functions fit into our cloud ecosystem?
Bare Metal
Virtual Server 

or VMware
Container
IBM Cloud Functions
Cloud Foundry
Performance &
Control
Speed
Language/

Framework
“Serverless” / “Event Driven” Apps
Open PaaS Environment
Maximum Performance & Control
Maximum Portability
Portability
Leverage Existing Images & Tools
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
How does IBM Cloud Functions fit into our cloud ecosystem?
• Control over runtime environment (runtimes,
versions, minimal OS).

• Greater reusability and portability of container
images.

• Great fit for bringing containerized apps and
systems to the cloud.
• No need to manage underlying OS.

• Buildpacks provide influence over the
runtime, giving as much or as little control
(sensible defaults) as desired.

• Great fit for many existing web apps with a
stable programming model.
• OS, runtime, and even container lifecycle is
completely abstracted (serverless).

• Autoscales in response to demand, with an
associated granular cost model.

• Great fit for emerging, non-HTTP, event-driven
workloads involving IoT, data, messages.

• More responsibility over package configuration
(security patches).

• Need to understand distributed systems.
• Loss of control over operating system, 

possibly at the mercy of buildpack versions.

• Limited to HTTP/HTTPS
• An emerging computing model, rapid
innovation with less comprehensive and stable
documentation, samples, tools, and best
practices.

Full control over infrastructure
and maximum portability
Focus on the application and let
the platform handle the rest
Auto-scaled, event-driven applications
that respond to a variety of triggers
Containers-as-a-Service Platform-as-a-Service Functions-as-a-Service
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Volatile and/or event-driven workload
that can be split in smaller short-running
pieces.
Suited for sporadic as well
as heavy load scenarios.
What are the ideal IBM Cloud Functions use cases?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
API Gateway
support
Allows to map API endpoints 

to IBM Cloud Functions actions
Serverless microservice APIs/backend
Available for free, without limits
Define Actions:
getCostumer
createCostumer

deleteCostumer
Define API Endpoints (URLs) and map to Actions
GET: mydomain.com/…/customers
POST: mydomain.com/…/customers

DELETE: mydomain.com/…/customers
12
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
getCostumer
createCostumer

deleteCostumer
Easy to add and edit:
Security (API key, API secret, OAuth validation, CORS)
Rate-Limiting
Map actions to API endpoints (OpenAPI Doc creation)
Easy socialization (sharing, API key creation)
Analytics (API calls, errors, response time)
Test your API (API Explorer)
Upload Swagger/OpenAPI Doc
3
2 1
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Swift Action
IBM API Gateway
Openwhisk
APIHi!
Outsource compute-intensive tasks to a powerful &
scalable serverless platform and implement your actions
even without changing the programming language.
Swift Action
Mobile
backend
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Data
processing
Openwhisk
IBM Cloudant
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Data
processing
Openwhisk
IBM Cloudant
Ideally suited for working with multimedia data
like audio, image and video data:
Audio normalization
Image rotation, sharpening, noise reduction or
Thumbnail generation
Image OCR’ing
Video transcoding
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Cognitive
Openwhisk
IBM Cloudant
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Real-time Datastream Openwhisk
IBM Message Hub IBM Cloudant
Event processing/
Message Hub
Managed Apache
Kafka service for real-
time build outs of
data pipelines and
streaming apps
supports binary data
What are the ideal IBM Cloud Functions use cases?
IBM Cloud Functions
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Watson IoT
Realtime
Insights
Trigger events based on IoT
sensor data
IOT
Device
1Weather
Update
Trigger
Watson IOT
Platform
Realtime Insights rules2 3
4 Trigger an Action
IBM Cloud
Functions
What are the ideal IBM Cloud Functions use cases?
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
IBM Cloud Functions Shell and Composer
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
IBM Cloud Functions Shell and Composer
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
IBM Cloud Functions Shell and Composer
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is Serverless computing (Functions-as-a-Service)?
2. Why is Serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
IBM hosted offering:
bluemix.net/openwhisk
Open source project:
openwhisk.org
Open source Slack:
slack.openwhisk.org
Additional material
Learn
more
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Github github.com/openwhisk
Twitter twitter.com/openwhisk
Medium medium.com/openwhisk
SlideShare slideshare.net/openwhisk
Learn more
Learn
more
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Agenda
1. What is serverless computing (Functions-as-a-Service)?
2. Why is serverless better than a traditional approach?
3. What is IBM Cloud Functions (Apache OpenWhisk)?
4. How does IBM Cloud Functions fit into our cloud ecosystem?
5. What are the ideal IBM Cloud Functions use cases?
6. IBM Cloud Functions Shell and Composer
7. Additional material
8. Hands-on workshop
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
What you will learn
Hands-on workshop
1. In the end: How to develop a serverless weather bot
2. Basic concepts: Actions, Triggers, Rules, Packages
3. How to work with the IBM Cloud Functions CLI, UI, and Shell
4. How to work with our latest additions

… API Gateway

… Composer
5. … IBM App Connect & IBM Message Hub integration
6. How to work with additional tools

… VS Code

… Serverless Framework

… NodeRED
7. What others have built
8. Free-style…
Index 2018
IBM Cloud Functions
bit.ly/serverless-index bit.ly/index-accounts
Important links
Workshop:

bit.ly/serverless-index
Hands-on workshop
Accounts:

bit.ly/index-accounts
1 of 48

Recommended

Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander by
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at SantanderServerless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at SantanderDaniel Krook
1.2K views34 slides
The CNCF on Serverless by
The CNCF on ServerlessThe CNCF on Serverless
The CNCF on ServerlessDaniel Krook
1.4K views12 slides
Serverless APIs with Apache OpenWhisk by
Serverless APIs with Apache OpenWhiskServerless APIs with Apache OpenWhisk
Serverless APIs with Apache OpenWhiskDaniel Krook
1.2K views30 slides
Event specifications, state of the serverless landscape, and other news from ... by
Event specifications, state of the serverless landscape, and other news from ...Event specifications, state of the serverless landscape, and other news from ...
Event specifications, state of the serverless landscape, and other news from ...Daniel Krook
1.2K views13 slides
Building serverless applications with Apache OpenWhisk by
Building serverless applications with Apache OpenWhiskBuilding serverless applications with Apache OpenWhisk
Building serverless applications with Apache OpenWhiskDaniel Krook
1.8K views29 slides
Building serverless applications with Apache OpenWhisk and IBM Cloud Functions by
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 FunctionsDaniel Krook
1.1K views30 slides

More Related Content

What's hot

IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote by
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: KeynoteOpenWhisk
6.4K views50 slides
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c... by
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...OpenWhisk
2.4K views39 slides
How to develop your first cloud-native Applications with Java by
How to develop your first cloud-native Applications with JavaHow to develop your first cloud-native Applications with Java
How to develop your first cloud-native Applications with JavaNiklas Heidloff
14.4K views41 slides
Apache OpenWhisk - KRnet 2017 by
Apache OpenWhisk - KRnet 2017Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017Jin Gi Kong
179 views29 slides
Serverless architectures built on an open source platform by
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platformDaniel Krook
7.2K views12 slides
OpenWhisk - A platform for cloud native, serverless, event driven apps by
OpenWhisk - A platform for cloud native, serverless, event driven appsOpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven appsDaniel Krook
7.7K views39 slides

What's hot(20)

IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote by OpenWhisk
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
OpenWhisk6.4K views
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey c... by OpenWhisk
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...
OpenWhisk2.4K views
How to develop your first cloud-native Applications with Java by Niklas Heidloff
How to develop your first cloud-native Applications with JavaHow to develop your first cloud-native Applications with Java
How to develop your first cloud-native Applications with Java
Niklas Heidloff14.4K views
Apache OpenWhisk - KRnet 2017 by Jin Gi Kong
Apache OpenWhisk - KRnet 2017Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017
Jin Gi Kong179 views
Serverless architectures built on an open source platform by Daniel Krook
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platform
Daniel Krook7.2K views
OpenWhisk - A platform for cloud native, serverless, event driven apps by Daniel Krook
OpenWhisk - A platform for cloud native, serverless, event driven appsOpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven apps
Daniel Krook7.7K views
How to develop your first cloud-native Applications with Java - 30 Minutes by Niklas Heidloff
How to develop your first cloud-native Applications with Java - 30 MinutesHow to develop your first cloud-native Applications with Java - 30 Minutes
How to develop your first cloud-native Applications with Java - 30 Minutes
Niklas Heidloff598 views
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ... by OpenWhisk
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
OpenWhisk2.5K views
Api more than payload (2021 Update) by Phil Wilkins
Api more than payload (2021 Update)Api more than payload (2021 Update)
Api more than payload (2021 Update)
Phil Wilkins67 views
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy by OpenWhisk
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
OpenWhisk2.3K views
CNCF Keynote - What is cloud native? by Weaveworks
CNCF Keynote - What is cloud native?CNCF Keynote - What is cloud native?
CNCF Keynote - What is cloud native?
Weaveworks6K views
cross cloud inter-operability with iPaaS and serverless for Telco cloud SDN/NFV by Krishna-Kumar
cross cloud inter-operability with iPaaS and serverless for Telco cloud SDN/NFVcross cloud inter-operability with iPaaS and serverless for Telco cloud SDN/NFV
cross cloud inter-operability with iPaaS and serverless for Telco cloud SDN/NFV
Krishna-Kumar 441 views
OpenWhisk Meetup - Austin, TX 07/2017 by Carlos Santana
OpenWhisk Meetup - Austin, TX 07/2017OpenWhisk Meetup - Austin, TX 07/2017
OpenWhisk Meetup - Austin, TX 07/2017
Carlos Santana302 views
Building and Running Workloads the Knative Way by QAware GmbH
Building and Running Workloads the Knative WayBuilding and Running Workloads the Knative Way
Building and Running Workloads the Knative Way
QAware GmbH390 views
Domain-driven Design by Altoros
Domain-driven DesignDomain-driven Design
Domain-driven Design
Altoros3.1K views
Facilitez votre transition DevOps grâce à l'automatisation de votre infras... by VMware Tanzu
 Facilitez votre transition DevOps grâce à l'automatisation de votre infras... Facilitez votre transition DevOps grâce à l'automatisation de votre infras...
Facilitez votre transition DevOps grâce à l'automatisation de votre infras...
VMware Tanzu182 views
Going Cloud Native - It Takes a Platform by Chip Childers
Going Cloud Native - It Takes a PlatformGoing Cloud Native - It Takes a Platform
Going Cloud Native - It Takes a Platform
Chip Childers1.2K views
The what, why and how of knative by Mofizur Rahman
The what, why and how of knativeThe what, why and how of knative
The what, why and how of knative
Mofizur Rahman335 views
Welcome to Hybrid Cloud Innovation Tour 2016 by LaurenWendler
Welcome to Hybrid Cloud Innovation Tour 2016Welcome to Hybrid Cloud Innovation Tour 2016
Welcome to Hybrid Cloud Innovation Tour 2016
LaurenWendler540 views

Similar to Workshop: Develop Serverless Applications with IBM Cloud Functions

Meetup - Serverless by
Meetup - ServerlessMeetup - Serverless
Meetup - ServerlessSugandha Agrawal
135 views34 slides
Integration (Application?) Modernization with IBM Garage by
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageAndrew Ferrier
27 views47 slides
Mobile and Serverless : an Untold Story by
Mobile and Serverless : an Untold StoryMobile and Serverless : an Untold Story
Mobile and Serverless : an Untold StoryVidyasagar Machupalli
864 views46 slides
IBM Think 2020 Openshift on IBM Z and LinuxONE by
IBM Think 2020 Openshift on IBM Z and LinuxONEIBM Think 2020 Openshift on IBM Z and LinuxONE
IBM Think 2020 Openshift on IBM Z and LinuxONEFilipe Miranda
273 views32 slides
App Development Evolution: What has changed? by
App Development Evolution: What has changed? App Development Evolution: What has changed?
App Development Evolution: What has changed? Paula Peña (She, Her, Hers)
138 views21 slides
The App Evolution by
The App Evolution The App Evolution
The App Evolution Dev_Events
275 views21 slides

Similar to Workshop: Develop Serverless Applications with IBM Cloud Functions(20)

Integration (Application?) Modernization with IBM Garage by Andrew Ferrier
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM Garage
Andrew Ferrier27 views
IBM Think 2020 Openshift on IBM Z and LinuxONE by Filipe Miranda
IBM Think 2020 Openshift on IBM Z and LinuxONEIBM Think 2020 Openshift on IBM Z and LinuxONE
IBM Think 2020 Openshift on IBM Z and LinuxONE
Filipe Miranda273 views
The App Evolution by Dev_Events
The App Evolution The App Evolution
The App Evolution
Dev_Events275 views
IBM Cloud Integration Platform Introduction - Integration Tech Conference by Robert Nicholson
IBM Cloud Integration Platform Introduction - Integration Tech ConferenceIBM Cloud Integration Platform Introduction - Integration Tech Conference
IBM Cloud Integration Platform Introduction - Integration Tech Conference
Robert Nicholson1.3K views
HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus by Karen Broughton-Mabbitt
HAM 1032 Combining the Power of IBM API Management and IBM Integration BusHAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
Accelerate Digital Transformation with IBM Cloud Private by Michael Elder
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud Private
Michael Elder6.1K views
The Power of IBM API Management. API connect 2016 Vegas by SaaS-Journal
The Power of IBM API Management. API connect 2016 VegasThe Power of IBM API Management. API connect 2016 Vegas
The Power of IBM API Management. API connect 2016 Vegas
SaaS-Journal303 views
Creating Microservices Application with IBM Cloud Private (ICP) - introductio... by PT Datacomm Diangraha
Creating Microservices Application with IBM Cloud Private (ICP) - introductio...Creating Microservices Application with IBM Cloud Private (ICP) - introductio...
Creating Microservices Application with IBM Cloud Private (ICP) - introductio...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application... by Michael O'Sullivan
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
Michael O'Sullivan102 views
Convergence of Integration and Application Development by Kim Clark
Convergence of Integration and Application DevelopmentConvergence of Integration and Application Development
Convergence of Integration and Application Development
Kim Clark402 views
App Development Evolution: What has changed? by Dev_Events
App Development Evolution: What has changed? App Development Evolution: What has changed?
App Development Evolution: What has changed?
Dev_Events498 views
Microservices Architecture: Building 'SMART' & 'Agile' Software by SmartBear
Microservices Architecture: Building 'SMART' & 'Agile' SoftwareMicroservices Architecture: Building 'SMART' & 'Agile' Software
Microservices Architecture: Building 'SMART' & 'Agile' Software
SmartBear818 views
L105704 ibm-cloud-private-z-cairo-v1902a by Tony Pearson
L105704 ibm-cloud-private-z-cairo-v1902aL105704 ibm-cloud-private-z-cairo-v1902a
L105704 ibm-cloud-private-z-cairo-v1902a
Tony Pearson145 views
Design - Start Your API Journey Today by LaurenWendler
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
LaurenWendler246 views
IBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM Cloud by Torsten Steinbach
IBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM CloudIBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM Cloud
IBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM Cloud
Torsten Steinbach177 views

More from Daniel Krook

Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour... by
Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...
Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...Daniel Krook
236 views76 slides
Engaging Open Source Developers to Develop Tech for Good through Code and Res... by
Engaging Open Source Developers to Develop Tech for Good through Code and Res...Engaging Open Source Developers to Develop Tech for Good through Code and Res...
Engaging Open Source Developers to Develop Tech for Good through Code and Res...Daniel Krook
370 views41 slides
COVID-19 and Climate Change Action Through Open Source Technology by
COVID-19 and Climate Change Action Through Open Source TechnologyCOVID-19 and Climate Change Action Through Open Source Technology
COVID-19 and Climate Change Action Through Open Source TechnologyDaniel Krook
545 views40 slides
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat... by
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...Daniel Krook
1.9K views12 slides
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O... by
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...Daniel Krook
1.4K views20 slides
Serverless apps with OpenWhisk by
Serverless apps with OpenWhiskServerless apps with OpenWhisk
Serverless apps with OpenWhiskDaniel Krook
875 views51 slides

More from Daniel Krook(20)

Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour... by Daniel Krook
Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...
Commit to the Cause, Push for Change: Contributing to Call for Code Open Sour...
Daniel Krook236 views
Engaging Open Source Developers to Develop Tech for Good through Code and Res... by Daniel Krook
Engaging Open Source Developers to Develop Tech for Good through Code and Res...Engaging Open Source Developers to Develop Tech for Good through Code and Res...
Engaging Open Source Developers to Develop Tech for Good through Code and Res...
Daniel Krook370 views
COVID-19 and Climate Change Action Through Open Source Technology by Daniel Krook
COVID-19 and Climate Change Action Through Open Source TechnologyCOVID-19 and Climate Change Action Through Open Source Technology
COVID-19 and Climate Change Action Through Open Source Technology
Daniel Krook545 views
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat... by Daniel Krook
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
Daniel Krook1.9K views
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O... by Daniel Krook
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
Daniel Krook1.4K views
Serverless apps with OpenWhisk by Daniel Krook
Serverless apps with OpenWhiskServerless apps with OpenWhisk
Serverless apps with OpenWhisk
Daniel Krook875 views
Containers, OCI, CNCF, Magnum, Kuryr, and You! by Daniel Krook
Containers, OCI, CNCF, Magnum, Kuryr, and You!Containers, OCI, CNCF, Magnum, Kuryr, and You!
Containers, OCI, CNCF, Magnum, Kuryr, and You!
Daniel Krook1.9K views
Taking the Next Hot Mobile Game Live with Docker and IBM SoftLayer by Daniel Krook
Taking the Next Hot Mobile Game Live with Docker and IBM SoftLayerTaking the Next Hot Mobile Game Live with Docker and IBM SoftLayer
Taking the Next Hot Mobile Game Live with Docker and IBM SoftLayer
Daniel Krook1.7K views
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ... by Daniel Krook
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
Daniel Krook13.5K views
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In... by Daniel Krook
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
Daniel Krook4.3K views
Quickly build and deploy a scalable OpenStack Swift application using IBM Blu... by Daniel Krook
Quickly build and deploy a scalable OpenStack Swift application using IBM Blu...Quickly build and deploy a scalable OpenStack Swift application using IBM Blu...
Quickly build and deploy a scalable OpenStack Swift application using IBM Blu...
Daniel Krook3.2K views
Finding and Organizing a Great Cloud Foundry User Group by Daniel Krook
Finding and Organizing a Great Cloud Foundry User GroupFinding and Organizing a Great Cloud Foundry User Group
Finding and Organizing a Great Cloud Foundry User Group
Daniel Krook2.7K views
IBM and OpenStack: Collaboration Beyond the Code by Daniel Krook
IBM and OpenStack: Collaboration Beyond the CodeIBM and OpenStack: Collaboration Beyond the Code
IBM and OpenStack: Collaboration Beyond the Code
Daniel Krook2K views
Dockerizing OpenStack for High Availability by Daniel Krook
Dockerizing OpenStack for High AvailabilityDockerizing OpenStack for High Availability
Dockerizing OpenStack for High Availability
Daniel Krook8.5K views
Power Systems Projects in Research by Daniel Krook
Power Systems Projects in ResearchPower Systems Projects in Research
Power Systems Projects in Research
Daniel Krook1.1K views
Neutron Networking: Service Groups, Policies and Chains by Daniel Krook
Neutron Networking: Service Groups, Policies and ChainsNeutron Networking: Service Groups, Policies and Chains
Neutron Networking: Service Groups, Policies and Chains
Daniel Krook1.6K views
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift by Daniel Krook
Advanced Data Retrieval and Analytics with Apache Spark and Openstack SwiftAdvanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
Daniel Krook3.1K views
Docker Container Cloud by Daniel Krook
Docker Container CloudDocker Container Cloud
Docker Container Cloud
Daniel Krook1.5K views
Building a hybrid, dynamic cloud on an open architecture by Daniel Krook
Building a hybrid, dynamic cloud on an open architectureBuilding a hybrid, dynamic cloud on an open architecture
Building a hybrid, dynamic cloud on an open architecture
Daniel Krook1.9K views
Cloud Foundry for PHP developers by Daniel Krook
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
Daniel Krook6.2K views

Recently uploaded

DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... by
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...Deltares
9 views26 slides
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko... by
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...Deltares
10 views23 slides
MariaDB stored procedures and why they should be improved by
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improvedFederico Razzoli
8 views32 slides
Winter '24 Release Chat.pdf by
Winter '24 Release Chat.pdfWinter '24 Release Chat.pdf
Winter '24 Release Chat.pdfmelbourneauuser
9 views20 slides
Tridens DevOps by
Tridens DevOpsTridens DevOps
Tridens DevOpsTridens
9 views28 slides
Cycleops - Automate deployments on top of bare metal.pptx by
Cycleops - Automate deployments on top of bare metal.pptxCycleops - Automate deployments on top of bare metal.pptx
Cycleops - Automate deployments on top of bare metal.pptxThanassis Parathyras
30 views12 slides

Recently uploaded(20)

DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... by Deltares
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
Deltares9 views
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko... by Deltares
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
Deltares10 views
MariaDB stored procedures and why they should be improved by Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
Tridens DevOps by Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 views
Cycleops - Automate deployments on top of bare metal.pptx by Thanassis Parathyras
Cycleops - Automate deployments on top of bare metal.pptxCycleops - Automate deployments on top of bare metal.pptx
Cycleops - Automate deployments on top of bare metal.pptx
A first look at MariaDB 11.x features and ideas on how to use them by Federico Razzoli
A first look at MariaDB 11.x features and ideas on how to use themA first look at MariaDB 11.x features and ideas on how to use them
A first look at MariaDB 11.x features and ideas on how to use them
Federico Razzoli44 views
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)... by Deltares
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
Deltares9 views
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023 by Icinga
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023Upgrading Incident Management with Icinga - Icinga Camp Milan 2023
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023
Icinga36 views
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -... by Deltares
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
Deltares6 views
Consulting for Data Monetization Maximizing the Profit Potential of Your Data... by Flexsin
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Flexsin 15 views
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan... by Deltares
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...
Deltares10 views
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon by Deltares
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
Deltares11 views
What Can Employee Monitoring Software Do?​ by wAnywhere
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere18 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm11 views
Software testing company in India.pptx by SakshiPatel82
Software testing company in India.pptxSoftware testing company in India.pptx
Software testing company in India.pptx
SakshiPatel827 views
Roadmap y Novedades de producto by Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j43 views

Workshop: Develop Serverless Applications with IBM Cloud Functions

  • 1. IBM and Business Partner Use Only l Fast Start 2018 
 Develop Serverless Applications with IBM Cloud Functions © 2018 IBM Corporation l Index 2018 Daniel Krook
 Software Engineer & Developer Advocate Olivier Tardieu Software Engineer & Research Staff Member Priti Desai Naiyarah Hussein Mangesh Patankar
  • 2. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda / Learning Objectives 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 3. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Preparing your workstation 1. Go to bit.ly/serverless-index 2. Create an IBM Cloud account • Instructions: bit.ly/index-accounts 3. Download the bx CLI and Cloud Functions plug-in 4. Download the Shell tool 5. Download an IDE like Atom or VSCode
  • 4. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 5. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts What is Serverless computing (Functions-as-a-Service)? Runs code only on-demand on a per-request basis Serverless deployment & operations model VM No servers Just code
  • 6. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Runs code only on-demand on a per-request basis Scales on a per-request basis What is Serverless computing (Functions-as-a-Service)?
  • 7. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Runs code only on-demand on a per-request basis Optimal utilization & granular pricing zzz time charged What is Serverless computing (Functions-as-a-Service)?
  • 8. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 9. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts What is Serverless computing (Functions-as-a-Service)? Increasingfocusonbusinesslogic Decreasing concern (and control) over stack implementation Bare Metal VM VM VM Virtual machines Functions Containers
  • 10. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Why is serverless better than a traditional approach? CF Container VM Application Process and Idle 2 Requests 1a Polling 1b Worry about scaling • When to scale? (mem-, cpu-, response time-, etc. driven?) • How fast can you scale? Worry about resiliency & cost • At least 2 processes for HA • Keep them running & healthy • Deployment in multiple regions Charged even when idling / not 100% utilized Continuous polling due to missing event programming model Traditional model Process and Idle
  • 11. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Trigger 1 OpenWhisk Engine 2 Pool of Actions Js Swift Java PythonDocker Running Action Running Action Running Action 3 Scales inherently • One process per request No cost overhead for resiliency • No long running process to be made HA / multi-region Introduces event programming model Charges only for what is used • Only worry about code
 higher dev velocity, lower operational costs Serverless model Deploy actions within millisecs, run it, free up resources Why is serverless better than a traditional approach?
  • 12. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 13. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts What is IBM Cloud Functions (Apache OpenWhisk)? Serverless platform to execute code in response to events
  • 14. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Developed as
 open source software via Apache Foundation openwhisk.org Serverless platform to execute code in response to events What is IBM Cloud Functions (Apache OpenWhisk)?
  • 15. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Managed service on
 IBM Cloud bluemix.net/openwhisk Serverless platform to execute code in response to events What is IBM Cloud Functions (Apache OpenWhisk)?
  • 16. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts What is IBM Cloud Functions (Apache OpenWhisk)? Results Package (feed) Packages provide integration with external event sources Trigger (event) Data sources define events they emit as Triggers Rule (map) Action (function) Developers map Actions to Triggers via Rules Data sources define events they emit as Triggers. Developers map Actions to Triggers via Rules. T A R
  • 17. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Supported Languages JS/NodeJS Swift Python Java Docker Go Haskell Scala . . . Multi- language Support Community Efforts … and more to come JS/NodeJS 8 Java Python 3 Swift 4 Docker Haskell … Scala PHP 7 What is IBM Cloud Functions (Apache OpenWhisk)?
  • 18. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Non-blocking Blocking Periodic Support for different invocation models What is IBM Cloud Functions (Apache OpenWhisk)?
  • 19. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Supports higher-level programming constructs Sequencing Conditionals Loops Error handling Parameter binding Default Name Default Parameters Default Value What is IBM Cloud Functions (Apache OpenWhisk)?
  • 20. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Event Provider Open event emitter (consumer ecosystem) Open interface
 for event emitters What is IBM Cloud Functions (Apache OpenWhisk)?
  • 21. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Event Provider Periodic IBM Cloudant IBM Message Hub Mobile Push Github IBM App Connect What is IBM Cloud Functions (Apache OpenWhisk)?
  • 22. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts zzz time chargedGranular pricing Pay only for the exact time your actions run. When an action is not invoked, it’s not in memory, so you don’t pay anything. What is IBM Cloud Functions (Apache OpenWhisk)?
  • 23. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Memory allocated (MB) Time executing (milliseconds) Instances executing simultaneously (count) Pricing model Time an action was running * memory allocated to action $0.000017 per GBs Free tier: 400,000 GBs What is IBM Cloud Functions (Apache OpenWhisk)?
  • 24. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Allows packaging of pieces of a serverless application into a single project and deploy it in a vendor-agnostic way. Serverless Framework support What is IBM Cloud Functions (Apache OpenWhisk)?
  • 25. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 26. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts How does IBM Cloud Functions fit into our cloud ecosystem? IoT Block Chain Health Zone FSS Zone Media Zone Discovery Conver- sation Natural Language Speech & Vision Tradeoff Analytics Retrieve & Rank Database Data Sets Analytics Management Messaging Mobile App Security API & Integration DevOps Containers Cloud Foundry Event-Driven Run-Times Compute Network Storage Security&Compliance Industry Cognitive Data Developer Tools Infrastructure Public Dedicated Multi-Tenant Single-Tenant Local Client DC & HW
  • 27. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts How does IBM Cloud Functions fit into our cloud ecosystem? Bare Metal Virtual Server 
 or VMware Container IBM Cloud Functions Cloud Foundry Performance & Control Speed Language/
 Framework “Serverless” / “Event Driven” Apps Open PaaS Environment Maximum Performance & Control Maximum Portability Portability Leverage Existing Images & Tools
  • 28. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts How does IBM Cloud Functions fit into our cloud ecosystem? • Control over runtime environment (runtimes, versions, minimal OS). • Greater reusability and portability of container images. • Great fit for bringing containerized apps and systems to the cloud. • No need to manage underlying OS. • Buildpacks provide influence over the runtime, giving as much or as little control (sensible defaults) as desired. • Great fit for many existing web apps with a stable programming model. • OS, runtime, and even container lifecycle is completely abstracted (serverless). • Autoscales in response to demand, with an associated granular cost model. • Great fit for emerging, non-HTTP, event-driven workloads involving IoT, data, messages. • More responsibility over package configuration (security patches). • Need to understand distributed systems. • Loss of control over operating system, 
 possibly at the mercy of buildpack versions. • Limited to HTTP/HTTPS • An emerging computing model, rapid innovation with less comprehensive and stable documentation, samples, tools, and best practices. Full control over infrastructure and maximum portability Focus on the application and let the platform handle the rest Auto-scaled, event-driven applications that respond to a variety of triggers Containers-as-a-Service Platform-as-a-Service Functions-as-a-Service
  • 29. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 30. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Volatile and/or event-driven workload that can be split in smaller short-running pieces. Suited for sporadic as well as heavy load scenarios. What are the ideal IBM Cloud Functions use cases?
  • 31. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts API Gateway support Allows to map API endpoints 
 to IBM Cloud Functions actions Serverless microservice APIs/backend Available for free, without limits Define Actions: getCostumer createCostumer
 deleteCostumer Define API Endpoints (URLs) and map to Actions GET: mydomain.com/…/customers POST: mydomain.com/…/customers
 DELETE: mydomain.com/…/customers 12 What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 32. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts getCostumer createCostumer
 deleteCostumer Easy to add and edit: Security (API key, API secret, OAuth validation, CORS) Rate-Limiting Map actions to API endpoints (OpenAPI Doc creation) Easy socialization (sharing, API key creation) Analytics (API calls, errors, response time) Test your API (API Explorer) Upload Swagger/OpenAPI Doc 3 2 1 What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 33. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Swift Action IBM API Gateway Openwhisk APIHi! Outsource compute-intensive tasks to a powerful & scalable serverless platform and implement your actions even without changing the programming language. Swift Action Mobile backend What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 34. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Data processing Openwhisk IBM Cloudant What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 35. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Data processing Openwhisk IBM Cloudant Ideally suited for working with multimedia data like audio, image and video data: Audio normalization Image rotation, sharpening, noise reduction or Thumbnail generation Image OCR’ing Video transcoding What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 36. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Cognitive Openwhisk IBM Cloudant What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 37. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Real-time Datastream Openwhisk IBM Message Hub IBM Cloudant Event processing/ Message Hub Managed Apache Kafka service for real- time build outs of data pipelines and streaming apps supports binary data What are the ideal IBM Cloud Functions use cases? IBM Cloud Functions
  • 38. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Watson IoT Realtime Insights Trigger events based on IoT sensor data IOT Device 1Weather Update Trigger Watson IOT Platform Realtime Insights rules2 3 4 Trigger an Action IBM Cloud Functions What are the ideal IBM Cloud Functions use cases?
  • 39. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 40. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts IBM Cloud Functions Shell and Composer
  • 41. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts IBM Cloud Functions Shell and Composer
  • 42. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts IBM Cloud Functions Shell and Composer
  • 43. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is Serverless computing (Functions-as-a-Service)? 2. Why is Serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 44. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts IBM hosted offering: bluemix.net/openwhisk Open source project: openwhisk.org Open source Slack: slack.openwhisk.org Additional material Learn more
  • 45. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Github github.com/openwhisk Twitter twitter.com/openwhisk Medium medium.com/openwhisk SlideShare slideshare.net/openwhisk Learn more Learn more
  • 46. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Agenda 1. What is serverless computing (Functions-as-a-Service)? 2. Why is serverless better than a traditional approach? 3. What is IBM Cloud Functions (Apache OpenWhisk)? 4. How does IBM Cloud Functions fit into our cloud ecosystem? 5. What are the ideal IBM Cloud Functions use cases? 6. IBM Cloud Functions Shell and Composer 7. Additional material 8. Hands-on workshop
  • 47. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts What you will learn Hands-on workshop 1. In the end: How to develop a serverless weather bot 2. Basic concepts: Actions, Triggers, Rules, Packages 3. How to work with the IBM Cloud Functions CLI, UI, and Shell 4. How to work with our latest additions
 … API Gateway
 … Composer 5. … IBM App Connect & IBM Message Hub integration 6. How to work with additional tools
 … VS Code
 … Serverless Framework
 … NodeRED 7. What others have built 8. Free-style…
  • 48. Index 2018 IBM Cloud Functions bit.ly/serverless-index bit.ly/index-accounts Important links Workshop:
 bit.ly/serverless-index Hands-on workshop Accounts:
 bit.ly/index-accounts