SlideShare a Scribd company logo
Introduction to Serverless and
OpenFaaS
Vivek Singh, OpenFaaS Member & SSE@ Akamai
Cloud Native Meetup
Agenda ⚡
• What is serverless ?
• OpenFaaS
• Use case
• Other cool projects
• Live Demo
Tweet @openfaas 🤳 📸
Serverless is an
architectural pattern
What is Serverless anyway?
Monolith
MicroserviceMicroservice
Decreasing concern for infrastructure
Function
MicroserviceMicroservice
Short-lived
Single-purpose
No state
Auto-scaling
What are functions?
Function
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Production users 💻
• Bossie awards 🥇🥈
• 22.7k stars / 270+
contributors
Meet OpenFaaS
Architecture: Kubernetes-native
API
Gateway
OpenFaaS
Operator
Pod: Func 2
NATSPrometheus
Ingress/LB CRD Pod: Func 1
CRD
OpenFaaS Architecture
OpenFaaS Architecture (Contd.)
def handler(req):
r = requests.get(req)
return str(r.status_code)
handler.py
requirements.txt
requests
$ faas new --lang python3 http-status
Python
Template
Docker
Image
$ faas up1. 2.
Handler
Registry
+
Write a function
Stack files (YAML)
functions:
move-money:
lang: go
handler: ./move-money
image:move-money:0.1
environment:
content_type: "application/json"
secrets:
- bank-api-key
register-user:
lang: go
handler: ./register-user
image: register-user:0.2
environment:
http_proxy: http://corp.ad.com:3128
Problem Statement
COMPANY PROVIDES API’S AND WANTS TO ENABLE IT’S CUSTOMERS TO EXTEND THOSE
API’S AND RUN EXTENDED LOGIC ON IT’S PLATFORM


• Too many unique feature requests

• Crunch of resources
• Other priorities
Use case: Liveperson
PLATFORM TO BUILD CONVERSATIONAL AI BASED BOTS FOR COMMERCE
• Too many feature requests 

• Unique requests

• High Time-To-Market 

• Resource crunch

Liveperson Kubecon Talk
Solution
Solution Continued …
Customer
Specific
Functions
Events
Editing and Deployment
OpenFaaS End-users
arkade
KUBERNETES APPS FOR DEVELOPERS
• A simple CLI tool

• Installs kubernetes applications

• Install CLI tools
https://github.com/alexellis/arkade
inlets
CLOUD NATIVE TUNNEL FOR APIS
• Expose internal or local endpoints to public internet
• Kubernetes Operator



https://github.com/inlets/inlets
k3sup
BOOTSTRAP KUBERNETES WITH K3S OVER SSH < 1 MIN
• Lightweight CLI tool

• From Zero to KUBECONFIG with k3s

• Local or remote VM over SSH
https://github.com/alexellis/k3sup
Connect & Learn ⛵
• Join Slack
• Try the OpenFaaS Cloud
• Follow @openfaas on Twitter
https://bit.ly/2GapKWP
Join the community
Thank You!
www.openfaas.com @openfaas

More Related Content

PDF
Istio : Service Mesh
PDF
Continuous Testing in DevOps
PDF
API Governance
PPTX
Intro to openfaas
PPTX
Firebase PPT
PDF
NFV VNF Architecture
PDF
클라우드 네이티브 IT를 위한 4가지 요소와 상관관계 - DevOps, CI/CD, Container, 그리고 MSA
PDF
AWS vs Azure vs Google (GCP) - Slides
Istio : Service Mesh
Continuous Testing in DevOps
API Governance
Intro to openfaas
Firebase PPT
NFV VNF Architecture
클라우드 네이티브 IT를 위한 4가지 요소와 상관관계 - DevOps, CI/CD, Container, 그리고 MSA
AWS vs Azure vs Google (GCP) - Slides

What's hot (20)

PDF
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
PDF
Google Firebase presentation - English
PPTX
Introduction to microservices
PDF
Application Monitoring using Datadog
PPTX
PDF
Microservice Architecture Patterns, by Richard Langlois P. Eng.
PPTX
Azure Cloud PPT
PPT
Mobile application development
PDF
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
PDF
KFServing and Feast
PPTX
Chap 3 infrastructure as a service(iaas)
PPTX
Microservice architecture design principles
PDF
Aks pimarox from zero to hero
PPTX
Policy as Code: IT Governance With HashiCorp Sentinel
PPTX
Microservices With Istio Service Mesh
PPTX
Introduction to DevOps
PPTX
DevOps Foundation
PDF
Discover AI with Microsoft Azure
PDF
Microservices
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
Google Firebase presentation - English
Introduction to microservices
Application Monitoring using Datadog
Microservice Architecture Patterns, by Richard Langlois P. Eng.
Azure Cloud PPT
Mobile application development
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
KFServing and Feast
Chap 3 infrastructure as a service(iaas)
Microservice architecture design principles
Aks pimarox from zero to hero
Policy as Code: IT Governance With HashiCorp Sentinel
Microservices With Istio Service Mesh
Introduction to DevOps
DevOps Foundation
Discover AI with Microsoft Azure
Microservices
Ad

Similar to Introduction to OpenFaas (20)

PDF
CNCF Intro & Demo - OpenFaaS framework
PDF
Zero to Serverless in 60s - Anywhere
PDF
Docker Cambridge: Serverless Functions Made Simple with OpenFaaS
PDF
ApiOps Tampere meetup 17.11.2017- serverless_with_openfaas
PDF
OpenFaaS serverless framework for Docker and Kubernetes - London
PPTX
Introduction to serverless
PDF
FaaS-and-Furious
PDF
OpenFaaS
PDF
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
PDF
OpenFaaS KubeCon Zero to Serverless in 60 seconds anywhere
PDF
OpenFaaS 2019 Project Update
PPTX
Introduction To Serverless Architecture
PPTX
An introduction to Serverless
PDF
OpenFaaS JeffConf 2017 - Milan
PPTX
Implementing FaaS on Kubernetes using Kubeless
PDF
Where can you use serverless?  How does it relate to APIs, integration and mi...
PDF
Introduction to Serverless through Architectural Patterns
PDF
Serverless 101 in Montreal
PPTX
The FN Project by Maximilian Jerg
PDF
Understanding Open Source Serverless Platforms: Design Considerations and Per...
CNCF Intro & Demo - OpenFaaS framework
Zero to Serverless in 60s - Anywhere
Docker Cambridge: Serverless Functions Made Simple with OpenFaaS
ApiOps Tampere meetup 17.11.2017- serverless_with_openfaas
OpenFaaS serverless framework for Docker and Kubernetes - London
Introduction to serverless
FaaS-and-Furious
OpenFaaS
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
OpenFaaS KubeCon Zero to Serverless in 60 seconds anywhere
OpenFaaS 2019 Project Update
Introduction To Serverless Architecture
An introduction to Serverless
OpenFaaS JeffConf 2017 - Milan
Implementing FaaS on Kubernetes using Kubeless
Where can you use serverless?  How does it relate to APIs, integration and mi...
Introduction to Serverless through Architectural Patterns
Serverless 101 in Montreal
The FN Project by Maximilian Jerg
Understanding Open Source Serverless Platforms: Design Considerations and Per...
Ad

More from GDG Cloud Bengaluru (11)

PDF
Making cloud native deployments easy with Buildpack
PDF
Cloud spanner architecture and use cases
PPTX
What's new with serverless on google cloud
PDF
Managing serverless workloads with knative
PDF
Building observable infrastructure and code
PPTX
Kubernetes best practices with GKE
PDF
Serverless solutions on GCF
PDF
Anthos Application Modernization Platform
PDF
Assessing the quality of doctor consultations using ML
PDF
Intro to GKE and app deployment with Kubernetes
PDF
Google Cloud - Stand Out Features
Making cloud native deployments easy with Buildpack
Cloud spanner architecture and use cases
What's new with serverless on google cloud
Managing serverless workloads with knative
Building observable infrastructure and code
Kubernetes best practices with GKE
Serverless solutions on GCF
Anthos Application Modernization Platform
Assessing the quality of doctor consultations using ML
Intro to GKE and app deployment with Kubernetes
Google Cloud - Stand Out Features

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Per capita expenditure prediction using model stacking based on satellite ima...
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
CIFDAQ's Market Insight: SEC Turns Pro Crypto
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf

Introduction to OpenFaas