Presentation: Introduction to gVisor: Sandboxed Linux Container Runtime
This presentation is now available to view on InfoQ.com
Watch videoWhat You’ll Learn
-
Learn why gVisor was created and what it helps solve.
-
Understand why a user space kernel has advantages over traditional containers.
-
See how gVisor can be used in place of a regular container runtime.
Abstract
Linux containers are a lightweight and portable way to run your services at scale. However, since they share the same host OS, they are considered providing weaker isolation than virtual machines. gVisor is a user-space kernel that implements a substantial portion of the Linux system interface to provide between applications and the host kernel. This session will introduce the architecture of gVisor and its benefits and discuss differences between other isolation mechanisms.
What’s the focus of the work you do today? You're an advocate, are you focused on talking about gVisor right now or what's your main focus?
I am focused on application development, specifically Ruby development, and working to deliver content for application developers to run their applications on cloud. I encourage application developers to use Google Cloud in addition to their current infrastructure by explaining why Google Cloud is efficient and secure on its own.
gVisor is an open source user-space kernel that Google released a few months back. It's a container runtime, you can use it along with the regular container engine like Docker, you just swap it with your existing container runtime. This is a new way of running applications in a sandbox environment.
Why is a user space kernel more secure than a container?
In the case of containers, you share the same kernel and your container applications are just like those normal processes from the kernel’s perspective. There is little to no overhead. It’s just a regular process. On the other hand, you can use gVisor to create a separate isolation layer between user application processes and the Linux kernel. So even if there is a vulnerability, the application couldn’t escape the isolation and get onto the kernel’s environment.
What do you want somebody who attends your talk to walk away with?
gVisor is a new way to secure your servers, especially when you want to run “untrusted code” (like user uploaded code). If you are providing a cloud infrastructure, you are basically running code that you don't trust. Using gVisor is one of the ways to run various types of code in a secure environment.
What do you feel is the most important trend in software today?
I'd say the most important trend in the software today is the move towards simplicity and choosing the right components. There are a lot of technologies and a lot of layers between hardware and software. In order to be efficient and secure, you need to pick the right component and the right environment that fits your application.
Similar Talks
Let's talk locks!
Software Engineer @Samsara
Kavya Joshi
PID Loops and the Art of Keeping Systems Stable
Senior Principal Engineer @awscloud
Colm MacCárthaigh
Leaving the Ivory Tower: Research in the Real World
Co-Founder and CTO of HashiCorp
Armon Dadgar
Panel: The Promises and Perils of Eschewing Distributed Coordination
Distributed Systems Engineer & runs the Prometheus user group in SF
Cindy Sridharan
EBtree - Design for a Scheduler and Use (Almost) Everywhere
Director of Engineering at HAProxy Technologies
Andjelko Iharos
Tackling Computing Challenges @CERN
CTO @CERNopenlab