How to Implement FaaS in Lingxian Kong OpenStack for Public Cloud - - PowerPoint PPT Presentation

how to implement faas in
SMART_READER_LITE
LIVE PREVIEW

How to Implement FaaS in Lingxian Kong OpenStack for Public Cloud - - PowerPoint PPT Presentation

How to Implement FaaS in Lingxian Kong OpenStack for Public Cloud OpenStack Vancouver Summit 1 Agenda Qinling - Why another FaaS project? Design&Implementation challenges Demo 2 Why FaaS 3 Projects/Products/Platforms 4


slide-1
SLIDE 1

1

How to Implement FaaS in OpenStack for Public Cloud

Lingxian Kong OpenStack Vancouver Summit

slide-2
SLIDE 2

Agenda

2

❖ Qinling - Why another FaaS project? ❖ Design&Implementation challenges ❖ Demo

slide-3
SLIDE 3

Why FaaS

3

slide-4
SLIDE 4

Projects/Products/Platforms

4

slide-5
SLIDE 5

Function execution flow in Qinling

5

qinling-api qinling-engine

Keystone Database Orchestrator(k8s, swarm, etc.) worker1 worker2 workerN

runtime sidecar

...

runtime sidecar runtime sidecar

download function package authentication authorization initialize execution status update execution status execute function

RUNNING SUCCESS FAIL

slide-6
SLIDE 6

❖ VM? Container? ❖ Autoscaling ❖ Security ❖ OpenStack matters ❖ Orchestration tooling ❖ ......

Qinling - FaaS in OpenStack

6

slide-7
SLIDE 7

❖ Container orchestrator, Kubernetes ❖ Kubernetes cluster on top of VMs(Magnum)

Where the function is running

7

slide-8
SLIDE 8

❖ Request rate/container load/

container IO...

❖ Limit the concurrency ❖ Re-use the orchestrator autoscale

ability

❖ Scale up/scale down API

How the function execution scales

8

slide-9
SLIDE 9

❖ Be cautious to support image type functions ❖ Container has its own weakness(Enforce Least Privileges) ❖ Kubernetes RBAC/Resource Quota/Network Policy/Pod Security ❖ Container isolation with virtualization ❖ Will Kata containers/gVisor save the world?

Function can not be trusted

9

slide-10
SLIDE 10

❖ Monitoring CPU & memory usage ❖ Function execution counts ❖ Code level performance ❖ 3rd party APMs: X-Ray for AWS Lambda, Retrace for Azure Functions, IBM

Cloud shell for IBM Cloud Functions...

❖ Running and debugging function locally

Function execution monitoring/debugging

10

slide-11
SLIDE 11

❖ Mistral ❖ Aodh ❖ Swift ❖ Magnum

Qinling is part of OpenStack

11

slide-12
SLIDE 12

12

❖ Function execution autoscaling ❖ Function versioning

slide-13
SLIDE 13

❖ Logs/Billing ❖ Event standardization ❖ Stateful functions ❖ Function orchestration ❖ ...

Are we done yet?

13

slide-14
SLIDE 14

❖ IRC: #openstack-qinling (@lxkong) ❖ StoryBoard: https://storyboard.openstack.org/#!/project/927 ❖ Doc: https://docs.openstack.org/qinling/latest

Get involved in Qinling

14

Qinling - Project Update 10:15am-10:35am Level Two - Room 212 Qinling - Project Onboarding 11:00am-11:40am Level Two - Room 223

slide-15
SLIDE 15