SlideShare a Scribd company logo
OpenFaaS framework
Serverless functions for Docker & Kubernetes
CNCF INTRO & DEMO
by Alex Ellis
What is Serverless?
MicroserviceMicroserviceMicroservice
Monolith
Microservice
Function
Serverless evolution
CNCF Intro & Demo - OpenFaaS framework
OpenFaaS
DRIVING FACTORS
PortabilityEase of use
Simplicity
Open
Platform
How did OpenFaaS come about?
STORY SO FAR
• “Lambda but on containers for Alexa”
• Dockercon Cool Hacks - “push Docker beyond what it was made to do”
• Major changes since Dockercon
• Top trending Open Source project overall
• > 4.4k stars
• Kubernetes & external provider support
• Asynchronous processing via NATS
• CLI - templating
• Regular contributors & Slack Community
What is OpenFaaS?
"A SERVERLESS FRAMEWORK BUILT ON CONTAINERS"
• Basic primitive: containers in OCI format
• Container security
• r/o filesystem, privilege drop, content trust
• Manage functions with scheduler/orchestrator
• Rich container eco-system - commercial & community
• Avoid vendor lock-in
• Run anywhere - cloud or on-prem
• Leverage existing skills in teams (including Windows)
• Anything can be a function.
Comes in one flavor: Cloud Native
HTTP
body
stdinrequest
stdoutresponse
“/usr/bin/node

handler.js”
headers
body
headers
Forked process
Function watchdog
YAML stack format
provider:
name: faas
gateway: http://localhost:31112
shrink-image:
image: functions/resizer:latest
fprocess: "convert - -resize 50% fd:1"
url-ping:
lang: python
handler: ./sample/url-ping
image: alexellis/url-ping
$ faas-cli -action build -f ./sample.yml
$ faas-cli -action deploy -f ./sample.yml
SAMPLE
def handler(req):
print(‘You said ‘ + req)
Deployed in 60 seconds
QUICK DEMO
What’s next for OpenFaaS?
SET REPLICAS = 10,000
• Roadmap - supporting users
• Evaluating - ADP, CodeFresh, IRT Saint Exupery, Reevoo
• Additional language templates - CSharp, Ruby
• Curating UX
• Guides, manual & tutorials for developer-clouds
• Website & branding
• Contributors, sponsorship and finding a home
• Speaking & SWAG
• LinuxCon North America + CNCF London - Sept
• Dockercon EU - October
• Kubecon (?) - November
@alexellisuk
https://github.com/alexellis/faas
Fun examples
FUNCTIONS / DEMOS
• Dockercon closing keynote (video)
Derek
• https://github.com/alexellis/derek
Twitter + Elastic search / Youtube Downloader
• https://github.com/alexellis/journey-expert
Other functions
• https://github.com/alexellis/faas-contributor-stamp
• https://github.com/alexellis/faas-office-sample
• https://github.com/alexellis/faas-img2ansi

More Related Content

What's hot (20)

PDF
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
Alex Ellis
 
PDF
Zero to #Serverless in 60 seconds, anywhere
Alex Ellis
 
PDF
TechXLR8 - XLR8 your cloud with Docker and Serverless FaaS
Alex Ellis
 
PDF
Cloud native applications
reallavalamp
 
PDF
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
Henning Jacobs
 
PDF
Immutable Infrastructure: Rise of the Machine Images
C4Media
 
PDF
Ceylon From Here to Infinity: The Big Picture and What's Coming
Virtual JBoss User Group
 
PPTX
Extending Alfresco Digital Workspace with Docusign
Luis Colorado
 
PDF
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
CodeOps Technologies LLP
 
PDF
Splunk user group - automating Splunk with Ansible
Mark Phillips
 
PDF
Running tests for every commit: Gerrit, Jenkins, Docker, AWS
Alexander Akbashev
 
PDF
FaaS-and-Furious
Moby Project
 
PDF
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
Docker, Inc.
 
PDF
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
CodeOps Technologies LLP
 
PDF
Microservices, DevOps, and Containers with OpenShift and Fabric8
Christian Posta
 
PDF
Staying on Topic - Invoke OpenFaaS functions with Kafka
Richard Gee
 
PDF
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
PDF
Continuous Integration on Steroids
Alexander Akbashev
 
PDF
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
DevOpsDays Houston
 
PDF
Introduction to OpenFaas
GDG Cloud Bengaluru
 
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
Alex Ellis
 
Zero to #Serverless in 60 seconds, anywhere
Alex Ellis
 
TechXLR8 - XLR8 your cloud with Docker and Serverless FaaS
Alex Ellis
 
Cloud native applications
reallavalamp
 
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
Henning Jacobs
 
Immutable Infrastructure: Rise of the Machine Images
C4Media
 
Ceylon From Here to Infinity: The Big Picture and What's Coming
Virtual JBoss User Group
 
Extending Alfresco Digital Workspace with Docusign
Luis Colorado
 
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
CodeOps Technologies LLP
 
Splunk user group - automating Splunk with Ansible
Mark Phillips
 
Running tests for every commit: Gerrit, Jenkins, Docker, AWS
Alexander Akbashev
 
FaaS-and-Furious
Moby Project
 
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
Docker, Inc.
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
CodeOps Technologies LLP
 
Microservices, DevOps, and Containers with OpenShift and Fabric8
Christian Posta
 
Staying on Topic - Invoke OpenFaaS functions with Kafka
Richard Gee
 
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
Continuous Integration on Steroids
Alexander Akbashev
 
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
DevOpsDays Houston
 
Introduction to OpenFaas
GDG Cloud Bengaluru
 

Similar to CNCF Intro & Demo - OpenFaaS framework (20)

PDF
Bitnami Bootcamp. OpenStack
Alberto Molina Coballes
 
PPTX
Docker open stack boston
dotCloud
 
PPTX
OpenStack Boston
Docker, Inc.
 
PPTX
Containers, Serverless and Functions in a nutshell
Eugene Fedorenko
 
PPTX
Intro to Docker October 2013
Docker, Inc.
 
PDF
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
AWS Vietnam Community
 
PDF
VSphere Integrated Containers v3.0
The World Bank
 
PPTX
Intro Docker october 2013
dotCloud
 
PDF
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Docker, Inc.
 
PPTX
DockerCon EU 2015 Barcelona
Roman Dembitsky
 
PDF
Eine Einführung in Docker
Matthias Luebken
 
PDF
Docker and OpenStack Boston Meetup
Kamesh Pemmaraju
 
PPTX
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
dotCloud
 
PDF
Docker
Anil Wadghule
 
PPTX
Intro to Docker November 2013
Docker, Inc.
 
PPTX
Getting Started with OpenStack, Red Hat Summit 2016
Charles Eckel
 
PDF
DevOps'n the Operating System
C4Media
 
PDF
Chicago Microservices Integration Talk
Christian Posta
 
PDF
Docker Containers Deep Dive
Will Kinard
 
PPTX
Centralizing Kubernetes and Container Operations
Kublr
 
Bitnami Bootcamp. OpenStack
Alberto Molina Coballes
 
Docker open stack boston
dotCloud
 
OpenStack Boston
Docker, Inc.
 
Containers, Serverless and Functions in a nutshell
Eugene Fedorenko
 
Intro to Docker October 2013
Docker, Inc.
 
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
AWS Vietnam Community
 
VSphere Integrated Containers v3.0
The World Bank
 
Intro Docker october 2013
dotCloud
 
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Docker, Inc.
 
DockerCon EU 2015 Barcelona
Roman Dembitsky
 
Eine Einführung in Docker
Matthias Luebken
 
Docker and OpenStack Boston Meetup
Kamesh Pemmaraju
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
dotCloud
 
Intro to Docker November 2013
Docker, Inc.
 
Getting Started with OpenStack, Red Hat Summit 2016
Charles Eckel
 
DevOps'n the Operating System
C4Media
 
Chicago Microservices Integration Talk
Christian Posta
 
Docker Containers Deep Dive
Will Kinard
 
Centralizing Kubernetes and Container Operations
Kublr
 
Ad

More from Alex Ellis (7)

PDF
The Need For A Cloud Native Tunnel
Alex Ellis
 
PDF
Still waiting for IPv6? Try the inlets-operator
Alex Ellis
 
PDF
IoT + Docker - securing the datacenter, Peterborough
Alex Ellis
 
PDF
IoT: Docker and Raspberry Pi for CamJam
Alex Ellis
 
PDF
IoT in the DataCenter @ Container Camp, London
Alex Ellis
 
PDF
Docker Overview
Alex Ellis
 
PDF
Docker & IoT: protecting the Datacenter
Alex Ellis
 
The Need For A Cloud Native Tunnel
Alex Ellis
 
Still waiting for IPv6? Try the inlets-operator
Alex Ellis
 
IoT + Docker - securing the datacenter, Peterborough
Alex Ellis
 
IoT: Docker and Raspberry Pi for CamJam
Alex Ellis
 
IoT in the DataCenter @ Container Camp, London
Alex Ellis
 
Docker Overview
Alex Ellis
 
Docker & IoT: protecting the Datacenter
Alex Ellis
 
Ad

Recently uploaded (20)

PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 

CNCF Intro & Demo - OpenFaaS framework

  • 1. OpenFaaS framework Serverless functions for Docker & Kubernetes CNCF INTRO & DEMO by Alex Ellis
  • 4. OpenFaaS DRIVING FACTORS PortabilityEase of use Simplicity Open Platform
  • 5. How did OpenFaaS come about? STORY SO FAR • “Lambda but on containers for Alexa” • Dockercon Cool Hacks - “push Docker beyond what it was made to do” • Major changes since Dockercon • Top trending Open Source project overall • > 4.4k stars • Kubernetes & external provider support • Asynchronous processing via NATS • CLI - templating • Regular contributors & Slack Community
  • 6. What is OpenFaaS? "A SERVERLESS FRAMEWORK BUILT ON CONTAINERS" • Basic primitive: containers in OCI format • Container security • r/o filesystem, privilege drop, content trust • Manage functions with scheduler/orchestrator • Rich container eco-system - commercial & community • Avoid vendor lock-in • Run anywhere - cloud or on-prem • Leverage existing skills in teams (including Windows) • Anything can be a function.
  • 7. Comes in one flavor: Cloud Native
  • 9. YAML stack format provider: name: faas gateway: http://localhost:31112 shrink-image: image: functions/resizer:latest fprocess: "convert - -resize 50% fd:1" url-ping: lang: python handler: ./sample/url-ping image: alexellis/url-ping $ faas-cli -action build -f ./sample.yml $ faas-cli -action deploy -f ./sample.yml SAMPLE def handler(req): print(‘You said ‘ + req)
  • 10. Deployed in 60 seconds QUICK DEMO
  • 11. What’s next for OpenFaaS? SET REPLICAS = 10,000 • Roadmap - supporting users • Evaluating - ADP, CodeFresh, IRT Saint Exupery, Reevoo • Additional language templates - CSharp, Ruby • Curating UX • Guides, manual & tutorials for developer-clouds • Website & branding • Contributors, sponsorship and finding a home • Speaking & SWAG • LinuxCon North America + CNCF London - Sept • Dockercon EU - October • Kubecon (?) - November
  • 13. Fun examples FUNCTIONS / DEMOS • Dockercon closing keynote (video) Derek • https://github.com/alexellis/derek Twitter + Elastic search / Youtube Downloader • https://github.com/alexellis/journey-expert Other functions • https://github.com/alexellis/faas-contributor-stamp • https://github.com/alexellis/faas-office-sample • https://github.com/alexellis/faas-img2ansi