
Sign up to save your podcasts
Or


Justin Dorfman | Richard Littauer
Alex Ellis
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about the confluence of Cloud Native technology and Open Source. Today, we are super excited to have as our guest Alex Ellis, who is the Founder of OpenFaaS, which is one of the most popular open source serverless projects, as well as a CNCF Ambassador. Alex takes us on his journey on how he Founded OpenFaaS. He talks about how important independence is to him, OpenFaaS, and other projects he’s worked on, and shares some influential books that he read that helped him in his journey of setting up a company. We also hear his views on how to build a sustainable open source community. Alex goes in depth about some of his other projects he created, recently being invited to join GitHub Stars program, and three eBooks he self-published that you should check out online! Go ahead and download this episode now!
[00:01:47] Alex tells us what OpenFaaS is, how adoption has gone, and how many people have used it and committed to it.
[00:04:27] Richard wonders how Alex funds the project, if there’s a business model, and if it’s big enough to have people afford to work on it.
[00:07:31] Justin brings up a keynote that Kelsey Hightower did on the benefits of Amazon’s Lambda at KubeCon and wonders if that or just other presentations in the community have an effect on OpenFaaS to become a project of its size now.
[00:11:06] How do people react to using OpenFaaS in their organization since it’s not in the CNCF as an incubation project?
[00:12:52] Alex talks about independence and how important it is to him, OpenFaaS, and all the other projects he’s worked on. He also talks about a few good books he read that helped him with his journey in setting up a company such as, Million Dollar Consulting.
[00:17:22] We learn from Alex his views on how to build a sustainable open source community and another great book he learned from called, The Right It by Alberto Savoia, who is the Head of Innovation at Google.
[00:22:42] Alex is known for creating other projects which seems to go against the idea of doing something small and seeing if it works, so we find out why he likes to create other projects.
[00:27:51] Alex tells us about being very active on Twitter, he talks about Daniel Vassallo who created a course on how to create a Twitter following, and about writing his blog posts.
[00:31:38] Alex got something from GitHub twenty-three hours ago. Find out what he got and why.
[00:36:47] What is GrowLab?
[00:39:07] Find out where you can follow Alex online and three eBooks he self-published.
[00:04:46] “Yeah, I mean it isn’t big enough to have people afford to work on it. That’s probably the biggest lie of open source is, the bigger something is that the more money is rolling into it.”
[00:05:00] “Even community contributions, as lovely as they are, there aren’t people with full-time jobs who said on their CV that says ‘Full-Time OpenFaas Contributor.’ That just isn’t the case with something like this.”
[00:05:42] “It basically says something like open source isn’t about you.”
[00:06:52] “In marketing framework, you’ll read is that a sustainable business has value exchange or value capture that is equal between all three parties: the consumers of it, the company or the creator behind it, and the community of partners, contributors, and sort of third parties.”
[00:08:28] “I actually think that managed Cloud functions are a really smart idea. They’re great to use. The cost cannot be beat in any way.”
[00:10:35] “What you don’t want to create, something I’ve really learned, is a commodity. And further than that, you don’t want to create something where there’s no capability for you to capture value from it.”
[00:13:00] “I mean, for me, what I mean by independence is not being employed by any one company.”
[00:14:17] “I had created some insights in the industry and the only way I could get the job that I wanted was by creating it myself.”
[00:25:22] “Well, some of the earliest clients I was working with, their audience wasn’t really at the stage where they were ready for full on Kubernetes, but K3s was nascent, it was stirring a lot of hearts, and people really like the idea of simplicity.”
[00:30:41] “And what I learned in the industry was you really want to focus on the impact that you’ve had rather than on the detail.”
Alex Ellis Twitter
Alex Ellis Linkedin
Alex Ellis Website
OpenFaaS
Open Source is Not About You-GitHub Gist
GrowLab
Million Dollar Consulting: The Professional’s Guide to Growing a Practice by Alan Weiss
The Right It: Why So Many Ideas Fail and How to Make Sure Yours Succeed by Alberto Savoia
Everyone Can Build A Twitter Audience Course by Daniel Vassallo
Daniel Vassallo Twitter
Serverless For Everyone Else by Alex Ellis
Netbooting Workshop for Raspberry Pi with K3s by Alex Ellis
Everyday Golang by Alex Ellis
Processing... 😅
Special Guest: Alex Ellis.
Sponsored By:
Justin Dorfman
Justin Garrison
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast sponsored by Reblaze where we talk about the confluence of Cloud Native technology and Open Source. Today, our guest is Justin Garrison, who is a Developer Advocate at Amazon. He also worked at Disney Animation and Disney Streaming Services, and we found out what he did there before going to Amazon. Justin created bashScheduler, and he tells us why he said, “This is a really bad idea!” We learn more about his book, Cloud Native Infrastructure: Patterns for Scalable Infrastructure and Applications in a Dynamic Environment, a blog post he wrote about “The Economics of Writing a Technical Book,” a talk he did for DevOpsDays Portland 2021 called TikTalk, and his cool “manpage” resume. Also, he shares some insight on how he sees recognition as something we could really bring into the software industry. Go ahead and download this episode now to find out so much more!
[00:01:18] Before Amazon, our guest, Justin, worked at Disney and he fills us in on what he did there and what he does now.
[00:04:36] Justin tells us more about his book, Cloud Native Infrastructure: Patterns for Scalable Infrastructure and Applications in a Dynamic Environment.
[00:08:46] What’s going on with remote conferences and talks?
[00:11:17] Find out more about a talk Justin recorded for DevOpsDays Portland 2021 called TikTalk. He also tells us if there is an open source community on TikTok.
[00:14:27] Justin created bashScheduler and we find out what it does and why he said, “This is a really bad idea!”
[00:20:50] How did Justin get a Linux.com email address?
[00:21:43] Justin Dorfman is impressed with Justin’s man-page resume and he fills us in on the details and some tips on doing a resume.
[00:24:26] Justin mentions a brag document that he used by Julia Evans and her website called Wizard Zines.
[00:26:25] Will Justin write a follow up book to the Cloud Native Infrastructure?
[00:29:12] Justin tells us about a blog post he wrote three years ago called, “The Economics of Writing a Technical Book.”
[00:30:43] When Justin was at Disney, he got a movie credit for working on Zootopia which won an Oscar, and he talks about recognition being something he could see bringing into the software industry. He also shares something interesting about movie credits and recognition.
[00:34:33] The guys chat about how CNCF has done a great job about having the “Chop Wood Carry Water” Awards at KubeCon and the people behind the scene that have such a huge impact in the foundation.
[00:36:46] All Things Open 2021 is coming up and Justin will be giving a talk called, “Internet Scale, Open Source with Kubernetes,” that you should check out.
Curiefense
Justin Garrison Twitter
Justin Garrison Linkedin
Justin Garrison Website
Justin Garrison TikTok
Infrastructure for Entertainment-Justin Garrison (YouTube)
DevOpsDays Portland 2021- Justin Garrison- Ignite- TikTalk (YouTube)
Cloud Native Infrastructure: Patterns for Scalable Infrastructure and Applications in a Dynamic Environment by Justin Garrison
The Economics of Writing a Technical Book by Justin Garrison (Medium)
bashScheduler-GitHub
Committing to Cloud Native Podcast-Episode 22-Thoughts on Bash Becoming Interplanetary and More with Brian J. Fox
Justin Garrison - man-page resume
Wizard Zines
Get your work recognized: write a brag document by Julia Evans
All Things Open 2021
[00:02] Justin Garrison: It's slightly different than infrastructure is code environment where you have a repo of YAML files or something. Whenever you change them, it pushes out and it says, okay, now I'm going to make the world look like that. But this infrastructure of software has a tighter loop. It has more consistency to say, hey, if anything changes, right now, I'm going to revert that change, I'm going to make sure that the world concept looks like this with running software, and not just a repository full of code. That really was like the key thing that we came out of cloud native infrastructure. We saw that pattern over and over again, at successful companies. Amazon, Netflix, Google, Microsoft, like all these companies are focusing on how do we run our infrastructure, not by people, always reverting changes, but software doing that, and Kubernetes was, again, the controllers pattern was kind of the Northstar for us to say like, this is how it's done.
[00:52] Announcer: Hello, and welcome to committing to cloud native, the podcast where we talk about the interface between open source and cloud native. We're super excited about our guest today. I really hope you enjoy this conversation.
[01:07] Justin: Hey, everyone, I'm here with Justin Garrison. He's a developer advocate at Amazon. He lives in Los Angeles like me, we share a first name. Hey, Justin, how are you doing?
[01:16] Justin Garrison: I'm doing just fine, Justin.
[01:18] Justin: Awesome. Before Amazon, you were at Disney, what's under the hood there. You work on Disney plus talk about this.
[01:26] Justin Garrison: I was at Disney animation for four and a half years doing infrastructure for the future animated films, working on render farm artists, workstations, internal servers, which is a great eye opening experience. I learned a lot of deep Linux technology and kind of how to run things at scale, especially on prem. But we're also using multiple different services and that was really when containers were starting to come around. I started focusing more and more on how that can enable developers to deploy things on prem or in the cloud. It was really impressive for me just to be able to work in that environment.
[02:00] Then I moved over to Disney streaming services, which created Disney plus ESPN plus a lot of different smaller streaming services in there. I write infrastructure for them. Behind the scenes of Disney plus as Amazon. It's a lot of Amazon, I really started learning a lot more about how to run services in Amazon at scale, and how to do things with native services. My team was specifically in charge of the centralized container infrastructure we had. With the containers that we were running in Amazon, what does that look like? How did we enable developers to deploy in simple ways, so there's actually quite a few different Disney plus talks that reinvent from last year.
[02:37] If you want to find out some of the details about how Disney plus runs very specific things, I did three or four talks at reinvents, which go deep into how we were deploying things, how we were running things, what native services we were using at Disney plus. I actually, I did a talk with my old co worker Zack. We were on the same team at Disney plus, and then I had switched over to Amazon. It was great talking to him about how we created the deployment tools and how we were managing the centralized infrastructure. Lower the cognitive load for a lot of developers to not have to learn everything about the entire stack of like, okay, where's the Linux running? Where's the container fit in? Where's the scheduler fit in? Where's Amazon components and VPC in there.
[03:17] We kind of took care of all that for them, and gave them more of a platform style environment of just saying, hey, I have an app, here's my container, deploy 100 bucks, and we'd make sure that gets done, it's highly available and all of the best practices that we had for logging and monitoring and some defaults for dashboards. All that stuff just got created for them out of the box, and they didn't have to really worry about it or think about it. Then they could tweak or change things as they had need.
[03:44] Justin: Did they just like poach you from reinvent?
[03:49] Justin Garrison: I was really excited learning so much about Amazon from Disney Animation, and Disney streaming, and just saying, hey, like I have learned a lot in the last six years at Disney. I could really turn that around and help more people do these things in Amazon do very similar things in Amazon. I was first and foremost a customer that was just like, telling people about it. I was going into my own conferences and telling people hey, this is Kubernetes. Here's EKS, here's how containers help and doing those things day to day. Then now I do it for my day job. It's not actually something I do on the weekends or at nights or anything. It's like, hey, when I reached out to Amazon and said, I love these services, can I help other people use them better? I had a great interview experience and onboarding, to say like, this is how we're doing these things here. If this is the right way, I would love to help more customers and more people just be successful in these areas.
[04:36] Justin: I mean, you literally like wrote the book on cloud native infrastructure. Was that before or after you joined?
[04:43] Justin Garrison: That was before I was at Disney animation. That was before Disney plus. Someone in the Kubernetes community reached out and said, hey, I saw you were doing some things and I was doing writing on the side my own blog. I've written for blogs in the past. I really liked writing. I like written communication and someone reached out, looking for an author for this style book, and it was really around CNCF tooling and how that looks. The first time I started outlining it, it was early days of Kubernetes. We weren't really sure what we wanted to put in the book or anything. I reached out to Kelsey at the time was writing Kubernetes up and running. I asked him, hey, what advice do you have for writing a book, and the first thing he said was get a co author.
[05:23] I was like, that's great advice. I didn't know a co author at the time. I don't know who to reach out to. I started talking to people, especially within the CNCF community. Multiple people recommended Chris. Chris, and I had never met before, we had known each other like, in passing in the community, but never met. With that, I reached out to her, and she brought so much great experience. She was a SIG chair lead for SIG AWS inside of the Kubernetes community already. I was like, hey, you're doing a lot in AWS, she was a co maintainer for cops, which is a Kubernetes deployment tool on top of AWS.
[05:58] We started talking, and it was great just to be able to take her experience from what she was doing in open source and the community, and what I was doing sort of in an enterprise side of things, to be able to say, like, hey, how does this work for anyone, and the first iteration of the book changed a lot, because at first, it was really about Kubernetes. It was about how to like set up projects and where they fit in. We wrote the first draft, and we threw away most of it, because it was already out of date. It was something that was just like, these projects change too fast, this environment changes too fast. We went back to say, okay, what are the patterns?
[06:29] What are the things that really will make the book last more than two years? What can we put in here to teach someone, hey, don't look at like a new tool, or a new, you know, option for something, look at how it works, and look at where that gets applied. That really got us down to what we call infrastructure as software, which is what you see inside of you using Kubernetes, the control loop, it has software that runs. It takes some data, and it constantly looks at that state of the world and says, what's the desired state that you want me to change? What's the current state of the world? How do I make that happen, and that's what the controller constantly does over and over again.
[07:08] It's slightly different than infrastructure as code environment where you have a repo of YAML files or something. Whenever you change them, it pushes out and it says, okay, now I'm going to make the world look like that. But this infrastructure of software has a tighter loop. It has more consistency to say, hey, if anything changes, right, now, I'm gonna revert that change. I'm going to make sure that the world constantly looks like this with running software, and not just a repository full of code. That really was like the key thing that we came out of cloud native infrastructure. We saw that pattern over and over again, at successful companies, you know, Amazon, Netflix, Google, Microsoft, like all these companies are focusing on how do we run our infrastructure, not by people, always reverting changes, but software doing that.
[07:54] Kubernetes was, again, the controller's pattern was kind of the North Star for us to say, like, this is how it's done. But also calling out other places where it's done. Like Netflix has chaos monkeys, that's like a controller pattern. That's like, doing the wrong thing. Essentially, it's causing chaos, but it's still infrastructure of software. In the case of like, it's not waiting for a git commit, it's not waiting for someone to make a change. It's always looking at the environment, always measuring the environment. It says, hey, what happens if DNS goes away, or this instance goes away or something, and it can do that as running software. You want them more productive infrastructure as software patterns, not necessarily destructive, but chaos engineering has grown into its own to say, oh, hey, like, there's a lot of great tools that will also allow you to verify that your infrastructure tooling will correct things on the fly and not wait for a human intervention.
[08:47] Justin: What about remote conferences and talks. What's going on there?
[08:53] Justin Garrison: With COVID a lot has changed in that space. I've tried to be innovative. My room is actually tore apart right now because I'm recording a couple of conference talks. I'm trying to do it in a different way. People like watching remote conference talks. This is not like a PowerPoint slide deck isn't always the most entertaining thing. But if I look at things like YouTube, a normal YouTube video and say, like, hey, what's successful here and it is more engaging, there's a little more polish and and producing put into it. Then I also think of like, if I don't want to watch a conference, what is something that I do want to watch?
[09:28] To me, it was like, well, I'll watch TV episodes. I watch 20 minutes of a TV episode. I might learn something from it. I'll do that anytime. Like I'll just keep binge watching them. But I won't do that with conference talks. What if conference talks were more like TV shows? What if we actually change the format? What if there was no slide deck? What if it was tell a story? What if it was entertaining first, and if you learn something that's good and there's actually a quote from Walt Disney where he says if you make something entertaining, if someone learns something from it, that's great. But if you make it you know, educational first and it's not entertaining, what's the point/
[10:01] That's not his goal. His goal was entertainment first, hopefully someone learned something too. I've really taken that of like, that's what I'm trying to do. I had a cube con talk last year, which got a lot of great feedback of there was no slide deck, I literally filmed the mini movie in 20 something minutes or 30 minutes. I tried to teach people what it was like to run infrastructure for this entertainment business, because it's not well known for a lot of people. I literally started with like, what is it like to render a movie? What does that infrastructure look like, then what does it look like to stream that movie? What are different design considerations? Why is that infrastructure different? Why is it something that is important to have in both sides, like you can't have the same specialty of just like, oh, the render infrastructure can't also stream the movie that needs to be separate for various reasons and why.
[10:47] Justin: Well, it's interesting, because obviously, with the past couple of years, everything's been remote and in terms of events, and I saw a few people give recorded presentations, and they were really good. There's some people that are just like, oh, it doesn't count if it's recorded. I'm like, why? You know if it's interesting, and it keeps you glued, like you were saying, like a TV show.
[11:17] Justin Garrison: I don't know when this podcast is airing, but I have a talk that I recorded that's going live next week for DevOps, in Portland. The talk is called Tick Talk, but I recorded five Tick Talks. Five Tick Talk videos, and I stitched them together and I said, hey, I could tell a story with Tick Talks. Because that as a format is really interesting to me, and it adds some things that you can't do in a normal style. Like, here's my slide deck, here's some things to talk about. Like I'm actually able to switch scenes, I even switched clothes, I recorded some of them on different days. There was a lot that went into doing that style format that was different, but being able to be creative in that space, to me has been just a ton of fun. I love bringing just that like different view on like, how do we make this better for the audience. Still, they can learn something from it. It doesn't have to be just here's a bunch of data. Oh, like learn one or two things and be entertained and more people will see it and more people will learn.
[12:16] Justin: How is the open source community on tik tok? My fear with Tik Tok is I'm gonna get addicted because every time I see a Tik Tok video, I'm like, whoa, where the hell did the time go? I was like, I can't install this.
[12:30] Justin Garrison: It's definitely an outlet for a lot of people. What are you watching Tik Tok for. Most people, I think are watching it for entertainment. They want to be entertained, they want to feel some emotion. A lot of times that's laughter, especially in the last year and a half of you know, being on lockdown and being remote. It's like people need to laugh. It's something that is kind of core to who we are and tick tock in a lot of ways brings that. In small chunks of one to three minutes, I can just keep saying that wasn't funny, keep going. But it's important for everyone. There are some people that do really cool, like developer content. I really admire the Dev Talk sort of space where a lot of people want to learn, like change their lives.
[13:05] Being a developer breaking it technology for so many people is life changing. It's life changing for what they're able to do, where they're able to work, how they get jobs and being able to afford things. There's quite a few people that I've seen on there that some of it is, the funny side of it, where like, hey, I'm a developer, only a developer would understand this joke. Also the other side of like, hey, if you want to learn how to be a developer, here's some links. Here's some things you should learn. Both sides are valid, because it's needed for depending on where people are at. But it's cool, I follow some of them and I've seen those videos on my for you page.
[13:42] It's really great just to see how people are using that. My content that I've posted is mostly like on the funny side, not sometimes on the educational side, but I really try to like, figure out the format and how you can use these different formats, podcasts, YouTube videos, Tik Toks, there's so many different mediums and they all have pros and cons.
[14:01] Justin: Yeah, no, I mean, I think that's interesting. I've seen a few that were front end focus, like the CSS community, like they always have some good memes on Twitter, but like I'd never like thought cloud native and like low level programming would have like a market there. But please drop your Tik Tok link in the chat. We put that in the notes. That's something I'm definitely gonna check out. I'm not going to install Tik Tok but I'm going to check it out. One thing that caught my eye was bash scheduler and you say it's an open source project that you wrote, and I'll let you go more into it. But you said it's a really bad idea. I'm biased because I really like bash. I love bash. I interviewed the creator of it not too long ago, Episode 22, by the way, and what is bash scheduler, what does it do what you make it for?
[14:50] Justin Garrison: I made it to learn. I'm a project based learner. I wanted to learn the Kubernetes API. I didn't know about extending Kubernetes. I started it five years ago, four years ago, something like that when Kubernetes was still early, and someone told me you can add third party schedulers to Kubernetes. I said, really? How does that work? Well, where do you do that, and I just started diving into the API. One of the cool things about Kubernetes is the structure of the APIs. Once you understand the patterns, you can do a lot, you can figure out oh, this is repeated every time and even for native objects, or CRDS or whatever. It's just the same pattern over and over again. Sure, there's libraries and things to help you do more advanced, scalable things.
[15:36] But I want to say, can I take a bash script and take a pod and put it on a node and make a pod, and that's what bass scheduler was for. It's just okay, well, let's just randomly take some pod and put it on a node. I was doing this in my free time years ago, just saying, okay, and I wanted to do it with native tools, the first iteration of it actually didn't use GQ at all. I was parsing the JSON output with a [crosstalk 15:58]. But that's already. I was like, I want to be like a bash purist here, and then not use those easy tools like JQ. When I rewrote it this past year, I was like, you know, like, I make this way shorter and more understandable for other people to also learn if I just use JQ and say, hey, this is where the object is. At that point, it turned into I wasn't learning from it anymore. I wasn't using it.
*\
[16:24] To me, it was three really cool things. One was just how easy and structure the API is to how easy it is to extend pieces in Kubernetes, by looking them up by saying like, hey, a scheduled pod is just a pod that has some metadata on it that says where it's supposed to go. Then the cubelet, everything else happens after the fact. The third thing actually was something I didn't think I would learn, but how easy it is to get a feedback loop of Kubernetes, and how much that enables learning. that was really exciting for me, because I could do a cube control proxy. I had access to the API server.
[16:56] I had used tools in the past, I have to used mezzos, I'd use these other things in the past, and I could never do it that easily. Being able to just all of a sudden, no matter where I was, or where the Kubernetes cluster was, create a cluster and then access API with my own authentication, all that stuff was just taken care of, and I just curling localhost, and then I was like, wait a minute, it's that easy. Okay, now, let me see what this does when I actually package this up in a container and put it in Kubernetes. It essentially has similar access to give it a service account, tell that you can call the API server and then I was like, okay, now that feedback loop was so powerful, because that's where people learn. It's not like reading a doc, it's not necessarily watching the video.
[17:37] It's doing something and say, having that aha moment of, oh, this is different, I get this. Now, when I've created bash schedule, that's what I want to do. I didn't want to do it with another library. I wrote a lot of Python in the past. I was like, I don't really want to do it with Python, I want to try it with bash and just see like, if I can do it with bash, it's simple enough that I could do it with anything. Just being able to do it with curl and JQ was very powerful.
[18:03] Justin: I said in the past, it always starts with a bash script. It just stays with the bash script. I mean, bash and YAML is like an every single cloud native related repository. I thought it was really interesting.
[18:17] Justin Garrison: Of every programming language, I've learned, I've gotten the most mileage out of bash. Yeah, that's the thing that I can start to.
[18:22] Justin: It's everywhere. It's on Mars, for God's sakes. It's just really great tool, I think for anyone who uses, even Unix like or Windows now it's just a great scripting language.
[18:34] Justin Garrison: For me, years ago, I set limits for myself on bash, and knowing when to turn to the tool or when to turn away from it was really important. I learned through doing my own development and working in various environments that basically I have a couple rules for when I stopped using bash. That's typically when the script itself becomes more than 100 lines. If it's 100 lines, more than 100 lines, at some point, I probably should change to something else. I can condense things that I can make it easier for humans to read after the 100 lines. The second one is if I have to accept more than two arguments on the script. Once I have a switch statement that has three plus arguments, maybe five, it's just gonna keep growing at that point. If I reach two, I know I'm gonna have 10.
At that point, I'm like, I want a better arc [inaudible 19:18] library, I want something that's going to do some better options just on that Unix style strings and set ops just isn't great. Then the third thing was really around if I needed to use an array, if I have to turn to any sort of bash array like in bash scheduler, I use one but once I start hitting an array, I know I'm doing something a little more complex for a scripting language and I try to look for something else. I can do this a lot easier in Ruby or Python or go, maybe I should just switch it up now. Because once you invest all the time, it's gonna be harder to switch. Those are kind of my three rules of like, I will use bash all day until I hit those three, one of those three things and then I will look for the next best tool.
[19:58] Justin: I like that. It's like the three rules to succeed in scripting.
[20:03] Justin Garrison: It's helped me a lot, because by starting with bash, I could build things so much faster, I can do and see things. I can't tell you how many internal tools and some open source projects, I've started that were a bash script. I use those same rules. I said, hey, this is the POC, the next version should be written in some other language for these reasons. Let's rewrite from there. We didn't invest too much time in that POC, but we got the user experience. We got some of the functionality, and then we can see how it would grow from there.
[20:33] Justin: Yeah, I mean, your disciplined.
[20:36] Justin Garrison: I failed so many times. By failing and saying once I was managing the 500, line bash script then I was like, I've made some mistakes. That's when I started learning the hard way these rules.
[20:48] Justin: That's cool. One other thing I saw, which was pretty cool is you have a linux.com email address, like, how do you get one of those?
[20:55] Justin Garrison: It was something that I didn't know about. But the Linux Foundation has individual memberships that you can pay for. For $150, you get a lifetime email address from the Linux Foundation, which is linux.com email. I paid for one along time ago, and I don't know how many like I got Justin, just because it was there. It's Justin at Linux. I was like, that's cool. It's just an email redirector it's not like, you know, anything special, but I have, you know, a lifetime membership with the Linux Foundation and it forwards that email. I thought it was cool. I saw someone else have one and they had a really short one. I was like, I think I want that. When it was a first name only short domain. That's really cool. I think I want one of those. Yeah, so it's a redirector for me.
[21:38] Justin: Still made me go wow, that's pretty impressive. Speaking of impressive, I looked at your resume, and it's a man page. Did you think of that? Or do you like getting an idea for someone else? I want to just kind of do mine like that now, but I feel like I'd be ripping you off. How did you get the idea? You just like, you know what man page, I think would be a great resume for that.
[22:00] Justin Garrison: Someone else. I got it from someone else. His name is Major.
[22:03] Justin: Oh Major Hayden?
[22:02] Justin Garrison: Yep.
[22:04] Justin: Oh, from Rackspace.
[22:06] Justin Garrison: Yep, he had at first, he's the first place I saw. He has it as an HTML, it was on his website. I condensed it, I've been using that same style for a long time, because I was so familiar with the format. I think I've had more comments in my career about the format of the man page, then the content on the resume.
[22:25] Justin: It looks legit. I was like, whoa, wait a minute, it's his resume.
[22:30] Justin Garrison: It did teach me a lot about being unique to like, get some attention. It doesn't do great with like, automated parsers for man pages, and that sort of stuff. Because I would have to export a PDF, make the HTML, I make it a single page, and then I export a PDF. That's what I would send, but also top tip for anyone doing a resume. Store it in a Git repo. Put your resume in a Git repo. I've been doing that for, I don't know, a decade now almost. I have forks of like, hey, here's the job path that I was looking at this other company. I have, you know, tags that would show hey, here's the one I submitted to this company on this date, and being able to review that history was super valuable for me as I was, you know, growing in my career and looking at other opportunities, and even just learning from my own mistakes in the past or just like, hey, this wasn't resume. dot v2 docs, like this was actually like, hey, git log.
[23:24] Oh, there's that fork that I had, that had some content that I remembered. Or here's the tag of if I applied at the same company multiple times, I could see the versions that I applied on a fork. Having that history is invaluable, because you forget so much, or at least I do.
[23:40] Justin: Especially like the older you get. I would always like be amazed that my mom wouldn't remember certain things, because I remembered everything when I was younger and then once you like, get in your 30s you just like start to go, I never said that. Did I say that? Then it's like they play it for you. I'm like, Oh my God, I totally forgot. I'm gonna start doing that. I think that's actually a really great idea because you can just see the evolution of your resume and your life, your professional career.
[24:07] Justin Garrison: Even if you're doing a Word file, right? Like you do Microsoft Word or something like that's still text. It's harder to diff HTML, the man page resume was really easy because it's just HTML, CSS, but there's definitely value. I would still commit the PDF, which was just like a blob, eventually, hey, here I can see the snapshot of the thing. I really think that I had a lot of value out of doing get from a resume, but also I would keep what's called a brag document. Julie Evans I think is her name. She does the wizard zine, the comics, online of like different Linux tools and networking tools, stuff. She's amazing at pushing all this stuff.
[24:42] I first read about using a brag doc from a blog post she wrote, I have a quarterly reminder, fill out your brag doc. I just put a couple summaries of the things I'm proud of that I work pn. Not necessarily all the projects. Not necessarily like everything I did. Just like hey, if I look back in three months, like what would be the two things that I'd say like I was proud I did that, or I was happy I worked on that, or something big I learned. I put those in the brag doc. I've been keeping those for years now. Four times a year, I fill out a section of that, and it helps with yearly reviews, all that stuff, but also it helps with the resume. Because then I look back hey, my six years at Disney, what did I work on? What was I proud of? I can review that. Hey, you know what I was really proud of like, I was proud that I worked on Moana and Wreck It Ralph. All these things are like, awesome, but like, hey, what did I actually contribute?
[25:28] What was the thing I was doing for those projects? What was it that I would put on my resume, and that's where the brag doc came in. Then I can see that tracking in the Git repo of resume. But also in those brag docs, great career advice that I learned from two different places.
[25:44] Justin: I do on my website, I post things that are public, but I don't keep track of like internal things that it can't link to. I think that's actually a really good idea. The way I version it, I do my age. I do like 3.6 and then the amount of times I've edited the site in my 3.6, 36 years, mark. That's been working good. But I think that there's a lot of things that I forget, because they're not like something you can just link to. I like that. The brag doc, I got to look that up. Is there going to be like a cloud native infrastructure, follow up book, or you kind of done with being author?
[26:32] Justin Garrison: I enjoyed being an author, I enjoyed writing the book. Chris and I debated writing version two, because there was a lot missing. When we wrote the book, it came out [inaudible 26:40] We were writing it early 17. Taking everything we learned from the 2016 through mid 2017, and put it in the book. Even things like lambda and serverless were like just coming around and security in the cloud. There was a lot of things in here that weren't necessarily available. People hadn't really failed at it enough to have a way to learn and teach people. There's things we would love to put in there as like a v2 to extend a lot of it. The pattern, I think is still the same where even with security, even with some other thing you're trying to do, if you want to run it at scale, having software manage that thing through some sort of declarative state is probably the way to go.
[27:26] But we haven't really scheduled or started working on any sort of v2 for it. We both done a lot since. She has gone on to, you know, take the idea of infrastructure software, and really implement it in different tools in different areas, especially in the Kubernetes community. Things like cluster API, are kind of direct descendants from the idea of how do you manage infrastructure, grazers great at managing pieces of infrastructure for the cluster, but how do you manage Kubernetes itself? How do you manage more things inside of the greater scheme of what your infrastructure means. Including things like pager duty schedules, and on call.
[28:02] Those sorts of things are also part of your infrastructure. People don't think of it that way. But it's really critical to have those aspects be rolled into these changes. Because once you have a disconnect between the documentation, and the runbook, and the code that's running and who gets paged, you're going to have a hard time. There's going to be some disconnect there where nothing lined up properly. Treating all of those things as critical infrastructure are really important. We still talk about it a lot, we still try to keep people educated and know what the next thing is. Like how they can be successful with the patterns. But we haven't really done anything with writing another version for the book.
[28:42] Justin: We've had a couple authors on the podcast and one fellow, he did a self publish. Then he just did like a publisher. He said, just the back and forth with the person who checks. The technical editor. He just said it was just like, I'm never gonna do that. I'm just gonna do Self Publish. It's just so difficult. But I think O'Reilly is such a great brand. It's like, it's got to be such an accomplishment. Was that your first book?
[29:12] Justin Garrison: Yeah. I wrote a blog post a while ago about the economics of writing technical book, because a lot of people ask about, like, well, did you make money, what was the process like I try to actually lay that out a lot in this blog post. It's a couple years old now from that, but actually 2018, so three years old, but I really tried to put any information that I had at the time in there because it was great writing my first book with someone, a group that was professional, and they knew the process and they knew the timing for things. I didn't have to get an editor and do all the reviews myself because as much as I like writing, I'm not great at that grammar itself, and knowing consistency for capitalization, or a comma versus an M dash or something like that.
[29:52] There's a lot of benefits in just having professionals review that work and help make it better in so many ways. The CNCF was great with the book as well because it came out right around that time of a cube con. I was working with Chris and Dan from CNCF at the time. They love that we were writing a book around this ecosystem, Dan has a quote on the back of the book, which I was forever thankful for him being able to, like be part of that and promote it as well. It was a great experience. Going forward for me, I might do like self publish in the future, for something that is more low key or something that is not necessarily like a professional endeavor, I get really excited about remote work. I get excited about culture. I get excited about process for things. I love addressing some of those topics too, which isn't necessarily like the O'Reilly technical sort of background for like the audience.
[30:44] Justin: So, you were at Disney? Did you get an Oscar?
[30:47] Justin Garrison: My first movie credit is Zootopia, which did win an Oscar. I was able to hold the Oscar. The Oscar goes to the the directors of the film.
[30:56] Justin: Are they heavy?
[30:57] Justin Garrison: Yeah.
[30:57] Justin: That's got to be really cool seeing your name in the credits.
[31:03] Justin Garrison: The recognition, I think is something that we could really bring into the software industry. It's a artifact of the history of Hollywood where credits used to be at the beginning of films. They didn't used to be this like mile long scroll at the end. They had basically the top billing, you know, people would be at the beginning of the film, and there'd be nothing at the end. We don't really have that same organization or recognition inside of software, or inside of open source. But I guess the like, closest thing you can see is like a maintainers file or owners file or something at a Git repo. But it's not really celebrated the same way. I do think there could be a notion of having more celebration and having more like formal recognition for those things.
Even if it's like, at this point in time, because movies are box software, modern movies. It's a snapshot in time of the development. It goes in a box, literally on a disk on a box. It sits in like in the bits get translated if you bring home a DVD or something like that. But even in streaming services, right, like it's a artifact in time. Software is not really like that software constantly changes. It's something that is always like, you can't take a snapshot of Disney plus. When I was there at Disney plus, like it's completely different, a lot of aspects from a year and a half, two years later.
[32:16] Justin: Yeah, I think it GitHub is doing a pretty good job with their stars program. Daniel Stenberg, who founded Carolan, he just got like a real gold star sent to him with a bunch of swag and everything. Then they highlighted them on the blog and being a maintainer for 30 plus years. GitHub is definitely do that. But it shouldn't stop there.
[32:39] Justin Garrison: Recognizing the I don't wanna say top billing, but like the real stars, the people that are very public and very much in front, they've done a lot of work for sure. They've put in the time. The first company that started listing everyone, like the first company that said, hey, we want to list our legal department, we want to list marketing, we want to list movie production, babies like that didn't come around until Pixar in Toy Story. They're like, no, everyone helped make this film. Even though there is voice actors, even though there was artists. They wanted to say, everyone should get their name in the credits. At the time, that was controversial.
[33:12] That was something that the movie industry said no, like only top billing gets that, you can't make them too long. They actually have a break. If you go back and watch original Toy Story, there's a line break that says Pixar would also like to thank it's not part of the credits. That's how they kind of were like, hey, we want to get around this rule and give everyone credit for their input on this. Everyone from onboard training to HR to finance, like they helped make this film and they put all those names in the credits, which I thought was really fascinating just to see like how that's grown to now it's just everyone. That's what you do. Like everyone gets that here at the studio for whatever the rules are working on a film like you get your name and a credit.
[33:51] Justin: It's got to be just a real big confidence booster. I don't know just something where it feels good to get recognized. I think that's definitely something that the open source community and cloud native community can take after.
[34:09] Justin Garrison: Even if your name is eight minutes down the 10 minutes scroll, it's still that recognition. It shows that you had some ownership and you can actually point back to that, and that is important.
[34:18] Justin: The thing is, especially with open source, there's so many people, non code contributors and non technical contributors that do amazing things behind the scenes, but how do we get them in?
[34:33] Justin Garrison: I do think that CNCF has done a really good job about having the chop wood carry water awards at cube con where they say, hey, this isn't someone that necessarily was in front of the camera. They were doing the work and they were really pushing for this stuff behind the scenes and recognizing those people on stage with an award I think was a great first thing for them to just step up and say like these people are really important. We need to make sure that they have that recognition, even if no one else is seeing it, they were.
[35:04] Justin: Yeah. Before I joined CNCF world, I didn't realize how many people were kinda in the background, Amy and Bill and all these folks that don't really touch GitHub or anything, but have such a huge impact in the foundation and just the ecosystem as a whole. There's other names I'm blanking on, but yeah, I mean, it's just the Christie, like all these people that are doing communications and getting everything organized for different events, and meetups and this and that. It's just really cool. It's just a cool community. I'll be honest, it's very organized. I mean, it's just really awesome to be a part of.
[35:45] Justin Garrison: The contributor experience holds the CIG, dedicated to that to grow the community and make sure that people coming on board to the community are having a good experience. Like they actually gather data to say, hey, you onboarded recently, what was good and bad, like, what can we do better and constantly trying to improve and be inclusive, and sometimes, it might even become like at the discomfort of someone else. I remember when the Kubernetes community meetings were Friday at like, 9 am pacific time, and it's great, because I'm pacific time. But that's not welcoming for everyone. Not everyone is pacific time, some people are asleep. Being able to spread that out and say like, hey, we have a lot of people in different parts of the world.
[36:26] Maybe 9am Pacific isn't the best time and actually taking that feedback and saying, well, we need to record these, they can be up on YouTube. But we also want other voices to be heard, not just people to listen to it. Being able to contribute there was important and contributes and all these other things that are focused on the community culture, I guess, is the word but the values that they have. I have all things open talk coming up next month that I'm actually recording right now about the communities specifically about how Kubernetes has scales and as a project and as code contributions and releases is absolutely important.
[37:00] Growing the community constantly, because if you stop growing the community, you're going to stagnate and you're not going to get new contributors. You're not going to get new points of view. Constantly getting that feedback loop is important.
[37:12] Justin: When she said all things open, I went there and like 2016 is a really great conference. Todd, if you're listening, you're awesome. What's your talk on?
[37:22] Justin Garrison: It's called interest scale open source of Kubernetes.
[37:24] Justin: Nice. Okay, cool. Awesome. Well, everyone, check that out when you hear this.
[37:30] Justin Garrison: I mean, this has been a lot of fun. It's been great just seeing these podcasts and other channels that have this sort of content that people that maybe are getting started or trying to understand how things work inside the broader CNCF ecosystem. It's not just about like being part of that org or being directly tied to that Kubernetes or Like you could be a part of the community and not contribute code or you can just have some other open source project that uses their projects.
[37:56] Justin: You're very right. Especially in CNCF, there are so many different tasks that need to be done that don't require a text editor. If you are on the sidelines, want to get in the game, then there's plenty of opportunities. Anyway, that's all we got today, folks. I gotts go get a haircut.
[38:20] Announcer: Listeners. I hope you enjoyed this one. Do Tune in next time. We're really excited about our lineup of guests. We have a super exciting guest next week, as well. Check out the show notes for this podcast at podcast.curiefense.io for the community to cloud native podcast. Thanks again for listening. Tune in next week. Catch you later.
Special Guest: Justin Garrison.
Sponsored By:
Justin Dorfman | Richard Littauer
Andrew Martin
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast sponsored by Reblaze where we talk about the confluence of Cloud Native technology and Open Source. We have a great guest today, Andrew Martin, joining us from London. He is the CEO of Control Plane, a Cloud Native security consultancy training and pen test firm. We learn more about Andrew’s background, how he got involved in Kubernetes and Cloud security, and more about Cloud Plane. In 2019, Andrew made some Kubernetes predictions, and we find out today if any of them came true. We also find out how he keeps updated on what’s going on with open source in Cloud Native and other things. Since he has such a wealth of knowledge, Andrew fills us in on his book coming out soon called Hacking Kubernetes: Threat-Driven Analysis and Defense, and what chapter he’s most looking forward to people reading and why. We couldn’t let Andrew go without asking him for his “Predictions for 2023!” Go ahead and download this episode now to learn so much more from Andrew!
[00:01:34] Andrew tells us what Control Plane is, what does it does, and how many people they have working there.
[00:02:13] What is the average size of company in this space and why would someone need extra security on top of Cloud Native?
[00:06:58] Andrew tells us how he got involved with Kubernetes, Cloud security, and more about his background.
[00:10:22] We find out why Andrew thinks Kubernetes succeeded and Docker Swarm didn’t.
[00:11:57] In 2019, Andrew made some predictions and Justin wants to see if any of them came true. First prediction, did hosted services catch up with GKE?
[00:12:59] Second prediction, did non-container VM-based isolation improvement happen?
[00:16:39] With Andrew’s vast knowledge Richard wonders what he uses to keep updated on how open source works in Cloud Native and if there’s a Medium Blog that he’s subscribes to. Also, he shares which conference he will be attending this year and others he recommends. Justin gives a shout-out to TAG Security and their meetups.
[00:20:05] Andrew’s book he co-wrote with Michael Hausenblas, Hacking Kubernetes, is discussed and he tells us the chapter he’s most looking forward to having people read.
[00:23:49] Justin wonders if any of Andrew’s colleagues reviewed the book or if it’s all done with O’Reilly.
[00:25:26] Andrew explains what he does to make sure that people at Control Plane are actually getting the best of the open source world without which it wouldn’t exist.
[00:29:03] Richard is curious to know what method Andrew uses to find an interesting problem and how does he do security research in a way that makes him feel really excited about doing that sort of work.
[00:32:22] We hear one last 2019 Kubernetes prediction and that is, if the tangle of YAML was going to unravel by 2019? He also talks about image and build metadata security matures which was another prediction.
[00:35:53] Richard asks Andrew if he’s worked with Dan Lorenc in the Sigstore Project and Justin gives a shout-out to Dan and Episode 20 on this podcast to check out.
[00:36:14] Andrew shares his predictions for 2023.
[00:39:27] Find out where you can follow Andrew and the work he does.
[00:03:21] “The shared responsibility model gives us a different level of interaction with our cloud provider based upon what is ultimately platform as a service or infrastructure as a service or software as a service as well.”
[00:04:03] “But when it comes to how we behave operationally the cloud provider can make no guarantees that we’re not shipping bad code to production.”
[00:10:51] “And service meshes were being shipped by Docker Swarm before they were cool.”
[00:11:29] “So, from a networking perspective, Docker Swarm was much better out of the box because it was batteries included, but changeable, and came with its own networking paradigm.”
[00:11:40] “However, the inability to run multiple containers in a pod meant that there was no flexibility of application to Pology, and that’s really where Kubernetes stole the show.”
[00:13:14] “Google had this huge infrastructure, all these Borg cells, Flexible Compute to host Gmail and Google Search and calendar, and maps.”
[00:14:10] “And so still definitely harboring loads of zero days that are probably being exploited somewhere by somebody.”
[00:25:32] “Democratization and open sourcing of security, tooling, and information has been a constant source of utter amazement to me.”
[00:26:13] “At some point, I have wondered, and I noticed the case for other security researchers in the Cloud Native space as well, if actually we’re a bit further ahead with the art of the possible than the current state of the art.”
[00:26:36] “So we try very hard to open source everything.”
[00:29:23] “I think the most important think speaking personally, but also infusing teams and displaying leadership, is to infuse or inculcate a shared sense of passion for thing.”
[00:37:11] “So actually, one of the things that I really love is the function as a service approach, on top of STO, on top of Knative, on top of Kubernetes, because you then get the full observability of the whole platform.”
[00:37:23] “You can apply this intrusion detection, you can use your namespace, aware tools in order to introspect more deeply, and you can also satisfy what ultimately the kingmakers, the developers require because there’s no point building a secure system if the developers can’t ship business functionality through it.”
Curiefense
Curiefense Twitter
Curiefense Blog
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Andrew Martin Twitter
Andrew Martin Linkedin
Control Plane
Hacking Kubernetes: Threat-Driven Analysis and Defense by Andrew Martin and Michael Hausenblas_
Hacking Kubernetes: Threat-Driven Analysis and Defense by Andrew Martin and Michael Hausenblas (Amazon UK)
Committing to Cloud Native Podcast-Episode 20: Taking Open Source Supply Chain Security Seriously with Dan Lorenc
SANS SEC584: Cloud Native Security: Defending Containers and Kubernetes-Course with Andrew Martin
O’Reilly Kubernetes Threat Modeling Course with Andrew Martin
[00:02] Andrew Martin: One of the things that I really love is the function as a service approach on top of STO, on top of K native on top of Kubernetes. Because you then get full observability of the whole platform, you can apply this intrusion detection, you can use your namespace, aware tools in order to introspect more deeply, and should also satisfy what ultimately the kingmakers, the developers require. Because there's no point building a secure system if the developers can't ship business functionality through it. Platform for functions with Kubernetes is underneath.
[00:33] Richard: Hello, and welcome to committing to cloud native, the podcast where we talk about the confluence of cloud native technology and open source. Super excited to talk to you today, been a while since we've had a podcast, very happy to be back at the track or whatever. I don't know something. Anyway, our other panelists we had today besides the illustrious Richard [inaudible 00:55]. That's this guy, is Justin Dorfman. Justin, how you doing?
[01:00] Justin: Doing good. How are you Richard? It's good to see you again. It's been a while.
[01:04] Richard: Always good to see you, too. Oh, the hat still has something on it. It's a smudge, kind of looks like LA, should say New York City. I don't know what's going on there. Anyway, we have a guest on this podcast, which is good for all of us listeners. Because it'd be the worst if Justin and I just talked. I'm talking about Andrew Martin. Andrewio is, Andrewio?
[01:23] Andrew Martin: I'll be whoever you need me to be.
[01:27] Richard: We have Andrew Martin on today who has just said he'll be whatever he needs me to be. Andrew, I need you to be the CEO of control plane, can you tell me what control plane is and does.
[01:38] Andrew Martin: Control Plane is a cloud native security consultancy, training and pentest firm. If it looks like cloud native, and it smells like security, we are interested.
[01:49] Richard: Awesome. I understand what that is pretty intuitively. How many people do you have there?
[01:53] Andrew Martin: We have about 30 people and still expanding, taking on security architects and threat modelers and all that good stuff.
[01:59] Richard: I'm familiar with the security field. I kind of know what pentesting means. I know that there are people out there who are literally hired to like, take axes and wire clippers and go through fences and figure out how to get to servers, which is the coolest job ever. For my benefit, because I don't know, what's the average size of company in this space? Is it like five people? Is it like a solo Polish dude and working out of his apartment? Does that have like 1000 people? What's going on?
[02:26] Andrew Martin: There's a huge variance. Actually, we should be just as concerned about the solo dude in his basement, who may have an incisive way into our systems as some of the bigger organizations, of course, in the UK for penetration testing, you have organizations like NCC who do it, a huge proportion of the market. But then you also have the smaller boutique firms that focus very specifically on the cloud native aspects and the interactions between the cluster and the clouds. The IM integrations, how things configured in CICD, getting into the supply chain and all that good stuff. Yeah, we we like to think we operate on more of a intuitive than check mark based basis.
[03:06] Richard: Cool. that makes a bit more sense. Now, dumb question. Security for cloud native, I thought cloud native depends upon actually using other people's code. When I'm using AWS, I'm dependent on AWS security, why do I need extra security on top of that?
[03:22] Andrew Martin: The shared responsibility model gives us a different level of interaction with a cloud provider, based upon what is ultimately platform as a service, or infrastructure as a service, or software as a service as well, where Gmail, you don't see the servers, but for the infrastructure from for example, GCP while you're actually interacting with the servers, and you have a responsibility to secure part of that stack. We trust the cloud provider to encrypt our data in transit, to make sure that there's suitably advanced encryption and folds envelope encryption, so the keys can't be retrieved and so that our data at rest is safe. But when it comes to how we behave operationally, the cloud provider can make no guarantees that we're not shipping bad code to production.
[04:09] First line of defense for any cloud-based application is the socket that faces the internet that's behind the load balancer, or whatever that would be. As we go to just serve our application code, well, that's developed by us, not developers. If we have a struts like remote code execution, in that web facing tier, well, then all of a sudden, our adversary can get in, to our infrastructure. As I say, that's not something that the cloud provider is able to give us any guarantees over because they have no insight into what we're deploying. That's very much the delineation of the model, how it's supposed to work.
[04:45] What do we do? Well, we can use the raft of modern cloud native, specifically kind of containers, namespace aware tooling, to run lots of processes on one host, let's say like a Kubernetes style. Lots of containers. For each of those containers, we can attach a granular security profile. If we think back to the LAMP stack, we would have a VM with, obviously, it's running Linux, we have an Apache web server, which needs capabilities and permissions to bind to a port below 1024. That's a privileged operation, then we've also got my sequel, which wants to bind to a port above 1024. It's a 3306 if memory serves.
[05:25] Applying same policy to the whole VM, isn't practical, you have to do that on a per process basis. That just gets laborious. Traditionally, we've seen, we've got stuff like Dan Walsh, turn off SC Linux, it's a kind of lifetime crusade, SE Linux has this level of granularity, but it's difficult to figure. Cloud Native gives us containers, containers gives us a single process per container model. That container is an easy, and relatively well hardened security boundary. We can configure that per process. We have very high fidelity of policy, very granular application or per process level. When we get that remote code execution into our container, because we've got that vulnerable application library, we can go in and save the baseline behavior for this process has deviated, we've spawned a shell, we're making other strange network requests we wouldn't do normally.
That's the delineation between the cloud security that we get from the vendor, which those underlay encryptions, and data at rest. The lifeblood, the data when it's actually passing through the system, and narrowing down the attack surface, and then running cover with tight policy for each process that run.
[06:43] Richard: Oh, sure enough CEO slash Chief Marketing Officer, cause it's just very clear. Thank you so much. You mentioned Kubernetes at one point, and I do want to get to your book that you wrote Hacking Kubernetes, which is going to be very exciting. Before I get there now that we have enough background to know that what you're talking about. How did you get involved with Kubernetes? How did you get involved with cloud security? What's your background?
[07:05] Andrew Martin: I was very privileged to come straight out of university and into a startup where I did the traditional hat juggling that start-ups are well known for. That gave me the opportunity to migrate bare metal servers on to Amazon, AWS at the end of 2008 to deal with PCI audits to do database query tuning, to expand into multiple different types of programming language. That gave me the kind of generalizing specialist angle on things. That really placed my inquisitiveness, which is probably a superpower and a huge distraction, and meant that I had the ability to kind of learn about various different domains. I moved to London about 10 years ago.
[07:42] We're just kind of looking for difficult problems, you can build high traffic websites, and fine tune them and deal with your requests per second that all the different layers of the stack. But actually, when things get really difficult, that's when regulation turns up that specifically for example, it puts an extra hop in between things, and you're looking at trying to do a low latency service. But actually, you have to deal with some sort of reverse proxy, some sort of step up gateway kind of thing. The nature of those problems really appeal to me as an engineer, because of course, all engineering is a compromise. It's about finding the right thing to fit into the hole. When that set of compromises is regulators, then it becomes a slightly more difficult and interesting set of problems.
[07:38] Subsequently ended up moving through various financial institutions ended up at the UK home office, and they were ahead of their time. Thanks to what was called the GDS, government digital services, oh and incidentally, the home office in the UK is a governmental department. It's a ministry of the interior, rather than sort of the ubiquitous back room, which we all share these days. The home office were advanced by virtue of these previous projects, and they were running Kubernetes 1.2. I turned up, dealing with critical national infrastructure deployments onto Kubernetes. At that point, it was clear there was obviously 1.2, kind of pre our back, pre network policy, pre dynamic admission control. There's a huge number of things that were widely known security foot guns in Kubernetes.
[09:15] But because I've been deploying containerized systems for a couple of years preceding that, it was clear to me that this was the direction of travel. The pod concept enabled any application deployment topology. That really differentiated from Docker Swarm, which looked like it had a horse in the race for a while, and so I double down individually and sort of commercially. Seeing that we had this fully declarative interface of Kubernetes where YAML as far as the eye can see, I built a static analysis tool called cube sec, at cubesec.io, which uses a beyond call risk models style for Kubernetes resources. This pattern of static analysis on resources on plans kind of terraform style infrastructures, code, as well as the deployment code, sort of brings us to a place where we have stuff like opa today, that generalized open policy agent.
That sort of talk on that about the same time, it was very clear the direction of travel of cloud native security. It takes the journey to almost four years next week. For those of us listening in the past or the future, so well, yeah, perseverance is key.
[10:23] Justin: You brought up Docker Swarm? Why do you think Kubernetes succeeded and Swarm didn't?
[10:32] Andrew Martin: That's a great question. Potentially, the answer is to do with the lack of pod support. With a single process per container, Swarm was only designed to run single containers, which meant that we had to run more processes in one container, so we don't have to use full in it. Side cars, we don't have side cars for logging or security or service mesh envoy style, and service meshes were being shipped by Docker Swarm, before they were cool. They created a mutual TLS overlay network across the base network between the Docker Swarm nodes over which the micro segmented application networks were able to communicate. That's a pretty advanced networking model, compared to the more flexible, but less well defined CNI model in Kubernetes. Of course, we only got network policy in Kubernetes, because Calico shipped it and as with other things, the interface was extracted from the Calico implementation and baked into Kubernetes core itself.
From a networking perspective, Docker Swarm was much better out of the box because it was batteries included, but changeable, and came with its own networking paradigm. However, the inability to run multiple containers in a pod meant that there was no flexibility of application topology. That's really where Kubernetes stole the show.
[11:54] Justin: Thank you. That's a really great answer. You're an expert with Kubernetes. In 2019, you made some predictions, and I want to see what came true and what didn't. Hosted services, catch up with GKE. Did that happen or not?
[12:12] Andrew Martin: To some extent, I think GKE, and full disclosure, we wrote the CIS benchmarks for GKE, in this year, and contributed back some sort of thoughts and ideas around the supporting services. GKE still continues to push the envelope in terms of how Kubernetes is run, and how it integrates with the cloud. A good example would be, we have the kind of [inaudible 12:30] hybrids in Amazon AWS, Google's kind of GKE response to that is GKE autopilot, which removes the node abstraction. It's advanced thinking, and it's definitely pushing the paradigm. I think GKE continues to sort of lead slightly at the things like binary authorization, supply chain security before it was cool again. I have a soft spot in my heart for GKE of course. I still think it edges ahead somewhat.
[12:59] Justin: Shout out to Dan Lawrence there, the second one, non container VM base isolation improvement. Did it happen?
[13:07] Andrew Martin: Oh, yes, this blew up. We've now got things like gVisor, which is ultimately for App Engine to run. Google had this huge infrastructure, all these Borg cells, flexible compute to host, Gmail and Google search and calendar and maps. That was how Google deployed itself globally, and the self-contained cells. Amazon turns up and starts renting compute in the form of AWS and Google, say, we can do this, why aren't we doing this, and the first thing that they build, the app engine is running untrusted third party code. That is my code and your code on Google's Borg infrastructure on the backplane. In order to isolate those workloads from the underlying Linux kernels, Google built first version of gVisor, and gVisor is a user space kernel reimplementation, which means it catches system calls before they hit the kernel, and handled as much as that is possible, and a golang based kernel emulation.
[14:04] This moves the untrusted code further away from the Linux kernel base, which of course is written in C, and still definitely harboring loads of zero days that are probably being exploited somewhere by somebody. It gave the Google security team, that warm, fuzzy feeling of security. They do a couple of other things with gVisor including dedicated IO dedicated TCIP stack. You can run it in various configurations, but they realized they were onto something here and gVisor is now also runnable as a container runtime for Docker. It will run in GKE. If it's installed on a host node, you can start containers that are wrapped with gVisor. If an untrusted process is running, and by that I mean stuff perhaps or video transcoding because they're very complex is often somewhere that you can see bugs.
[14:56] Image tragic was a good example of how difficult it is to do that safely all time. Maybe it's also particularly risky workload, as in, perhaps we allow untrusted code to be executed within. If somebody gets remote code execution, or we gift it to them, or whatever it is, they can't run exploits against the kernel, because they've got this Shim, this gVisor layer in between. It's a kind of VM based isolation. We've also got things like firecracker, which is the AWS runtime for lambda, which is the same kind of idea, it's a very stripped down Virtual Machine Manager inside the virtual machine. It also creates container namespaces. It hangs set comp off not only the VMM process, but also the process inside the VM. These are really crazy hybrid approaches that take the best of both, they stripped down the QEMU, and KVM, virtual machine drivers, and give us this kind of hybrid existence where we can still take advantage of some of the container guarantees of horizontal scalability and the resistance to churn and add these virtual machine guarantees, which include a more difficult runtime to escape. Yes, it developed and
improves, I think, is suitably in specific to claim victory.
[16:15] Richard: Andrew, you have a lot of knowledge, right? I feel like a lot of this podcast of ours listening to you, well, you're very articulate and may just be the English accent, I don't know. What's like interesting to me is that you're basically saying all this extra stuff. You're giving all this context for where this team moved here. This team moved there. I think about the average listener, and wondering what there may be wondering, and I think the main thing is, where do you find this stuff out? Like, what do you use to keep updated on how open source works in cloud native? How do that say, Google realized that we're on to a good thing with gVisor. How do you know? Is there like a medium blog I should subscribe to what's going on?
[16:56] Andrew Martin: It is a great question. There are multiple layers. One is that I've been very fortunate to attend many conferences and meet some of my heroes. I mean, I met Eric Brewer at one of the cube cons, obviously, the guy invented CAP theorem. But even so many really remarkable minds have contributed into open source and code bases. Just going to conferences, and having enough of grounding or an understanding of people's work to ask them incisive questions, is a great way to just kind of dig in a bit deeper and get some context. We're very fortunate in that we've been able to provide services, some of the cloud providers and some of the big industry entities that also sort of provides them access to this, but really good and assiduous use of Twitter lists is really key.
[17:43] Instead of just following my timeline, I have a tech list. I have a sec list. Between those, I also trigger some RSS notifications. Sifting through those things, top Hacker News comments, not all the Hacker News comments, just helps. There's definitely some diamonds in the rough.
[18:02] Richard: So staying keyed into the ecosystem is a good way. Twitter really does continue to be in fantastic way if you can avoid timeline fatigue. Using list is a good idea using conferences is a good idea. Which conferences are you say the best ones to go to? Or do you have any that you're looking forward to this year?
[18:19] Andrew Martin: Well, if all the stars align, I'll speak at cube con in person. Just prior to that is the cloud native security day, the final masterstroke, the community understanding is of course, getting involved and places like tag security as it is now and the CNCF six security, the open SSF. These are all open-source organizations that helped to push the envelope by virtue of people just contributing their time and kind of collaboration. Those are the most fascinating and interesting things. Even just combing through meeting notes to catch up on a month being away is a useful way to maybe there's a GitHub issue. Maybe you can chase a pull request down and kind of dig through some of those things. In terms of conferences though, yeah, absolutely keep on the tag security day. Prior to that, we'll run the CTF there as well. Sign up for tag security. You also have the opportunity to run some nefarious, I don't know how much I can reveal but red pill blue pill, style CTF.
[19:21] Justin: Do you ever attend the tag security weekly meetups?
[19:23] Andrew Martin: Yes, I do.
[19:26] Justin: I learned a lot. My boss was like, check this out. I'm like rolling my eyes like oh God. But then I went to him. I'm like, wow, it's a lot of great information. I haven't run into you yet or maybe we did. I just didn't see you because there's so many people on it. Yeah, shout out to tag security for sure.
[19:44] Andrew Martin: Yes, I managed to be a member from early doors. Then my attendance is not what it could be.
[19:50] Justin: I wasn't trying to throw you under the bus or anything like that. I think Richard brings up a great point like you're expert in Kubernetes and I think that's why O'Reilly probably went to you and said, Hey, bro, we need to write a book. Let's talk about this Hacking Kubernetes book. It's not out yet. You wrote it with a fellow named Michael. When does it come out? Let's talk about this book.
[20:15] Andrew Martin: I discovered by virtue of searching for it on Amazon the other day, that is due out on the 30th of October, November. Yes, November, I think those briefly concerning and yeah, I wrote it with my excellent and studious co author, Mr. Michael Hudson [inaudible 20:31], who is a prolific writer already, and took me under his wing to guide me through the process. It was tremendously enjoyable to write. The opportunity for consistent research and making sure that I understood a concept sufficiently to write a few sentences on it is really positive reinforcing learning cycle for me. Really as I said, this acquisition of knowledge and interesting things, very much powers my kind of intellectual engine. I really enjoyed that part of the process.
[21:05] On the flip side, it required excessive dedication to the cause. Some sacrifices of various things, such as enjoying a drink from time to time, I was just able to hand in the final draft a few weeks ago. The cognitive unbundling that occurs when that happens, because everything that turns up is potentially something for the book and how do I contextualize this? Cross reference. Did I make that CV in there? It was a tremendously enjoyable exercise to undertake. What we've attempted to do is analyze the threat landscape against Kubernetes bathed in the light of historical vulnerabilities, and then try and paint some kind of future ideal hardened security state based on the impact of remediating risks, rather than kind of Iron Maiden lock everything down and cut move. Hopefully, people find that in some way useful.
[21:59] Richard: What do you think the most accessible chapter is that you look forward to having people read?
[22:03] Andrew Martin: I really enjoy the first chapter. Because it starts off with the pod and it decomposes the pod looks at a container. The great thing about Kubernetes container and Linux security is they are microcosms and microcosms of each other. The more that you zoom in on Kubernetes security, but it's actually container security for the process, of course, rather than the orchestrator. Then you drill down there and container controls are just Linux kernel controls, and then we go all the way down, and then we're back into some archaeological spelunking through why specific design decisions have persisted for however long. The book features my archetypal eight bit nemesis, the nefarious Captain hash jack. His prime directive is to plunder the data, that courses through the veins of the example organization of which the reader is a fictional seizer.
[23:00] We contextualize a number of attacks with the intent of a threat actor of Captain hashtag description. He's state sponsored, he's organized crime level, he's where a lot of organizations today will find they potentially have problems. Hopefully, this despite being slightly fantastical, anchors it somewhere close to reality and makes it more of a useful set of recommendations, rather than something a bit more abstract. Starting with the pods, is my favorite piece. We actually had to move Captain hash jack attack on a container from the first chapter into an appendix, because it's a content of 12 pages to truly explore the periphery. Combination of chapter one, and the appendix helps to set the scene for the rest of the book and ecosystem.
[23:48] Justin: Do you have any colleagues of yours, like review the book? Or is it all done with O'Reilly?
[23:55] Andrew Martin: I was so grateful for some incredibly detailed reviews. Editor, O'Reilly, [inaudible 24:00] was awesome. She connected us with some really established and advanced authors who were very competent with their reviews, and obviously preeminent in the space. I then reached out personally to a couple people in the scene who really, again, that they will get called out beginning but provided some invaluable feedback and also some philosophical views on some points that were made with a kind of higher level generalist perspective, which was, it was challenging to read. It meant that I had to sort of exercise my own thought patterns on the thing. That was one of my favorite parts of the whole process. Then finally, I obviously disseminated the "work" to the control plane team internally, and a number of people came back, what I would describe as critical bugs in parts of the book. We ran an internal bug bounty, and numerous people scored.
[24:57] Richard: This reminds me of one of the questions I was asking myself earlier while you were talking, which is control plane has 30 people in it. Security firm, obviously, you can't have all your tools be open source, because that doesn't work for security at all. One of the questions I have is how do you disseminate open source knowledge about cloud native infrastructure, cloud native programs through control plane, you just mentioned internal bounties, which is a really great idea for things like a book. But then a book is also a closed product that doesn't have to be re updated every time. What do you do to make sure that people that people at control plane are actually getting the best of the open source world without which it wouldn't exist?
[25:33] Andrew Martin: Democratization and open sourcing of security, tooling and information has been a constant source of utter amazement to me, ever since sort of starry eyed, I found, OWASP, when I was about 20, or so. As I said, I had this very privileged position of being in this company and having responsibility. I would drive to London, Bristol, which is 100 and something miles to attend OWASP events. At one point, I received the big thick book, and the last sort of 100 pages for all XXS attacks. People printed out all the Unicode strings that would cause problems. It just blew my mind. At some point in control planes existence, I have wondered, and I noticed the case for other security researchers in the cloud native space as well. Actually, we're a bit further ahead with the art of the possible than the current state of the art. There is potentially potentially exposing things that are not yet target for attackers.
[26:33] But clearly they will be in some period of time. We try very hard to open source, everything. We open sourced the threat models that we built for the financial services use group for Kubernetes. Of course, CIS benchmarks, open source, we've just built a new training course for O'Reilly called threat modeling Kubernetes, which has all of our ways and means to do threat modeling. Including, kind of default list of threats. Obviously, we have absorbed work that community's done, I folded that in with our own particular slant. I mean, we claim no credit for it, we're just happy to sort of push back. Where the difficulty comes, I think is the open core versus hosted security tool balance.
[27:13] We see this with a number of tools, whereby the core enforcer or scanner, or security tooling is open source. You can take that and you can deploy it in your infrastructure, and you can have a good result. But if you want to do that at scale, and have an awareness of what these things are doing over multiple, perhaps clusters, or nodes, or availability zones, that's where the secret sauce kind of SAAS hosted piece comes in. The only thing we don't open source is the infrastructure behind the accumulated simulator project, which is what we use to run the Capture the Flag events at cube con. We've been running that with tag security for the last two or three events. We have a wonderful time that the community contributes and totally good fun.
[28:03] Justin: Yeah, no, I hear that's like one of the biggest side events there. Now it's so cool talking to the creator.
[28:12] Richard: You don't mind, I want to see if we can get behind the creators brain a bit more to help out future participants of capture the flag. Earlier on in this podcast, you were talking about how you enter the back control plane, and you said I was looking for a difficult problem. You've also mentioned several times that you're incredibly privileged, which this is to me, those go together, once you've solved the bread and butter, once you have rents covered. A lot of people, in our circumstances, I include myself in this, are looking for difficult problems. I think for you is a particularly interesting question because you're a security researcher, and security researchers, by default are looking to find ways around things. Are looking to find problems, questions, answers, which are not public, which are hidden, which are not going to be written somewhere in an easy one to three step guide. I'm curious, I'm not sure how to best phrase this question and thinking about it, whether to ask what's interesting to you? Or what method do you use to find an interesting problem? How do you do security research in a way that like, makes you feel really excited about doing that sort of work? What does the difficult problem mean to you? How do you approach that question?
[29:20] Andrew Martin: That certainly triggers some self reflective thoughts. I think the most important thing, speaking personally, but also in fusing teams and displaying leadership, is to infuse or inculcate a shared sense of passion for a thing. I'm very fortunate again, that everything in cloud native is shiny, and so it's easy to find things that are, and we have this concept of flow, from a psychological perspective, something is a little bit more difficult, and we're a little bit less comfortable with it than the average. We can get into the state of psychological flow where we're kind of chasing the dragon of intellectual stimulation, and being in that quadrant of the graph is where I try and organize my time as an individual, where I try and infuse the organization that I'm very lucky to be a part of.
[30:08] Finding those things that inspire passion in people, and then performing research on them, it's kind of a happily, conducive feedback loop into itself. Finding that level of challenge, rears its head up with the interest levels of technology. Right now, there's a lot of interest in next generation, process isolation, and those kind of gVisor and capture containers and all that firecracker, good stuff. There's also a lot of interest in EBPF base kernel instrumentation and process analysis. There's been so much momentum building up for this, and the tooling is all available. We've just been waiting for the kernel versions in our deployed servers to catch up with the kind of five mainline, which brings in all this new functionality. Additionally, this gives us a whole new way to rewrite a number of tools that have had durational problems.
[31:05] I mean, of course, when Kubernetes started, IP tabled rule sets that were kind of in the hundreds or 1000s, when they reloaded, that was a two to three second downtime on all netfilter traffic, and you just have an outage. They had to rewrite IP tables with EBPF, which is the NF tables kind of shim. We can still interact by IP tables. But the netfilter code in the kernel that deals with that is now this hyperfast performance EBPF. These kind of things where we know the problem space, but there's something revolutionary, can really lead to lots of new code, we want new code because it brings us new features. But of course, new code is less tested or more potentially subject to bugs. Then we're into the constant software is never finished. It's part of an ecosystem that's always moving Moxie marlinspike can be credited greatly for that. These are the things that really piqued my interest and kind of keep me entertained from a professional perspective.
[32:00] Richard: Love that answer also [inaudible 32:01] is the coolest just straight out saying that. Excellent. You've personally answered one of the questions I was going to ask next, which is what are you most excited about in the cloud native security space coming up. You've already covered a few things, this may be a good point to go back to your 2019 Kubernetes predictions. The last one of the ones that we're going to get to is that the tangle of yellow was going to unravel by 2019. Did that happen?
[32:28] Andrew Martin: To some extent, there were, I don't know, leaps, bounds and steps that these taken in the right direction. We see things like customize, that make things at least easier to template across different environments. But I think the underlying issue of kind of meta templating or like higher order templating over YAML is still almost where we are.
[32:52] Richard: Okay, so it has nothing yet but maybe in the future, we hope. What about image and build metadata security matures? Has it matured?
[32:57] Andrew Martin: Yeah, that's a great one. Well, looking back on it, I appreciate the fact that I wrote it, let's say. What we seen is tools like cosine move into the space. Control plane have been hugely supportive of work out of the NYU cybersecurity labs, like tough and in toto over the past few years. But they were always lacking adoption. Which was able to bring content trust, as they called it into Docker, that required a secondary server to be deployed alongside an OCI registry. That overhead it was too much for most organizations. It's not a not a great deal of difficulty. But there was no stimulus. Suddenly, we see the solar winds loss of attacks. We see the kind of rebill pipeline attacks as well this year. Broadly, supply chain just enters the public consciousness at 1000 miles an hour, and starbursts when it's there.
[33:54] Suddenly, everyone's talking about supply chain. What we've now seen is this use of image and build metadata in all sorts of different ways. There's this amazing project called recall, that will take the hashes of things that we've built, and put them in a append only transparency look. We can now do this for binary artifacts. Then you've got tools like cosine, which can integrate the update framework with container signing, and give us this brand new signing style that actually encompasses all of the existing state of the art with one slight innovation, which is to put the signed metadata and signature into an OCI image and push it to the same registry as the image that it's signing.
[34:41] Because we're using that unique identifier for the image means that we have an immutable or a hash based link between the two. We can then deploy to production, validate that some evidence lake or recall or some external system has proof that thing was signed revalidate the signature to ensure that it's signed by somebody that we trust. Then finally, that's our admission control into Kubernetes. In production, the state of the art is now integrating tecton chains, whereby in toto is baked into every build step, you get the end of the build, build a container, you sign it with six store that implicitly trusts all of the cumulative in toto stages before that. We're into an amazing place where we can add software bills of materials into here and sign those two. While we may not have fixed the ultimate problem, which is third party code risk is very difficult to hedge against.
[35:36] GitHub is full of potentially untrusted code. We're now in a position where we are much stronger against insider threats. in the event of a discovery of potentially malicious code, we know which containers or which systems have that code deployed, and we can operate and affect patching strategy.
[35:52] Richard: Are you working with Dan Lorenzo on that? The six door?
[35:55] Andrew Martin: Yes, we have worked with Dan and Luke Hinds in the six door project.
[36:03] Justin: Shout out to Dan and Episode 20. You can hear more about that.
[36:07] Richard: Cool. You had one more prediction in 2019. But I think in the interest of time, I want to ask a different question. Which is predictions for 2023?
[36:18] Andrew Martin: Okay, that's a great question. Kelsey Hightower has been saying that Kubernetes is for building platforms. It's not the platform itself, building platforms, I think we're moving closer and closer towards that. What's happened over the past five years is that big companies who've built platforms on top of Kubernetes have been subsumed into larger organizations. We still haven't quite seen the thing. Rancher is doing an amazing job, but again, sort of [inaudible 36:40] last year. Still some sort of abstraction over Kubernetes, I think kind of makes that a little bit easier. I really love the GCP cloud run functionality, restates container and just runs it by itself. We're back into the same Swarm question there because of course, it's a single container, you don't have the lambda, secondary security container thing. But GCP cloud run runs on App Engine, so through gVisor onto App Engine, but it's k native compatible.
[37:11] Actually, one of the things that I really love is the function as a service approach on top of SEO, on top of K native on top of Kubernetes, because you then get full observability of the whole platform, you can apply this intrusion detection, you can use your namespace, aware tools in order to introspect more deeply. You can also satisfy what ultimately the kingmakers the developers require, because there's no point building a secure system if the developers can't ship business functionality through it. Platform for functions with Kubernetes is underneath.
[37:43] Justin: When we had Kelsey on a couple months ago, that's what he was saying. He says lambda and in open FAAS Functions as a Service, that's the future of like software development. I don't know if it'd be 2023. But who knows, I mean, maybe it will be. It could totally shift.
[38:01] Andrew Martin: We certainly see that with some of our customers now, there is a hybrid deployment approach when they're trying to build global platforms in multinational organizations, where they're interested in targeting everything from a virtual machine, through a Kubernetes into a server less platform. Of course, developers will go for the least friction, operations teams probably want to have some balance of uptime and availability and observability for things, which traditionally have been slightly more difficult with Functions as a Service. We've had to do things like keep functions warm by pinging them every so often, just because the underlying runtime garbage collect them. There are still operational and developer frictions when it comes to running these things in production. Certainly, it's the direction of travel.
[38:47] Richard: Awesome, great answer. Thank you so much for coming up with that on the fly. In fact, thank you for talking just in general during this entire podcast. It's been great to have you and to learn about your background, learn about control plane does learn about your new book coming out October, November 30 to you who are listening, this is going to be called Hacking Kubernetes. You have to say it with a British accent from now on. You can't say Kubernetes that's over. That'll be very fun. Please check it out. That's coming out of O'Reilly it will be available on Amazon and we hope that your predictions 2023 come true along with Kelsey Hightower. Now, Andrew Martin before you leave, we know that we can access you on Twitter and we can put the Twitter handle sublimino on our favorite Twitter list for tech security and probably other things if we wanted. We know we can see control plane @control-plane.io. Is there anywhere else on the internet where we can follow along with your thinking your words and the work that you do.
[39:52] Andrew Martin: There are a couple of interesting escapades you may wish to follow along with. One is sans sec. 584. Which I was very lucky to have the opportunity to write with some excellent co authors and co trainers. That is attacking cloud native and Kubernetes. It's a three day deep dive into red teaming, and then blue team responds. It ends up being a purple mix of the two. There is also a course for a rally called threat modeling Kubernetes, which is the paper-based view of the hands on sans lab. It teaches you things like connectivity matrices, how to model systems, and that default set of attacks and threat objects that we look to remediate against. It should be a jumpstart into Cloud Native defense.
[40:43] Justin: Is that based off their [inaudible 40:44]
[40:47] Andrew Martin: It's not actually in tune with [inaudible 40:46] yet. We do have one exercise in there. It will all be embedded in the future, though. At the end, we set up a lab, shout out to Ben Hall, the [inaudible 41:00]
[41:03] Richard: Well, follow along with those audience. Thank you so much for listening. Andrew, thank you so much for talking. It was great to have you on.
[41:11] Justin: I've learned so much like I don't think I can hold it all in my brain. But that's the beauty of this podcast is I can listen over and over. T hanks so much for coming on. I really appreciate it.
[41:23] Andrew Martin: Absolutely. It's been my pleasure. Thank you very much.
Special Guest: Andrew Martin.
Sponsored By:
Justin Dorfman | Richard Littauer
Brian J. Fox
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about the confluence of Cloud Native and Open Source. Today, we have an amazing guest with a long history of open source in the space and that is the legendary Brian J. Fox, who is the Co-Founder of Orchid, a blockchain company that started in 2017. Also, he created the Bash Shell and he was the first employee of the Free Software Foundation. Brian shares the story of how he ended up at FSF, his thoughts on the success of Bash after all these years, which includes running on Mars currently. We learn everything he did before he Co-Founded Orchid, he tells us all about Orchid and how it works, his thoughts on the open source movement and where he sees it going, and more about the value of cloud companies. We also find out Brian is a bassist in a band, so if you want to find out more go ahead and download this episode now!
[00:01:51] Brian tells us how he ended up at the FSF.
[00:05:08] Justin wonders if Brian thought Bash would still be around and he tells us it’s running on Mars in the helicopter.
[00:07:08] Richard brings up that Bash is on Windows and asks Brian to talk about how that happened and what his reaction was.
[00:09:00] At some point Brian left FSF and went to Orchid, and Richard wonders how that started. Brian fills us in on all the things he did in between FSF and Orchid.
[00:14:01] We learn how Orchid works and its physical infrastructure.
[00:18:51] Brian tells us about the protocol being strictly peer to peer, and he explains more about the Orchid network and the bandwidth.
[00:22:11] Justin asks if Brian still seeds or if he has enough users where it’s just kind of self-sustaining. Brian mentions OXT which is the name of the Orchid cryptocurrency.
[00:23:36] Richard is curious and wants to know what Brian thinks about open source as a movement in the last two or three years, where does he think it’s going, and how does he think he’s leveraging that in Orchid in as best a way possible to make sure the success of the system that he’s building.
[00:27:57] We find out from Brian that he’s all about problem solving and the architecture that goes into the problem solving and it’s about the expression.
[00:29:40] How does Brian thread the line between being an open source diehard and I run a capitalist firm.
[00:32:33] Justin does a U-turn to the conversation and goes back to the VPN industry and wants to know Brian’s thoughts on the current market of traditional VPN’s that are not crypto powered.
[00:33:33] Brian tells us how he deals with requests from law enforcement agencies.
[00:35:54] We end with Brian telling us where you can find him online, he tells us about his band Chillpoint that you should checkout, and he leaves us with thoughts on cloud companies not going away.
Curiefense
Curiefense Twitter
Curiefense Blog
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Brian J. Fox Linkedin
Brian J. Fox Twitter
Chillpoint Band
Bash
GNU Bash
Free Software Foundation
Orchid
Orchid OXT
nixCraft
[00:01] Richard: Bash is awesome, I use bash every single year as it is.
[00:03] Justin: I do too, it's always open.
[00:05] Richard: So I'm also just incredibly grateful for your work.
[00:07] Brian J Fox: Thank you guys so much. I use Bash all the time and I just want to quickly say that the people who provide documentation and instructions on how to use these tools that have been around a long time, they are doing a fantastic service and NixCraft is one of those. You should check them out if you can online.
[00:57] Justin: Normal.
[00:57] Richard: Yes, me too, just totally normal, just in no way exceptional or interesting.
[01:02] Justin: I'll be honest. I'll be honest, Richard, I am a little nervous because who we have on right now is a legend. So go ahead.
[01:10] Richard: Yes, but he hasn't done that much, right? Like Brian J. Fox, he's smiling right now. He's just a normal guy, right? Wearing a black t-shirt, got glasses on.
[01:18] Brian J Fox: Yes, I would say of the three of us I am definitely the most normal.
[01:21] Richard: That's true. That's true.
[01:22] Justin: Could be.
[01:23] Richard: Audience, you can't tell I'm wearing a pizza for a hat, not true. Brian has a long history in this space. He's the co-founder of Orchid, a blockchain company, started in 2017, but he's also done a lot more than that. So he created the Bash Shell. He was the first employee of FSF, otherwise known as the Free Software Foundation. That's about where my brain just stopped and was like, wow, I don't even know where else. How did you end up there? How did that happen?
[01:54] Brian J Fox: How did I end up at the Free Software Foundation?
[01:56] Richard: Mhmm.
[01:57] Brian J Fox: So, I was excited about working with computers and I started writing some software on an Apple two computer around, I don't know, 1980, 1981 and I was teaching a gifted and talented; I'm ancient, by the way, I'm about a million years old.
[02:14] Richard: He looks like it too.
[02:15] Brian J Fox: Yes, I do. I appear quite old. I'm just kind of a bent-over, decrepit old man. I was teaching gifted and talented seventh and eighth graders and the language that they were learning, I was doing some computer stuff with them, and the language that they were using was called terrapin logo and the terrapin logo software was somewhat broken and I used to delve in there and fix it in the Apple two, you could break into the monitor and make changes to your running software by actually just patching the code live. So I was doing that one day and the owner of the Terrapin company saw me doing that and said, wow, would you like a job? I said, sure, why not? And I already had relationships at the MIT AI lab, Marvin Minsky was a family friend and I went to school a few years ahead of his youngest twins, Henry and Julie Minsky, who are still great friends of mine by the way, wonderful human beings.
[03:12]So anyway, I started working for Terrapin and the two other guys that were working at Terrapin were also grad students at the AI Lab. So there was a lot of overlap between things that were happening at the artificial intelligence lab and this job I was doing, and I wrote a full-blown version of Emacs for the Apple two called A-Macs. It was an 80 column editor with dynamically loaded libraries and printing modules and multiple languages. It was free. It was pretty full-featured and I was very excited about it and I wanted to show it to my, then at that time hero Richard Stallman, because he had written Emacs and Emacs to me was the embodiment of how to think about software architecture. I could see from using the program, I could kind of understand the architecture behind the way in which it was built and I thought that was super elegant. So that kind of made me want to write a version of Emacs, so I did that and then I ran over to the lab and I saw Richard Solomon coming down the steps and I said, Richard, I have to tell you something. He said, what? He didn't know me at all. I said, I wrote this complete version of Emacs for the Apple two, and it's called A-Macs and it's got all medics completion and everything, it's super good and he says, well, I don't think I'm a good distribution point for that and then left.
[04:25]He kind of had completely missed that I was saying, you're my hero and I tried to emulate you and thought that maybe I was talking about distributing software. So the guys I was working with a Terrapin about six months after that said to me, you should talk to Richard Stallman, he's trying to start this free software thing and I think it fit in really well with that. I said, well, he didn't really want to talk to me when I talked to him the last time, but I'll try. So they had told Richard that I was coming over. So, I came over and Richard said, I hear you're a real wizard and we'd love to have you working in the free software foundation. I said, that sounds exciting and Richard and I hit it off pretty well and then I started writing software for the Free Software Foundation and that's one project I knew that started.
[05:06] Richard: Wow.
[05:06] Brian J Fox: Yeah.
[05:07] Justin: Did you ever think Bash would be still around when you were first developing it were usually like, oh, this is going to be a game-changer or is it just like, ugh, I have to do this task?
[05:20] Brian J Fox: Software doesn't really have a good shelf life just in general and that was true in the early eighties that was still true. So I never thought that any piece of software I wrote would have any longevity at all and I'm super surprised to find out that many pieces of software I wrote have some longevity and of course, Bash is the most famous of those and is now available on multiple planets as well as basically every computer that exists on the earth today.
[05:49] Richard: Is Bash running on like on Mars right now in like one of the rovers?
[05:54] Brian J Fox: It's running on Mars in the helicopter, yes.
[05:57] Justin: Nice.
[05:58] Richard: Cool, okay, that's awesome, you're literally in multiple planets, that's really cool.
[06:02] Brian J Fox: Yes. Yes. Interplanetary software, yes, that's pretty good. I never really thought that it would have this lifespan and I think it's just the nature of the very specific thing that Richard and I and others were doing with this project Canoe I did, this completely free version of a Unix replacement that was completely free. I think it's just because of that, that this piece of software has this longevity. If I wrote a brand new piece of software that delivered brand new functionality, then I think it would have some lifespan and other people would then take that and improve upon it and make something even better or different. But in this particular case, we were trying to recreate a legacy system and it had to be perfectly matched to the legacy. It had to be a hundred percent backward compatible. So we could add things to it, but it had to be a hundred percent backward compatible and when that happens, when we delivered that it became the defacto standard. So all the software that came before that uses the shell to do stuff, continue to rely on the shell and that's why it's been around 35 plus years.
[07:07] Richard: So I know that it's now on windows, that was announced in 2016. Can you talk a bit about that story, how that happened?
[07:14] Brian J Fox: I don't know how that happened. Well, what I think really happened was Bill Gates left the scene, stopped kind of pushing hard on what he was pushing hard on and he's a relatively proprietary guy and his successor was kind of proprietary and then third guy came along and he's realized the modern world is not really looking to stick with only proprietary solutions and they realized that free and open-source software is important, which is why Microsoft did their version of helping free and open-source software by for example, buying, GitHub and delivering the PowerShell, which is...
[07:51] Richard: Classic.
[07:51] Brian J Fox: Yes.
[07:52] Justin: What was your reaction when you heard that? Because for me, I remember where I was, I was at my desk when I heard this and I was like, how did this, what, like, to me, it was just like a total shock. How did you deal with it?
[08:07] Brian J Fox: I was kind of like, well, it's about time. I mean, for the previous 20 years, we had a Cygwin, which was basically a Unix-like environment that you could run on a windows machine and it was just mildly painful to get set up and to use and to try to get it to interoperate with all the other windows stuff. So when Microsoft started making noises about embracing open-source, it made sense to me that one of the first things they would do is kind of take the staple pieces of software and make sure they were running on their own.
[08:41] Richard: You mentioned Bill Gates changing his mind, which I kind of have to ask, Richard Stallman is obviously a very controversial figure today, some of the stuff he's done in the past few years totally sucked and various; it's like not someone I even want to talk about anymore. I'm kind of ashamed I share his first name. So at some point you left FSF then you moved on and you started working on Orchid. I'm curious how that started.
[09:06] Brian J Fox: So I did not move from FSF to Orchid. There were about 30 years in between and believe it or not, I've done other things since then. So here are some things that I've done since then. So I moved to California from Boston and I continued to work for the Free Software Foundation, writing software for Project Canoe and championing open-source and free software. And then I started to travel around and hang out with all these people that I'd met at MIT in different parts of the world and I did that for about five years. Then in '95 I had come back and a friend of mine wanted me to work with him at Wells Fargo and I resisted quite strenuously and then eventually got convinced to. So I then wrote the first version of Wells Fargo's online banking and Wells Fargo was the first bank to go online here in the United States and after they didn't get ripped off immediately, other banks went online, which was great. In the course of doing that, I realized there were no good tools for building database-backed websites. We wrote that in C and you wanted to change the color of something, the designer would say, I want to make that thing be a darker blue and you would get into the C code and change the color in the C code of the thing that's going to make the web page.
[10:18] Richard: Wow. What year was this?
[10:19] Brian J Fox: '95.
[10:21] Richard: Wow. Okay.
[10:22] Brian J Fox: And then in August of '95, I wrote programming language for programming the world wide web called Metta HTML and it was a HTML compliant language, meaning that the text of the language looked like HTML, could look like HTML and you could have, but it was functional language like Lis-Pro scheme, so you could have functioned calls and do all these things. It was executed server-side, not client-side. This was so early on that some browsers didn't support the table tag. I mean, it was like that, like we had the blink tag [Inaudible10:56]support. So this language would allow you to do things like define a function calls table that looked like an HTML side called table and you could just pass it through for browsers that supported that or you could turn it into a bunch of pre-statements and make and draw a beautiful ASCII table.
[11:16] Richard: Polyfills before polyfills.
[11:18] Brian J Fox: Yes, exactly, exactly.
[11:19] Justin: Did you talk to Tim Berners-Lee about it or did the W3C know about it or did you work with them?
[11:26] Brian J Fox: W3C knew about it, they had started to do some server-side scripting stuff. Everybody was busy writing Apache and I talked to the main guy who was working on Apache at the time in the lab and I was like, hey, look at this cool thing that I've got, this should just be a module inside Apache and he's like, yes, I'm working on something else. I don't really want to do that right now. I was like, oh, okay, fine. So, then I made a web server [Inaudible11:50]all this stuff to kind of cover that and then several companies, this was the mid-nineties, mid to late nineties, so several companies made their gigantic tens of millions at the time that was a gigantic number, tens of millions of dollars building products using this programming language. It was pretty well received and worked pretty well. And I was interested in start-up companies. So around 2000, I started a company that works with start-up companies and invest in them and that was called the ACORE group and it is now called The Opus Logic but basically, it's an extension of that. We invest in start-up organizations and we provide technology to those start-up organizations and take out equity.
[12:30] Justin: Got it.
[12:31] Brian J Fox: Then in 2017, I had this idea and I drew something on the board and the idea of basically was I had a friend who was living in China and he couldn't get to Wikipedia and I was like, you should be able to get to Wikipedia. He's like, well, every time I use a VPN, the great firewall of China just closes it down. And I was like, well, maybe you can just use a VPN that I set up at my house. Why don't you do that? And I thought, well, the general case of that is we can have a network of participants and people who use services will pay for them and people who provide the services will get paid and it's all just a peer to peer network sitting on top of our physical network infrastructure that we have. So now what we need is a way to smuggle bits back and forth so nation-states like China, can't see the data that's being moved around. And the great firewall of China is a fantastic IT project. It employs the most people and they spend the most amount of money on it and they're very technically savvy. There's nothing schlocky about what China does there, but they do allow certain types of traffic to go back and forth. For example, peer-to-peer zoom calls are allowed to go back and forth. So imagine if I package up all the data inside my zoom call.
[13:43] Richard: Are we doing that right now? Is this data going to China at the moment? I mean, we're using Riverside, but basically, I'm just curious.
[13:50] Brian J Fox: Well, Riverside is owned by China, edit that's false.
[14:00] Richard: So how does Orchid work then if you're bundling stuff in Zoom calls, or do you have a fake Zoom call proxy that you're just sending everything through or what?
[14:06] Brian J Fox: No, I said zoom call, but actually just think of any other protocol that's not proprietary. For example, WebRTC is an example of a protocol that'll let you do these things back and forth. So you can put interesting bits of data in there, but you could put interesting bits of data in any kind of thing. See, the network internet protocols are packet-based, which means that they're discreet. You put a bunch of data in a packet and then you send the packet out and then eventually somebody receives the packet and if you have good sequencing, so you know which packet comes first and which packet comes second, you wait until you have the packets all put together and then you have this bundle of stuff. So I can actually use email as an internet protocol, it's just very slow.
[14:46] Richard: So email is super inefficient?
[14:47] Brian J Fox: As a method of doing packet network communications. It's actually rather efficient for moving conversations back and forth.
[14:54] Richard: Yes, my mom loves it, works great.
[15:00] Justin: You have like some sort of infrastructure for this project for Orchid. What are we looking at? Are you full cloud, your hybrid? What are we looking at?
[15:11] Brian J Fox: Okay, good. Let's talk about Orchid for a minute. So, one of the drivers was to allow access to what we like to think of as the free internet from behind restrictive firewalls, that was one driver for doing it. Then that wasn't really the only reason it was like, oh, wow, there's a bunch of, this is the way that the internet used to be back in the late eighties and early nineties before we decided to go with DNS and have a whole bunch of centralized stuff. The internet was really just a bunch of people connected over DSL or dial-up or whatever we have in order to do peer-to-peer communications on things. First protocol we had for sharing information like that was FTP and the very next thing was Gopher and Gopher was exciting because you could look up and see what information somebody might have and then go get that information from them. That was amazing. But you had to know how to get to the person's place. It's kind of like the way tourists today, you have to know somebody's onion address to get to their server.
[16:11]So then of course people invented the DNS protocol, which was a dynamic name lookup, and it allowed you to name, give your nice logical name and then all these servers could know the address associated with that name. Well, that was great, but that was also the end of what I would call privacy and the internet the way we knew it. And then the way it is right now at my house I have Cox cable and Cox knows my name, my address, my social security number, my credit card number, and every single website I visit and I don't think that's really Cox's business, number one. And number two, even if I totally trust Cox in every way, shape, and form with that information and that they're going to do their best job to protect it, some nation-state or some bad hacker comes along from Russia, for example, hacks into Cox and takes all the data because all of this data is stored in one central location. So now they know all my information and they know yours too Justin and yours too Rich, and they know everything right. And this has already happened time and time again, just take a look at all the, I mean, we only hear about it when it's a credit card hack. Like, oh my God, at Target, all the people who've ever used a credit card at Target and I'm like, oh, that's not me. I'm not one of the 50 million people who had their credit card stolen. Of course I am. I mean, everybody, I think everybody in the United States and many other countries have had their information compromised.
[17:37] Justin: Absolutely. I think even for ISPs they have retentions for, if someone needs to check, like if they get a warrant to check someone's internet history, which is just really creepy, but that's what Orchid is like doing.
[17:51] Brian J Fox: I mean, that's really the point. So it was big news when Apple said to the FBI, no, we're not going to help you break into this phone. We were all like, yay, they're our champions, they're protecting us. But the point is they could have helped them break into the phone, they have that technology. So if they know how to break into the phone, other people know how to break in the phone and that's what happens when you have a cell phone, everybody who wants to can kind of tell where you are and who you talk to.
[18:20] Justin: Yes, it's a freedom...
[18:22] Brian J Fox: Yes, it's the nature of these network devices.
[18:24] Justin: Yes, it's the payoff, the contract you make.
[18:27] Brian J Fox: Yes. So, we, the humans that use these convenience features are in the habit of trading our privacy and our agency for convenience and it's a very short-sighted view in my opinion. So an Orchid network and an Orchid-like network is an excellent way to combat that and still deliver convenience.
[18:49] Justin: So is it strictly peer-to-peer or are there servers that you need to run to kind of, if there's not someone on the network, how does that work?
[18:59] Brian J Fox: So the protocol is strictly peer-to-peer. If you're asking, did we seed the network with some servers, so that was some nodes that are running Orchid protocol? The answer is, yes, we did do that, that's definitely a good way to get started, but that's not the ultimate way in which this works. The more people that use Orchid, the more people provide services for Orchid and the more people get paid. And so this whole thing was just an ecosystem to have the method of payment to incentivize peer-to-peer to communications. So I'm kind of excited about it still.
[19:29] Richard: Yes, it is super exciting. I think what Justin is trying to get at, how is this related to cloud technologies? Because that's kind of one of the things we're interested on here, we're about committing to cloud-native. What I'm hearing is you built a super awesome protocol for sharing bandwidth between users and basically to allow for like another way of doing VPNs and then you also have a cryptocurrency that's built on top of that protocol, which incentivizes people to actually share their bandwidth. It's very similar to me to protocol labs, which for instance is going around and sharing data and you have like a content-addressable system and then you have a crypto on top of that, which incentivizes people to use it. Does that sound accurate?
[20:04] Brian J Fox: I think that's very close. I'm going to make a slight change to that, which is the Orchid network is really a way for computers to participate in a network and to buy and sell services from each other. And bandwidth happens to be the lowest hanging fruit easiest thing to sell, it is a wasting good. Everybody has extra bandwidth, nobody is on a hundred percent of the time using up every little bit of bandwidth that exists on the planet. So that just happened to be the low-hanging fruit, but selling compute services, selling CPU time, use of memory, the use of storage, all those things are completely reasonable things to do inside the Orchid network. And there are other networks that are out, other protocols that are coming out that are also doing that. I'm an advisor to Acache network and Acache is fabulous. I love what Acache is doing and I love the supermini, which is a small device that any person can put in their house and it can run various protocols, various blockchain protocols.
[21:03] Richard: So ideally at some point, this would actually replace a lot of the cloud computing stuff that we currently have, right? Because cloud computing is based around the idea that I have a lot to run, I'm going to run into someone else's servers, largely one of the big four, but you're saying was, well actually, why don't we just have everyone running stuff all the time and we could just find a way for people to incentivize and pay for that and then have it run on their local computers.
[21:23] Brian J Fox: Sure. I mean, I pay for my use of AWS. Why wouldn't I be happy to pay less for my use of your computer? And the fact is that the protocol allows for, like IPFS, for example, allows storage across a wide number of nodes. So my data is automatically backed up. So I don't have to trust that Richard will always have his computer on and it will always be working well and it'll never run out of disc space or anything. He's just one of the participants in this network and he gets paid accordingly to the amount that he participates.
[21:55] Richard: What's also interesting about IPFS is a lot of the early nodes are actually backed up by AWS [Inaudible21:59]because that's one of the ways of seeding the network. It's like, well, let's just have the cloud run it for a while.
[22:04] Brian J Fox: Right, no problem with that. Those are useful machines as well.
[22:09] Justin: Do you still seed or do you have enough users where it's just kind of self-sustaining?
[22:14] Brian J Fox: I can't tell you how many users we have, not because I don't want to.
[22:18] Richard: On purpose.
[22:19] Brian J Fox: No, because I don't want to, but because I literally cannot do that. I don't know how many users we have. I can tell you how much OXT it moves back and forth, that I can tell you but I can't tell you the number of users. I don't know that answer. I don't know anything about the network utilization except for how much OXT moves around.
[22:40] Justin: What's OXT?
[22:41] Brian J Fox: OXT is the name of the cryptocurrency, the Orchid cryptocurrency.
[22:45] Justin: Got it. Got it.
[22:46] Brian J Fox: It's an ERC 20 token, which means it's based of an Ethereum.
[22:50] Justin: Okay, great.
[22:51] Richard: If I can take a step back, what I love about this conversation, Brian, is that there's just so much. You've been around for so long, you've done so many things that like, I don't even know where to start asking questions because I'm just like, wow. Even IPFS, Bash is literally IPFS in the sense that it's running on another planet. So, like, way to win there. [inaudible23:09]good for you, you win. What's really interesting to me is that you started out at FSF and then you've also gone on and had this long chain of things. You built languages that were early compilers for websites. You were around as we saw the dot com come and the dot com go, then you were around for cryptocurrency rise and now you're an investor, you're an ecosystem level thinker. What I'm curious about now is what do you think about open-source as a movement in the last, like two or three years? Where do you think it's going and how do you think you're leveraging that in Orchid in as best a way possible to make sure the success of the system that you're building?
[23:51] Brian J Fox: So free software and open-source, once again, like this internet stuff used to just be the way things were. I mean, software is an expression, where as humans, all we do is manipulate symbols. We don't do anything else and we're really good at it. We're good at pattern matching and we love it, that's what we get stuck doing. I think I can break someone's brain by giving them unsolvable patterns in some way. I think that's like a possibility, don't do that, but I think it's a good idea, but don't do it though. We're basically pattern matching semantic machines when, for the technical people in the audience who know what a byte is and what a memory location is. If I take a memory location and a computer and I put the number 65 in there, what does that mean? Does it mean the number 65? Does it mean a pattern 0001 0001? Does it mean the letter a, the small letter a? What does it mean? Does it mean some dots on a screen? It's only what we perceive it to mean and just what we're doing right now, sitting here in front of a computer, we think we're talking to each other and we are but the symbols are coming in, we're just interpreting these signals to mean something.
[25:05]I'm just looking at some dots on a screen and Richard's nodding his head and you can hear my voice and it's all just electricity. But as people, we map it into our human experience. So that's number one. So then think about that as you write computer software, really all you're doing is expressing some idea and computer software, the beauty of it for me is in the architectural design, is in how you craft your thoughts to encapsulate the solution to a problem. This is not very different from what mathematicians do when they make mathematical proofs. They craft their thoughts in order to give an articulation of a solution to a problem. Mathematical formulas are not secret, they're open, they're free, they're open source and in fact you cannot patent a mathematical formula.
[26:00] Richard: I didn't know, it makes sense.
[26:02] Brian J Fox: You can patent a process, but you can't patent a formula. So why can we even think about patenting software, for example, or making it be secret? What is the advantage of making it be secret? Where nobody else knows how to do it, but in fact, the instantiation of this thing we're looking at where we're doing this video call, it's the idea of this and the execution of it that makes this thing valuable, not the code that went into it because now that I've seen this, I can write code that will do this. The hard part was thinking of this, right, was thinking that this could be a real experience that we could use. And then wow, now that I see that it can happen, large numbers of people are capable of writing software that can do this. So what's the advantage in slowing them down? Am I really going to keep my thing proprietary? Is there a good business reason for that? I think not. I think there's not a good business reason for that and all I'm doing is slowing down the advancement of this technological field, which in this case is slowing down the advancement of semantical understanding and the way people interact with each other. So I don't want to be part of that. So everything I do is free and open-source.
[27:11] Richard: I like it, it aligns really well with your story about your friend in China, who wanted to go on Wikipedia. One of the things that we want to have happen everywhere is people are able to access cool knowledge. If I want to go learn about the horse caller, I should be able to just read a Wikipedia article about the horse caller and if my government says, that's not okay, it's like, well, why, it's just technology. So it seems like you're really aligned there, which I just, I love. That's awesome. I'm sensing a lot of what you're saying has to do with protocols and most developers these days don't work on the protocol level and don't think about how the internet was made originally. I would say most developers are thinking about JavaScript widgets and trying to figure out how to make this work with react in some other way and how to make a site look a certain way. So for you, it's all about engineering. It's all about software at scale. Does that sound accurate?
[28:01] Brian J Fox: For me it's about problem-solving and the architecture that goes into the problem-solving. So sure that is software at scale. I mean, you can't have software at scale without that kind of problem-solving mentality. Literally it's about the expression of a solution and the other thing is like, physicists do this and mathematicians do this and I think that people who are not just academics, but people who are into this kind of problem-solving space do it a lot. The idea is what is the general problem that needs to be solved and what's the general solution for that and once we have a general solution, then you can start to do things, which is why we have computers. They are general purpose computing devices and we use them, everybody nowadays uses them for everything. They don't think about it. If you put your beverage in the microwave and you push the beverage button, the last thing you think about is what language was used to write the software that operates my microwave. I mean, you just don't think about it and most people don't think about the programs that they run on their computers, which are extremely valuable in their lives for communicating with other human beings and for discussing and sharing ideas.
[29:05] Richard: It's great that most people don't have to look at the abstraction of their microwave. It's great that they can just press a button and go. A lot of that's partly because there's been a proprietary company that's figured out how to make the microwave and how to sell it to people. We use a system of money where money is used as a way of saying, I put this amount of effort in, and if you want to not have that effort, you can buy this thing. I know that you're a capitalist in some sense, you have a venture fund, all that is using these weird levels and balances for using money to control how information flows. I'm how you thread the line between being an open-source diehard information should be free, why am I just slowing people down and I run a capitalist firm? I know that's maybe a tough question, I'm just curious how you do that.
[29:50] Brian J Fox: I don't see that there's any conflict at all. I mean, just think about this. You have a guy mow your lawn, there's nothing proprietary about that. He does some labor, he gets paid. There's nothing proprietary about it. If you asked me to think about your problem, that's fine. I'm going to think about your problem and you should pay me for that. You're going to get a solution to your problem. That doesn't mean that you're going to be the only guy in the world getting the solution. So thanks for contributing to the solution, to that problem, that's very useful. And the only reason why you would want to be the only guy with the solution to that problem is if you wanted to prevent other people from having that solution, which I philosophically disagree with and I don't think it's good for humanity and I don't even think it's good for your business. You're a brand new start-up and you've got this great idea, you think that cars should be able to fly and that's your thing and you're going to make the car that flies and then everybody will want a car that flies and everybody will have to buy your car.
[30:48]The truth is for you to succeed in your business you need an ecosystem. You need a large number of people to believe that flying cars is a good thing. You need choices in that ecosystem so people who have a lot of money can buy the expensive version and people who have a small amount of money can buy the cheaper version. You're not the guy who can make all those things at once because you're a start-up and you have to focus on a specific target market. So what you really want is for this to be a valid market and for you to be a useful player in that market. Well, you've got first-mover advantage and that's really important. You're going to be one of the guys solving this problem. If you can take that information about how to solve this problem and give it away to everybody, you will create this massive ecosystem in which you will be a major player. And if you don't do that, your business may fizzle and die because not enough people can buy your product, because your product is super expensive, or the people who would give you a lot of money, you've targeted them, you haven't made a product that really fits the masses. It's only fit this smaller group of people, and you're only getting a small amount of money. So it's better to create an ecosystem than it is to try to have your own specials proprietary niche solution.
[32:01] Justin: I want to make a quick U-turn and I want to go back to the VPN industry. I watched a lot of YouTube, most of the shows I watch, they're all sponsored by VPNs. I hear mixed reviews about VPNs, they are scummy, they are lying to you, they're not completely encrypted, whatever. I'm not naming company names, but just a lot of money goes towards YouTubers to promote the VPNs. What are your thoughts on the current market of traditional VPNs that are not crypto-powered?
[32:37] Brian J Fox: The issue I have with traditional VPNs is you have moved the centralization issue that I talked about for the ISP and I will mention names like Cox, for example, we've moved from the centralizing of your information at the ISP to the centralized area of your information at the VPN. So the VPN now knows who you are, your social security number, your credit card number, and every website you visit and they're susceptible to the exact same issues that the ISP was susceptible to. A nation-state comes along and steals all the information from the VPN and now all that information about me is in somebody else's hands, perhaps in somebody's nefarious hands. So that's the downside of a VPN. It doesn't solve the problem.
[33:26] Justin: Right, it just basically makes it someone else's problem, in a sense.
[33:29] Brian J Fox: Exactly.
[33:30] Justin: Now, how do you deal with requests from law enforcement agencies? Is it just like a, hey, we there's nothing we can do?
[33:39] Brian J Fox: If the police come, if some government agency comes to the board of Orchid, which I'm on the board of Orchid and says, give us all the information you have and all your users, I say, okay, I'm done now. I don't have any information on my user, I can't help you. They're not my users, I created a protocol, Orchid created a protocol and people use that protocol. It would be like going to the internet protocol organization and saying, give me all the information on your users, they can't, they don't know who users are. They just created this protocol that users use, but they don't have a list of users. They can't see who's using the protocol. I mean, this was one of the; very early on, I was very clear on this, the idea was to create a complete open-source solution that stands on its own and doesn't even need a company. There should be no company involved in the execution of this plan. The only company that we needed was we wanted to put a group of developers together and get them focused on solving a problem.
[34:46] Justin: And make really cool bunny illustrations.
[34:51] Brian J Fox: Yes, I will tell the honest truth, I had nothing to do with the bunny illustration.
[34:58] Justin: I like them. I'm saying those costs money.
[35:02]: Richard: So I like the idea of just not having things about users, not tracking that and just building better protocols for people to share and I do see in the future at some point, I mean, this will replace cloud if it's done well, right? So a lot of the cloud stuff now is basically run by large companies like Google, Amazon, and it doesn't need to happen, it could also be run by users. That doesn't mean that the cloud space is going away, oh, listeners, it just means that it's going to be a different end point that you're hitting. We're always going to still need to have how to do a software at scale, how to figure things out, and how to have good VPNs or how to use things currie fence to make it work. But Brian, I love how you talk about ecosystem level and I think it's really important message that just needs to be hammered home. Every time I hear it, it's like, yeah, of course, why don't I say this every day?
[35:46]We are running up on time and I want to make sure people have the ability to listen to you further than this podcast. So where can they find you online, on the web, other podcasts, tweets, Twitter, what do you do?
[35:57] Brian J Fox: I tweet very rarely. My Twitter handle, I think is Brian J. Fox or Brian John Fox, I'm not sure. I think it's Brian J. Fox. I never Instagram. If you see a band called Chill Point Band, chillpointband.com, if you see a band called Chill Point Band playing somewhere, then go there and talk to me, I'll be playing in that band. I'm a bassist.
[36:16] Justin: Oh, nice.
[36:18] Richard: Sweet.
[36:19] Justin: I didn't know that.
[36:20] Richard: Covering all the bases. Nice.
[36:23] Brian J Fox: Oh boy, edit, get rid her that joke.
[36:25] Richard: I'm not sorry. Listen, I did want to say one thing though, you were talking about cloud companies, not going away. We have television content and the world pays a lot of attention on television. They watch TV shows and that they watch that and then streaming content providers came along like HBO and Cinemax and so forth and people started watching those streaming content providers and then new television stations appeared, which were streaming stations, streaming content, but content made for television. Then YouTube came along and as Justin pointed out, he watches a lot of YouTube. I also watch a lot of YouTube. There's a lot of content on there that I find interesting and it's like I get my on-demand streaming television fix. But TV didn't go away and I appreciate the fact that somebody makes Game of Thrones and I get to watch that and I don't think that individuals have the wherewithal or the incredible skill sets to gather the skillset together, to make something like Game of Thrones on YouTube. Maybe I'll be proven wrong in the future. I'll be very happy about that, but it means there's room for both. As long as the legacy providers pay attention to what's happening in the motion and the world around them and try to keep up with that and move forward that way, then the legacy providers will still be providing some value and people will use them as well.
[37:49] Justin: Great point.
[37:49] Richard: As a consultant who works within that ecosystem, I'm not sure exactly how much I can say, but I'm making a language right now for a series that you may be able to get in the streaming service. I appreciate that it's not going away and no individuals cannot do everything because I know nothing about lighting. I can make a language for your creatures, but that's about it.
[38:07] Brian J Fox: Oh, that's great. I'm excited.
[38:10] Richard: It's kind of fun. I'll let you know what it is when I can, NDAs are important.
[38:15] Brian J Fox: Fully understood.
[38:16] Justin: Richard's a boss. He's a language guru.
[38:19] Richard: Bash is awesome. I use Bash every single day as it is. So I'm also just incredibly grateful for your work.
[38:24] Brian J Fox: Thank you guys so much. I use Bash all the time and I just want to quickly say that the people who provide documentation and instructions on how to use these tools that have been around a long time, they are doing a fantastic service and Nick's Craft is one of those. You should check them out if you can online.
[38:43] Justin: Yes.
[38:43] Richard: That'll be $14.95. Excellent. Thank you so much, Brian.
Special Guest: Brian J. Fox.
Sponsored By:
Justin Dorfman | Tzury Bar Yochay
Snow Pettersen
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about the confluence of Cloud Native and Open Source. Today, our special guest is Snow Pettersen, who is an Envoy Proxy Senior Maintainer working at Lyft on the Resilience team. Snow has done Cloud Native at Square, Netflix, Lyft, and he tells us how it’s changed over the years and a particular challenge he had recently. He also shares with us about problems with the release and rollout with sidecars in Envoy. Speaking of Envoy, Snow explains exactly what it is and what it does. We also learn the architecture of Envoy, the new contrib folder proposal, extensions coming out, and the “golden rules” to follow when reviewing a code. Go ahead and download this episode now to hear more and thank you for joining us today!
[00:02:06] Snow has done Cloud Native at Square, Netflix, and Lyft. Find out how it’s changed over the years. He also tells us about a recent challenge he had.
[00:03:47] We learn from Snow that the biggest headache he’s seeing with people using Envoy has been the release and rollout problem with sidecars.
[00:06:47] Tzury wonders how Snow would explain Envoy to someone. He also tells us how it switches to the new set of configurations while processing and Envoy’s scalability on a single machine.
[00:13:16] Snow goes more in depth about the architecture of Envoy and the new contrib folder proposal.
[00:20:24] Find out how many people are actually maintaining, monitoring, and moderating the process.
[00:24:02] Justin asks what Snow anticipates on extensions that will be coming out that can’t make it to core and what is it that people want that they can’t get right now.
[00:26:43] Tzury wonders what the most obscure, unexpected use of Envoy was in production that Snow came across.
[00:28:17] Over the years that Snow has been at Envoy, he tells us how much of his time he spends writing new code versus reviewing others versus answering emails and file or responding to issues on GitHub. Justin shares some stats from Snow’s GitHub profile.
[00:29:54] Snow shares the “golden rules” when you review a code.
[00:33:04] Find out where you can follow Snow online, and he gives a shout-out to the entire Envoy community!
Curiefense
Curiefense Twitter
Curiefense Blog
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Snow Pettersen Twitter
Snow Pettersen GitHub
Lyft
Envoy
Episode #17: “99.99999% Uptime with Anna Berenberg”
[00:00] Snow Petterson:There was a period of time around this time when I started being a maintainer and a bit before when I was writing a lot of code, just because again, I think it aligned very well with what my company needed at the time. Now, over time I've just gotten review ownership over more and more codes and being brought into more and more like, hey, you know how this works, so can you chime in? So I've definitely like drifted away more towards the side of communication. It's always nice to get some code written every now and then, but there's so much other stuff that happens that I always have to be careful about making myself the blocker for the code landing.
[00:42] Intro: Hello, and welcome to Committing to Cloud Native, the podcast where we talk about the interface between open source and cloud native. We're super excited about our guest today, can't wait to introduce him. Our panelists today are Justin Dorfman and Tzury Bar Yochay, and they're going to have an awesome conversation. I really enjoyed listening to it and I really hope you enjoy this conversation.
[01:06] Justin: Today we have Snow Peterson joining us from Lyft. He's on the Envoy Proxy Project as well, senior maintainer. Tzury, you're here, what's up? I thought you almost had a COVID, but you're good.
[01:18] Tzury: Hey JD. Hey Snow. How are you guys? I'm all good. I'm fine. Thank God.
[01:22] Justin: Okay. Thank God and Snow, how are you? Are you doing good?
[01:26] Snow Petterson:I'm doing great. yes. Happy to be here. Thanks for having me.
[01:30] Justin: I really appreciate you coming back because for the audience that doesn't know the backstory, Snow was on like a month or two ago and the audio was so bad that we had to pull the plug. So we rescheduled and Snow, thank God said yes and that's where we're at. And we just want to basically go over what we talked about, but this time with a new recording platform and new equipment. So thank you again, Snow for really taking the time to do that.
[02:04] Snow Petterson:Yes, no problem at all.
[02:06] Justin: So cloud-native, you've done it at Square, you've done that Netflix, you've done it at Lyft. How has it changed over the years?
[02:13] Snow Petterson:It's definitely matured a lot. I think a lot of the stuff we were doing early on at Square, particularly in the Envoy spaces, which is how I ended up in this whole space. It was rough around the edges and it took quite a while to ramp up on things and things didn't always work the way you wanted and I think now things have definitely matured. I guess it's been four or five years at this point. So more problems are solved, things are easier to do, but still a lot of challenges.
[02:42] Justin: What's a major challenge that you've recently experienced, whether it's at Lyft or just maintaining the project?
[02:49] Snow Petterson:I think one of the interesting [Inaudible 02:51] there's been this push towards like a [Inaudible 02:58]approach where a lot systems are relying more and more on these open source projects that run next to their services and Kubernetes and assessments as well and this has been like a trend in cloud-native where more and more problems have been sold via site cars, which on its own has cost like a bunch of new problems around like management of these site cars. And I think a lot of people who jumped on the site car bandwagon early on are now running into issues with managing all of these site cars with companies having 5, 10, 15 site cars running and their pods resulting in a whole set of new difficulties that people didn't realize would be this bad once when they were preaching about the value of site cars.
[03:48] Justin: Is it like a performance issue or is it more of a security? What's the biggest headache that you're seeing with people using Envoy and site car to loading?
[03:57] Snow Petterson:It's a release and rollout problem, that's a huge one where it's tricky to have a good release policy for site cars because you're kind of torn between two sides. One which you want to get new code out quickly and safely, but it's hard to do quickly if you have to roll your entire fleet, there's a lot of work to do this safely because you can try to roll your entire fleet, what kind of stats are you monitoring, what kinds of systems are in place to make sure that things don't go wrong and just the idea of having a gradual rollout of site cars can be very tricky because you end up having to often the build your own systems if you want something more granular than like per Kubernetes cluster, for example. So what you get per cluster, it's probably not too bad because you can just kind of do them one at a time, but taking down an entire cluster can be pretty bad as well, depending on your setup, not everybody runs with a bunch of redundant clusters.
[05:01]Then you have this problem of once you start building automation for rolling the fleet to up-to-date site car, if you have a lot of site cars that need constant updating because you not only do you have like the open-source readily available site cars for you also building your own internal site cars, you end up having to roll your fleet quite a lot and it just creates a lot of churn and each one of these can cause a lot of issues. Sometimes you bundled multiple site car updates into the same update and then it gets very complicated because the person doing the actual rollout might not have any context around the site car being updated. And then the other way of doing it, where you don't roll the fleet, you put the onus on service owners to manage it whenever they update, they got a brand new set of site cars as its own set of problems where like, oh, you updated your app, you have seven new site cars, something's wrong. What do you do?
[05:55] Justin: That's defeating the purpose of the whole microservices architecture. Microservice is supposed to make it easier and then this is just like monoliths all over again, kind of.
[06:05] Snow Petterson:That's a nice analogy because you're going back to like a more monolithic setup in a way. But the app owner doesn't really know because they're just looking at their own code and they're like, oh, my code has 500 lines of code. This is barely anything, so I'm just going to deploy this rapidly because it's such a tiny amount. But if you're then also factoring in the tens and thousands of lines of codes, you are deploying every time a site car upgrade goes out, things become tricky and it's harder to move at the same velocity that you would have expected given how small your supposed microservice is.
[06:40] Justin: Right. Tzury, thoughts?
[06:42] Tzury: I think we have the perfect candidate that should answer the following question. How would you explain Envoy to a new, I wouldn't even say new commerce, somebody who knows nothing about Envoy, he here is the name, he/she, they heard the name and they went, what is Envoy? But they have no connection to the internet. They cannot type it in Google and get the answer. What would you say to them on a cocktail party Saturday afternoon? How would you explain to them Envoy?
[07:15] Snow Petterson:Usually what I do, if I'm talking to somebody who might not even be familiar with microservice and disparate systems is kind of tell the story of how you end up here, which is once upon a time, there was a bunch of mainframes and everything around on one machine and things were easy, if you wanted to have different subsystems call each other but you just call the function or it's just all in there, it's easy. Then to scale out, you ended up building this microservice world where you have all different component talking to each other, and then you have to teach each of these components how to talk to each other and also then became difficult because you had a lot of different components wanting to talk to each other and they all had to like understand how to talk to each other. So, Envoy in the capacity of service [Inaudible 07:58] in other ways as well, but as a service mesh, which I think is how most people use it, it serves a role of centralizing how these services talk to the each other into a single process that can run alongside all of the applications, allowing them to communicate with each other and this is like the very basic of what it does.
[08:22]Where its real attractiveness came from its ability for dynamic reconfiguration, which provides a consistent way for people to interact with it. Many people have done similar things with things that relied on very like laborious ways of updating the console or complicated conflict management systems. So the big thing that Envoy brought in to make this problem more attractive was all of these APIs and XTS mechanism that allows for a management server to push all of the configurations that it might need and update without restarting and in a very efficient manner and react to changes really quickly. In addition to this scale of really well, have a relatively low performance overhead non-zero, but it's fairly low and also be able to scale up to very large use cases.
[09:19] Justin: So when Envoy gets an updated figuration from XTS server, whatever that might be, how does it gracefully switch to the new set of configurations while processing? By the way, what is the Envoy scalability on a single machine or a single corp to your knowledge?
[09:40] Snow Petterson:In terms of concurrency, that's an interesting one, because the way that we suggest that we run it is that, and this will also go into play in explaining how this conflict update works, where Envoy will generally run one, if you want to run on a single machine, you run one [Inaudible 09:57]for core, and there are very few cross-thread interactions. There's some, but for the data paths where you're handling requests and proxying them, a single worker thread accepts it and handles it for its entire lifetime. And Envoy will basically, each thread I think is able to handle like, that's a really hard question to handle the scalability because it depends heavily on which features you're using, TLS versus TLS makes a huge difference for example. I recall in the past there being talks about like, I think 20 or 30,000 RPS synthetic benchmarks being run, but that's obviously very like you strip down everything and you like run it with like nothing.
[10:39] Tzury: So, it wasn't HTTP two, it was HTTP one, for example, with HTTPS, no TLS.
[10:45] Snow Petterson:Yes, like no modification of the page load, no access control, no nothing, which is not how people would use it. So, it becomes of the value of such a benchmark becomes questionable because there's this whole other set of features that I might use.
[11:02] Tzury: Well, that's still an impressive number.
[11:05] Snow Petterson:Going back to how the conflict update works it's generally, there's the static and SIG that it comes up with, the calls we've struck in SIG, which is required run time. This has to be, you need to do a process [Inaudible 11:18] changes, but the typical way you would define this static config is that you will basically say get all of my actual config for the management server and then the management server is responsible, we'll receive a request from the client requesting, hey, I need to know about all of my configuration and so the server is [Inaudible 11:39] of these and the [Inaudible 11:42]comes up with my internal object [Inaudible 11:46] resource he wants. So these are like listeners, which define which port, protocol and transport socket TLS one knock configuration for each listener clusters, how to communicate with all their systems, endpoints, the IP addresses associated with these clusters and then as any new conflict comes in, this gets handled on the main thread, which is used exclusively for this control plane interaction and it gets processed, it gets validated and then it gets posted to all of the worker threads, telling it to update as thread local version of this data.
[12:19]Then there's another mechanism where generally [Inaudible 12:22]snapped to a stream or a request. So if you get a request and while you're processing the request you get a conflict update, it also acts on the old configuration just to make sure that each request has a consistent view of what the configuration looks like.
[12:42] Tzury: So in terms of the Envoy architecture, which is something that when you dive in a little, you find it quite quickly. The beauty of having a stripped-down core barebone, I would say, minimal core of Envoy while almost anything you want to implement and do, things of which you consider obvious and ground level are pretty much implemented as filters or as extensions and I believe that was done by choice at the time. Can you elaborate a bit about this architecture?
[13:17] Snow Petterson:So if we just start off with the filters for processing an [Inaudible 13:22] requests you can define like a list of filters, which is like each filter will process the incoming request and the outgoing response and gives you a chance to like modify the request. I think early on this predates me, but I assume it was natural to just implement the routing mechanism as one of these because what is the actual routing mechanism? Well, it's the thing that accepts the request and it generates a response. So this fits neatly into the filter mechanism and I think in constructing this extension mechanism, that was an early choice to make it very generic so that the way extensions are done can be reused for basically anything. Basically, you have some C plus API that you can implement and you register a factory that accepts [Inaudible 14:10]that defines it and this very generic extension mechanism means that you can do basically anything that's very easy to make anything an extension point. So a lot of things were quickly [Inaudible 14:26] where you'd take something that was previously not, for example, TLS used to be baked in, but in order to better support other ways of transforming the data on that level, it was extracted into a transfer socket extension so that now TLS is just an extension and this just opens up for so many other extensions we built that kind of like fits in the same spot in the stack as TLS.
[14:55]So this is definitely a fantastic choice and has allowed us to do stuff like have different security postures for different extensions. We can say that we have built-in say 50 different filters. Only 10 of them are robust to trusted downstream sort of upstreams and whatnot, which allows us to better evaluate. We can tell people, we can guarantee that this has been vetted via fuzzing and via other production testing. We expect this to be secure. Others, newer extensions generally will be flagged as we don't know, or have a less robust one, which means that if we then get issues coming in and saying that, oh, I found a bug, if this, this and this happens, we can crash the process. If it falls into one or our like less trusted extensions, we say, well, that's okay, we'll just fix it while the other ones will go through like a security release, file a CV for it, because we've already made the promise that these things are secure and so we have to go through the right process to make sure that we disclose it in a responsible manner.
[16:07] Justin: Does this have anything to do with the new contrib folder proposal, or is it completely different?
[16:15] Snow Petterson:So the contrib folder is basically a proposed new way of structuring extensions, where in addition to having basically core and extensions, instead we'd have core extensions and contrib and contributing like a new collection of extensions that are held to, like not the same bar as core extensions and this is to address in terms of like coverage, making sure that it's been signed off by a core maintainer and whatnot, the idea being that there's a lot of very useful extensions that we love proposing, but some of them are, they show up with like a 5,000 lifeline PR and they're like, hey, I made this extension. It's super useful, we've been using it in production, but in order for us to get it into a state where we'll be okay putting it to core, it just takes so much time and efforts unless we have somebody willing to do that work it just sits there. So contrib is a way for us to say, yes, we would happily take it, we're going to put into contrib, which means that we'll do some like due diligence, make sure it looks sane and then we'll probably put it in there.
[17:24] Justin: I mean, yes, that's definitely going to help. It's kind of like the WordPress model where you have this plugin directory and I could just see this taking Envoy probably to the next level if this proposal gets accepted and then built upon because it has to be very discouraging for developers coming and sending a pull request and then getting it declined. It's not like you want to do that, it's just got to find the time and there are other stakeholders that are going to be affected by this inclusion in the course. So I think this is probably the best way to kind of combat this issue that you're having.
[18:01] Snow Petterson:I think it's going to help a lot. I think at the moment, there are so many different paths towards a very extensible platform that the web assembly work that is being done it's a little bit too immature, I think for a lot of people to be willing to use it, but it's getting there. There's also a proposal around adding better support for Sego. So you could ride a shelter that like call send through a Sego API into a real goal binary, as opposed to like goal web assembly extension. There's a lot of interest in making the platform more extensible and so I think [Inaudible 18:40]will help quite a bit and if I'm select the space of like native extensions, but there are other things which I think will help a lot as well, which is like web assembly, in particular, I think that that has a lot of potential. The Sego one is also very interesting.
[18:54] Justin: I'm looking at a gid hub Envoy project and I see over 700 developers contributing code and patching and so how do you guys maintain the time utilisation all this takes, the efforts and the time to navigate between the community users, developers and I believe even without that, you would have the roadmap and the utilities already set out for the next upcoming years. I mean, Envoy is its own roadmap, I mean, let me put it this way, when someone comes to a live project and Envoy is definitely one of those who right now is super cool, super popular taking over cloud vendors. We had the projected Joshi from Google last week and we just talked about how Envoy was actually embedded within Google cloud products and we know Azure and Microsoft Azure under AWS simply do the same. So, envoy has its own roadmap and even without our community involvement, it will have its own tasks, projects, priorities, features upcoming and so on. Now we come in with our own ideas, some of them matching what is already on the roadmap, some really cool ideas, some of them less cool, probably. How do you guys prioritize, manage, maintain these and found a balance between all of this? How many people within the community, if I say, how many of you guys are actually maintaining and monitoring and moderating all these processes?
[20:37] Snow Petterson:We have maybe 10 or 12, something around that, maintainers. We're weekly on call rotation, where every week there is a new maintainer who's on call who will be responsible for triaging issues and PRs assigning them to a review room and I think that works reasonably well. It's always tricky because sometimes there's very hard questions to ask and we don't know the answer and that requires investigation time but a lot of them it's about finding the right person to tag on the issues and kind of understanding who the domain expert on the different ports are and just knowing who might have opinions of things. And there's a prioritizing the work, that's always tricky because as you can imagine, most people working on it, generally have their plates full. Smaller things can often be, you kind of just get it done. Like if somebody asks for like a very small addition and I know exactly how to do it, I can go easily do it right there and then there's sort of a PR, but a lot of things are much larger and then a lot of the time we're kind of reliant on somebody from the community being able to step up and take ownership over mending it, or somebody from like a maintainer or whatnot that has some company internal motivation for getting it done. That tends to be very helpful.
[22:03]Where for example, Google did a lot of work in order to reduce the footprint of stats because they had a lot of like issues internally, as I understand it with certain large deployments hitting memory issues. So for them it was easy to just kind of show up one day and say, hey, we're going to rework how the stats subsystem work in order to improve things and a lot of the work, we're seeing a lot of work now coming in from Google as well on implementing quick and because that's in their interest. If somebody shows up and they have a feature request around quick, where they might want to, whatever it is, something that might not be on the immediate roadmap, given that there's already interest in, there's a lot of people in the community who are working on it, it's a lot easier to prioritize that kind of work, but there's not a lot of like requests around stuff that none of the maintainers have a strong desire to work on either via their company or personal that you basically fall reliant on some reporter or somebody else stepping up and saying, yeah, I'd like to implement this.
[23:12] Justin: So I hate to like go back a little, but I'm really interested in contrib. The reason I found it was I subscribed to the Envoy mailing list and I saw the Google doc base submitted and you see excitement in the Google doc. So I believe that this will just be a new chapter for Envoy and because we did have Anna Brandenburg on and she's very pro Envoy and in also running it very lean without too many extensions. So this whole new way of using extensions that might not be Google would never install and to their infrastructure, but many others might, what do you anticipate on extensions that will be coming out that can't make it to core? What is it that people want that they can't get right now?
[24:12] Snow Petterson:Small extensions have typically been a lot easier to get in. So, if somebody wants an extension that does like a very small modification [Inaudible 24:22]as long as it's somewhat generic, that it's okay. So I think the bigger thing will be like larger filters and extension. So, a great example here, I think are like protocol parsers that will like generate stats and was like statutory ones and also like ones that can give routing. So various protocols that aren't currently supported, I said, this is because I've reviewed some of the PRS to add support for other protocols. I helped align the support for suite keepers that generation, that's like a three, 4,000 line PR, which is fairly hard to get in because it definitely requires aligning interests between maintainers and contributors without requiring this maintainer sponsorship. I think it will be a lot easier for people to add in support for parsing data of various other protocols. So I think that that's probably a big one because I definitely seen a lot of issues where people asking about support for some protocols that I'd never heard about. Stuff in like Telecom and all those things where they want it to be able to have some kind of like understanding of the protocol and without a sponsor that's been really hard to get in.
[25:31] Justin: Are you talking like there are four protocols or higher ones?
[25:36] Snow Petterson:I think they're all higher. Yes, I think they run on top of TCP. I don't think the room for extensions and implementing layer four protocols is a bit tricky, I think just because we're kind of where they essentially lay today, but I'm sure there are people who will be interested in doing that too.
[25:52] Justin: But they can basically implement that say as a GCP filter, right?
[25:57] Snow Petterson:Yeah, exactly.
[25:58] Justin: On top of the GCP?**
[25:59] Snow Petterson:Yes, like that's how the zookeeper filter is implemented. It's a TCP field networks filter that sits before the TSP proxy. So all it does is inspect the byte as it flows through a proxy and parses the protocol, which then allows us to generate stats based on which commands are used, which I think it's mainly around which commands are used before it gets passed to the TCP proxy, which just does a standard TCP proxy off the data.
[26:31] Justin: None of this is considered site car loading? This is just...
[26:36] Snow Petterson:Yes, you're beefing up your site car.
[26:38] Tzury: Okay. Yes, I like that. What was the, I would say the most obscure, unexpected use of Envoy in production that you came across that you'd say, oh, we never imagined that people will use Envoy that way or for this purpose, then you just, oh, that's awesome, look to people's imagination?
[26:58] Snow Petterson:I think there are some cases I've heard of them running it inside of vehicles. I don't think it's fully autonomous, but as part of some system, I forget the details, but I've definitely heard cases of distributed systems being operated within some kind of vehicles. I forget the details, I'm sorry.
[27:17] Justin: All good. Like autonomous, like in the car.
[27:20] Snow Petterson:Yes. But if you really think about it, it's also not that weird because I'm sure they used to have some microservices running and they need to connect them somehow. So they're probably running Kubernetes too, I don't know.
[27:32] Justin: Like a raspberry pie stack.
[27:34] Tzury: Well, why would you have microservices inside your Tesla? How many services are running within Tesla, for example?
[27:41] Snow Petterson: [Inaudible 27:42]I'm sure at some point you got the same problems in that space too or like you want one team to work on these components and they want to be able to have a nice contract so that they can make changes to their system without having to affect the other ones. So then yes, now you're talking about API contracts between components and you're not too far away from the microservice architecture. Maybe you're not going all over the internet but...
[28:09] Justin: They are probably using portable data center, I would say, mini data center, right? Interesting. So if I'm asking you a like over the years, your roles in Envoy, how much of your time is actually has to do with writing new code versus previewing others versus answering emails and file or responding to issues on gid hub, which is accrual into emails and communication in general?
[28:41] Snow Petterson:There was a period of time around the time when I started being a maintainer and like a bit before it, when I was writing a lot of code, just because again, I think it aligned very well with what my company needed at the time. Now, like over the time I've just gotten review ownership or more and more code and being brought into more and more like, hey, you know how this works so can you chime in? So I definitely drifted away more towards the side of just communication. It's always nice to get some code written every now and then, but there's so much other stuff that happens that I always have to be careful about making myself the blocker for code landing.
[29:21] Justin: Looking at your gid hub profile, 72% of your time is on code review, 12% on commits and 16% on poll requests. So, you're doing quite a review.
[29:33] Snow Petterson:Yes, no, there's I think just for my first time, I like six months like a review at work and I pulled my status and I think I had like three or 400 reviews, which is the number of times I like hit submit review or whatever over six months. So it's quite a bit.
[29:51] Tzury: What are the golden rules for code review that you would share with the public when you review a code? What are the do's and the don'ts?
[30:01] Snow Petterson:One really important part is making sure that, assume that the person that wrote the code has good intentions and that they're doing their best. So be respectful in that way and make sure that you're not, if they do something wrong, tell them gently. There's no reason to be mean. So tell them gently and explain what's happening and ask questions and don't be too arrogant. I think I see a trend somewhere where people say you see comments, like this doesn't make any sense at all, why are you doing it like this? And sometimes they're wrong because sometimes it's because the thing that they did is perfectly reasonable if they just like miss the context because even if you're the supposed expert doesn't mean everything. So I'll do much more of a cautious approach where if there's something that doesn't make sense to me, I'll ask them why this was done and try to understand it and kind of present it like that. I think having that kind of, showing that kind of respect for the people who wrote the code is very helpful because it helps the PR you're working on to proceed smoothly. But it also means that they're more likely to come back because they've had a good experience. So I think just we're creating like a very inclusive environment. Let's see, there's a running thing and Envoy PR reviews where the maintainers and 99% of the time always like includes the word things when they approve a PR, always have to show your appreciation.
[31:30] Justin: No, it goes a long way. It really does because it's really hard to get into someone's head on the other side and you'd be like, are they mad at me? Are they annoyed? So yes, that definitely goes a long way.
[31:41] Snow Petterson:I thought this was super helpful when I was like ramping up on the project as well and also seeing sometimes a PR drags on for a long time and also including like a, hey, thanks for iterating on this, this will be great. Just making sure that people are encouraged to keep working on it because yes, like you said, it's hard to communicate your own state of mind to get up issues or PRS. So like including like a very clear like, hey, no, I'm very happy that you're doing this work. I think it's very helpful.
[32:15] Justin: Definitely. I mean like the emoticons, those are cool, but sometimes people just like to do a thumbs down and that's just like a burn, but I think overall it definitely goes a long way, no doubt about it. It's very important that people do communicate their gratitude and it would actually be a really interesting college thesis to see which projects, what the language is like, thanks versus not thanks, how healthy is the project in terms of adoption? That's not, I don't know, if we have a listener that wants to do that that'd be really interesting and I'm sure Snow, it would help you out. Anyway, it was so great having you on. We're going to do a little after show after, but before we go on to that next phase, how can people find you online? Is it Twitter? Is it gid hub? Where can people find Snow?
[33:10] Snow Petterson:I'm on Twitter, I think, what am I @snowypeas? And my gid hub is snow peas, there are some links there to find me as well.
[33:20] Justin: Yes, it will be in those show notes for sure and is there anyone in the Envoy community specifically in the Envoy community that you'd like to give a shout out to so they can be like, oh my God, I was mentioned on the podcast?
[33:31] Snow Petterson:The entire Envoy community, thank you. Thank you for everything.
[33:35] Justin: Awesome
[33:36] Outro: Listeners, I hope you enjoyed this one. Do tune in next time, we're really excited about our line-up of guests. We have super exciting guests next week as well. Check out the show notes for this podcast at podcast.curiefense.io. That's C U R I E F E N S E podcast.curiefense.io for the community to cloud native podcast. Thanks again for listening, tune in next week, catch you later.
Special Guest: Snow Pettersen.
Sponsored By:
Justin Dorfman | Richard Littauer
Dan Lorenc
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about the confluence of Cloud Native and Open Source. Today, we are very excited to have as our guest, Dan Lorenc, who is a Staff Software Engineer and the lead for Google’s Open Source Security Team. Also, he founded projects like Minikube, Skaffold, TektonCD, and Sigstore. Dan will take us back to how he got into open source, Google, Cloud, and how he ended up being a lead for Google’s Open Source Security Team. We learn more about one of the bigger attacks that happened when Codecov Bash Unloader got compromised, what SGET is, what Google is doing to stop dependency nightmares, zombie dependencies, vectors, and why people should not sign Git Commits. Dan has written several blog posts and he talks more about some of them, and he shares some tips on the easiest way to get your security up if you are using cloud providers for working on open source projects. Download this episode now to find out much more from Dan!
[00:01:53] Dan tells us how he got into open source, Google, Cloud, and how he ended up being a lead for the Open Source Security Team. He tells us about his first open source project called Minikube.
[00:05:07] Justin brings up the safer curl URL pipe to bash which has been a topic on Hacker News. We learn more about the attack that happened earlier this year when Codecov bash installer got compromised and Dan explains more about that. Dan goes in-depth about what SGET is.
[00:11:04] Richard asks Dan if he thinks it’s important that people sign their Git commits and he talks about a blog post he wrote a couple of weeks ago about this.
[00:12:40] Dan explains how we can deal with security with stuff in the cloud and he tells us one of the biggest concerns he has right now.
[00:15:12] Find out more about the security leads across Google, and he tells us about an amazing paper that he recommends reading called “Reflections on Trusting Trust” by Ken Thompson.
[00:17:23] Some people at the PSF got a $300,000 grant for supply chain security and Justin asks Dan if he had a role in that. Also, Justin mentions the reports going to Congress and the powerful XKCD graphic.
[00:19:57] Learn what Google is doing to stop dependency nightmares, zombie dependencies, and vectors hitting that area. Also, Richard wonders if you can know as a cloud user what the dependencies actually are that you’re able to be exploited by.
[00:26:54] Richard wonders how Dan stays sane, and how does he decide what to work on next. Also, Dan wrote a blog post called, “Procrastination Driven Development” and he describes how this all works in his brain.
[00:31:07] One thing Justin wants to know is what repository or what package manager keeps Dan up at night. He wonders if there are any out there that need attention, or are they getting the attention that they need.
[00:33:30] Find out where you can follow Dan on the internet and also some great tips to get your security up if you are using cloud providers at the moment for working on open source projects.
Curiefense
Curiefense Twitter
Curiefense Blog
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Dan Lorenc Twitter
Dan Lorenc Website
“Codecov Bash Uploader Dev Tool Compromised in Supply Chain Hack” By Ryan Naraine (Security Week)
SGET
“Should You Sign Git Commits?” By Dan Lorenc
“Reflections on Trusting Trust” By Ken Thompson
“Securing Open Source Software at the Source” By Ashwin Ramaswami
“Zombie Dependencies” By Dan Lorenc
“The Dependency Jungle” By Dan Lorenc
“Procrastination Driven Development” By Dan Lorenc
“Open Source is Under Attack-Dan Lorenc (YouTube)
Dependency - XKCD #2347
[00:01] Dan Lorenc: Open source is starting to become a worry because the tigers are starting to attack it. It was known about these attacks and supply chain attacks in general for decades, right? They go back to at least 1984 I think when Ken Thompson published this amazing paper called reflections on trusting trust, he pranked a bunch of his coworkers at Bell Labs by putting a backdoor into a compiler, that back door was so smart that it would insert backdoors into everything it compile. His coworkers were very smart though. So they know how to disassemble these binaries and [00:27 inaudible], but his backdoor was so good that it also inserted a backdoor into all the disassembling tools. So it would hide the back doors when his coworkers looked at it. So he really baffled everybody and kind of showed that unless, you know, the tools that built all of the tools that built the tools you built all the way down, it's hard to build up trust and software at all.
[00:44] Richard: Hello and welcome to Committing to Cloud Native, the podcast where we talk about the confluence of cloud native and open source. Very excited to introduce our guest today. Before I introduce him, I want to make sure we get to the other panelists on this episode. I am, of course, Richard, Littauer the man without the plan. And then we have Justin Dorfman, the man with the Dorf, Justin, how you doing?
[01:08] Justin: I'm doing great. I'm really excited to talk to Dan.
[01:12] Richard: Me too, Dan, as Justin just said, is our guest. This is Dan Lorenc. He is calling today from Austin, Texas. Dan is a staff software engineer and the lead for Google's open source security team. He looks very secure where he is. I can see lots of, no he's just a normal guy in a t-shirt. So don't be overwhelmed by how awesome his title is. Dan, how are you doing today?
[01:36] Dan Lorenc: I'm having a great day. Thanks for having me on.
[01:38] Richard: Is it really hot in Austin right now? It's really hot everywhere else.
[01:41] Dan Lorenc: Yeah, it's pretty warm. It's not as hot as it can get here in the summer, so don't want to brag too much, but yeah, we're warm.
[01:48] Richard: Pretty good. Now you live in Austin, but you've been in the cloud space for eight years. Tell us how you got where you are. How did you get into open source and Google and cloud?
[01:58] Dan Lorenc: So I've been at Google for about nine years now, in the cloud space for pretty much the entire time since before it was called cloud. My first shop at Google was on the app engine team when that was kind of the only product Google had in the cloud area. If you're not familiar with it. It was a kind of platform as a service product before any of those buzzwords existed. So cloud kind of popped up around it, and around me as I was working on kind of this developer tooling, developer experience area. I got more into open source probably right around when Kubernetes and containers started to pick up. I started playing around with Docker pre 1.0, I remember all the old glory days there and got into the Kubernetes ecosystem right when that started to take off. So it's been a fun ride since.
[02:38] Richard: So how do you end up being a lead for the open source security team? If you're first in a space, someone has to hire you or something, right? So like how did that happen?
[02:48] Dan Lorenc: Yeah. So in the open source, in the supply chain security area, and it was a case of just kind of being really worried about it before anybody else was, I guess. And actually, yeah, that kind of connects back to how I got into open source. When I started at google, I was doing some work on our cloud platform and stuff, but from the inside and Google’s got a pretty different development process than a lot of other companies. Everything's in a big mono repo. And you've probably heard some stories about that. When you step outside of that mono repo and start building things, open source and all the tooling disappears. You're not using these same internal build systems and everything. And it was kind of scary at first.
[03:20] My first open source project was mini cube. I started that project. I don't remember how many years ago now, but that was kind of the standard way to get Kubernetes set up on a laptop. And I was building it on my laptop, publishing this binary on github just from my laptop, that people were just taking and running as route on their computers all over the world. And it was kind of terrifying compared to, you know, the internal stuff I was used to. And they're making that face now, but that's still how most people are doing development.
[03:43] Richard: When you say people. How many people are we talking?
[03:47] Dan Lorenc: Most of them and it's scary. And so, yeah, I started to worry about that, looked around, not a lot of better options in open source. So I've been worried about supply chain security there for awhile, got really serious about it. Maybe two or three years ago. And still it wasn't a big topic. Maybe about a year ago other people starting to worry, the attacks started to pick up, people started to get scared other than just me, I stopped looking like a crazy person. It was a sign by the side of a road saying the end is coming. And then, you know, solar winds and some of the other big attacks happened earlier this year. And now all of a sudden, you say, why haven't we cared about this for longer?
[04:20] Justin: Now you win. First they think you're crazy and now you win.
[04:25] Dan Lorenc: Yeah. If you're too crazy for long enough, eventually people will believe you. Is that the motto?
[04:29] Justin: Let me just tell Richard something. So Richard, I reach out to Dan and I'm like, Hey, I really want you on the podcast, he responds with, oh, here, talk to this person. No, I want you on the podcast because I've looked at your background with minicube and scaffold and six store. I was just blown away. I was like, I didn't realize you were involved with all of that. So the one thing that we've been seeing a lot, especially with security is a safer curl URL pipe to bash. It's been a topic on hacker news. It's always been a thing. So can you tell me and the rest of the world about ESCA? Cause I just learned about it.
[05:13] Dan Lorenc: The curl pipe to bash thing, it's been a meme on hacker news forever. People love to complain about it. There isn't really a lot better you can do in certain circumstances. I think it's also kind of misunderstood too. Some of the problems with it, it's not quite as bad as a lot of people say, but it is really bad in some other ways, I guess. And then I think there's some stuff we can do to improve it overall or we can start I guess. The curl pipe to bash minature, not meme kind of pattern, if you're unfamiliar with it, is a way to install a piece of software. You go to a website and it says, here's a little script. This will install a software for you, just hit this with curl and then execute it on your system. And it will do some smart stuff and install our code.
[05:45] People love to do that as developers because it's pretty easy to set up. You set it up once, you can have a bash that's pretty smart. You don't have to worry about bundling for all 37 different Linux distributions for match, getting into Homebrew and ports and the Mac app store and windows executable and all the different platforms and everything like that. You can kind of just write one bash script [06:02 exists]. The problem though, is that there's not as much security there. There's kind of different security constraints when you're installing software that way. At least now for the most part, people are doing, curl of an HTTPS URL, pipe to bash that wasn't always the case, you know, four or five years ago, before [06:17 inaudible] encrypt took off. And so that was really one of the biggest problems for doing that, then you don't even know what script you're getting or if somebody's kind of man in the middle and modifying the script before it gets to you.
[06:26] But if you do have a script that serve from a pretty good website and there's SSL set up, curl pipe to bash isn't the worst thing in the world. What it is missing though, is a lot of benefits that package managers can give you or a lot of the protections that package managers write to the developers too, which is kind of one of the parts that's misconstrued a bit. When you're app get install a piece of software and debbian say curl for example. You're not taking curl from the curl maintainers’ repo, you're not getting it from github.com/curl. You're getting a fork of curl or the WN maintainers have forked curl and they have promised to apply security patches within a timely manner for a set period of time. That's just how debbian works. The tradeoff there comes from though, is that they're going to be applying patches and they're not going to be taking new features in, it's really just security patches for that time until there's a new debbian release. And then they will bump the version of curl to pick up all the new features and then apply patches again, going forward.
[07:18] So there's really no option in the middle for people today. You either get something maintained by a group of maintainers or you take it directly from upstream. If you get it directly from somebody upstream, then who knows how you're installing it and all that stuff, upstream maintainers don't have signing keys. Tampering can happen even in the places twhere hey publish stuff. So of the attacks that we've seen there, one of the big ones earlier this year was when code coves bash installer got compromised. Are you both familiar with that one?
[07:42] Richard: Our listeners may not be.
[07:43] Justin: Yeah, exactly. Go more into it.
[07:45] Dan Lorenc: Code cove is a popular code coverage standing and they wanted to make it really easy to install this tool and scrape your code coverage metrics as part of CI, so you can track it over time. Just like Linux distributions there are a hundred different CI systems out there. And so they package this installer up in a bash scripts basically. You could curl this bash script. It would install a little reporter in you CI system. And that's all you had to do is really one line. So awesome developer experience. And it's used all over the world. Unfortunately, they had some credential leak happen, which can happen to anybody. It probably does happen to tons of people and somebody found those credentials and use them to tamper with the script that was served to users.
[08:21] And nobody noticed for months, they did some of the best practices they were supposed to do, like publishing hashes for this script and telling people how to verify them. But nobody was doing that basically. Easy way was too easy and people didn't follow the instructions for how to do it correctly. So it took months before anybody noticed this script which was supposed to be uploading code coverage was actually stealing all the secrets in your CI system and exporting them to some IP and we still don't know exactly where they were going. So that was one case where the script was downloaded from the correct URL. They publish hashes, people didn't check those hashes and something in the middle got screwed up. So we thought, how could we make this a little bit easier? And one of the ideas is this new ESCA tool, which I think you were just talking about, right, Justin?
[08:58] Justin: Correct?
[08:59] Dan Lorenc: Yes, so this is a tool we read started as part of the safe star project to try to make the easy way to download stuff. Also the safe/secure way. So safe get or secure get or something like that is where the name came from. The problem with code cove that they ran into really is that if you're going to distribute those hashes for the file you're downloading, you have to put them somewhere and you can't put them right next to the binary or a script you're distributing because then whoever gets the credentials to change that script can just go and change those hashes. So they put them somewhere else, which is the right thing to do. They put them back on the github repo, but that also means nobody's going to go check them because something else have to do. It's another URL you have to figure out and go learn.
[09:36] So the idea we came up with is to use OCI registries. If you're not familiar with the term OCI, it's the same thing. It's like a Docker registry. OCI is the name of the protocol that Docker and everybody's standardized. Now the cool thing about an OCI registry is that you get a shot 2, 5, 6, built into the URL directly. So it's a content addressable API. When somebody uploads a script, you get a URL with the digest built right in and all the tooling enforces that it's correct and all the servers enforces that's correct automatically. So if you put a script there rather than a random S3 bucket or GCs bucket or something like that, and it can't really be tampered with from the time you give somebody a link to that thing. So it makes the digest checking built-in and automatic and easy.
[10:16] Richard: It's like Sri and it's like IPFS, right? It's like basically the same, like content addressable. How many people have to share that link before that's not like a vector, right? Cause if I share a link just with you and then everyone in this podcast know that it's me and you then surely they could just come to our house with hammers and then they have the link.
[10:32] Dan Lorenc: Yeah. So, you know, you still have to get that link to people correctly the first time. And then there's some other stuff you can do there. But yeah, so if you're handing people a link, you get that shop built and you can check it. The ESCA tool will do that. And there's some other cool stuff the ESCA tool can do though, like help you with digital signatures, which are also pretty hard to do and are in pain today. You do want to sign your contents with a physical key, it's got a bunch of YubiKeys here and there are [10:53 inaudible] people can't see the video, but yeah, if you don't have a YubiKey, are little thumb drive size things, you can plug into your computer, they can get some secret credentials on there that you can sign stuff with. And unless you lose that device, people can't really forge those signatures. So we've got integration for all of that built in too.
[11:08] Richard: Do you think it's important that people sign their commits?
[11:10] Dan Lorenc: I do not think signing commits on github and there's so subtlety here. I do not think sign commits on GitHub actually adds a ton of value.
[11:18] Richard: Why not?
[11:19] Dan Lorenc: I wrote a blog post a couple weeks ago about this, it's a similar issue to the one about publishing a digest for the content you're going to download right next to that file. And github when you sign a commit, the way signatures work in general, you have a private key and a public key, and you give everybody your public key beside stuff with the private one, and then they can check that signature against the public key. With github you just have to log in with your password and you upload whatever public keys you want for your account. And if you sign a commit correctly, github gives you [11:46 inaudible]. So if you're trying to protect against people compromising your password for your account, by signing commits, it doesn't really do much cause anybody that compromises your account can also just change the public key on there. And so you'll still get that green badge. So it's kind of protected by the same password that's protecting the account in the first place,
[12:03] Richard: But that's the same logic as Google protecting my password because anyone could just hack into Google and then my password isn't protected. So is that the argument you're making here?
[12:10] Dan Lorenc: [inaudible] a signing doesn't do much on top of the password. So if you're trusting the password then signing is kind of a false sense of security I guess. There are ways you can make it more secure and get yourself some value, but that really comes down to using something else to distribute that public key on top of just github. You've got to come up with some other system, like you could tweet it, you could post it on Keybase, you could do a lot of these things. But for the most part, people just look at that little green badge on github and assume it's more secure when you get that little green icon saying it's verified, which is sort of the problematic aspect of it.
[12:41] Richard: Yeah. That makes a lot of sense to me. One of the questions I have that comes right off the bad is, we are on the committing to cloud native podcast. So we're all about cloud native here. How do you deal with security with stuff in the cloud when like tweeting your private keys doesn't make a ton of sense and then you're depending upon Amazon's ability to keep those keys sacred. What do I do basically?
[13:03] Dan Lorenc: Yeah there are a couple aspects to that I guess. I think one of the biggest concerns at least that I have right now in cloud native security is Docker images in general. They're huge, there is tons of stuff in there. And for the most part, it's impossible to figure out what's in them. With our techniques, you know, you can start signing your images now. We've got a bunch of tooling and [13:21 inaudible] start to help with that. But even if you do that, you're just signing this big opaque blob for the most part that you're losing visibility into. So if you do a Docker build, you might have a curl pipe to bash inside of Docker file and nobody will know by the time you hand them that Docker image.
[13:37] There's a whole bunch of case studies that have been done. You know, these things go stale, you build an image it's immutable, which is great, but it's immutable, which means it never updates. And so you have to build a new one to update it. And then, so there's a whole bunch of problems that I think will be pretty easy to solve eventually, once we start taking it seriously, but aren't quite solved yet. If you look in your Kubernetes cluster, there's going to be hundreds, thousands of images in a big one. And in each of those, you're probably going to find 20 or 30 vulnerabilities when you start running them through scanners and they start to add up quickly.
[14:03] Richard: But it's your job to take things seriously early. So you're already taking it seriously. So I know you already have a fix for this. What is it?
[14:10] Dan Lorenc: It's kind of another philosophical change people have to start to make in the way they build software. You know, going back to that minicube example I talked about earlier, I was building these minicube binaries on my laptop and handing them to people. Eventually we graduated to building them in a build system that was just, check-ins, sitting on a Mac mini under my desk in the office. You wouldn't run production infrastructure on a bunch of Mac committees sitting under people's desks but for some reason, we're okay with building software on them and then putting that software right into our production environment. I think [14:37inaudible] shifts we have to make, and we saw this with the solar winds attack in general, is that you need to start treating your build environment as seriously or more seriously than the production environment you're going to deploy into.
[14:47] You would go build a huge fence and then slap a cheap block in front of it, that doesn't really make any sense. But the build system really is the doorway into our production environment. So that's not, at least secure the environment that you're going to go put that stuff into, then it just becomes a natural attack point and attackers are starting to figure that out.
[15:05] Richard: So not to go into vectors of attack for Google, but to totally go into vectors of attack for Google, you are the open source security lead. There's also probably a security lead and there's also probably a physical security lead. Do you three all meet up in like a dark room with cigars and figure out like what to do and where to put locks?
[15:26] Dan Lorenc: There are a lot of security leaders across Google. We take security pretty seriously. There are thousands of people that work on it. Open source has started to become a worry before and because attackers are starting to attack it, open source now is under attack. It was known about these attacks and supply chain attacks in general for decades. They go back to at least 1984. I think when Ken Thompson published this amazing paper calls reflections on trusting trust. If you haven't read this or watched any videos about it, you should really look it up. It's amazing. He pranked a bunch of his coworkers at Bell Labs basically, which was full of very smart people by putting a back door into a compiler, that back door was so smart that it would insert backdoors into everything it compile.
[16:04] His co-workers were very smart though so they know how to disassemble these binaries and [16:06inaudible], but his backdoor was so good that it also inserted a backdoor into all the disassembling tools. So it would hide the back doors when his coworkers looked at it. So he really baffled everybody and kind of showed that unless you know the tools that built all of the tools that built the tools you built all the way down, and it's hard to build up trust in software at all. But for some reason we forgot about it after the eighties, until the last couple of years. The best answer I've gotten to that one. I don't have a definitive answer. I haven't sat down all the attackers and asked them why they've only started inserting vulnerabilities and open source software in the last couple of years.
[16:35] Richard: Dude that sounds like you should do that. Why haven't you done that? Come on.
[16:39] Dan Lorenc: Let's get the next episode of the podcast. The best answer I've gotten is that we finally gotten so good at locking down all the other ways and the software security in general was terrible. You need to go and hack the compiler to do these cool tricks. Even in the last decade security has gotten so much better in general, that these supply chain attacks and using open source as a supply chain vector haven't really become easier on their own. They've just become relatively easier because we're using password managers and two factor [17:03 auth] and HTTPS and all of these other things that we should have been doing this whole time. But now that we are doing those, the supply chain attacks are becoming relatively easier. And they're also more insidious in a lot of ways,
[17:15] Justin: After solar winds, it seems like all of a sudden your position is just like totally validated. With that said, we know some folks at the PSF who got that $300,000 grant for supply chain security. What was your role in that if you had one or how was it?
[17:36] Dan Lorenc: The PSF as actually gotten a couple of grants lately. One came from Google. I think they got another one is from Bloomberg. A bunch of organizations are starting to take this seriously and fund this critical infrastructure. This one, I'm sure you've probably seen the XKCD. I can't remember the number now, but it's got this picture of all these crazy complex things built up, all modern digital infrastructure. And then it shows one person holding up one tiny corner of it. And it says one maintainer maintaining this [18:00 inaudible] in Nebraska by themselves for the last 20 years. I think PSF runs some critical infrastructure to our industry, which is the Python package index warehouse and all of that stuff.
[18:10] I think a lot of huge companies that take critical production dependencies on this don't realize how underfunded, understaffed a lot of these things are. And so we've been trying to find a lot of those across the industry that people are relying on without realizing it and get the visibility and get them funding that they need to better maintain and secure and support this infrastructure. Those grants are also going to do some other cool stuff like, you know, integrated vulnerability scanning into the Python tool chains and make it easier to understand what your dependencies are across different requirements dot TXT files.
[18:40] Justin: I got to say I think probably the most prominent non code contribution to open source in the past fiscal year is that XKCD graphic with the Nebraska.
[18:53] Dan Lorenc: [Inaudible]
[18:54] Justin: Yeah Nebraska, like I'm seeing it in reports that are going to Congress, like it's out of this world. So we'll put it in the show notes, but it's just a powerful graphic.
[19:05] Richard: I just keep wondering who it is. I mean, I know the [19:07 crosstalk] lives in Kansas City, so [19:08inaudible] is in Kansas City. That's the closest I can get to Nebraska, but who is a developer in Nebraska? There's gotta be one. There's gotta be one somewhere down the dependency chain. I want to find that person and thank you.]
[19:19] Dan Lorenc: Reach out from Nebraska, wherever you are.
[19:22] Richard: So*s*upply chain checks are the equivalent of taking a couple of horses and a few pistols and hitting up a stage coach as it goes between bank one to bank C across Nebraska, back in the old days, right? That's like let's hit it here. In open source that kind of works by hitting the dependency tree and dependencies are really complex things that are really easy to hack. Justin and I have interviewed Dominic Tara before on our other podcast Sustain where we talk about these sort of issues a lot. And he was the owner of left pad, which had a whole thing happened to it. And that was when we realized, oh crap, what's going on with our dependencies. Dan, what is Google doing to stop dependency nightmare, zombie dependencies, vectors hitting that area.
[20:04] Dan Lorenc: So open source is a critical piece of most software supply chains today. Nobody's running software without open source coming in at some point. And so that's why we're starting to see an attack to the combination of how widely used it is. You know, left pad was a huge wakeup call there. How many different dependencies show up in your transitive tree that you might only install one in a node application, but then that installs 10 and they each install 25, that each installing another 30 and the commonatory start to blow up. And so if you look at each one of those as a potential attack vector and attack point, you start to get pretty scared. I don't remember the exact left pad story. I think it was just deleted. It wasn't actually attacked or something like that. It was deleted or untagged or yanked from NPM or something.
[20:43] Richard: Someone asked Dominic Tara to be the maintainer. He's like, yeah, I don't need to maintain this thing. I live in a sailboat I'm done and gave it to him. And then that person then deleted it. And then everyone's like crap, all of our builts broke.
[20:55] Dan Lorenc: Right, right. Yeah. So it was attacked. There was no malware inserted, no Bitcoin mining, you know, it could have been much, much worse, but it was a big wake up call to everybody that had something depending on that, that didn't know they were depending on that. So there have been some other scary studies showing that, you know, the transit of reach of some of these packages on NPM is huge. If you can get like, kind of make up the stats somewhere, I think it was in a Sona type report. But if you can get the credentials for 10 people on NPM, then that's like 80% of all packages. The fan out ratio is pretty huge. So it's pretty scary that way. What Google is trying to do is just come up with some best practices, visibility and insights around that. So you can actually see how large a transitive dependency tree is.
[21:33] You know, we can't just magically go in and wave a wand and get every project and start reducing these things or cutting off their dependency tree or taking fewer dependencies or fixing all of the code. But it's a cultural shift again, just like the rest of it. And so a lot of it is around showing, visibility how important it is to know, and not just blindly add things to your gomod file or your a package locked out chase on. Just because somebody wrote a library, it doesn't mean it's going to be better for you in the long run than finding a smaller one, assuming it's a little bit more work for yourself. We're not the only ones in the industry working on this stuff, you know, dependent [22:04 bought it] github has been a huge help to people just to kind of automate and make that update process easier than sending people smaller changes constantly is way better tactic than only updating once a year and having the resolve dependency conflicts for the next three months. I mean, we're seeing huge projects like Kubernetes in the cloud native space to actually start to actively go and reduce their dependency tree, which is awesome to see.
[22:26] Richard: So that's an interesting point about Kubernetes, because in the cloud what I'm often doing is having someone else run code that I don't actually see the dependencies. I just say, you go run this code. So can you even know as a cloud user, what the dependencies actually are that you're able to be exported by?
[22:42] Not all of them and that's a big part of it. If you're importing something directly, then maybe you can look in its dependency pile and see everything all the way down. But if you're just grabbing a binary or using a SAS product or something over the service, then no, you can't. And that's pretty scary in a lot of cases. The Kubernetes one is also, you know, there's kind of two sides to it. Kubernetes is this huge application with thousands of its own dependencies. People also import Kubernetes. Almost anything in the cloud native space you can reuse as code from Kubernetes directly.
[23:10] And so by actively reducing their dependencies, Kubernetes is giving themselves a much better footprint and reducing their attack factor. But it also unbox everybody up and down the dependency tree from starting to be able to reduce these things. And that's why this is so hard to kind of prevent and mitigate overall, right.
You're kind of at the mercy of your downstream dependencies and you might not have merged rights and no one was merged rights anymore. We see this a lot with zombie dependencies we were talking about.
[23:34] A project could be super well-maintained until it's not anymore and somebody, you know, just moves on and deletes their github, or it leaves it there without responding to email and that kind of thing, it's impossible to those. Cause you know, a really good stable project doesn't get a lot of work, which is awesome. And those are the types of things you should depend on because they're not breaking constantly, but that looks from the outside exactly like a project that has 35 CVs inside of it where the maintainer just stopped responding. So it's kind of hard to tease those apart in a lot of cases.
[24:01] Justin: I think maybe it is you bring a good point about dependency bought because I get pings on just by personal repos, like my website for instance. And I update them because it's very simple to do that. And I think maybe another thing github/Microsoft should be looking into preventing these zombie-type repos and dependencies, is once the project gets to a certain size, whether it's downloads or stars or whatever, is to have a successor or to convert that into an organization. I think that would probably be the next step to combat this whole dependency hell security vulnerability. So I think, you know, some people that github and Microsoft, I mean, you can make this happen.
[24:51] Dan Lorenc: Yeah. I haven't actually heard, I thought of it like two seconds before you said it, the way you let up that sentence. I had never thought of like converting it into an organization idea before.
[25:01] Justin: I forgot who said, I think it was Andrew from libraries.io, who suggested that, but I'm not sure. I just know they ran a study of most dependencies in the Ruby community. They just did Ruby because that's their world was one to two maintainers under a personal account. So that's where they kind of got that idea. But sorry, I didn't mean to cut you off.
[25:25] Dan Lorenc: Yeah, that's a great idea. It's a subtle difference and so if you've never played around with GitHub that much, you might not understand the meaning there, but a lot of these things start out under a personal github repository, something like github.com/myusernames/myrepo. I mean, there are certain permissions you can do in a personal repo. Like you can have other maintainers, but there's still only one admin. And it's the person whose name that's under. When you convert something to an organization, you usually give it a different name, but the overall pattern looks the same. So it's github.com/some organization which could look like you user name or not. And then that repo and the organization can have multiple admins that are all kind of equal. And if one steps down and somebody else can kind of, you know, they're also now an admin and you can add other people and configure billing and do all of that cool stuff. So it's a really easy way to increase the bus factor I guess for a lot of these [26:10 stripped] the direction that one goes.
[26:13] Richard: Having worked in a lot of organizations, I wish that were true. But most of the time like the lack of clarity in the actual like organization itself can lead to that being more of a bus factor, not less. I know there are projects working on this, like clearly defined. Clearly defined has helped funded by Google as well as like AWS. And they're trying to basically build a giant database of all dependencies that are like legal or not using SPDX licenses. I don't know if they're already doing stuff like security. They say they're on the website. I forget like whether or not they have say a list of this many maintainers. And this many vulnerabilities. At some point that would be a thing that's going to have to be done at scale, which just takes a lot of effort.
I have kind of a different question if you don't mind, which is, this is all horrifying. This is really scary. I'm scared, right? Like everything is going to break. Everything probably broke yesterday. I just don't know it yet. How do you stay sane? Because it sounds like if everything is an order of magnitude as an issue, how do you decide what to work on next? And I know you've written a blog post called procrastination driven development. So this was a bit of a lead on question, but I'm just curious. Can you describe how that works in your brain?
[27:25] Dan Lorenc: Yeah. I mean, it's a great time to be in this field. There are so many problems, you know, all of it is impactful, but a lot of people get frustrated or turned away and they say, you know, there's no magic bullet here. There's not one thing we can do that's going to fix it all. But that means there's a hundred things that we have to go do and we've got to do them all. And so there's plenty of room, plenty of opportunity for people to help out and get involved. I think one of the biggest areas, like you talked about having data and visibility and knowing where all of these dependencies are coming from, that's kind of where I'm focusing now most of my time at the sixth floor project, because I think that's kind of a prereq for a lot of the other analysis that we can start doing.
[27:57] The supply chains right now are you have one, whether you know it or not, your code is coming from somewhere, that code is coming from somewhere, but you probably can't write it down today. Like if I asked you, what are all of your dependencies, you might be able to write those down. And I say, what are all those dependencies? Probably can't write those down. You know, getting that transitive tree out there. There's another problem though, which is where even if you can start to write those down, especially in the Docker in cloud native world, you might think this container came from that container, which was built in the system, which came from this github repo.
[28:24] But none of that is verifiable today. All of that metadata is, you know, it's just best effort. You're guessing that a Docker image is built from the repo that the person said they built it from and pushed it from. And so we're trying to focus on there is verifiable supply chain metadata, but it doesn't mean it's good or bad. We're not telling you the repo is safe and that the maintainer isn't putting malware and, you know, Bitcoin miners in it.
What we're trying to do is build up a supply chain of metadata that we can trust. And prove that if something came from this repo, it actually did come from that repo. The repo might still have malware in it. That's a separate problem. It might still have a whole bunch of known vulnerabilities, but at least we know it came from that repo.
[28:57] And then we can start to do the same for maintainers and see who the maintainers are. And if there's only one and then we know that's a problem, but a lot of the data today, you just can't trust the data at all to even go and start making a lot of these informed decisions. So that's where I'm starting but because I think it makes it harder to attack supply chains and because it starts to unlock a lot of these other types of things you can do when you have all this data.
[29:17] Richard: Going back to Ken Thompson earlier, he installed backdoors to make it easy for him to show that securities were bad. Can't we just admit that there's always going to be Bitcoin miners working in my dependency tree and just install a back door to have the Bitcoin go to me instead of them like, surely that's the better fix. Just admit it's going to be bad. Make sure the badness goes to you.
[29:37] Dan Lorenc: Yeah attack, the attackers. That's a good one. I think in a of ways the Bitcoin mining and mining stuff has been a nice occurrence and a [29:43 boot] in a lot of ways. It's a disruptive way I can think of as an attacker making a profit off of getting into somebodies infrastructure. It compared to the ransomware attacks we've seen over the last couple of weeks. I think most people would take Bitcoin mining, which is just burning a CPU over, you know, losing customer data or losing access to your service. So in a lot of ways it's nice that this has happened a little bit and nobody wants to have coin miners running on their infrastructure, you know, github even had to go and do a whole bunch of work to reduce quotas and everything then benefit with CI was harder to use for open source projects, but because people were abusing it with clean mining. So it goes both ways. I think we're going to keep seeing it as long as it's that easy to get arbitrary code execution in people's projects. But I'll take that over a bunch of the other attacks we've seen any day.
[30:25] Richard: Yeah. I think what's scary is that this isn't really fun and games at the end of the day. Like it's interesting, but people have died because people have hacked hospitals and demand of ransomware. People have not gotten their chemo because they couldn't get into their systems and didn't know their data. And that's really hard to deal with. That's super stark. I'm glad people like you are out there doing this work. How do you stay sane? I mean, your hair is pretty massive, but like, how do you deal with that pressure?
[30:49] Dan Lorenc: Pressure really, you know, if I don't do anything, then it stays this bad. You know, it's not getting worse. I'm trying to avoid getting one of those Nebraska scenarios, holding everything up myself. And I see it as a whole bunch of small wins we can make every day. So it's kinda nice and motivating that way.
[31:03] Richard: I like that answer. Awesome.
[31:05] Justin: One thing I want to know is what repository or what package manager keeps you up at night? You know, you've got so many different package managers, that's touching pretty much every developer in some way or another. Are there any out there that are like, oh wow, these need attention, or are they getting the attention they need?
[31:28] Dan Lorenc: I think [31:28 PIP] was, I don't want to say it's in a bad state, right? I don't want to blame people. It was something that people didn't realize needed funding over the last year. And I think, you know, through a bunch of different grants and stuff that have gotten us into a much better shape, which is great. I think from a package manager perspective, I think I start to worry more about the kind of OS and distro level ones. The things like Appget, the things like young DMF and the fedora ecosystem. Most of those were built for actual machines that would install things and update things, pin things and downgrade things.
[31:59] And they're built in a different era where the keys are distributed in a different way and all this stuff. So they don't support a lot of the declarative installation mechanisms like you can start to do now in PIP and NPM where you can install fixed versions of things. You lose a lot of metadata when you're doing those old ways and they're at the very bottom of most people's container images. So attacking one of those I think would be really hard to spot, really hard to recover from and pretty wide reaching. Thankfully they're run by professionals and most cases people that take security really seriously, but those are the ones that I do really worry about the most.
[32:32] Justin: Do you think using something along the lines of six store or upgrading their infrastructure or their backend to support today's standards of security is something that could be easy to implement or is it just, they're going to have to like think from the ground up again?
[32:50] Dan Lorenc: I hope so. Six store is only a couple months old at this point, we are seeing people start to use it kind of in parallel with package managers, like their maintainers of WP packages that are signing individual packages with some of our tools. And I hope we get to a point where people can start to use it for those lower level package managers. They've spent years working on their infrastructure, which is great and to make it easy ao people don't have to do that again for the next generation of package managers and everything.
[33:15] Richard: So we're running up on time. So before we head out and I just want to say, thank you so much, but you have so much good advice and you're very eloquent. I think not only in how you talk, but also in how you write, where can people find you on the internet?
[33:30] Dan Lorenc: Yeah. My medium page is where most of the stuff I write ends up D L O R E N C.medium.com. I think I should get you all of that stuff.
[33:39] Richard: And if you had like a couple of tips for anyone out there, who's using cloud providers at the moment for working for open source projects, what would you say is the easiest way to get their security up a tiny bit?
[33:49] Dan Lorenc: Turn on dependabot and start updating your dependencies as quickly as possible and that one's kind of controversial. I'm going to say it anyway. I think, yeah, update as frequently as possible. Take the small version bumps when you can, because it means when there is a CV found later, it's way easier to update your way out of it than dealing with a year or two's worth of backlog of updating things. That goes against that, if it's not broken, don't fix it philosophy, which I get. I think when you weigh it out, though, just take the updates and roll with them as they come. That's a big one. And then just pay attention to what's in your dependency tree, write it down. Somehow every language, every package manager is a little bit different, but useful lock files. Don't let left pads break you, that kind of thing and vendor stuff where you can use proxies if you have to, depending on the ecosystem, but yeah, insulate yourself as much as possible while taking the updates as fast as possible.
[34:35] Richard: Thank you so much, Dan. It's been a really pleasure to talk to you. I really appreciate you coming on the podcast, everyone that was Dan Lorenc, if you have any questions for him, he has a medium article and he may respond to comments. If not, well, I don't know what to do. Maybe his twitter.
[34:48] Dan Lorenc: Yeah. Twitter works too @lorenc_dan.
[34:52] Richard: Got it. Thanks.
[34:53] Justin: Thanks.
Special Guest: Dan Lorenc.
Sponsored By:
Justin Dorfman | Richard Littauer | Tzury Bar Yochay
Prajakta Joshi
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about open source maintainers, contributors, sustainers, and their experiences in the Cloud Native space. Today we have as our guest, Prajakta Joshi, who is a Group Product Manager at Google driving Edge Cloud for Enterprise and Telecom. She joined Google in 2015, has been working with Tzury since 2016, and really knows all about the history of Cloud Native and how it really started. Prajakta tells us about her background and how she ended up in the Edge Cloud space. We also find out where open source fits in, revenue streams going towards the open source ecosystem to make it more sustainable and more useful to Enterprise and Telco users, and more on the evolution of server less gRPC service mesh. We also hear Tzury’s really interesting idea of the future Cloud, and Prajakta shares her perspective on how she handles the good and the bad and where the focus should be. Download this episode now to learn much more!
[00:02:10] Prajakta tells us about her background and how she keyed into Telcos.
[00:04:27] We learn more about the Edge Cloud product, how Prajakta ended up there, and how she manages consistency.
[00:10:37] Prajakta mentions Kubernetes and Richard asks where open source fits in.
[00:15:12] Richard asks Prajakta if she has any thoughts about revenue streams going towards the open source ecosystem and how that would work.
[00:20:33] Prajakta explains more about how we have revenue streams going from Enterprise and Telcos back into the open source projects to make the entire system more sustainable and ultimately more useful to Enterprise and Telco users.
[00:25:27] Tzury wonders instead of having so much manual labor, he thinks the real future Cloud would be fully automated cloud, bottom up from the infrastructure level itself and Prajakta tells us what she thinks about this.
[00:28:31] Prajakta elaborates more on the evolution of server less gRPC service mesh.
[00:34:51] Tzury wonders what the oldest service is in Google that Prajakta knows of that is still running the same way it was running at the beginning, and it was not migrated to any fancy schmancy new tech that she can share with us.
[00:38:06] Find out about the two parts of service mesh and what the traffic director does.
[00:39:08] Tzury asks how Prajakta how it feels being the greatest on one end and still the underdog on another. Also, how does she deal with this frustration or excitement and affect her day to day.
[00:44:27] Find out where you can follow Prajakta on the web.
Curiefense
Curiefense Twitter
Curiefense Blog
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Prajakta Joshi Linkedin
Prajakta Joshi Twitter
[00:00] Justin: Hey, it's Justin co-host of this podcast. We just released Curiefence version 1.4, which includes support for NGINX. It has UI improvements, security improvements, and much, much more. So just go to curiefence.io/blog to see what else we improved. Now enjoy the show.
[00:21] Prajakta: When I started off as well. Like a lot of the focus was on, okay, what's the next cool tech we built. And slowly as you start building it, you start realizing like for example, service mesh, it doesn't solve all problems for customers. You really need to bring other bits and pieces and you need to keep evolving these technologies. And I think the thing, the pivot that I made was okay, let's not start from the tech. Let's start from the problem we are trying to solve, or the new experience we are trying to deliver or whatever business value you're trying to build and then build backwards, or integrate the stuff that exists. I think that is sort of the thing nobody really talks about.
[00:58] Richard: I love that perspective. That's brilliant, everyone that is Prajakta Joshi. She has joined us today from Google and she is so on top of her game that she immediately launched into one of the most insightful things we've had on this podcast. So welcome to the Committing to Cloud Native Podcast. This is the podcast where we talk about the confluence of cloud native and open source, how we get them together, how we build great things. Today, I'm joined by Justin Dorfman as usual Tzury Bar Yochay . Hi, as usual. Thank you so much for joining us. Both of you, other hosts. I'm Richard Littauer and we have our guest today is Prajakta Joshi. Prajakta Joshi is a group product manager at Google, driving edge cloud for enterprise and telecomm. She joined Google in 2015. Been working with Tzury since around 2016, and really knows all about the history of cloud native and how it really started. So Prajakta, you were just saying that what's happened already is that we just start building stuff, but we're not stepping back and saying, okay, who we're building this up for? How can we solve the problem? And what is the problem in the first place? Can you expound a bit more about your background? Because I know that you don't just think in terms of business needs and in terms of like the community, but you also are actually really keyed into telcos. Can explain how that happened?
[02:24] Prajakta: So a little bit about my background, I started off as an engineer. At the time, you know, this was in the early two-thousands, the problems for point problems, if you will, where somebody has an application and they need to scale it up because they have this massive growth of users. And at the time it was just load balancing technology. So I started working on that and then along the way, as different customer problems started cropping up, there was technology like CDN that I built out and perimeter based security and so on and so forth. And then slowly what happened was customer workloads themselves stop being in a data center or in a single place. And they started proliferating and appearing wherever they showed. For example, somebody could not migrate all at once to cloud and they were sitting on premises and slowly the kind of technology that you needed to solve these problems got more and more complex.
[03:18] You needed multiple pieces to go solve a customer problem. And then, you know, often like you brought up the case of telcos. For cloud providers, our first set of stakeholders that we solve for enterprises like your retailers and your financial institutions and healthcare and so on and so forth. In the last few years, you've seen a lot more interest of telcos to go adopt those same cloud native paradigms. So, which is where the telcos came in the mix. And I think one of the best things about cloud native is that it is breaking down very traditional silos that have existed, say between enterprise and cloud or how we solve for enterprises versus how we solve for telcos. And a lot of what I'm building or doing right now is about building common technology that can solve for each of these stakeholders in a consistent way. At the same time, we have to meet them where they are. So not all traffic of telcos is going to be HTTP HTTPS, and we have to build for that, just as an example. It has been an evolution. Even on my part, I went from building products to actually starting with the solution and building products backwards. And I'm still on the journey of learning how to do that as well.
[04:27] Richard: So I'm new to the cloud native space. And so I'm not entirely sure what edge cloud is in particular. Can you describe what that product is and how you ended up there?
[04:38] Prajakta: Let's talk a little bit about edge. When you say edge different people will probably have a different version of what edge is and a really simple way to think of edge is, it's everywhere. It's like we have this massive global distributed edge. And so the edge, if you're on premises in your data center, that's an edge. If you really think of it that way, or if you're actually sitting in a retail store, or if you're even, even when you have a cell phone, the device actually could be an edge. And then obviously you've got other edges. Like we have [05:08 our pops], the telcos have their network edge. We have third-party providers who have their edges. So I think very simply when we say edge cloud in Google cloud, what we really mean is, you know, you bring your workloads to the cloud. You need to have similar constructs and similar technologies and similar paradigms.
[05:28] Even if you don't deliver your workload in cloud. If you need it on premises, that's where we bring cloud to you. Or if you need it in an oil and gas location, that's where we bring it to you. Or if you need it in your data center, that's where we bring it to you. I think of it more like distributed cloud. This is a term that [05:43 Gartner] introduced. It's an insightful term because it is really about bringing cloud to wherever your workload needs to be, as opposed to forcing the workload to come to cloud. And so that's basically edge cloud. You bring Google cloud and you bring the related technologies paradigms. And then at the end of the day, you map these to the use cases and business value that you want to deliver to the customers.
[06:06] Richard: So you're describing sort of hybrid uses as well, not just that in data centers, but also to end-users. How do you manage consistency while doing this?
[06:16] Parajaka: I think that is one of the most interesting and challenging problems to solve. Now let's talk about all of the things right in the mix. So one is, you've got the customer premises. The second is you've got Google cloud. The third is you have our edge locations. The fourth is you have also other cloud providers in the mix because a lot of our customers are also multicloud. Managing consistency across this is why you see a lot of these cloud native technologies spring up in the first place. So for example, when you say manage consistency, as an end user, or as an enterprise, or even as a telco, what are you trying to do? You want to go and spin up your compute, whether it's containers, whether it's VMs, whatever you need in the same way. You want to apply policies in a same way and as much as possible.
[07:04] And this is still an evolving space, more at the service level than the infrastructure level. So instead of saying, apply my firewall here to this VM and that container, and then put these other hundred services. You should be able to see service A can talk to service B. It's a much easier thing for all of us and the admins to go grow. The third part of it is observability. So now you've deployed these workloads in all of these different locations, whether it's edge, whether it's your data center average, you need to be able to see what's happening to the traffic end to end. So I think observability, which includes monitoring automation and so on and so forth. I think that is [07:41 inaudible] we talk about consistency.
[07:44] And I think the last bit is I sort of alluded to that in observability, but it is automation, the more everything as code. So like configuration as code, security policies as code, that lends itself to being automated well. And the more you can get humans out of the loop, the lesser the errors and so on and so forth. So a lot of the consistency also is related to almost ways to make this thing automated. And now you ask how to do it? That is basically what all of us are trying to solve for it, which is why, again, I talk about the solution itself. Like what does consistency mean? If you look at somebody who's trying to go say migrate their workloads out of their data center, they may not be able to do it one shot. And so they take some of their key workloads or the ones that they can move fast. They move them to cloud. Some workloads may never move to cloud due to compliance and other reasons.
[08:38] So now you've got this workload running in two places that is where not everything in the world is containerized or is going to be containerized. Like there are different things that benefit for containerization and some workloads will never containerize. So the consistently, like, which is why, you know, Tzury and I often talk about service mesh. The good thing about a paradigm like service mesh is it as agnostic to the type of compute, which means I can talk about services that are based on VMs and services that are based on containers exactly the same way. And that is an example of consistency. When I apply my policies, whether the workload is in my data center, in my cloud, if I can say enable MTLS between service C and service B, that is a level of consistency. If I can easily orchestrate traffic routing. So for example, I introduced a new version of code or of my service send 99% of the old versions and send 1% traffic to the new version****so I can test it.
[09:37] If I can do it similarly, both in cloud and anywhere else, the workload is, other workloads are deployed. That is consistency. So there is not one thing that's going to deliver us consistency, but I think one overarching thing, or like just a tenet is the more you start upleveling where you apply policies and where you automate, the easier it is to make things consistent, which is why you see a lot more conversation around service mesh, or even previously Kubernetes and service mesh. And then to abstract out everything that's top of server lists and so on and so forth, but it is one of the most interesting and challenging problems to solve for.
[10:15] Richard: Thank You. That's an excellent explanation. I love how you go into service meshes and how they're really important for consistency. One of the questions I have is that you're presenting this rosy-eyed vision of like corporate projects, large projects, enterprise, telcos, doing all of this work and providing use cases to all their customers. This is committing to cloud native. It's about open source too. You mentioned Kubernedes briefly, where does open source fit in?
[10:39] Prajakta: You know, the way I have started looking at open source and the way I have started looking at even all of these technologies is what does it enable? If I'm an enterprise why should I care about open source? Like, what is the benefit to me, or if I bring in Kubernetes or service mesh, what is the benefit to me? So I'll give you an example of some of the interesting things that open source brings, and it's not open source for the sake of doing open source. So for example, like Istio, I'll just take the example of an open source service mesh or Kubernetes, which is an open source technology. First, the sheer number of different stakeholders who are building the technology generally leads to diverse inputs into building the technology. And so you will land up with a better product because you don't have a one-sided view of what the solution or this product should look like.
[11:29] I think that's one of the biggest benefits of open source. And we have seen that in the case of Kubernetes, which has now become the de facto standard for container orchestration. I think the second big reason to really look at open source seriously, and you know, there is open source and then there's open interfaces. So for example, you had a guest Anna who spoke about this product, we call traffic director. Now when we build traffic director, which is a control plane, it's a service mesh control plane. And it communicates with a proxy called Envoy in the data plane, the interface between those two, we adhere to the open interfaces, which means tomorrow if you don't like traffic director, you can swap it out for any other implementation. So one of the good things about open source and open interfaces is it gives you a choice.
[12:18] If I, as a customer, test something out and as long as I can swap it out for something else that preserves the same interface, it makes my life easy. And I can change my mind after I've deployed a technology. And I think the third thing is a lot of the open-source technology, especially in the cloud-native bucket, they are built for applications which need to be automated at scale. They are built for applications to scale inherently. Security is a first class citizen. It's not an afterthought where like I was involved in building some of the early load balancers in two thousands. Our consideration was not at all security to start with. It was like, okay, I have this hardware box. How many queries per second can it take? And how can it, how much can it scale out to the backend servers, then when the service started getting DDoS is when we were like, oh, we need to go add a DDoS defense and then so on and so forth.
[13:12] But one of the newer paradigms, like you look at mesh or Kubernetes, they treat security as a first class citizen, and there is more and more awareness around embedding security traffic management for the developers to automate, write code, a separation of boundaries. Like a lot of these cloud native technologies, they separate out like, you know, service mesh is a very good example, like applications from say the networking logic. So I think that cleanliness and hygiene of interfaces is something that is seen more and more in the cloud native products. So I think overall that is the reason to adopt open source. And, you know, if an organization decided to build something in-house. If you look at Kubernetes, it came out of board, like that board was a technology in Google, but taking it to the community, enrich that whole product, like it became 10X of what it was at Google.
[14:03] And I think you get the power of the community with open source. You're not going to be able to build such a big R&D team for every component you need. So I think the more you get plugged in, and one of the things, and this is specifically now from personal experience. The more you contribute back to open source, the more you can get out of it because you can then influence the direction. If you simply consume it, in some ways you benefit from what others are doing, but you never get to influence the roadmap. So it's just a two-way street, in some sense, like as you leverage open source as an enterprise or through our products, we, as well as the enterprises are contributing back in a bigger way, like, you'll see a lot of enterprises starting to contribute back to open source.
[14:45] Richard: I love that answer. Brilliant. Couldn't agree more. I mean, open source is what I live and breathe, and that's just spot on. At the beginning of this podcast and this conversation, we mentioned telcos, and you've written in our notes doc here, which is an awesome document. It's basically good enough in itself to publish at this point about telcos trying to create new revenue streams, using cloud native technologies and opportunities. I'm curious if you have any thoughts about revenue streams going towards the open source ecosystem and how that would work?
[15:16] Prajakta: So I have this very interesting and strange background where I keep switching between working with enterprises and telcos. And so I have also seen the thought process evolve over the last 10, 20 years. If you really look at what telcos are trying to do. If you look at maybe more recently, they essentially have three things to solve for, one is they have their own IT workloads. So these workloads are very similar to, you know, enterprise IT workloads where they need. For example, they're big users of our data and analytics product. So they need compute and they need storage and they have applications that serve their own ID. The second big chunk of almost use cases or products that the telcos have, is their core network, that's sort of there, you know, that's their lifeline. That's what actually drives their business. And these networks have existed way before any of us did.
[16:13] I mean, if you look at how far Indian bell go back, like they are a hundred plus years ago. So I think the second part is the network. And then the third part is where, think of your cell phone bill, right? Even if I gave you 5g on a cell phone, you're only going to pay so much more for your bill. You're not going to pay 10 X of what you pay for your monthly. So you need to deliver new experiences or you need to go and solve for new use cases to generate revenue streams. And these are sort of the three things that are top of mind for telcos. Now, if you look at Telco IT the journey to becoming cloud native is very similar to enterprise because the IT workloads look like enterprise workloads.
[16:54] With telco network. It's a different ballgame, in that a lot of these telco networks, for example, are VM based. Like, especially if you look at the 4g networks, a lot of these networks have existed for so long that making them cloud, we cannot just tell telcos go cloud native. It is not easy as that. We have to start maybe by deploying a greenfield side-by-side by converting some of these brownfields to greenfields and so on and so forth. And then I would say the most interesting bit, or at least the most interesting happening in recent times, is what we have done with telcos. So three, four years back, if you told people AT&T and Google cloud or AT&T and some of the other announcements or Google, and some of the other announcements we've done are happening. People wouldn't believe it because cloud providers and telcos did not partner so closely. What we have realized is there is a win-win to be created that with the beneficiaries being the enterprise customers.
[17:51] So for example, take the case of a retail store. With COVID everybody's budgets are slashed. The retailer wants to go deliver these amazing experiences where they need to bring you back to the stores. So now you enter the store and you find your app at a mannequin and it chops the look for you, and it gives you recommendations and so on and so forth to deliver this you need to run AI models, compute and so on and so forth. The retailer says I have no budget to run it inside the store. So what we did is we partnered with a leading telco and we essentially use their network edge. We built out the edge compute and placed it there. And we run all of these models close to the retailer there. So this became a new revenue stream for the telco and us. And at the same time, it solved a very critical problem for the retailers.
[18:39] So when you talk about these new revenue streams, it's generally about three things. You're either trying to make money for the end customer, or you're trying to save money for the end customer, or you're trying to deliver a new experience for the end customer, which helps them increase customer engagement as well as obviously make money eventually. So this is a very new and evolving partnership if you will, between telcos and cloud providers. And then it spans various industries like retail, finance, healthcare, you will see that these solutions are fairly vertical focused, because like I said before, like, what is the problem to solve right? In a retailer, they may be trying to go and deliver these experiences without CR CapEx, heavy, experienced, or CapEx, heavy investment, or somebody like a healthcare. Like if you take oil and gas, as an example, there are these remote oil and gas fields.
[19:31] Like there is no edge computing or cloud nearby. There is really no 5g connectivity then how can we bring it there? So that is another set of problems we are solving with them. And a lot of this is great because the underlying technologies used here are for example, Kubernetes or service mesh or 5g and edge just happens to be wherever you need to run the workload. But the end result is it solves something important for the enterprise. And then this is where the telcos can make money because they're delivering a service, not just 5g, but an actual end solution that solves a business problem. So that is why I say, like, if you start from there and go back, that is where the value is.
[20:13] Richard: That's very valuable for the end customers being the telcos and very valuable for enterprise. I try to ask a different question. Maybe I didn't ask clear enough, how do we have that money go back to open source itself? You mentioned we use Kubernedes to do this work, and that's great. It's wonderful to use the opensource ecosystem to leverage enterprise needs. What I'm curious, how do we have revenue streams going from enterprise and telcos back into the open source projects to make the entire system more sustainable and ultimately more useful to enterprise and telco users?
[20:44] Prakakta: I think first of all developers. So instead of only leveraging open source, it is important that we put developers because those are actually the most expensive resource. If you think of it and high quality developers who will keep the code base clean, who will at the same time, be inclusive and accept different trains of thoughts and so on and so forth. I think that is the first biggest investment anybody can make. Google has one of the largest contingents of developers working on Kubernetes. That's how we contribute back to that community. You will also see telcos increasingly doing that. Some of it is also because if you really want to influence something, you have to put your skin in the game. Otherwise you're going to be a passive consumer of it, which works to a certain extent. But if you really want to move the needle, you have to put skin in the game.
[21:33] And Google in general. I mean, it's nothing new. We've been committed to open source for a really long time. So I would say first as developers, like, you really need to put people who build the stuff. I think the second thing is the communities themselves. And you can see Kubernetes, for example, has a [telco21:48], just as an example, or they have these different stakes where essentially they are looking at it from a use case problem or a vertical problem, or like, who are we solving for lens? And that is where the money will come back. So as an example, let's say you want to go use Kubernetes to run the telco network. It's not perfected on telco networks. It's good enough, but it could be much better. And this is where telcos and us. We are investing time to go participate in these sites and then bring some of the use case ideas in the enhancements that are needed.
[22:21] And then obviously put developers and money where we are asking for features. Like we need to make sure we are also contributing back developers. So we'll build them out. It's true of telcos as well. They are newer to the game, but if you look at enterprise, telcos us, there's a lot of participation. It's like, if you just look at the curve, it's a very, like, it's like a hockey stick in terms of participation in open source. I think those are the two biggest ways. And then one of the biggest things that help our technology evolve is real-world validation. I think the third thing is sort of facing back lessons learned into the community. It's not so much about monetization or money. It is about evolving the product. And so saying I used Kubernetes and here are the three features I'd like to see whether it's for enterprise or telco. I think all of us need to do more of that, but that really helps the product itself or the solution.
[23:13] Richard: You know I have to agree with the developers aspect because we have a guest coming on next week, Dan Laurenec, he's a Googler as well. And he's working on supply chain security side. And I think when you brought up earlier that keeping the code clean and all these other things along those lines, it's very important because I mean, let's just say a hundred percent of the fortune 500 use open source in some kind of capacity. All of those would be vulnerable if we didn't have a supply chain security and very trained eyes looking at the code. And that is what Google and Microsoft and all the other Fang companies are hiring to kind of look at, but it doesn't end there. And it just needs to continually be invested in because each day millions of lines of code are being added to various, high used open source projects.
[24:11] Tzury: Prajakta****you mentioned everything is code that principle. But I'm thinking if you work at Google cloud, the actual cloud, you don't use a cloud. You actually working in a dentist center, it's a building, they're hardware, servers, cables, routers, electricity, generators, backup, and all of that. So, first of all, we always need to remember that the fascinating tech that we call public cloud that's available for us, it's thanks to lots of people who are doing really hard work to make it so smooth, automated, and simply, you know, manipulated and managed by few lines of code, a Terraform that we just put together and all of a sudden you have superpower computing that you can calculate anything you want.
[25:11] But that led me to think, and if I'm by mistake uncovering like Google X project or whatever secrets cut me off. So imagine that a code that will actually run army of robots that will simply keep building and expanding the cloud manufactory more storage and plugging in more compute and taking care of everything, instead of having so much manual labor. I think that the real future cloud would be fully automated cloud bottom-up from the infrastructure level itself. What do you think about this?
[25:57] Prajakta: You should patent it before anybody gets to this. So that is an extremely interesting thought. Like I was just reading this article on Elon Musk, where he's staying in this small little house built by a company called Boxable. Just got, it's not even out as a product yet. And these are these modular units, like 3, 400 square feet with a kitchen and bed and everything built in there. And if you could actually put any of those together, like with some modifications to build a whole house. In general, if you really think of how we've built data centers, that is the way we have scaled as well, like there is a recipe of using basically just genetic cockpit, where the value is actually in the software. And as much as you can simplify and make your hardware consistent and start moving the value into software, the easier it is to build what you are saying.
[26:51] When we have a pretty massive footprint of our regions and our edges and so on and so forth, that is how we have scale. Like it is really infrastructure in a box, it's just not visible to people, but that is how we scale. So when we bring up a new data center, there is essentially that same hardware that goes in, there are these massive software systems that actually bring the value. So to your point, it is true that some of this could be packaged as a product. Like you could literally have data center in a box, which you can make more consistent with the use of essentially, you know, like maybe commodity hardware or more generic hardware, which is quite open interfaces and put the value in the software and also modular software where you can plug and play things out, depending on, you know, what it is that you're trying to accomplish.
[27:38] I still think though Tzury like, you know, imagine you launch this amazing product. The world is what it is. Like people will still have their data centers and people will have these new, amazing data centers and people will still have their edge locations on their devices. So some of the problem statements, you and I will still need to sit and solve, which is the world is just heterogeneous by design. And I think we still have to solve for that world. But to your point, this is basically what you're talking about is consistency at a solution level. Like instead of just making, you know, some genetic design for say servers and so on and so forth, you're saying can we actually package a whole data center or a region in a box? And I think that that's a great idea. We do it personally for our own data centers, but Tzury, I think that's your next product right there.
[28:28] Tzury: Thank you. Probably we should talk a little bit more about the massive contribution if opensource was mentioned, massive contribution Google has made, is making to almost everything we call today, cloud native, almost everything that we use within the cloud native. And one of the, I would say the enigmatic terms that was mentioned by Anna and also popped in your notes, is the server less GRPC service mesh. So I'm thinking service mesh server less, GRPC. Can you elaborate about this a bit?
[29:09] Prajakta: Let's maybe talk about why they came about. So it was sort of an evolution if you think of it. So GRPC came from a Google internal technology called stubby, like that was the basis of GRPC. Then we've got Kubernetes which came out of org, service mesh like we've been doing, we didn't call it service mesh, but that's been the construct used internally. And then obviously serverless. We are very strongly involved in the [29:34 inaudible] of other communities. So each of these, so let's maybe trace the evolution. It didn't all happen at once. The first problem Google really solved was about building load balancers at scale, which means when I worked on load balances, it was a box. And if you needed more horsepower, you bought a bigger box. That's how it works. They said, that's not the way to do load balancing. And they tried to do it. And it scale for search in Gmail and so on and so forth.
[30:01] So they essentially put this commodity servers like humongous scale across the globe, and then they build software that could balance using those servers. And so they built this massive global distributed load balancing. So that was the first innovation if you will, that happen, then there was a problem of, you know, how do you efficiently do message to message communication. And that led to stubby and which eventually evolved into a more standardized GRPC. Then Kubernetes came out of being able to schedule jobs at scale, like that's where it started. And then obviously this predated containers and so on and so forth. And that evolved into orchestrating compute, which is like containers at scale.
[30:42] So Kubernetes was about containers, but containers and Kubernetes definitely brought about the notion of a service, but it didn't necessarily have everything, which is why now you see there's a very strong correlation between Kubernetes and service mesh, but service mesh itself is just a paradigm if you think of it, right, what it's really saying is let me bring together some compute. It doesn't matter what it is, whether it's VMs, whether it's containers or so on and so forth. Let me bring a set of these together. Let's call this a service. And when I call this a service, all the things that I need to do for networking, whether it is figuring out how to route traffic or whether it is how to do like, you know, enforce MTLS, let me not put it in the application. Let me go put a separate proxy there and let me go and delegate that responsibility to the proxy. And the goal is to separate application from the networking.
[31:36] And then this just gives you a service fabric and the brains of it as a service mesh control plane. To the service mesh control plane or the service mesh came about because you wanted to, or you as an end user, should be able to apply policies at the service level and in a very simple manner without having to touch your code. So I should be able to say, when service A goes to service B, like I said before, maybe send 99% to version A and 1% version B or enforce MTLS between all services or for every packet that goes out, go put it in a dashboard and let me see the end-to-end flow. That is why service mesh was built. It's sort of an overlay on top of Kubernetes.
[32:15] Now there is one misconception people have about service mesh, that it's only for containerized workloads, actually, that is not true. It includes VMs. It should be able to work for serverless. It should be able to work for bare metal. It is that one very key misconception that we need to clear up because the world is all of this and a big chunk of the world is VM based. And some of it will always stay in VMs. So I think that is how service mesh came about. And then people said like, do I really need to know, not all people, but a subset of the end-user said, do I really need to see the guts of how this product is and so on and so forth or how the solution is? That's where serverless came about, like to abstract away all of this stuff away from the end-user, like as a developer, I want to run my application. Why do I need to care about these hundred things? So that is where serverless came about.
[33:06] In a way people will use one or more of these. It's not like one thing will solve everything. Or some people may just use one of these technologies, but that was sort of our evolution path. Now, eventually the hope is that in all of this, you know, serverless as a paradigm is probably the [33:25 mental model] we need for most, which is if I can just state policies in terms of services, if I have to think as little as I can with networking, that is when this thing becomes easy for me to use like cloud and anybody's cloud. I just don't say Google cloud, but anybody's cloud, there is ample opportunity to actually simplify it, like we have not reached the simplified cloud yet. We still need to make that happen. So that is where technologies like serverless are extremely important.
[33:54] And also being able to code, like I always spoke about use cases. So in terms of serverless, there's a variety of used cases, like you want to do processing at the edge, let's say, I want to like, you know, Tzury in your world, like in the world of security, if I want to do something to the traffic and it is very custom, I have multiple ways to do it. I could spin up a serverless or a function, I could actually leverage [34:18 inaudible] of a service mesh, or maybe I build out a site process, which the load balancer points to. So I think depending on the level of sophistication, the solution needs, or the level of sophistication the developers of the enterprise have, we have to give choice to customers. But again, like, you know, focusing back on what is the problem we are trying to solve and what is the best stool to go solve. It means that we will require all of these technologies. It's not like one makes the others obsolete.
[34:49] Tzury: Talking about, you know, VM, et cetera. What is the oldest service in Google that you know, that's still running the same way it was running at the beginning and was now migrated to any fancy schmancy new tech that you can share with us.
[35:06] Prajakta: You know, it is very interesting that this is how Google runs, like Google does run in containers. Google does have a service mesh. Google does do serverless. It's just that we didn't call those things that, like we called it Borg instead of Kubernetes. So in a way, if you can think of it, the services are running like they used to, because that is where we started from. And it was not that we set out to invent Kubernetes or anything like that. It was like there was a genuine problem of scale, where, how do you schedule something at scale, our own jobs at scale. And so in a way Tzury you can think that almost all services, obviously there's evolution, but they are running with similar paradigms from start to now, like in fact, this paradigms were invented to solve the problems we hit as we drove these services. So when you see our load balancers, it is how we run our own load balancing. Like that's how you scale your request for search, or when you look at containers, it's boring. So in some ways, every service is running the old way. If you can think of it that way.
[36:07 ] Tzury: So is [36:08 inaudible] use Kubernetes, what is more in use between Google itself?
[36:12] Prajakta: Yeah, it is basically the same set of people now who are doing both of those things. So it is basically the same tech. So like, for example, if you look at, I'll give you another example since Kubernetes, we spoke about it now. So if you look at say something like a service mesh, if you look at something like GRPC, I think the key thing to realize is we often mix the paradigm with the implementation. So Kubernetes, the implementation that is outside, that came from us opensourcing board. So it is one and the same thing. With service mesh, you have a lot of products in the industry. Like we ourselves have two very interesting products. One is a [36:50 steel] and the managed version, which is called ESM under service mesh. And then there's a slightly different variant called traffic director, which pulls in all of our global systems.
[37:00] So in a way like a lot of these systems, at least the tech that we adopted came from what we do internally. So it is basically one in the same thing. Like traffic director uses the same systems we use for a bunch of internal Google services. The flip side of this I wanted to call out though, is we've also been careful to award the not invented here syndrome, which means, and I think you and Anna spoke extensively about Envoy proxy. When we started off, there was discussion on whether we should go build a proxy like that. And when there was an evaluation done by several people, like several key people at Google, the conclusion was that Lyft built out something, Lyft in my client, build out something really interesting. There is no reason for Google to reinvent it. So we're also being mindful that it's not just about our tech, it's about the best tech that we can use internally as well as enough cloud. So that's a good example of us using an external tech. So it is whatever is the most optimal way to do it. And then going and using that.
[38:05] Tzury: So for example traffic director is built on top of Envoy. Is that something that you can share?
[38:10] Prajakta: Yes so this mesh basically has two parts to it. There is essentially your data plane where you run the proxy, like next to your application, you run the Envoy proxy and then you have applications and you control the proxy through a brain, which is what traffic director is. So we do an and the protocol between the control plane for traffic director control plane, and the Envoy proxy is called like XDS. And now there's a new variant of it. We stick to the open-source variant of it. We don't make any modifications. We don't fall off, which means that we are supporting exactly the same industry standard protocol between the control plane and the data plane, and yes, like our key sort of deployments are all with Envoy proxy, the traffic director, which is the brain itself, uses a bunch of Google systems. But since it uses the open protocols to [38:58 inaudible] data pin, you could swap it out or swap it back in because the others also use the same protocol.
[39:05] Tzury: How does it feel Prajakta being the greatest in one end and still the underdog on another? Let me explain what I mean, you and I and many people in this world know that the Google cloud actually from tech perspective has degraded so [39:23 inaudible]. Google cloud is by far the most sophisticated, intelligent, amazing, faster than any piece of technology, but still there are others more popular. I'm not even taking into account all the contribution and the birthplace of all those technology, such as GRPC, service mesh and Kubernetes and so on. To know that what you do is by far on top of the game. But from, I would say commercial side is still the underdog. How do you go on your day-to-day with this? Is it frustration, excitement? How does this affect your day-to-day?
[40:14] Prajakta: That's an interesting question. So maybe I give a slightly different perspective. First let's talk about like, you know, as always, since this is focused on the end customers, I would say most of the world's workloads haven't yet moved to the cloud. Like that's actually the very sobering reality of things. The opportunity ahead of us is huge, like I would start from there. I think the second part of it is it is not truly about being number one or number two, or number three, the question is, are your customers coming and using the cloud. Like what are the problems you're really solving for them? Why are you the best suited to solve for them? I think two or three very simple things in there. We've had, especially if you've been tracking, since Thomas came on board, there's a very strong focus on solutions based approach to solving things.
[41:06] So Tzury, when you asked me what, number one, or number two, or number three, it is almost [41:11 material] to this discussion when you put this big picture, like herere in front of you. The question is, where are the workloads? The workloads are in cloud? The workloads are on premises that folks are asking us to put, bring cloud to wherever they are, whether it's in their data centers, whether it's in their edges. A lot of our focus is on that. And it is super exciting because this is sort of the world we've been actually advocating for. Like, not just now, like since, you know, you've heard the anthers announcements, you've heard our work around edge cloud, you'll hear a lot more about it in the coming months, but you've seen all these announcements with telcos. I think it is that, it is very important.
[41:50] You know, when you are running a marathon, if you take the point snapshot at the beginning, it's super not useful, like at the end who wins and the market is big enough. I think the right thing to focus on at this point of time is, are we really solving customer problems? And that is why some of the things we are focusing on. One is obviously to go and bring technology. And from the starting point of the customer, like, you know, now there's a new project called Lantos for VMs coming out. The reason for that is a lot of workloads are VM-based. We cannot ask people to containerize overnight. There's a good realization of that and solving for that. That's an example.
[42:29] The second thing is a very good understanding of who your customers are. Our customers are enterprise and industry verticals. And we have a new set of customers with telcos. I think the third thing is to take the industry along, which means partnerships. We are spending a lot more time on partnerships like if you see our telco announcements, we are partnering with all kinds of ISB. We're partnering with telcos themselves. If you look at enterprise there is a huge amount of emphasis on that. And I think the last bit is take all of the cool tech we have, which you brought up as well, but it's not really about technology. Like what is the problem we are solving? Which means we have blueprints for various solutions. All our products work well together, there is simplicity in how you can configure them. There is visibility into what's happening when you deploy them.
[43:17] I think those are sort of top of mind. So some of the things you brought up are not even crossing our minds because really the problems you have solved are just a tip of the iceberg. I think the opportunity lies ahead. And that is where basically we are focusing on and it is super exciting. Like daily, you wake up and there is a, you know, there's a new problem you hear from the customer or at the same time you also hear about, you know, how do you say, like the [43:41 inaudible] went down or essentially you help them deliver an experience which doubled their customer engagement. Those are the real wins actually. Those are the things to track. And like the rest will follow is how we look at it
[43:55] Tzury: It is indeed****a marathon. And we barely even started.
[44:00] Richard: I wish we could talk forever about this. I mean, this is like a marathon. Listen to this conversation I'm learning so much. It's really great to hear. I wish I could talk to you about Aurora, you founded for women and leadership in Google cloud. I wish we could talk about your work in the DEI committee there. I wish we could talk about the 12 Peyton's you have. Tzury when she said get a Peyton, she was serious. She was mentioning something from her own experience. Unfortunately, we do have a time limit on this podcast. Prajakta, for people who are interested in hearing more about you and your awesome work, where can they find you on the web?
[44:31] Prajakta: I think the easiest way to find me is on LinkedIn. That's where I'm most active. I think for the rest, a lot of it is through the announcements that you see from Google cloud in the areas of edge, telco, some of the past products. I mean, those are great products to track as well, and from the cloud network insight and people can always reach out to me on LinkedIn and Twitter. That's the best place to find me.
[44:54] Richard: What's your handle on Twitter?
[44:56] Prajakta: It is Prajakta plus.
[44:59] Richard: Thank you so much that Prajakta. It has been great having you on. Thank you so much, looking forward to having you on future podcasts, if we can manage that because you have so much to say, and it's just wonderful hearing about what you're doing there at Google. Thanks again. Thank
[45:16] Prajakta: Thank you, Tzury, Justin and Richard. It's been a pleasure being here.
[45:18] Tzury: Thank you Prajakta.
[45:20] Justin: Thank you.
Special Guest: Prajakta Joshi .
Sponsored By:
Justin Dorfman | Richard Littauer | Tzury Bar Yochay
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about open source maintainers, contributors, sustainers, and their experiences in the Cloud Native space. This episode is a little different than others because we decided after publishing seventeen episodes this year, we want to take a trip down memory lane and look back at our most popular ones. Today, you will hear clips from our “Top Five” episodes which include the following guests, Kelsey Hightower, Les Jackson, Sergio Méndez, Chris Ferreira, and Richard Li. Sit back, relax, and enjoy! Oh, and go ahead and download this episode now!
[00:01:05] We start with Episode #8 which was our most popular downloaded episode. Our guest was Kelsey Hightower, who is Principal Engineer and Principal Staff Advocate at Google in the Google Cloud Platform Division. We learn how he ended up in the Cloud Native space, joining Google, and his job offer at NASA. Kelsey shares an abundance of information and we find out the amazing story behind “No Code.”
[00:04:58] Our next top episode was Episode #9 with Les Jackson, who is Developer Advocate at Marketplacer. Les explains his creative process and why he was interested in using Envoy to begin with to make microservices. We also hear his cool experience with writing his book, The Complete ASP.NET Core 3 API Tutorial, which he self-published versus going with a publisher.
[00:09:41] Episode #4 brought us a super fun guest, Sergio Méndez, who is an SRE, Professor, and CNCF Ambassador to Guatemala, as well as the organizer of the Cloud Native Guatemala Community Group and is working to get students and people from Central America involved into the CNCF ecosystem. Sergio is a “Linkerd Hero” and he is working on two contributions for Curiefense, which are Linkerd and Rancher, which we learn more about.
[00:14:26] Kubernetes is the topic of Episode #10, and we brought in Chris Ferreira, who is the Principal Engineer and Architect for the WebEx Platform at Cisco. Chris shares how he started out in culinary school and ended up in the IT world, working in startups on the front end and the back end, working for Microsoft, and now Cisco. He tells us about getting introduced into Kubernetes and becoming a code contributor to Istio in a pretty big way.
[00:20:33] We end with Episode #7, with our guest Richard Li, who is the Co-Founder and CEO of Ambassador Labs, which builds popular open source tools for Kubernetes. We learn about the “Golden Rules” to building a successful open source company or project, and things you must do from the very beginning to keep the project interesting to the community and to get it out and reach out to those achievements.
Curiefense
Curiefense Twitter
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Committing To Cloud Native Podcast-Episode 8-Learning in Public with Kelsey Hightower
Kelsey Hightower Twitter
Committing To Cloud Native Podcast-Episode 9-Microservices are Interesting with Les Jackson
Les Jackson Twitter
The Complete ASP.NET Core 3 API Tutorial: Hands-On Building, Testing, and Deploying by Les Jackson
Committing To Cloud Native Podcast-Episode 4-Sergio Méndez: SRE, Professor & CNCF Ambassador to Guatemala
Sergio Méndez Twitter
Committing To Cloud Native Podcast-Episode 10-Kubernetes, (Almost) Love at First Sight with Chris Ferreira
Chris Ferreira Linkedin
Committing To Cloud Native Podcast-Episode 7-Building a Business Around Popular Open Source Tools for Kubernetes with Richard Li
Richard Li Twitter
Special Guests: Chris Ferreira, Kelsey Hightower, Les Jackson, Richard Li, and Sergio Méndez.
Justin Dorfman | Richard Littauer | Tzury Bar Yochay
Anna Berenberg
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about open source maintainers, contributors, sustainers, and their experiences in the Cloud Native space. Justin has some shirts and stickers that he wants to give away to fans of this show, so listen right now to find out how to get some! Today, we have a super exciting guest, Anna Berenberg, who is a Distinguished Engineer at Google. Anna goes in depth about her position at Google and what she does there. She tells us about the “Five nines” applications, how proxies are used on a day-to-day cloud basis at Google, and how security and reliability come together with what they’ve done at Google for Envoy. Also, Anna explains how listening and being attentive to people and customers who contribute to open source plays an important role. Download this episode now to learn so much more from Anna!
[00:02:15] Anna tells us what she does as a Distinguished Engineer, what her specialty is, and what Uber TL means.
[00:03:30] Richard reads some things from Anna’s Bio and she describes in depth what it all means.
[00:05:35] Justin asks if Google Search ever goes down because he’s never seen it down, and it seems very critical that it’s always up. Anna tells us all about the “Five nines" applications and she mentions a paper that was recently published called, “Deployment Archetypes for Cloud Applications.”
[00:09:35] Anna explains how she thinks about her role and what her goal is.
[00:11:50] Richard wonders how proxies are used on a day-to-day cloud basis at Google.
[00:13:41] Anna explains what proxyless means and how it works. She mentions a single general-purpose RPC infrastructure called Stubby that Google uses.
[00:19:20] Tzury asks Anna how we can make software more secure, especially critical pieces of actually handling infrastructure, and Anna tells us how security and reliability come together and what they’ve done at Google for Envoy.
[00:23:41] Tzury wonders what kind of things Anna is doing within Google or outside of Google, involving open source related products to make the entry point easier for newcomers and developers who come from different platforms and different technologies to adopt new technologies.
[00:26:43] Speaking of extensions and platforms, Justin asks Anna when Google is going to adopt Curiefense. ☺
[00:29:17] Richard asks Anna how do they incentivize clients, communities, coders, developers, projects, and products like Curiefense to get involved in the planning stage, and what are her teams doing to make sure the needs of Curiefense and other projects, like our listeners may have, are taken into account at a very high level.
[00:32:21] Find out where you can follow Anna online.
[00:03:55] “So, we had our own proprietary load balancing proxies and control planes.”
[00:04:01] “And then a time came when we realized that for Google Cloud to achieve its principle, Google Cloud considered itself to be Open Cloud where we embrace open source technologies, and we basically essentially can think about cloud without borders.”
[00:04:33] “And at the same time, Lyft came out with this new, brand new proxy called Envoy Proxy, which had an amazing architecture.”
[00:05:42] “Well, this is actually another passion of mine is a design of Five nines applications.”
[00:11:04] “People should be thinking about policies and not the infrastructure that allows them to propagate and allows them to enforce.”
[00:12:13] “So think about it as like a gateway, the place where I trust the mains meet together.”
[00:14:05] “And what we developed actually, a service mesh before service meshes were cool.”
[00:15:09] “So when I looked at Cloud and how important gRPC is to cloud because it allows for much better productivity and velocity of cloud developers when using Protobuf’s and how well it feeds with the Kubernetes as modernization.”
[00:15:50] “We actually reuse the same API’s that we are using for Envoy.”
[00:16:46] “So, if you think about Gmail or something like this, some big application, or customers that big, that if you put proxy in each home, and you have hundreds of thousands of microservices, the daily job will be restarting proxies.”
[00:27:11] “An interesting conversation to have is how Envoy as a platform can allow co-existence of a functionality, in some cases could be competing, in some cases complimentary.”
[00:30:00] “Well, we’re always listening. I think listening is under appreciated activity and it’s important to listen and important this time, not a single requirement but a collection of requirements.”
Curiefense
Curiefense Twitter
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Anna Berenberg Twitter
Anna Berenberg Linkedin
“Deployment Archetypes for Cloud Applications” by Anna Berenberg, Brad Calder
gRPC
“gRPC Motivation and Design Principles” By Louis Ryan (Blog post)
Envoy
Justin Dorfman 00:00
Hi! it's Justin cohosts of this podcast, we got some new shirts and stickers and we really want to give them away to fans of the show. All we ask is you share one of your favorite episodes on Twitter and DM the link to at Cariefence and if you prefer email drop a line to podcast @curiefence.io.
Thanks and I really hope you enjoy the show.
Anna Berenberg 00:25
It's actually very interesting point about core versus extensions. Which brings us back to the question of reliability. The reason that the core is not kept figure limited is to ensure stability, reliability and security of the core and so let's say Google doesn't need all this extensions, then it can compile them out. It doesn't compile them in as core, and then they can guarantee quality.
Now everybody needs extension [phonetic 00:56] right because Envoy is not just a proxy to platform.
Richard Littauer 01:02
Hello, and welcome to "Committing to Cloud Native, the podcast where we talk about the consequences of open source and cloud native technology. We have a very exciting guest today from Google. But before I get around to introducing her, I want to make sure that the listeners know about the panelists, because our voices are going to come up and it's nice to know who we are. So I'm Richard Littower [phonetic 01:25]. I'm your host today with me is my co-panelists, Justin Dorfman. Justin, how are you?
Justin Dorfman 01:31
I'm great, Richard, how are you?
Richard Littauer 01:33
Always good and my other co-panelists, Tzury, how are you doing?
Tzury Bar Yochay 01:38
I am great, Richard. How are you today?
Richard Littauer 01:41
Also, still good, hasn't changed in the last 10 seconds. Thanks for asking. All right. Getting to our guest today. Our guest is a Distinguished Engineer at Google, who when I asked her to describe in more detail what that means use a lot of words that I would like you all to hear. So I will ask her soon. Again, we have Anna Baron Berg today calling from San Francisco. Anna, how are you doing?
Anna Berenberg 02:04
I'm great. How are you all?
Richard Littauer 02:06
I think we're all still good. Okay. All right. So when I asked you, how else I might introduce you, you said a lot of things about load balancing and so on. What is it that you do as a Distinguished Engineer? What is your specialty?
Anna Berenberg 02:20
I am Uber TL for load balancing products and technologies at Google, I work to make sure that load balancing works for both Google products as well as Google Cloud product and I've been at Google for 15 years doing just that.
Richard Littauer 02:39
So I have a silly question. 15 years is awesome, by the way, wow, I'm unfamiliar with the term Uber TL and that may just be me. But in cases, any of our listeners, can you describe what Uber TL means?
Anna Berenberg 02:49
Well, there are very useful people as engineers who implement code, and then you have TLs, who actually guide them to build and design services and systems and then when the scope becomes too big for one TLs to cover, then you have multiple TLs and then we have Uber TLs, for work with the TLs. So like your article [phonetic 03:14] system, where Uber TLs now guide, and design and architect a whole area, and the families of products.
Richard Littauer 03:24
Technical Lead, got it. Technically, what you've been doing at Google Cloud-- I mean, since 2015, you've had this job is you drove the modernization of Google Cloud-- Application Networking by embracing Immersion Cloud Native Technologies, using onboard proxy with traffic directors, Open Service Mesh and Universal Control Plane that powers all cloud applications, load balancing products, I just read that from your bio, which is why I was able to rattle it off so fast, can you describe in more depth what that all meant?
Anna Berenberg 03:55
So we had our own proprietary load balancing proxies and control planes and then a time came when we realized that for Google Cloud to achieve its principle, Google Cloud considered itself to be open cloud where we embrace Open Source Technologies and we basically, essentially, you can think about cloud without borders because once you use Open Source, then everywhere where the customer runs, they actually can become part of this open ecosystem of Google Cloud and so with that, it became apparent that we need something different than just google proprietary product and at the same time, Lyft came out with this new brand new proxy called Envoy Proxy, which had an amazing architecture and I totally fell in love with that, to be honest, because it was such a beautifully design proxy and with that, I made a proposal and the proposal got approved that we actually rebate and build all our new products and rebates, existing ones on our wall as a proxy and it's been quite wonderful experience and ride that philosophy because it allows actually to embrace bigger planes that run pure Envoy on somewhere else, whether it's on premises on the cloud, and use our own control plane to manage them, as well as our managed LB products.
Justin Dorfman 05:27
So, ever since I've been using Google's it's like 98, it's seems like it's never gone down and is that true? Like, does Google Search ever go down? I've never seen it down. It seems like it's very critical that it's always up.
Anna Berenberg 05:42
Well, this is actually another passion of mine is a design of Five nines applications and what five nines means? It's basically never done. It's the applications that basically always up 24x7, and then how do you deal with that? What kind of architecture would you build and with that, Google embraced what's called Mobile Applications and that's why searches never down because it could be down somewhere? But the traffic management and load balancing and routing, and everything is bound around places, zones, or regions are basically everywhere, where they stack potential maybe unhealthy, then it works around it and serves it from other Healthy Places and the same thing inside of the application itself, the same technology is being used to make sure that you can always build around faulty hardware faulty software, everything can fail and then you still build an application to be able to survive it. Just out of interest, not for self-promotion. We published recently, a paper titled deployment archetypes for cloud application that talks specifically about all sorts of deployment and global deployment as part of it.
Justin Dorfman 07:05
Thank you, because that makes a lot of sense and was your team responsible for building that out? Because it seems like you know a lot about that type of part of the search engine?
Anna Berenberg 07:17
No, not my team but I build and work with teams then build infrastructure for the services, but the services become our customers and what we want to do is actually solve customer problems, and how would you solve customer problems unless you understand what problems they're facing and so we get to listen both the internal Google customers as well as external Google Cloud customers to understand what are their requirements? How do they want to build this Five nines applications? What is the compliance requirements that also comes with that? Yeah, so it's all about listening.
Tzury Bar Yochay 07:56
I would say to me, Anna, your ESDN [phonetic 08:00], and you actually defining this software defined network, which people may not be aware of, because those tremendous trends and revolutionary takes 99% in the backend side of the story, at backbone of the infrastructure of the cloud, but Cloud ability, agility, scalability, and all superlative and we can attach the cloud is mainly available for the fact that data center, were used to be based on appliances and hardware are became what we call cloud, which is mainly based on software stock, performing, doing all the routing and all the great work of networking and switching and whatnot, firewalling, etc., etc., etc.
The world is stepping towards these Software Defined Network, I believe, I don't know numbers or predictions, but they talk about ISPs, one day also transforming to that type of infrastructure, 5g and so on, and so forth and then we are talking to you while you're actually leading teams and doing design and defining, eventually the software defined network. So I wonder sometimes you get to think of your part in the evolution of the significant role you've been playing. It's such a humble way, all those years.
Anna Berenberg 09:38
I'm thinking about my role in it that way. I think we live in a very interesting time period And like you said, we add the causal [phonetic 09:50] of SDN becoming requirement everywhere, because all the customers and all the users want to have policy based workflows, I would say.
So, everything has to become policy base. How do you propagate policy? How do you get this policy enforced? How do you do it in uniform ways, so that the consumers don't have to think, 'Oh, I'm going to enforce one policy on a hope and another policy and another hope because it comes from different providers or different functionality? How do we bring networking together under one umbrella in a way that customer can define a single policy, let's say, Access Policy...? Who can patch this bucket? Or who can talk to the service? Or who can actually go to internet and how all these policies can be defined in a very simple way and enforced in all network paths, no matter how many network paths are there? And what equipment or what products do they use?
If again, I think this will change how people think about networking. In fact, they probably stop thinking about networking, they start thinking about security and that's the goal of it. People should be thinking about policies, and not the infrastructure that allows them to propagate and allows them to enforce. So yes, my goal is for people to stop thinking about network.
Richard Littauer 11:21
So I have a very silly question, because I'm just not the expert and I know that Justin and Tzury work on this stuff all the time with Curiefence. I don't... I'm largely here on this podcast helping to guide guests along but I do need to ask me, and you seem to be the expert. So I wanted to ask you, when I think of a proxy, I think of what I use to stop people knowing that I'm using the Pirate Bay to download Star Trek episodes. That's obviously not the only use for proxies. How our proxies use on a day to day cloud basis at Google.
Anna Berenberg 11:54
There are multiple reasons for using proxy. At some sense, you can think of it as a choke point. So anywhere where you want to choke, access to something and enforce policy and make sure that there is a control over traffic you put the proxy in there. That's one way. So think about this, like a gateway, the place where trust domains meet together.
Let's say you have one team of people who trust. Within the trust domain, you have another team of people who trust and then you want to connect this two together. To connect this two together, you need a thing in between that would allow basically somebody authoritatively say, OK, this traffic can come in, this traffic cannot come in, this traffic should be augmented, this traffic should be thrown away, whatever.
The other part of the proxy is, especially of reverse proxies are more balanced and so behind proxy becomes a load balancer. So you are able to hide actual workloads and size of workloads and deployments or workloads from the people who consume the service and then you can scale up and scale down and basically all of that happens on the back end intelligently and no matter how much traffic is, uncommon proxy can distribute it in an optimal way to actually serve the consumer, as well as not overload a workload behind.
Richard Littauer 13:26
Awesome. That's actually really helpful for me, because I was confused how proxies interface with load balancers. Now I see that they're basically the same thing. It's just another term. That's really great. I know that you define one of the first gRPC proxy lists mesh, if not the first. Proxy less seems to-- If proxies are so useful, what is proxy less mean, and how does that work?
Anna Berenberg 13:46
Well, actually, me defining it is probably too much of taking a credit what I've done, I looked at how Google internally used service to service communication, and we have a proprietary protocols study that has historically been used at Google and what we developed actually a service mesh, before service meshes were cool and what that service mesh, what it did? It had a control plane, and it has a data plane and then control plane actually manages data plane, which is part of the study transport and framework that is linked into the client code and the server code. So it's a little different from regular service mesh.
And the reason regular service meshes as we know it day needs two proxies on both sides, the protocol is mostly HTTP. So you cannot change the protocol in a way to fit into the traffic management as part of the application.
So what happened here in our case, we have that is service to service communication that has been all micro services and services within Google and you can imagine, there are 100s of 1000s of micro services and services and it's proven itself very successful. So when I looked at Cloud and how important gRPCs to cloud because it allows for much better productivity and velocity of cloud developers when using protobufs, and how well it feels with a Kubernetes as modernization, while Kubernetes, modernization of compute and control plane, the gRPCs is a modernization of application network.
So looking at this together, it was pretty easy to make a next step and say, OK, we are going to take a service mesh that we developed inside of Google, which is Proxima Service Mesh, and we're going to put it on gRPC.
How do we do that?
We actually reuse the same API's that we using for Envoy and so you have a single control plane, and you have a data plane that is compliant to this API, similarly to Envoy proxy and now you can mix and match one, you can have a proxy service and client communication, where all the traffic management, security etc., is on this side.
So the developer doesn't have to worry about them, it's done for them. While actually, it doesn't also need a proxy and what it helps with in a large, it helps with 2 points:
So if you think about Gmail, or something like that some big application or customers that big that if you put proxy in each hope and you have this 100s of 1000s of micro services, your daily job will be restarting proxies.
So the proxy lists solve the problem of Lifecycle Management of proxies also. So the way we've done it, we actually allow them to coexist. So in a Single Service Mesh, you can have both proxies [phonetic 17:19] and proxy.
Justin Dorfman 17:21
So it's not just like some big corn job. It's actually like, we're optimized.
Tzury Bar Yochay 17:26
This is mind blowing JD, this is my blowing issue, I'm telling you. What's going on right now.
Anna Berenberg 17:31
So, because API's are the same, you're going to get a feature parity, not full feature parity, because obviously, a proxy is--- By definition, we can have more functionality, because it's out of the process, it can restart independently and if it crashes, the process, doesn't crash itself, etc.
Tzury Bar Yochay 17:54
I know one of the things that actually scares me, sometimes literally keeps me up at night, is that we live in a world of; we know that hardware is less bugs than software. That's a fact and there are reasons for it, logic gates, etc.
Anna Berenberg 17:54
So we have to be lots more careful than [unintelligible 17:56] but it indeed allows for coexistence of applications that requires super high latency requirement, a super low latency requirement, as well as, cannot afford to have so many proxies in deployment.
Tzury Bar Yochay 18:34
Software, as they put it out in understand orbits [phonetic 18:37] at a time, software is eating the world. Now software is everywhere. Security defined by software. Networking is defined by software, even proxy and proxy lists are software defined, transportation and routing and so on, and then we all do some amazing tech stack he just described. How can we sleep at night, knowing that software, which not to be-- You know that every software has bugs, and those bugs can easily be exploited, taken advantage by malicious entities to do all those attacks and breaches and so on? How do we make software more secure, especially critical pieces of actually handling infrastructure? Where are the guarantees the gatekeepers you put in place in your work and your team work, day to day to ensure robustness and safety and security?
Anna Berenberg 19:38
Yes, this is an excellent question and that's where security and reliability come together and one of the things that we've done, let's say at Google for Envoy, re-founded the whole team that is responsible for security or Envoy and the focus on reliability for us, it's very important. That Envoy doesn't have exploits that, it will never be crashed because we're using it for as our as foundation for our product. That's one thing.
Another thing is in general culture of the teams and I think Google has a culture very much tilted towards reliability. People think about reliability when they design systems, when they hold it up. There are a lot of tools to make sure that testing is properly done. There is a fuzzing tools. Fuzzing is required for interfaces. There are all sorts of paranoia that is healthy paranoia that is being deployed and required when you build infrastructure, and what to say that reliability is more important than any functionality we can add.
In some cases, we can think that the integrated just because we wanted to make it more reliable. So it's the integration is not necessarily comes as the features that customers see how reliable we make the systems for the cost.
Tzury Bar Yochay 21:24
Can we talk a little bit more about Envoy in--- I'm not sure how far can you go in terms of things which are proprietary within Google, because it's not a secret that Google has its own flavors? Floros [phonetic 21:38] is to be a flavor of hungry now it's probably, I'm assuming flavors of fan boy when we started curious fans, we looked at OK, what platform do we want hooked on as a first iteration of the product of this solution, and we picked Envoy not being aware of the very fact products, Google Cloud products, and apparently AWS and Azure, they are all fallowing Google as usual and rewriting they're on cloud stock on top of Envoy.
So Envoy to some extent, if not yet will soon become the operating system, sort of the operating platform of the cloud networking application networking. Now, there is a barrier though, Envoy in terms of having it that in one end build the architecture, you mentioned that he's providing API and extensibility in first place.
So, Envoys on feature as we had snow one of the maintainer so far we explained to us that. When they discuss a feature of Envoy they first look; can we implement the feature as an extensibility, using the Envoy core API [phonetic 22:54], and very rarely, they will change the core. In most of the cases, Envoy development is done as Envoy extensions, this is how we have built and extend and expand.
So these very, I would say, extendibility, multiple API and extension need to take into account in order to get started, provide some sort of barrier to beginners to begin with but on the other end, it's like using the Veeam as an editor, if you go with the first day or two of the hustle, then you don't give up, then you find yourself in heaven. In a peaceful mind, you know, you get to the right place.
So, what are things that you doing, I would say, with a single girl are probably also outside of Google, having involving Open Source related products to make the entry point easier for newcomers, for developers, who come from different platform, different technology to adopt new technologies.
Anna Berenberg 24:04
It's actually a very interesting point about core versus extensions which brings us back to the question of reliability. The reason that the core is not kept very limited, is to ensure stability, reliability, and security of the core and so let's say Google doesn't need all this extensions, then it can compile them out, it doesn't compile them in, has core and then they can guarantee quality. Now everybody needs extensions because Envoy is not just approximate platform, as he said each of all the functionalities built as an extension.
One of the things I think is going to simplify in the future onboarding and extensibility.
There are two things:
So that one also is a gRPC callout from proxy and I don't call out to complicated service and this service can actually do a modification of request, if needed. So that would allow onboarding of people without ever touching a proxy itself, the only thing that does need to change is a configuration.
So the configuration is given by control plane to proxy and then the proxy will call out remote services. This is like totally mind boggling.
And the second option is Wasm proxy, that will allow developers to actually compile their code all together independently, the ABI, are going to be standardized also. So it's going to be a standard way of getting the data in and getting the data out and that's it. So I think you rightfully saw yourself that usability should be a concern, because more and more people using Envoy to implement-- Again, SDN, right? It's all about value added services on top of this platform.
Justin Dorfman 26:40
Speaking of extensions and platforms, when is Google going to adopt Curiefence? I mean, we have a thriving community and you know, we have room for one more organization to start using Curiefence. [crosstalk 26:55] Oh, come on.
Richard Littauer 27:00
You're going to scare away all our guests.
Tzury Bar Yochay 27:05
This is my KPI. This is [crosstalk 27:11]
Anna Berenberg 27:11
The interesting conversation to have is how Envoy as a platform can allow coexistence of a functionality, in some cases, could be competing, in some cases complimentary, how can they build the offering, where the consumer can decide I want some functionality from this product for Cloud Provider Native Offering versus I want to add on, like, in this case, Google Cloud has a product, which is in the same space as Curiefence, which is called Cloud Armor. So it's an interesting proposition to develop an ecosystem like that.
Tzury Bar Yochay 27:53
Justin, you were not aware of but you should be aware at this point that Anna is a great inspiration on us while we were in the very early days of Curiefence. I had a call with Anna project that probably will follow you up on this podcast app and Matt Klein, that when we discuss actually cure Fest, 5g, its architecture around boy and so on and so forth. So the contribution from Google is given already JD on a day to day,
Justin Dorfman 28:22
[crosstalk 28:23] You know what, I don't know that and it should be probably in our about us, because that's all I know, I joined two months after the release, and I was half joking. I mean, obviously, we would love it. But no, I wasn't trying to put you on the spot or anything.
Richard Littauer 28:44
Justin, You're ridiculous. Alright, here is a follow up. So you do amazing work at Google, you lead many technical leads and you work really hard to make sure that this work is happening and a lot of what you're doing has been groundbreaking, which is awesome. A lot of the stuff is Open Source, gRPC is Open Source, which is really great. Anyone can get involved and when you look at the code, I mean, part of the standards and the principles for gRPC available, gRPC.io. is free and open, allow anyone to look at what's there.
My question is how you incentivize clients, communities, coders, developers, projects, products, like Curiefence to get involved in the planning stage, in the stage where you're working, because Google is doing all this work at the top strategizing and it's easy to say it's Open Source at the bottom. It's easy to say, Well, we've made it open source. Go ahead and use it if you want. But it's much harder to integrate feedback from the community at the stage where it's how we're building all of this stuff and strategizing our knowledge base. So what are you doing? What are your team's doing to make sure that the needs of your offense and other projects like your listeners might have are taking into account I'd like to very high level?
Anna Berenberg 29:38
Well, we always listening, I think listening is under appreciated activity and it's important to listen and important to understand, not a single requirement, but a collection of requirements because when you have requirements from multiple people, then you're not looking at solving upon problem, you are looking at solving an actually generic problem.
So we always listening and being attentive to people who both contribute to Open Source as well to our customers and interestingly enough, our customers also contributors to Open Source.
So this creates an ecosystem in which we provide value added services on top of Open Source, while our customers take advantage of our value added proposition, they actually improve Open Source offerings as well and they make them more acceptable to them what especially on the consumption side, are they going to produce Kubernetes operators then configure whatever we want, whatever they need, while we providing GCP API's.
There are a lot of this collaboration, natural organic collaboration happening between Open Source community, that let's say a lot of our customers and the community that are our customers, as well as customers who actually are not very much interested in Open Source, but they will use Cloud Native. So you have a spectrum of customers, and all you need is to listen, to understand what they're missing.
Richard Littauer 31:46
I love that answer. Thank you. We are coming up on time. So one of the questions I have Oh, aren't we started? I want to keep going, she's fine. Okay, well, then go ahead and edit your question.
You know, Paul, keep that in, I want it to be real and show that we want to keep going with Anna? [crosstalk 32:05] Something Anna, I don't want you to like-- Well, I want to abuse this privilege.
Anna Berenberg 32:14
You all funny.
Richard Littauer 32:17
See, Mom, I'm funny.
Justin Dorfman 32:19
So my final question was, where can people listen to you? And do you have any final thoughts and if not, where can people find your final thoughts elsewhere? Your other thoughts on this sort of stuff, do you have a Twitter account blog?
Anna Berenberg 32:31
I want to think of myself as a person anybody has to listen.
Justin Dorfman 32:38
In fact, listening is an under estimated activity that is from you.
Richard Littauer 32:43
Also, I think this was really interesting to listen to you have such a depth of knowledge and your ease of explanation really shows that you're able to take these really complex stuff and just say, 'Yes, here's how we do it. It's pretty cool and it's like, really great. So you're definitely someone worth listening to.
Anna Berenberg 33:00
Yes, so I have to return. I'm posting some of it. I have LinkedIn account, but now I don't have a blog.
Richard Littauer 33:07
That's okay. What's your Twitter account?
Anna Berenberg 33:09
It's [unintelligible 3:10] it's K-N-I-G-A and it's from Russian. It's book in Russian.
Richard Littauer 33:19
I love that. Yeah. Well, thank you so much for coming on this podcast. It was really great and I really appreciate you sharing your knowledge. I'm thinking about the etymology of Envoy because Envoy means messenger and as we all know; the Roman god of messengers was also the Roman god of flowers. So we talk of flavors, we could also think of a bouquet of different Envoy things and so I was trying to show like something around this was just really great and now I feel like I've walked through a garden of beautiful flowers. So thank you so much.
Justin Dorfman 33:52
I love how Richard you go. Everyone knows. I don't know and now [laughter] I always learned something like either with the linguist or a couple of new words that you define. It's a very interesting, not only do I learned about committing to Cloud Native, I also get to learn about words, big words with Richard.
Richard Littauer 34:11
Thank you, so much.
Anna Berenberg 34:13
Thank you.
Richard Littauer 34:14
Thank you.
Special Guest: Anna Berenberg.
Sponsored By:
Justin Dorfman | Richard Littauer
Tom Kerkhove
Hello and welcome to Committing to Cloud Native Podcast! It’s the podcast by Reblaze where we talk about open source maintainers, contributors, sustainers, and their experiences in the Cloud Native space. We are super happy to have two guests with us today, Zbynek Roubalik, a Senior Software Engineer at Red Hat, and Tom Kerkhove, Azure Architect at Codit. Also, Zbynek and Tom are both Maintainers for KEDA. They are here to tell us more about KEDA, why it’s so cool, what they do as Maintainers for it, their challenges, and personal goals they have with helping them become better Cloud Native Engineers. There is a discussion about how it’s not just about code, but all the other pieces that really make a project, and knowing how to manage everything in between. Go ahead and download this episode to hear much more!
[00:02:00] We start with finding out what KEDA is, how long it’s been around, and how large the open source community is.
[00:04:20] Justin wonders if Tom and Zbynek were there from the beginning of the sandbox onboarding or if they came after.
[00:06:32] Tom tells us about doing case studies they’ve done for Alibaba Cloud and the CNCF blog.
[00:08:35] Richard asks Tom and Zbynek why this project and what is so cool about KEDA compared to anything else in the Cloud Native space, and they tell us what sort of stuff they do as Maintainers for KEDA.
[00:11:47] Justin brings up that he saw “Merch” in their store, and he wonders how Tom and Zbynek are fulfilling that and if they use a service.
[00:15:36] Richard wonders about Tom and Zbynek getting paid to do this work, and Tom fills us in.
[00:16:33] Tom and Zbynek talk about the major challenges that they’re facing, which include “commit and run.”
[00:24:00] Richard asks Tom and Zbynek to share their personal goals for being with this project, where do they want to be in five years, and how is KEDA helping you become a better Cloud Native Engineer.
[00:27:52] Richard mentions Tom’s website you should check out and he asks him if people could only read one of his blog posts which one would it be.
[00:30:28] The guys all discuss how it’s not just about the code, but about all those other pieces that really make the project and knowing how to manage everything in between.
[00:33:09] Find out where you can follow Zbynek and Tom online.
[00:33:45] We end with Justin asking Tom and Zbynek who they would like to thank at the CNCF or anyone in the Cloud Native community.
[00:02:05] It’s basically aiming to make application autoscaling that simple on Kubernetes because it isn’t. So, we try to make it super simple for you so you can focus on your application and not the scaling internals of Kubernetes.”
[00:05:07] “Funnily enough, that’s a very hard piece of maintaining open source, knowing who is using it because you cannot measure it in any way.”
[00:24:29] “By not having to worry about how Kubernetes scales.”
[00:24:37] “I bluntly set this one. We would present the KEDA for the incubation graduation. I want this to be the standard application autoscaler so that everybody uses the same thing, that you don’t have to worry about it, and we just handle everything for you, frankly.”
[00:24:46] “I like the simplicity because I like when things are from the user perspective because usually, we are developers, engineers, and we are focusing just on the codes, technical side.”
[00:25:49] “And now I’m sometimes exaggerating, but they still understand how to just scale this freaking thing, while it’s just the helm install away and you’re good to go.”
[00:26:30] “That’s also a good example because we are working on a new reference case with CAST AI and they basically use KEDA to make Kubernetes cost efficient and make sure that we don’t waste electricity and all this kind of stuff and make the environment a better place just by optimizing your workloads.”
[00:28:58] “And that’s why for my projects I always use the mantra which is, It’s just a pull request away.”
[00:29:48] “There’s so many things you need to do which is not code, it’s ridiculous.”
[00:30:54] “I haven’t written a single letter of code for KEDA. I’m doing all the other things.”
[00:31:41] “I would like to say that this is super important, like not just doing the code as mentioned, but all the stuff around, it is very important to have like active project and the health, because if you don’t have the healthy environment around, the project was stale basically.”
[00:31:56] “I fully agree on one the typical things that I see is you go to a project and you look for documentation. If you’re lucky you find documentation, then you ask, do you have any documentation.”
[00:34:09] “So, Chris Aniszczyk, the CTO of CNCF, because although he’s super busy, he’s always supporting us definitely. The fact that he’s helping KEDA from the early days when we were so small project and he believed in us from the start.”
Curiefense
Curiefense Twitter
Cloud Native Community Groups-Curifense
Reblaze
Justin Dorfman Twitter
Richard Littauer Twitter
Tzury Bar Yochay Twitter
Tom Kerkhove Twitter
Tom Kerkhove Linkedin
Tom Kerkhove Website
Zbynek Roubalik Twitter
Zbynek Roubalik Linkedin
KEDA
Codit
Red Hat
Committing to Cloud Native Podcast-“How to manage a successful CNCF project” with William Morgan of Linkerd-Episode 5
Sticker Mule
CAST AI
Chris Aniszczyk Twitter
Tom [00:01]: We have some case studies on the blog, for example, Alibaba Cloud. We did one even for the CNCF blog, but I never taught I would say this about myself, but I'm really one of the PMs for this project. And I don't mean this badly to a PM, but I never saw myself as a PM, but that's just all I do reach out to people. Hey, cool stuff. Can we do something together? Because that really helps people convince that the project is used. People rely on them. Certainly, if you see big names, if they use it, then we probably should use it as well. It must be good. And that really helps. In terms of the CNCF incubation, luckily there end users can talk off the record. So we have some of the people with the big companies that we cannot list that are apart of it. Still you want to talk to your friends and colleagues about the ones. And obviously there are still ones that we do not know about because it's free in open-source
Richard [01:00]: Hello and welcome to committing to cloud-native, the podcast where we talk about the confluence of cloud-native and open source. Super excited to talk about our guests today and to talk with them even cause that's what we do here on the Committed To Cloud Native podcast, besides me, Richard Littauer. We also have Justin Dorfman as a panelist. Justin, how you doing?
Justin [01:20]: I'm doing great. How are you?
Richard [01:22]: I'm doing excellent. Happy to be here talking with two guests today. One of them is calling from my favorite city in the Czech Republic from Bruno and we have Zbynek [name], which I probably totally butchered his name for which I apologize sincerely. I do not speak Czech. I am so sorry. We also have Tom Kerkhove. Zbynek is joining us today as a senior software engineer from Red Hat, whereas Tom is joining us as the Azure architect at Coded. Both of them together are maintainers for KEDA, capital letters please. What is KEDA? Which one of you wants to go first?
Tom [02:05]: Well, I can get started. It's basically aiming to make application auto-scaling that simple on Kubernetes because it isn't. So we try to make it super simple for you. So you can focus on your application and auto scaling internals of Kubernetes.
Richard [02:22]: I thought Kubernetes wasn't natively made to scale. Isn't that the entire point of like Kubernetes? It's made to help make it easier for you to do that?
Tom [02:29]: Definitely. If you went through the whole internals and the guts of Kubernetes, and you understand how to get your external metrics inside the cluster and all these kind of things. Like if you just want to scale CPU and memory fine, you're good to go. But as soon as you want to get it from, let's say Prometheus's or some cloud provider, you need to do some more work and we try to give you a consistent approach to do it for all your applications, be it with cloud vendor, be it with some open source technology, we give you a consistent experience.
Richard [03:02]: Okay. That makes a lot more sense. How long has this project been around?
Tom [03:06]: It really was created in 2019. So I just kind of go by that.
Zbynek [03:09]: I would say it's like [03:11 inaudible]
Richard [03:12]: How large is the open source community? How many developers you have working there and how many maintainers?
Tom [03:19]: We have four maintainers, so two people from Microsoft and us too. And I think, how many contributors do we have?
Zbynek [03:27]: More than hundreds.
Tom [03:29]: It originally got announced in May, 2019, indeed. So as a partnership between Microsoft and Red Hats to close the gap and given event driven, autoscale it and then early last year, so that's 2020, we donated it to the CNCF as a sandbox project to basically stimulate the vendor naturalness and then actually now we are working on our proposal for incubation and we're actively doing end user interviews. So it is a great time to have this conversation because we are also learning from people how we are helping them make that auto-scaling simpler.
Justin [04:08]: That's awesome. I mean, the reason I reached out is because you're a little ahead of us in the program. We just joined sandbox and I noticed that you're getting ready to go to incubation. Were you there from the beginning of the sandbox onboarding or did you come after?
Tom [04:26]: I jumped in around sandbox, I think Zbynek, you're part of KEDA from the start.
Zbynek [04:32]: I joined couple months later, so maybe four months later in the summer of 2019.
Tom [04:40]: So it's mainly presenting what the project is, how it helps people and why it should be part of the CNCF. We came at the moment where they were just changing the whole process. So it was a bit finding out what the new approach is, but I think it was fairly straightforward to get it done. And that also helps you think about how you run the project, helps you to think about security, being a good member of the community. I know now with incubation, more about what's the adoption, what's the community and who are the end users. Funnily enough, that's a very hard piece of maintaining open source, knowing who is using it because you cannot measure it in any way. So you really need to reach out to people. I noticed you use it. Can we list you as an end-user? And I was actually very surprised how many times you hear, okay, I need to check with legal if we can do it, this and that.
Justin [05:31]: Yeah. That's so true.
Tom [05:34]: Because you're only using free stuff. So for me, it seems obvious to just give back the logo, let's say, but of course a logo has.
Justin [05:43]: They are strict. We had eBay's logo up on our site and they're like, we didn't say you could use that. We're like, oh, okay. Our bad we'll take it down. Like, it wasn't a big deal, but it was just, they track it down and they're like, oh, we can't have that onsite.
Tom [06:00]: Like we have some really super cool end users. We already have some listed publicly, but we have some other great ones, but we cannot talk about them. But man, they're so cool that it's really annoying because people use it from day to day.
Justin [06:16]: Yeah. Then the most annoying thing is that in order to go to incubation from the sandbox is you have to have user studies. And you know, we can't write them because they won't let us, it's like this kind of catch 22. So I totally feel ya. I mean, you've got some really big brand names. You've got Microsoft, Alibaba Cloud and a few others, but are they doing the case studies? How do you go about doing that?
Tom [06:41]: We have some case studies on the blog that we have, for example, Alibaba Cloud. We did one even for the CNCF blog, but I never thought I would say this about myself, but I'm really one of the PMs for this project. And I don't mean this badly to a PM, but I never saw myself as a PM, but that's just all I do reach out to people. Hey, cool stuff, can we do something together because that really helps people convince that the project is used. People rely on them. Certainly, if you see big names, if they use it, then we probably should use it as well. It must be good. Right? And that really helps. In terms of the CNCF incubation luckily there end users can talk off the record. So we have some of the people with the big companies that we cannot list that are part of it. So that helps. Still, you want to talk to your friends and colleagues about ones. And obviously there are still ones that we do not know about because it's free in open source.
Justin [07:40]: We recently had a guest on Avi Press co-founded and CEO of scarf.sh, check that out. Him and his team are figuring out the problem to see who's using your stuff. It's pretty cool. We're going to implement it pretty soon. So this is cool. Like we can share, you know, tips and stuff. I like that.
Richard [08:01]: Also a [08:01 inaudible] KEDA is for those of you who want to go to the URL, Tom, I have a question for you. So you've been working for Coded as an Azure architect for a while, but you're also speaking of big names. You have a lot of like, you know, medallions to attach to yours. So you've been a marketer of Azure and MVP and advisors since 2014. You're one of the first GitHub stars. You've been a CNCF ambassador since 2020. And you do a lot of different stuff around GitHub, [08:25 inaudible] Promitory, kubernetes event, grid bridge, Azure deprecation. Arcos, I'm literally just reading your bio, but partially because the people in the audience haven't read your bio and it's my job to make sure they know who they're listening to. So one of the questions I have for you is why this project out of other projects, what's so cool about KEDA compared to anything else in the cloud-native space.
Tom [08:45]: Honestly, I have a customer who went from an Azure service to Kubernetes. They said, we'll use Kubernetes. I think that was four or five years ago. It's great. It's contained. And it really scales very well. And then they deployed it and then they said, okay, let's auto scale. And then I was like, this is not supported out of box, good luck. Back then, there were only two metric adapters, which was Prometheus and I think GCP and I was like, okay guys, you can build it yourself or you manually scale? They said, well, manually scale. But that's how I started [09:19 inaudible] to bring Azure monitor metrics and Prometheus.
[09:23] Fast forward to the partnership with Red Hat and Microsoft, I was like, man, this is what my customer needed. This is just closing such a big gap. And actually I was already working with Jeff Holland before as an MVP. So I reached out and say, Hey, how can I help? Because this impacts all my customers and yeah, I really believed in the project, I started contributing and then the team asked if I wanted to become a maintainer. So that's the story. It's just what I needed, basically.
Richard [09:54]: Awesome. Zbynek what about you?
Zbynek [09:55]: Oh, it was just like totally different because as I mentioned, the project originally started as a collaboration between Microsoft [10:02 inaudible]. So there was the [10:04 inaudible] the guy from [10:06 inaudible] that told me, okay, we are working on this project and we are looking for some additional workforce. So I was looking at it and I was like, this is cool because this brings something new to Kubernetes, something that's missing because all the scaling is not simple to mention. So that's why I joined this project because I like the idea.
Richard [10:27]: So you two are maintainers, but maintainers as a term, which covers all manner of sins. What do you say that you're jobs are on a day-to-day basis. Are you merging issues? Are you doing big strategy planning? Are you community facilitators? What sort of stuff would you say you do?
Zbynek [10:42]: I wouldn't say that we are doing everything that you mentioned. So basically we started with the communication, we have issues, we have discussions, on slack we have [10:50 inaudible] on Kubernetes space. And we are making decisions, [10:57] like feature, features that they would like to have, would like to implement and all this stuff. And it's complex so you can try different aspects of project development as I mentioned, slowly transferred into [11:10] because [11:11] well this kind of [11:12]. So that's just perfect.
Justin [11:18]: No, that's how I know of Tom is Twitter. And you guys, especially, you are like besties on Twitter. Like it's this constant quote retweets and hearts and it's really cute. I just want to go into something. And the other thing with the CNCF is obviously built in the community and that's something that I am, where it's like I have multiple hats. The biggest thing is great in the community. And I saw you have merch in your store, like, how are you fulfilling that? Do you use a service or what do you do?
Tom [11:57]: So that's a good example of the benefits of CNCF, where they have a service desk. And I don't know how it originally arose, but we thought, yeah, why don't we have Merch? So he started digging, and there's a lot of options. There's like these websites where they can upload your logo and then people can buy merchandising and they just pay for everything I think. But I just said, Hey, let's go to the CNCF service desk and see what the guidance is because we cannot be the only ones with this request. And then they told me that CNCF projects, which are part of graduation or incubation, get this for free. So they become part of the CNCF store. So I said, Hey, no problem. I fully respect that. Do you have any recommendations? And then they just ask, okay, what's the quantity? And we said, yeah, we just want to do a limited amount. And then they said, okay, let's just do it for you. So they picked it up for us. So that's a good example of how a foundation helps.
[12:55]Also in terms of the websites I think it was with the 1.0 release. I created the first ugly version, just to have something up. And then we involved CNCF as well. And they had a person come up with the kid and design and built it for us. So they really help with these typical non-project specific things, which save us a lot of time.
Justin [13:17]: The docs are beautiful. They just flow really well. They're really well done. I was pretty impressed with that. So it's interesting. So you're a sandbox project, but you're kind of getting incubator slash graduation perks. Am I going to have to talk to Chris [Name]about this? What's going on?
Tom [13:36]: I always say one can only ask, if it's a no, it's a not. Yes, it's even better.
Justin [13:43]: Yeah, you're absolutely right. And that's a good lesson for everyone, is just, all they can do is say no, there's really nothing to lose. Interesting. Okay. That's good to know. So you don't have to do any of the fulfillment, they handle everything. The Shopify store, I believe is what you use.
Tom [13:59]: Yeah, I think so. But they did everything for us indeed, but there are actually a lot of ways where you can offer this. And so I was actually a bit overwhelmed and they wanted to use what is typically used. So we got involved.
Justin [14:12]: We use Real thread, they do a really great job. We could provide them, they make a Google form and people fill it out and they put t-shirts stickers. Anything you want to put in there and they ship it anywhere in the world. So they've been a really great partner and yeah, we just basically get our stickers from sticker mule, ship them to Realthread. And then they just handle everything. It's a really great service.
Richard [14:37]:Justin used to work at sticker mule. So just take whatever he says with a grain of salt.
Justin [14:42]: I think sticker mule makes the best stickers like really do, but what do I know.
Tom [14:47]: But you still need money to be able to make stickers. We don't have any funding so, well at least to my knowledge. we really rely on the good people, such as Snake, Azure dev, GitHub. I don't know [15:01 inaudible] we have.
Zbynek [15:04]: It's [15:04 inaudible] for hosting our [15:06] for testing.
Justin [15:08]: Well, are you allowed to like, do GitHub sponsors or does the CNCF prohibit that?
Tom [15:15]: That's actually a good question.
Justin [15:16]: Cause like, if you did like a GitHub sponsor, you can put it into an open collective and then get like a virtual card and then pay for stickers out of that or just pay for them yourself and then get a reimbursement.
Tom [15:26]: Yeah. That's a good question. I don't know if we are allowed to.
Justin [15:30]: Got to have stickers or it's not an open source project.
Richard [15:35]: So you two are paid. You have money coming in. You're not doing this of your own initiative. It looks like you're in nice apartments. So I'm just making sure, I mean not too nice, but nice.
Tom [15:44]: I do this in my spare time. So that's also why I'm super slow and delaying everything. So my company gives me some budget too, as an MVP to do whatever I want. So that helps. But the majority is while my kid is sleeping or when my wife is out for work.
Justin [16:05]: How many times has Microsoft tried to recruit you, Tom? It seems like you are one of their biggest advocates.
Richard [16:14]: Well, Justin is trying to get a referral fee there again, sneaky guy. You got to watch that dude. You've got to watch him. So funding aside, CNCF has given you a lot of opportunities and obviously, you know, your companies allow you to do work on this stuff. That's great. It seems like a sustainable project. You have awesome docs. You have tons of contributors. What are the major challenges that you're facing? Like what are like the top two or three things that come to mind where it's like, oh, this is the problem that I have, and I don't know how to solve it?
Tom [16:43]: Commit and run. So we allow you to contribute scalers. And while it's super simple to add them, it's also, I think the downsides, because we have scalers to systems that we're not experienced with. I'm looking to see if I have an example.
Richard [17:01]: So on your homepage, you have this huge list of projects. Those are the scalers you're talking about, right?
Tom [17:06]: Yeah, so we rely on the community. For example, we have one for who are way clouds. If there are issues. I mean, nobody used that before. So that's why Zbynek now said okay every new scaler needs to have those end to end tests, if they're not there, sorry, we will not be able to merge them because we have no idea how it should be.
Richard [17:26]: You must be this tested to ride the ride, is what you're saying.
Tom [17:30]: I think that would be my remark.
Zbynek [17:34]: I agree this is the biggest issue we have because as you can see [17:39] scalers is huge and it is not in one person. So two persons to do all these kind of stuff. So we need to keep the people engaged that are using the specific scale. So usually [17:55] is that there is somebody that, okay, I would like to have this scaler for KEDA what can we do? So we encourage them to continue [18:01] and would really appreciate it if thIS person can take a little kind of [18:06] and from time to time [18:09].
Richard [18:11]: I wonder if maybe a document policy talking about scalar maintenance and what's sort of required of you, if you become someone who submits a scalar might be a good idea, because then you can say, if you aren't reactive to issues, we'll remove the scaler from production because it's totally going to.
Zbynek [18:23]: If I'm not mistaken, we have the [18:24] kind of [18:27] documentation software. So once those scalers are implemented [18:32 ] . So that it's fine.
Richard [18:35]: How many users would you say you have?
Tom [18:37]: It's open source, we have no idea.
Richard [18:39]: No idea at all. Okay. But tens of thousands, hundreds of thousands of people using it. No idea. Super cool.
Tom [18:45]: We only know about the people that are listed at least what I know. I don't know about you Zbynek, but that's why they becoming a maintainer makes you see these kinds of things. But that's why, if you use an open source project, it's the least you can do.
Zbynek [19:02]: I know that Jeff mentioned the number of installations of Kubernetes but I'm not sure if I'm allowed to talk about this. [19:12 inaudible] was pretty impressive I would say for this kind of small project.
Richard [19:18]: What's that thing about Huawei cloud. I don't know, I hadn't heard of all Huawei cloud before. I presume I will hear from it again, but I have no idea what Huawei's user base would be. I don't speak Chinese. I can't read Chinese documentation and I don't know a lot of Chinese developers. And so I was like, it could be freaking massive and maybe there really is one person keeping all that up and you wouldn't know, super tough problem.
Tom [19:42]: For example the Alibaba Clouds, they are using it for, like scaling the applications that are being deployed on the Cloud. So I would say this cloud is pretty huge, like in China, so we like [19:51] number of customer that are being like the customers of Alibaba service, is just one customer for us.
Justin [19:57]: We had William Morgan from Linkerd on and one thing that he does is he has an adopters.md. I don't know if you have that, but he basically just goes out and anyone he finds out that is using the project. It's not about so much the logo on the site, but the easy way for someone who's using it can do a pull request and then add their company. That's kind of something he's very obsessive about.
Tom [20:25]: Yeah, I think that's another good approach, but I'm just thinking, what's the difference. Of course it's still a logo, but I think we would still have the bigger company saying it's not okay that you list us. It will be easier of course, but I think the way this needs to be fixed is not on our project. But for example, if you have a look at GitHub, you have the star. Star says nothing. I mean, this is just reds bookmark is repo. But what if there would be something new, like a button. I use this project and then you as an individual could just click that button. I could click it and then you at least have a better measurement.
Richard [21:06]: There's no way that's not coming. There's no way that Microsoft doesn't know that's something that should be implemented for GitHub. I mean that's been obvious for years.
Tom [21:13]: I've suggested it but let's say that it's not getting much traction.
Justin [21:17]: Maybe we have the power Richard to make this happen because we know some people.
Richard [21:24]: We can figure it out. I'm wondering if it's possible. I used to have the New York times logo on my personal website because I was [21:32 crosstalk] random like throwaway article about dothraki the language in the movie Game of Thrones and then New York times emailed me saying, you're using our logo on your website in a way to advertise. You are doing it to increase your cloud. That will cost you $3,000 a month or something. And I'm like, ah, no, thanks. So it was something, I don't even remember. I just took it down. Like, my commit on GitHub was like, these guys are jerks, but I realize now what I could have done is made a section of the website saying I can neither confirm or deny these people, let me use their logo or not.
Tom [22:09]: But how do they know so quickly?
Richard [22:11]: No they didn't know very quickly. It took them years to find out, but they basically have armies of minions who go out and just try to make money. I mean that person's making his pay grade and you know, I could have been nicer. I wasn't, but that's cool. But like that's just someone's job.
Justin [22:26]: They have like the same type of job of someone giving out court orders to people.
Richard [22:31]: Just like a patent troll almost, you know, numbers.
Justin [22:38]: You A hole.
Zbynek [22:40]: Regarding the patent trolls this is one thing I like about [22:43] is i can say the same, but basically [22:46] what is reasonable and it's been like developed by some [22:52] he can file for the patent and it's like some report from the company, but the company will take over the patent and will put it outside for everyone to submit [23:03]. So you can work on the patent, you get paid if your name is still on the patent [23:08] the company [23:10] and there is like [23:10] it will be like free forever basically.
Justin [23:14]: I'm not sure if, how would IBM feel about that? Because that is the parent company of Red Hat.
Tom [23:21]: Well we are still different company. So they are just owning the shares. So basically we have different policies. And this is still [23:30]. I know that in the agreement when IBM was buying Red Hat, there was like this note, just the patent will remain [23:37] as promised, this is good.
Richard [23:46]: So you can get different perspectives. This is a question I haven't asked a lot, but you two seem super personable. And it's an interesting podcast just with maintainers, which we often don't have. Sometimes we have people who are more like sales reps or advocates or evangelists, my least favorite word in the world. What are your personal goals for being with this project? Where do you want to be in five years? How is KEDA helping you get there? Specifically in relation to cloud native? Not like I want a house somewhere in the mountains of Poland, but like specifically like, what is KEDA helping you do? There's a couple, there are small Hills. They are not very big. Okay. I'm sorry. I'm sorry. The mountains that are [24:23] Tom, where you live. I'm just curious, like how is KEDA helping you become a better cloud native engineer?
Tom [24:28]: By not having to worry about how Kubernetes scales. I bluntly set this one, we would present KEDA for the incubation graduation. I want this to be the standard application autoscaler so that everybody uses the same thing. They don't have to worry about it. And we just handle everything for you, frankly.
Richard [24:48] Nice.
Zbynek [24:48]: I would say the same, I like the simplicity because I like the way things from the user perspective because usually we have the [24:57] engineers and we have [24:59] technical side [25:03]. So I do like that it should be as simple as possible even for people who don't know Kubernetes, don't know containers that much and don't know all the internals. They just have a application [25:16] they just want to scan it. So this is the end goal I would say, it shouldn't be very simple.
Tom [25:23]: I fully agree. And then I typically hear a lot of people say, Hey, but you don't need it is because you could do it this way or that way. And I'm like, that's fine. But you understand Kubernetes, your highly involved in the community. So you know all the projects, but imagine you're a person who's new to cloud native and he's responsible to deploy his application. Why should he spend days, sometimes exaggerating, but days to understand how to just scale this freaking thing while it's just the [25:55 home install] away and you're good to go. And that's one less thing to worry about. There is already so many things at Kubernetes you have to worry about.
Zbynek [26:06]: Kubernetes is there [26:07] for [26:07] little things, so there is like this [26:09] just called horizontal auto scaler, which allows you to scale your application based on the CPU and [26:17]. There is one big difference because this component doesn't allow you to scale to zero and KEDA can scale to zero. So you can scale your application down to zero. The [26:26] can just scale to one. This is the big difference I would say from a typical perspective.
Tom [26:33]: Yeah and that's also a good example, because we are working on the reference case with cost at AI and they basically use KEDA to make kubernetes cost efficient and make sure that we don't waste electricity and all this kind of stuff and make the environment a better place just by optimizing your workloads. And that's a nice reference case because that way we're also helping the environment.
Justin [26:59]: Elon Musk would love that. And as you said, it would just be a great marketing angle. Like, you know, good thing, you know, you're not flexing. You're just saying, Hey, look, we're saving energy. Not only are you saving money, but you're saving the planet.
Richard [27:14]: For other listeners who may not know, Justin and I are both panelists on another podcast called Sustain. We're literally talking about sustainability of open-source and every now and then it goes away from maintainers, stopping burning out to sustaining the environment. What I love about this podcast is that it basically could go on either one of Justin's and I podcasts. It's basically the same. It's like, how to sustain maintainers and the environment super cool. It makes me really happy.
Justin [27:39]: It's like a parallel universe in a way.
Richard [27:41]: Crossover.
Justin [27:43]: Yeah crossover. What is this a crossover episode? Anyone who watches BoJack would understand that.
Richard [27:50]: So Tom, I'm looking at your website right now for listeners. This is blog. Tom Kerkhove, that's K E R K H O V E .BE. And it seems like you're a prolific writer. What blog posts do you have down the line? What are you most excited about, telling people, if people could only read one blog post, what would it be? Again really open-ended question cause mostly I just love hearing your responses.
Tom [28:14]: It would be one that's on my to-do for almost one to two years, which is about my adventures of doing open source as a maintainer.
Richard [28:24]: Can you talk a bit about what's on that?
Tom [28:26]: First I need to have some time to write. It's basically going to talk about what I learned from being on the other side of the fence. And one of the biggest lessons to me was instead of writing a gibberish issue, with a vague bug report, really take the time because it will also help you get the bug fixed faster. But instead of opening a bug, sometimes it's just as simple as opening a pull request. And that's why for my projects, I always use the mantra, which is, it's just a pull request away. So that's why documentation, automation, quotes or whatever has to be in the git repo. So you can just send the pull request and that's why CI/CD and all of those things, which is now all in, and [29:17] is such a great help because you don't have to rely on the human making a manual change before the CI succeeds, for example. But yeah, I need to write about that first.
Richard [29:27]: No, thank you for sharing. That's awesome. I can't emphasize enough how important it is for people to know that in writing open source, isn't about your intent and it's not just about just showing in coding, but it's about actually thinking about how to be effective and how to be effective at being a nice person.
Tom [29:47]: There are so many things you need to do, which is not code, it's ridiculous. Even if it's replying to issues and discussions.
Zbynek [29:58]: Those people should sometimes bare in mind that basically we are spread across the globe. So there are different time zones, certain days of week. This is another aspect of being maintainer. To respond toward report, at least I try to respond.
Justin [30:13]: Richard's working on a code of conduct issue on a project that we work on.
Richard [30:18]: No it's fine,it's so draining, man.
Justin [30:22]: That's the thing it comes with the territory. Like, as you said, Tom, it's not just about the code. It's about all those other pieces that really make the project. And if you want to be going from the sandbox to graduation, those are the things you're going to have to deal with. So anyone listening to this, they're thinking about bringing their project to the cloud native, to the CNCF. These are things you have to think about. It's not just writing the best code. It's how do you manage everything in between?
Tom [30:52]: I haven't written a single letter of code for KEDA. I'm doing all the other things. It's not nice, but.
Richard [31:04]: No that's just so great to admit, like that's exactly what maintainers do, is not write code.
Justin [31:11]: The only code I write on the main Curifense project is the MD, you know, the markdown files, updating the read MEs and getting the release notes together. And that's fine because that's what I'm good at. I'm good at doing the other things that are not co-related. So building community from scratch, very difficult, but talking to you and everyone else that also has CNCF projects, it makes it a lot easier. So thank you both.
Zbynek [31:39]: I would like to say this is super important, like not just doing code as Tom mentioned but all the stuff around it is very important. Like [31:48] project and healthy because if you don't have the healthy environment, the project will [31:52].
Tom [31:55]: I fully agree. One of the typical things that I see is you go to a project and you look for documentation, and if you're lucky, you find documentation, then you ask, okay, do you have any documentation? Yes, it's the code? And I'm like, man, I'm not going to go through the code to understand how to use it. It should be documented. Otherwise I'm out. I mean, I'm here to use your free stuff, man. I don't want to waste my time. I'm just kidding, but you really need to think from an end user perspective, otherwise you will not build a good product in my opinion.
Richard [32:29]: I like what Zbynek was saying earlier about UX or the DX, as they're sometimes calling it the developer experience super important work.
Zbynek [32:36]: Let's say you would like to try some new project and they [32:38] documentations, [32:41] it fails and you don't know what to do because the documentation is not very good. So this is something that is very important for projects. Even like [32:52] projects but all the projects that are [32:54].
Richard [32:55]: Every listener who has had this experience, if you're not driving, raise your hands. Yes, that's right. That was all of us. Cool. Thank you so much. That was really awesome to get your insight into being a maintainer for KEDA, to being a maintainer in general, it's being good people. Where can people follow you both on the web? Zbynek where can people follow you?
Zbynek [33:15]: I have a Twitter account, which is ZROWALEK, which is pretty hard so you're going to find it somewhere. Yeah this is the main point for reaching out to me.
Tom [33:31]: I fell like drinking from a fire hose. You can follow me on Twitter. For links of the show notes.
Justin [33:41]: Before we close out, I want to do maybe like, maybe this is like a new segment, but basically who would you like to thank at the CNCF or anyone in the cloud native community? I think that's important because then people can follow them and make sure that they're getting more points of view. So Tom, who would you like to thank?
Tom [34:03]: I would say Liz Rize because she's helping us with the incubation. She's really nice to work with. But also Chris, so Chris, the CTO of CNCF because although he is super busy he's always supporting us. Definitely the fact that he's helping KEDA from the early days when we were so small project and he believed in us from the start. He's really nice, given he's that busy. And he's also the one that said to me guys, why are they not incubation yet? You need to start moving. So that's a true sign that he believes in what we're doing. So I think he's a really nice person.
Zbynek [34:44]: Inaudible
Justin [34:45]:You're for Chris as well. Yeah, I agree. He's always on a service desk. I'm like, how do you find time to do that?
Tom [34:53]: I don't know if he ever sleeps.
Justin [34:55]: I don't think so.
Zbynek [34:57]: Well Tom if you say it's [34:58] I'm not sure because you don't sleep as well because you're up doing all this stuff.
Justin [35:05]: Robot conspiracy,
Tom [35:08]: Maybe or it's just about priorities.
Richard [35:13]: Awesome. Thank you both so much. It was great having you on, let us know in the future if we can help out at all. Listeners, if you're curious about them, you can follow them in the show notes. If you have any comments about this episode, please send me or Justin a line. [email protected]. That's [email protected]. Again Tom, Zbynek [35:41] whichever you are. If you're in Brussels and a [inaudible]. Thank you so much.
Thank you. Thank you for having us.
Special Guests: Tom Kerkhove and Zbynek Roubalik.
Sponsored By: