DevOps, containers and tools with Jessica Deen [interview]

House icon

Published October 29, 2018

CTO

Mathias Olausson

<p><span style="font-size: 12pt;">As is tradition this time of year, <a href="https://tdswe.se/">Microsoft TechDays</a> took place last week. It is the biggest Microsoft conference in Sweden for those who want to understand the very latest as well as get a strategic overview of the ever-changing technical landscape.It fits everyone from the most deep-diving technologist to the strategically-minded leaders and almost everyone will walk away from it a little bit smarter.</span></p> <p><span style="font-size: 12pt;">We at Solidify are proud to be able to say that we joined the conference as both speakers and listeners. Our very own Microsoft MVPs Taavi Koosaar and Mathias Olausson held sessions on continuous delivery, applied<a href="https://solidify.se/devops-software-development/"> DevOps</a> with <a href="https://solidify.se/containers-101-intro-docker-microsoft/">containers and cloud</a> as well as on application security. In addition, Mathias paired up together with <a href="http://loecda.com/CDAs/Jessica">Microsoft League of Extraordinary Cloud DevOps Advocate Jessica Deen</a> for a pre-conference talk on containers, cloud, microservices and applying DevOps to modern applications.</span></p> <p><span style="font-size: 12pt;">Afterwards, we were honored to have Jessica for ourselves for a short interview and talked about everything from <a href="https://solidify.se/microservices-devops-introduction/">containers and Kubernetes</a> to upcoming trends and crossfit. Take a look:</span></p> <h2><strong>Interview</strong></h2> <p><span style="font-size: 12pt;"><strong>Solidify: First of all, thanks for doing this. It&#8217;s really cool to meet another member of the League*. </strong></span></p> <p><span style="font-size: 12pt;">Jessica: Thanks for having me, it&#8217;s an honor to be here and to be a part of this.</span></p> <p><span style="font-size: 12pt;"><strong>So for those who can&#8217;t make it here today (Oct 23rd), would you please give a short summary of your talks here?</strong></span></p> <p><span style="font-size: 12pt;">Sure. First off, I&#8217;m a cloud developer advocate for Microsoft. I specialize in Linux, open source, containers and DevOps and all of my talks focus around that. The workshop I&#8217;m doing for the pre-conference in conjunction with Mathias is talking about modern DevOps as it pertains to cloud container technology. I went through the different container technologies that we have available on Azure and how you can even link third-party open source services and products. Then my session tomorrow will be a deep dive into DevOps with Kubernetes and Helm as well as show real-world scenarios with a variety of different Kubernetes-related tools.</span></p> <p><span style="font-size: 12pt;"><strong>Many have seen your talk at Microsoft Build where you also talked about Azure and Kubernetes, namely best practices around those. Your talks here are also highly related to this &#8211; why, would you say, is this such a trending topic?</strong></span></p> <p><span style="font-size: 12pt;">Containers is really opening up this shift into a new era, a new technology world. Think about 10-15 years ago and everyone had at max one device per person, or even shared one home computer. Now we have multiple devices per person. There are more devices coming online, companies as a whole are getting younger, meaning that there are more companies being launched. On top of that, the companies that are launching are selling products that they don&#8217;t technically own. Take for example Uber &#8211; a car service that owns no cars, or Facebook the marketing service that does no ads on their own. The same goes for AirBnB, which is a rental service that owns no properties.</span></p> <p><span style="font-size: 12pt;">So we&#8217;re in this digital e-commerce world, a new age for technology. The question then becomes &#8220;how can we meet that type of growth and demand?&#8221;. Containers really sets us up for that microservices, cloud-native infrastructure we&#8217;re moving towards.</span></p> <p><span style="font-size: 12pt;"><strong>We completely agree. It&#8217;s fascinating how much has happened in such a short time. </strong></span></p> <p><span style="font-size: 12pt;">Absolutely, and it&#8217;s only going to increase.</span></p> <p><span style="font-size: 12pt;"><strong>Moving away from containers a little bit, you&#8217;re a member of the LoECDA that works hard to promote DevOps. What would you are some keys to creating awesome DevOps teams?</strong></span></p> <p><span style="font-size: 12pt;">That&#8217;s a great question. First off, even with containers, the one thing I try to reinforce is that containers are valuable because they&#8217;re build on DevOps practices. One of the main things that makes a DevOps team great is teamwork. You can implement Devops practices such as infrastructure as code, source control, CI/CD or monitoring anytime. But is that DevOps on its own? Not really. That&#8217;s because you also need culture. You need people and the right products.To phrase it best: you need three different components and with the union of those components, you&#8217;re able to deliver value. That&#8217;s the ultimate focus for DevOps. To really create a good DevOps team, you need to make sure you&#8217;re working with the right people and the right practices to enable the continuous delivery of value.</span></p> <p><span style="font-size: 12pt;">If you aren&#8217;t delivering value, what are you doing and why are you doing it?</span></p> <p><span style="font-size: 12pt;"><strong>That&#8217;s great. It ties a lot into how Donovan Brown and the League often defines DevOps. But when working to implement these practices with the right people and the right products, what would you say are some common challenges? What are some things to keep in mind as you take on this transformation?</strong></span></p> <p><span style="font-size: 12pt;">To recognize that this industry is changing and that technology is changing. The ways of the past and the traditional won&#8217;t work the same way anymore, so we have to become comfortable with change. If you&#8217;re not and don&#8217;t want to learn new things, maybe it&#8217;s time to reevaluate what you&#8217;re doing and why you&#8217;re doing it.</span></p> <p><span style="font-size: 12pt;">I think the common challenge is fear. It&#8217;s human nature to fear change, but with the digital shift and the way technology is heading, we have to accept that fear.</span></p> <p><span style="font-size: 12pt;"><strong>That reminds me of an old sports quote regarding performance: &#8220;You need to be comfortable being uncomfortable&#8221;. </strong></span></p> <p><span style="font-size: 12pt;">Absolutely. There are so many situations in which you&#8217;re not comfortable. Sticking to the sports angle, it&#8217;s uncomfortable whenever you&#8217;re losing or you&#8217;re working out, but you also know that that&#8217;s what&#8217;s needed in order to improve.</span></p> <p><span style="font-size: 12pt;">Everyone always asks me &#8220;where do I start with DevOps?&#8221;. The first thing I always tell them is to get comfortable with the fact that you don&#8217;t know. The industry changes so fast that I don&#8217;t know everything. Something new is launched every single day and the only reason I think I&#8217;ve learned as much as I have is that I&#8217;ve realized how much i <em>don&#8217;t</em> know.</span></p> <p><span style="font-size: 12pt;"><strong>And as you mention, with all of these fast changes coming your way, adversity will strike you. You&#8217;re going to feel pressured, whether or not you&#8217;re a startup or a large company and maybe it&#8217;s about just accepting that fear. On that note, there&#8217;s a lot of pressure to increase security with DevOps. What would you say are some ways to ensure security while moving towards this digital transformation?</strong></span></p> <p><span style="font-size: 12pt;">That&#8217;s one of the reasons I love containers &#8211; it lets you focus on security. In fact, the 5 best practices I go through whenever I talk about Kubernetes are best practices because they are security practices. I&#8217;ve been asked to separate some best practices related to Kubernetes and some related to security, but I can&#8217;t. It&#8217;s a trick question. Best practices are only best practices if they also include security, for that is what we&#8217;re all concerned about. I don&#8217;t care if you&#8217;re in Dev or in Ops, we all have to worry about it. With that, some of the things to focus on &#8211; especially if you&#8217;re using containers, are these:</span></p> <p><span style="font-size: 12pt;">Focus on building small containers. Don&#8217;t build any extra dependencies or other vulnerabilities that you don&#8217;t need.</span></p> <p><span style="font-size: 12pt;">Focus on using architecture that will allow you to manage your security is another best practice.</span></p> <p><span style="font-size: 12pt;">Set resource requests and limits, so that you&#8217;re not leaving anything in a memory leak that somebody could tap in to.</span></p> <p><span style="font-size: 12pt;">Make sure to use availability monitoring and telemetry tools to gain insight into what&#8217;s running and where. Using Helm charts will allow you to quickly update and iterate, especially in Kubernetes deployments.</span></p> <p><span style="font-size: 12pt;">Again, all of those are best practices because they&#8217;re focused on security.</span></p> <p><span style="font-size: 12pt;"><strong>Wow, a lot of good tips in there. Many companies can certainly find something to improve upon there. Moving on, what are some new and upcoming tools to work with when doing DevOps? You&#8217;ve been talking a lot about Kubernetes and Helm, what makes them so valuable?</strong></span></p> <p><span style="font-size: 12pt;">Kubernetes solves a bunch of problems from the DevOps world. The age-old saying &#8220;it works on my machine&#8221; is a serious issue. Then on the IT part of it we have IT people needing help to integrate new code in a secure and safe manner. Add a little repetition across various environments such as dev, QA, test, prod and you have a big problem. Containers solves that. For developer, it enables a &#8220;write once, run everywhere&#8221; type of architecture and for the operations it enables portability where you can be sure it&#8217;s going to be the same anywhere I put it because it&#8217;s now immutable. Kubernetes is incredibly powerful and offers things like scaling, lead balancing, service discovery, securely managing secrets and many other benefits. But because it&#8217;s also so complex, it can be overwhelming and challenging to manage. Here&#8217;s why Helm as a package manager is important. It aims to simplify the management of even the most complex workloads.</span></p> <p><span style="font-size: 12pt;">Another really popular tool that&#8217;s not as well-known as Helm is Draft. Draft actually simplifies the Helm and Kubernetes development specifically for developers. Previously, the traditional developer didn&#8217;t have to consider the infrastructure side of things. Now you have to care about where your application is running, who&#8217;s going to access it any any other security concern. But when you&#8217;re already writing a program you don&#8217;t want to also have to learn how to write Helm charts and Kubernetes deployments and all these things that you didn&#8217;t sign up for. Draft simplifies that by creating a generic Helm template for you, which will allow your infrastructure architect to come in, edit as needed and then handle your Kubernetes deployment while you focus on your application architecture.</span></p> <p><span style="font-size: 12pt;"><strong>So it&#8217;s about removing &#8220;the chasm of despair&#8221; while still focusing on what you do best? </strong></span></p> <p><span style="font-size: 12pt;">Absolutely. It&#8217;s empowering you to work together and offers richer collaboration as well as a more portable and immutable both infrastructure and application architecture.</span></p> <p><span style="font-size: 12pt;"><strong>While on the topic of trends, what are some other upcoming trends that organizations should keep an eye on?</strong></span></p> <p><span style="font-size: 12pt;">Right now, I think organizations are still focused on getting to the cloud. What tool to use, being behind on DevOps practices and so on. Here we have a wide variety of tools to use such as Azure DevOps, CodeFresh, Jenkins, CodeShip, TravisCI, etc. There&#8217;s a reason there are so many CI/CD tools that enables continuous integration and deployment to the cloud. Gartner has done several studies that show that by 2020, over 50% of the workload will be run in the public cloud. A few years ago, that number was estimated to be at around 65-70% that by 2025.</span></p> <p><span style="font-size: 12pt;">In short, I think the biggest trend is going to relate to moving from on-prem to the cloud or a hybrid scenario. Serverless is also becoming very popular as well as using functions with Azure functions or Lambda.</span></p> <p><span style="font-size: 12pt;">Looking at what all of these have in common, it&#8217;s about lessening the overhead and making the application delivery as lightweight, portable and scalable as possible. You need that when looking to push updates much more often.</span></p> <p><span style="font-size: 12pt;"><strong>We&#8217;re almost done now, but life isn&#8217;t all about technology. What are your top 3 beginner crossfit tips?</strong></span></p> <p><span style="font-size: 12pt;">That&#8217;s a good one. A lot of it comes down to getting used to the barbell. Don&#8217;t try to push yourself with weights that your body is not accustomed to. One important movement is the clean movement, either power clean or squat clean. Anyway, the three tips are:</span></p> <ol> <li><span style="font-size: 12pt;">Find a box (crossfit gym)</span></li> <li><span style="font-size: 12pt;">Take the fundamentals course</span></li> <li><span style="font-size: 12pt;">Practice the power clean every day</span></li> </ol> <h2><strong>Takeaways</strong></h2> <p><span style="font-size: 12pt;">As you see, Jessica and the League are sitting on a huge amount wisdom and many good tips to follow. What&#8217;s becoming clearer by the day is how important staying updated is &#8211; if you&#8217;re not looking to move towards DevOps and the cloud, you&#8217;ll soon find yourself behind. Whether or not Azure, Kubernetes or Helm are the right choices for you seems to be of less importance. What matters is accepting the fact that the world is changing and that you need to change with it.</span></p> <p>&nbsp;</p> <p><span style="font-size: 12pt;"><em>Have you started your DevOps journey? Let us know in the comments below!</em></span></p> <p><span style="font-size: 10pt;">*Two years ago, we were visited by Donovan Brown. Read up on his interview <a href="https://solidify.se/getting-started-with-devops-donovan-brown/">here</a>.</span></p>