1
How to Implement FaaS in OpenStack for Public Cloud
Lingxian Kong OpenStack Vancouver Summit
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
1
Lingxian Kong OpenStack Vancouver Summit
2
❖ Qinling - Why another FaaS project? ❖ Design&Implementation challenges ❖ Demo
3
4
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
❖ VM? Container? ❖ Autoscaling ❖ Security ❖ OpenStack matters ❖ Orchestration tooling ❖ ......
6
❖ Container orchestrator, Kubernetes ❖ Kubernetes cluster on top of VMs(Magnum)
7
❖ Request rate/container load/
❖ Limit the concurrency ❖ Re-use the orchestrator autoscale
❖ Scale up/scale down API
8
❖ 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?
9
❖ Monitoring CPU & memory usage ❖ Function execution counts ❖ Code level performance ❖ 3rd party APMs: X-Ray for AWS Lambda, Retrace for Azure Functions, IBM
❖ Running and debugging function locally
10
❖ Mistral ❖ Aodh ❖ Swift ❖ Magnum
11
12
❖ Function execution autoscaling ❖ Function versioning
❖ Logs/Billing ❖ Event standardization ❖ Stateful functions ❖ Function orchestration ❖ ...
13
❖ IRC: #openstack-qinling (@lxkong) ❖ StoryBoard: https://storyboard.openstack.org/#!/project/927 ❖ Doc: https://docs.openstack.org/qinling/latest
14