Runwasi: WebAssembly Serverless for Containerd - Angel M De Miguel Meana & Francisco Cabrera
Channel: CNCF [Cloud Native Computing Foundation]
Date: 22/11/2023

Don't miss out! Join us at our next Flagship Conference: KubeCon + CloudNativeCon Europe in Paris from March 19-22, 2024. Connect with our current graduated, incubating, and sandbox projects as the community gathers to further the education and advancement of cloud native computing. Learn more at https://kubecon.io

Runwasi: WebAssembly Serverless for Containerd - Angel M De Miguel Meana, VMware & Francisco Cabrera, Microsoft

The Worker model, pioneered by CloudFlare and others, provides a lightweight, secure way of running serverless workloads. WebAssembly (Wasm) is a portable binary format that allows code from a variety of languages like Rust, JavaScript, and Python. This talk introduces runwasi, an open-source library to develop containerd shims that leverage WebAssembly and the WebAssembly System Interface (WASI). Together, Wasm and Runwasi enable deployment of secure, lightweight apps whenever you can run containers. Thanks to the sandboxed execution environment, the workloads get an extra isolation layer. The capability-based security model that WASI follows ensures the functions only have access to the required resources. Application distribution is another challenge. Wasm modules are small and compact (20MB for a Python Wasm module). This talk will provide some of the challenges involved and a practical demonstration of what it looks like to run a Wasm serverless app on top of Kubernetes.