how open source is bringing · docker and kubernetes what is openfaas? find out more about openfaas...

28
#vmworld How Open Source Is Bringing Serverless on Premises Mark Peek, VMware, Inc. CTO2816BU #CTO2816BU VMworld 2018 Content: Not for publication or distribution

Upload: others

Post on 22-May-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

#vmworld

How Open Source Is Bringing Serverless on Premises

Mark Peek, VMware, Inc.

CTO2816BU

#CTO2816BU

VMworld 2018 Content: Not for publication or distribution

Page 2: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

Disclaimer

2©2018 VMware, Inc.

This presentation may contain product features orfunctionality that are currently under development.

This overview of new technology represents no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery.

Pricing and packaging for any new features/functionality/technology discussed or presented, have not been determined.

VMworld 2018 Content: Not for publication or distribution

Page 3: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

3©2018 VMware, Inc.

Automating IT Ops with Dispatch Serverless Framework [DEV2828BU]Alan Renouf, Sr Product Line Manager, VMwareBerndt Jung, Sr. Manager of Engineering, VMwareWednesday, Aug 29, 11:30 a.m. - 12:30 p.m. | Lagoon L, Level 2

Creating your first serverless function with OpenFaaS on PKS [CODE5577U]Kendrick Coleman, Technical Product Manager, Open Source, VMwareWednesday, Aug 29, 1:00 p.m. - 1:30 p.m. | Power Session Theater in the VMTN Lounge

Related VMworld sessions

VMworld 2018 Content: Not for publication or distribution

Page 4: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

4©2018 VMware, Inc.

http://dispatchframework.io

https://www.openfaas.com/

https://landscape.cncf.io/landscape=serverless

https://github.com/cloudevents/spec

Links

VMworld 2018 Content: Not for publication or distribution

Page 5: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

5©2018 VMware, Inc.

Why the Move to Functions?In

crea

sing

focu

s on

busin

ess l

ogic

Decreasing concern (and control) over infrastructure implementation

Virtual machines

Functions

Containers

Bare Metal

Focus developers on LOB needs, not infrastructure

VMworld 2018 Content: Not for publication or distribution

Page 6: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

6©2018 VMware, Inc.

What Is a Function?

Auto-scaled Lower Cost

Event Driven Stateless Short Duration

VMworld 2018 Content: Not for publication or distribution

Page 7: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

7©2018 VMware, Inc.

Use Cases

• RESTful services• Stateless apps• Bursting

workloads• Parallel processing

• Edge computing• Mobile app

backends

• Log analysis• Job queues• ETL• Machine Learning

• CI/CD pipelines• Notifications• Chat Ops

• Periodic jobs• Monitoring and

alerting• Provisioning• Automation

ƒ(x)

Micro-services IoT Stream-processing DevOps IT Operations

VMworld 2018 Content: Not for publication or distribution

Page 8: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

8©2018 VMware, Inc.

Current Landscape

VMworld 2018 Content: Not for publication or distribution

Page 9: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

9©2018 VMware, Inc.

CNCF Serverless Working Group

- Shipped Whitepaper v1.0

- Shipped Landscape v1.0

- Kicked off CloudEvents

- Looking for further harmonizations

Tech community

VMworld 2018 Content: Not for publication or distribution

Page 10: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

10©2018 VMware, Inc.

CloudEvents

- CloudEvents is now a CNCF sandbox project

- Released 0.1 specification

- Showed multi-vendor interoperability demo at kubecon in Copenhagen this month

Tech Community

VMworld 2018 Content: Not for publication or distribution

Page 11: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

11©2018 VMware, Inc.

AWS Lambda

Azure Functions

Google Cloud Functions

IBM Functions

Oracle Cloud Functions

Public Cloud

VMworld 2018 Content: Not for publication or distribution

Page 12: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

12©2018 VMware, Inc.

FaaS Implementations• Dispatch• OpenFaaS• riff• Nuclio• Kubeless• OpenWhisk• Fn• IronFunctions• Fission

Frameworks• Serverless.com

Open Source

VMworld 2018 Content: Not for publication or distribution

Page 13: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

13©2018 VMware, Inc.

OpenFaaS

VMworld 2018 Content: Not for publication or distribution

Page 14: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

14©2018 VMware, Inc.

https://www.openfaas.com/

Serverless Functions Made Simple for Docker and Kubernetes

What is OpenFaaS?

Find out more about OpenFaaS

OpenFaaSServerless Made Simple

OpenFaaS was created in early 2017 by Alex Ellis

First demo’d at DockerCon 2017 at Moby’s Cool Hack Session

Easy to install and easy to use

Has become extremely popular (10k+ github stars)

Alex joined VMware Open Source Technology Center in early 2018

VMworld 2018 Content: Not for publication or distribution

Page 15: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

15©2018 VMware, Inc.

OpenFaaS Community

VMworld 2018 Content: Not for publication or distribution

Page 16: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

16©2018 VMware, Inc.

DemoOpenFaaS

VMworld 2018 Content: Not for publication or distribution

Page 17: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

17©2018 VMware, Inc.

Dispatch

VMworld 2018 Content: Not for publication or distribution

Page 18: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

18©2018 VMware, Inc.

http://dispatchframework.io/

Addressing Enterprise needs in a Functions as a Service

What is Dispatch?

Find out more about Dispatch

Dispatch featuresServerless with the Enterprise in Mind

Deploys on Kubernetes

• PKS, VKE, GKE, EKS, etc.

Broad Set of Language Packs

• Python3, Nodejs, Java, Powershell

Multiple FaaS Support

• OpenFaaS, Kubeless, Riff

• Adding Knative support

Kong backed API Gateway

• Full HTTP context available to functions

Open Source

Let's Encrypt Support for public endpoints

Multiple IDP Support• Google, Auth0, vIDM, GitHub

Organization based tenanacy

Per-User RBAC Policies

CloudEvents Native

Extensible Event Drivers• vCenter, AWS, Azure

Open Service Broker Integration

OpenTracing enabledVMworld 2018 Content: Not for publication or distribution

Page 19: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

19©2018 VMware, Inc.

What Is Dispatch?Enterprise Functions Stack

FaaS

Cloud events native

Integrate almost any IDP

Production-ready API-gateway

Integrate services via

Open Service Broker API

VMworld 2018 Content: Not for publication or distribution

Page 20: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

20©2018 VMware, Inc.

Custo

mers

Ad

ministrato

rs

Develo

pers

External Events

Inbound data

Dispatch component

Dispatch dependency

Image Registry (Harbor)

Postgres

IDP/AD

Kubernetes (PKS)

Control Plane

Event Bus

API Gateway (KONG)IAM

FaaS (OpenFaaS) FaaS (RiFF)

Service Catalog

OSBAPI Service Brokers

External Services

Secrets

Dispatch Architecture

VMworld 2018 Content: Not for publication or distribution

Page 21: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

21©2018 VMware, Inc.

DemovCenter event integration

VMworld 2018 Content: Not for publication or distribution

Page 22: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

22©2018 VMware, Inc.

Knative

VMworld 2018 Content: Not for publication or distribution

Page 23: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

23©2018 VMware, Inc.

Knative

Recent open source from Google

Built on top of Kubernetes and Istio

Components to be used as building blocks

VMworld 2018 Content: Not for publication or distribution

Page 24: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

24©2018 VMware, Inc.

Serving – main component integrated tightly with Istio and provides ingress, routing and scaling

Building – a pluggable service that builds images based on the templates

Eventing – responsible for event bus and channels (subscriptions). Event bus is pluggable to support different transports. [currently unreleased]

Knative components

VMworld 2018 Content: Not for publication or distribution

Page 25: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

25©2018 VMware, Inc.

Automating IT Ops with Dispatch Serverless Framework [DEV2828BU]Alan Renouf, Sr Product Line Manager, VMwareBerndt Jung, Sr. Manager of Engineering, VMwareWednesday, Aug 29, 11:30 a.m. - 12:30 p.m. | Lagoon L, Level 2

Creating your first serverless function with OpenFaaS on PKS [CODE5577U]Kendrick Coleman, Technical Product Manager, Open Source, VMwareWednesday, Aug 29, 1:00 p.m. - 1:30 p.m. | Power Session Theater in the VMTN Lounge

Related VMworld sessions

VMworld 2018 Content: Not for publication or distribution

Page 26: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

26©2018 VMware, Inc.

http://dispatchframework.io

https://www.openfaas.com/

https://landscape.cncf.io/landscape=serverless

https://github.com/cloudevents/spec

Links

VMworld 2018 Content: Not for publication or distribution

Page 27: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

PLEASE FILL OUTYOUR SURVEY.Take a survey and enter a drawingfor a VMware company store gift card.

#vmworld #CTO2816BU

VMworld 2018 Content: Not for publication or distribution

Page 28: How Open Source Is Bringing · Docker and Kubernetes What is OpenFaaS? Find out more about OpenFaaS OpenFaaS Serverless Made Simple OpenFaaS was created in early 2017 by Alex Ellis

THANK YOU!

#vmworld #CTO2816BU

VMworld 2018 Content: Not for publication or distribution