Kubernetes and AWS Lambda can play nicely together

By Edward Wilde

Elevator Pitch

Vendor lock-in is a major worry for many engineers . A new innovative approach, will for the first time, allow open-source serverless to run on AWS Lambda or Kubernetes using the same deployment artifact, packaged using the tools we love: containers.

Description

Worried about vendor lock-in with serverless computing, but enjoy the scale, price and simplicity of AWS Lambda?

OpenFaaS is an open-source function as a service (FaaS) platform on the CNCF serverless landscape.

With OpenFaaS you can package anything as a serverless function and deploy to Kubernetes using containers. Due to UNIX-like primitives in the core architecture, it was possible to extend the system to run functions on both Kubernetes and AWS Lambda depending on user preference. The core components of OpenFaaS still run on Kubernetes but the functions are deployed and invoked on AWS Lambda

In this talk we explain how the provider model in OpenFaaS separates the control plane from the function execution plane. The live demonstration deploys a function to Kubernetes using kubectl, then invokes the deployed function via Kubernetes on AWS Lambda

Notes

Open-source contribution

Edward is a member of the OpenFaaS core contributor team. Edward has spent the last year experimenting with ways to enable open-source serverless to leverage the economic benefits of cloud vendor services such as AWS Lambda and container as a service platforms like AWS Fargate.

  • Primary author of OpenFaaS Fargate. A new OpenFaaS backend which allows end-user to run container based open-source serverless on AWS Fargate

Lover of automation and the open-source terraform community, author of several popular terraform providers:

Kibana: https://github.com/ewilde/terraform-provider-kibana

Community

Active in the serverless community Edward regularly speaks at meet-ups and conferences throughout Europe. Most recently: