SlideShare a Scribd company logo
Short journey into the serverless world
Short Journey into Serverless World
Introduction to Serverless
bit.ly/faas-tutorial
https://learn.openshift.com/serverless
https://github.com/knative/
I am a Developer !
● Active Open Source Contributor
○ OpenWhisk
○ Eclipse Che
○ fabric8 Platform https://fabric8.io/
● Creator vert.x-maven-plugin →
https://vmp.fabric8.io/
kameshsampath
Kamesh Sampath
Director of Developer Experience at Red Hat
@kamesh_sampath
kamesh.sampath@hotmail.com
ksampath@redhat.com
What is Serverless ?
Serverless computing refers to the concept of building and
running applications that do not require server management. It
describes a finer-grained deployment model where
applications, bundled as one or more functions, are uploaded to
a platform and then executed, scaled, and billed in response to
the exact demand needed at the moment.
https://www.cncf.io/blog/2018/02/14/cncf-takes-first-step-towards-serverless-computing
Short journey into the serverless world
Good and Bad about Serverless
● Automatic Scalability
● Automatic Cost Reduction
● Quicker and Easier
Development
● Better Capacity planning
● Delivery speed
● Debugging
● Deployment and
Architectural complexity
● Deep learning curve
● Vendor Lock-in
● Monitoring
https://hackernoon.com/serverless-survey-77-delivery-speed-4-dev-workdays-mo-saved-26-aws-monthly-bill-d99174f70663
Microservices Serverless
Functions
Your Control
Long-Lived Processes
Known Programming Model
Often Sync Request-Response
Mature:
IDE Integration
Debuggers
Tracers
Monitoring
CI/CD
Cloud Control
Short-Lived Processes
New Programming Model
Event-Driven Async
Immature:
?
Business Logic
Application
Data
Containers
OS
Virtualization
Server, Storage,
Network
Container
as a Service
Business Logic
Application
Data
Runtime
OS
Virtualization
Server, Storage,
Network
Infrastructure as
a Service
Business Logic
Application
Data
Containers
OS
Virtualization
Server, Storage,
Network
Platform
as a Service
Business Logic
Application
Data
Containers
OS
Virtualization
Server, Storage,
Network
Backend
as a Service
Business Logic
Application
Data
Containers
OS
Virtualization
Server, Storage,
Network
Function
as a Service
Platform Responsibilities
Business Logic
Application
Data
Runtime
OS
Virtualization
Server, Storage,
Network
On Premises
KNative
Knative provides a set of middleware
components that are essential to build
modern, source-centric, and
container-based applications that can
run anywhere: on premises, in the cloud,
or even in a third-party data center.
Knative components are built on
Kubernetes and codify the best
practices shared by successful
real-world .
● Essential base primitives for all
● Developer-friendly software
● Supports popular development
patterns
● Best of both worlds: Flexibility
and control
● Operator-friendly
https://cloud.google.com/knative/
Apache OpenWhisk
● Open Source incubating under Apache
● A Cloud platform to execute functions
written in:
○ JavaScript
○ Swift
○ Java
○ Python
○ PHP
○ Docker
○ Go
● Deployable on
○ Any platform where docker can be run
○ Kubernetes/OpenShift
Some theory
● Actions
○ A stateless code snippet that gets executed
● Package
○ A bundle of actions and feeds synonymous to Java Packages
● Feeds
○ Acts as Interface between external Event Sources and OpenWhisk
Actions
● Triggers
○ Stimulus of external Events via Feeds
● Rules
○ Ties one or more Triggers to an Action or vice-versa
● Activation
○ Records the output/response of Running/Ran actions
Tooling
● wsk
○ The core command line interface to work OpenWhisk
● wskdeploy
○ The command line tool to allow deploying OpenWhisk actions, functions etc., using YAML base
manifest
● Maven (only for Java)
○ Generate OpenWhisk Java Functions
● Serverless Framework
○ JavaScript based template framework
○ Support for generating OpenWhisk Templated project
○ Ability to deploy functions to OpenWhisk
Invocation Patterns
ASYNCHRONOUS SYNCHRONOUS
SCHEDULED
Apache OpenWhisk - How does it work ?
Controller
Kafka
nginx
Invoker Invoker
Get the feel
Action Chaining
● Actions can be chained
● Pre-defined chain of actions
○ Sequences
● Action Chaining could also be determined at runtime
○ Conductors
● Only first function in Sequence can accept parameter
○ The output of previous step(Action) is input to next
Demo - Action Chaining
Event Driven Capabilities
● OpenWhisk functions can respond to Events
● Events could be
○ Another function
○ External event source called as Feed Provider
● Event Action is OpenWhisk Function that’s invoked for a Trigger
● Event Actions are invoked via Triggers
○ Rules tie Actions to Triggers
● Trigger can be registered to Event Provider via Feeds (Stream of Events)
○ Feed can be:
■ Polling
■ Webhook
■ Persistent Connection
Cloud Events
● Define specification for Cloud Events
○ Effort via CNCF’s Serverless Working
Group
● Major Cloud Providers, SaaS providers are
part of working committee
● https://cloudevents.io/
Feed the Trigger to Rule your Action
Demo - Feeds and Events
Thank you
bit.ly/faas-tutorial
https://learn.openshift.com/serverless
https://github.com/knative/
@kamesh_sampathkamesh.sampath@hotmail.com

More Related Content

PDF
F5 Automation and service discovery
Scott van Kalken
 
PDF
Ansible for networks
Scott van Kalken
 
PDF
Tower 3.x
Scott van Kalken
 
PDF
OpenNebulaConf2018 - We use OpenNebula everywhere now - Florian Heigl and Tho...
OpenNebula Project
 
PPTX
Accelerating with Ansible
Global Knowledge Training
 
PDF
CI/CD Using Ansible and Jenkins for Infrastructure
Faisal Shaikh
 
PPTX
Spinnaker for Azure
Larry Guger
 
F5 Automation and service discovery
Scott van Kalken
 
Ansible for networks
Scott van Kalken
 
Tower 3.x
Scott van Kalken
 
OpenNebulaConf2018 - We use OpenNebula everywhere now - Florian Heigl and Tho...
OpenNebula Project
 
Accelerating with Ansible
Global Knowledge Training
 
CI/CD Using Ansible and Jenkins for Infrastructure
Faisal Shaikh
 
Spinnaker for Azure
Larry Guger
 

What's hot (20)

PDF
Delivery Pipeline for Windows Machines
Dmitry Buzdin
 
PDF
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Malcolm Duncanson, CISSP
 
PDF
Automated Deployment with Capistrano
Sumit Chhetri
 
PDF
Ansible & Cumulus Networks - Simplify Network Automation
Cumulus Networks
 
PDF
RUNNING AWS LOCALLY
AWSCOMSUM
 
PPTX
Windows Azure PowerShell Cmdlets
Pavel Revenkov
 
PDF
Ansible Case Studies
Greg DeKoenigsberg
 
PPTX
The Velvet Revolution: Modernizing Traditional ASP.NET Apps with Docker
Elton Stoneman
 
PDF
OpenNebulaConf2018 - 5 Things We Wish We Knew Before Deploying OpenNebula in ...
OpenNebula Project
 
PPTX
.Net Core Fall update
MSDEVMTL
 
PDF
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
PPTX
Create Microservice with Spring Boot and Docker
Sivaprakash
 
PDF
DevOps with Ansible
Swapnil Jain
 
PPTX
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
Simplilearn
 
PDF
OMD and Check_mk
Artur Martins
 
PPTX
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
PDF
Significance of RedHat Ansible
VijayaNirmalaGopal
 
PPTX
Zero Code Multi-Cloud Automation with Ansible and Terraform
Avi Networks
 
PDF
Puppet Camp Paris 2015: Continuous Integration of Puppet Code (Intermediate)
Puppet
 
PDF
VMware compute driver for OpenStack
openstackindia
 
Delivery Pipeline for Windows Machines
Dmitry Buzdin
 
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Malcolm Duncanson, CISSP
 
Automated Deployment with Capistrano
Sumit Chhetri
 
Ansible & Cumulus Networks - Simplify Network Automation
Cumulus Networks
 
RUNNING AWS LOCALLY
AWSCOMSUM
 
Windows Azure PowerShell Cmdlets
Pavel Revenkov
 
Ansible Case Studies
Greg DeKoenigsberg
 
The Velvet Revolution: Modernizing Traditional ASP.NET Apps with Docker
Elton Stoneman
 
OpenNebulaConf2018 - 5 Things We Wish We Knew Before Deploying OpenNebula in ...
OpenNebula Project
 
.Net Core Fall update
MSDEVMTL
 
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
Create Microservice with Spring Boot and Docker
Sivaprakash
 
DevOps with Ansible
Swapnil Jain
 
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
Simplilearn
 
OMD and Check_mk
Artur Martins
 
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
Significance of RedHat Ansible
VijayaNirmalaGopal
 
Zero Code Multi-Cloud Automation with Ansible and Terraform
Avi Networks
 
Puppet Camp Paris 2015: Continuous Integration of Puppet Code (Intermediate)
Puppet
 
VMware compute driver for OpenStack
openstackindia
 
Ad

Similar to Short journey into the serverless world (20)

PPTX
Your journey into the serverless world
Red Hat Developers
 
PDF
Your Java Journey into the Serverless World
Kamesh Sampath
 
PDF
Openwhisk - Colorado Meetups
Upkar Lidder
 
PDF
Apache OpenWhisk Serverless Computing
Upkar Lidder
 
PDF
Serverless forwardjs
Upkar Lidder
 
PDF
Going Serverless with OpenWhisk
Alex Glikson
 
PDF
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
Animesh Singh
 
PDF
The 'Serverless' Paradigm, OpenWhisk and FIWARE
FIWARE
 
PDF
The Serverless Paradigm, OpenWhisk and FIWARE
Alex Glikson
 
PDF
Serverless apps with OpenWhisk
Daniel Krook
 
PDF
Serverless Java on Kubernetes
Krzysztof Sobkowiak
 
PDF
Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019
confluent
 
PDF
An intro to serverless and OpenWhisk for Kafka users
Dale Lane
 
PPTX
Serverless Apps with Open Whisk
Dev_Events
 
PDF
OpenWhisk - Serverless Architecture
Dev_Events
 
PDF
OpenWhisk - A platform for cloud native, serverless, event driven apps
Daniel Krook
 
PDF
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy
OpenWhisk
 
PDF
Who needs containers in a serverless world
Matthias Luebken
 
PPTX
IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...
OpenWhisk
 
PPTX
OpenWhisk: Where Did My Servers Go?
Carlos Santana
 
Your journey into the serverless world
Red Hat Developers
 
Your Java Journey into the Serverless World
Kamesh Sampath
 
Openwhisk - Colorado Meetups
Upkar Lidder
 
Apache OpenWhisk Serverless Computing
Upkar Lidder
 
Serverless forwardjs
Upkar Lidder
 
Going Serverless with OpenWhisk
Alex Glikson
 
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
Animesh Singh
 
The 'Serverless' Paradigm, OpenWhisk and FIWARE
FIWARE
 
The Serverless Paradigm, OpenWhisk and FIWARE
Alex Glikson
 
Serverless apps with OpenWhisk
Daniel Krook
 
Serverless Java on Kubernetes
Krzysztof Sobkowiak
 
Building Serverless Apps with Kafka (Dale Lane, IBM) Kafka Summit London 2019
confluent
 
An intro to serverless and OpenWhisk for Kafka users
Dale Lane
 
Serverless Apps with Open Whisk
Dev_Events
 
OpenWhisk - Serverless Architecture
Dev_Events
 
OpenWhisk - A platform for cloud native, serverless, event driven apps
Daniel Krook
 
IBM Bluemix OpenWhisk: IBM InterConnect 2017, Las Vegas, USA: Technical Strategy
OpenWhisk
 
Who needs containers in a serverless world
Matthias Luebken
 
IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...
OpenWhisk
 
OpenWhisk: Where Did My Servers Go?
Carlos Santana
 
Ad

Recently uploaded (20)

PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
PDF
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC
 
PPTX
Parallel & Concurrent ...
yashpavasiya892
 
PPTX
Black Yellow Modern Minimalist Elegant Presentation.pptx
nothisispatrickduhh
 
PDF
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
PPTX
Slides Powerpoint: Eco Economic Epochs.pptx
Steven McGee
 
PDF
PDF document: World Game (s) Great Redesign.pdf
Steven McGee
 
PDF
DNSSEC Made Easy, presented at PHNOG 2025
APNIC
 
PPTX
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
PPTX
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
PPTX
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
PPTX
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
renavieramopiquero
 
PPT
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PPTX
Different Generation Of Computers .pptx
divcoder9507
 
PPTX
Microsoft PowerPoint Student PPT slides.pptx
Garleys Putin
 
PDF
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PPTX
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
PPTX
Unlocking Hope : How Crypto Recovery Services Can Reclaim Your Lost Funds
lionsgate network
 
PPTX
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC
 
Parallel & Concurrent ...
yashpavasiya892
 
Black Yellow Modern Minimalist Elegant Presentation.pptx
nothisispatrickduhh
 
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
Slides Powerpoint: Eco Economic Epochs.pptx
Steven McGee
 
PDF document: World Game (s) Great Redesign.pdf
Steven McGee
 
DNSSEC Made Easy, presented at PHNOG 2025
APNIC
 
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
renavieramopiquero
 
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
Different Generation Of Computers .pptx
divcoder9507
 
Microsoft PowerPoint Student PPT slides.pptx
Garleys Putin
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
Unlocking Hope : How Crypto Recovery Services Can Reclaim Your Lost Funds
lionsgate network
 
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 

Short journey into the serverless world

  • 2. Short Journey into Serverless World Introduction to Serverless bit.ly/faas-tutorial https://learn.openshift.com/serverless https://github.com/knative/
  • 3. I am a Developer ! ● Active Open Source Contributor ○ OpenWhisk ○ Eclipse Che ○ fabric8 Platform https://fabric8.io/ ● Creator vert.x-maven-plugin → https://vmp.fabric8.io/ kameshsampath Kamesh Sampath Director of Developer Experience at Red Hat @kamesh_sampath [email protected] [email protected]
  • 4. What is Serverless ? Serverless computing refers to the concept of building and running applications that do not require server management. It describes a finer-grained deployment model where applications, bundled as one or more functions, are uploaded to a platform and then executed, scaled, and billed in response to the exact demand needed at the moment. https://www.cncf.io/blog/2018/02/14/cncf-takes-first-step-towards-serverless-computing
  • 6. Good and Bad about Serverless ● Automatic Scalability ● Automatic Cost Reduction ● Quicker and Easier Development ● Better Capacity planning ● Delivery speed ● Debugging ● Deployment and Architectural complexity ● Deep learning curve ● Vendor Lock-in ● Monitoring https://hackernoon.com/serverless-survey-77-delivery-speed-4-dev-workdays-mo-saved-26-aws-monthly-bill-d99174f70663
  • 7. Microservices Serverless Functions Your Control Long-Lived Processes Known Programming Model Often Sync Request-Response Mature: IDE Integration Debuggers Tracers Monitoring CI/CD Cloud Control Short-Lived Processes New Programming Model Event-Driven Async Immature: ?
  • 8. Business Logic Application Data Containers OS Virtualization Server, Storage, Network Container as a Service Business Logic Application Data Runtime OS Virtualization Server, Storage, Network Infrastructure as a Service Business Logic Application Data Containers OS Virtualization Server, Storage, Network Platform as a Service Business Logic Application Data Containers OS Virtualization Server, Storage, Network Backend as a Service Business Logic Application Data Containers OS Virtualization Server, Storage, Network Function as a Service Platform Responsibilities Business Logic Application Data Runtime OS Virtualization Server, Storage, Network On Premises
  • 9. KNative Knative provides a set of middleware components that are essential to build modern, source-centric, and container-based applications that can run anywhere: on premises, in the cloud, or even in a third-party data center. Knative components are built on Kubernetes and codify the best practices shared by successful real-world . ● Essential base primitives for all ● Developer-friendly software ● Supports popular development patterns ● Best of both worlds: Flexibility and control ● Operator-friendly https://cloud.google.com/knative/
  • 10. Apache OpenWhisk ● Open Source incubating under Apache ● A Cloud platform to execute functions written in: ○ JavaScript ○ Swift ○ Java ○ Python ○ PHP ○ Docker ○ Go ● Deployable on ○ Any platform where docker can be run ○ Kubernetes/OpenShift
  • 11. Some theory ● Actions ○ A stateless code snippet that gets executed ● Package ○ A bundle of actions and feeds synonymous to Java Packages ● Feeds ○ Acts as Interface between external Event Sources and OpenWhisk Actions ● Triggers ○ Stimulus of external Events via Feeds ● Rules ○ Ties one or more Triggers to an Action or vice-versa ● Activation ○ Records the output/response of Running/Ran actions
  • 12. Tooling ● wsk ○ The core command line interface to work OpenWhisk ● wskdeploy ○ The command line tool to allow deploying OpenWhisk actions, functions etc., using YAML base manifest ● Maven (only for Java) ○ Generate OpenWhisk Java Functions ● Serverless Framework ○ JavaScript based template framework ○ Support for generating OpenWhisk Templated project ○ Ability to deploy functions to OpenWhisk
  • 14. Apache OpenWhisk - How does it work ? Controller Kafka nginx Invoker Invoker
  • 16. Action Chaining ● Actions can be chained ● Pre-defined chain of actions ○ Sequences ● Action Chaining could also be determined at runtime ○ Conductors ● Only first function in Sequence can accept parameter ○ The output of previous step(Action) is input to next
  • 17. Demo - Action Chaining
  • 18. Event Driven Capabilities ● OpenWhisk functions can respond to Events ● Events could be ○ Another function ○ External event source called as Feed Provider ● Event Action is OpenWhisk Function that’s invoked for a Trigger ● Event Actions are invoked via Triggers ○ Rules tie Actions to Triggers ● Trigger can be registered to Event Provider via Feeds (Stream of Events) ○ Feed can be: ■ Polling ■ Webhook ■ Persistent Connection
  • 19. Cloud Events ● Define specification for Cloud Events ○ Effort via CNCF’s Serverless Working Group ● Major Cloud Providers, SaaS providers are part of working committee ● https://cloudevents.io/
  • 20. Feed the Trigger to Rule your Action
  • 21. Demo - Feeds and Events