Why is IT Automation so Hard?

Friend of the program Larry Smith Jr . sits down with Keith to discuss why IT Infrastructure automation is so hard. Larry has been working in IT automation for 5-years and shares his wealth of knowledge around tools vs. culture. The CTO Advisor Why is IT Automation so Hard? Play Episode Pause Episode 1x 00:00 / Subscribe Share Apple Podcasts Spotify RSS Feed Share Link Embed <blockquote class="wp-embedded-content" data-secret="X2dBUxOcFJ"><a href="https://thectoadvisor.com/podcasts/why-is-it-automation-so-hard/">Why is IT Automation so Hard?</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://thectoadvisor.com/podcasts/why-is-it-automation-so-hard/embed/#?secret=X2dBUxOcFJ" width="500" height="350" title="&#8220;Why is IT Automation so Hard?&#8221; &#8212; The CTO Advisor" data-secret="X2dBUxOcFJ" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script> /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o.style.display="none";for(i=0;i<a.length;i++)s=a,e.source===s.contentWindow&&

Transcript 3,278 words · about 22 min to read

Machine-generated from the episode audio and not hand-corrected, so names and technical terms may be imperfect. The audio is authoritative.

Hey, welcome to episode 114 of the CTO advisor podcast. You know what? Thanks for all the response from the sponsored podcast we did last week with Dell Technologies on their Power One solution. As a result, one of my good friends in the industry kind of raised his hand and said, you know what, I would love to talk about automation. Larry Smith, Larry, how's it going? Good, man. How are you doing, Keith? Thanks for having me, buddy. So Larry, give the audience a quick introduction to who you are and what you do.

Cool. Yeah, so my name's Larry Smith. I'm a senior DevOps engineer currently at Business Technology Architects. I generally say BTA. So everybody's like, what does BTA stand for? So that's kind of my role there. I, main focus generally is automation. You know, I come from a background of infrastructure with development at the beginning of infrastructure that I got out of. But, you know, over the last five, six years, I've been very heavy into automation from, you know, infrastructure core deployments all the way up to applications, standups, containers, et cetera.

So kind of full stack automation. So I'll end with that. Otherwise I'll use up the whole podcast. I gave you a little bit more time because I have, you know, let's paint some boundaries around this so people can kind of understand the depth of how far you get into this. What type of tools do you use when you're automating infrastructure? So, you know, as everyone always says, it always depends, right? It depends on, kind of depends on what you're automating and what the outcome is.

Generally, the philosophy that I've lived with over the last three years, obviously I'm very heavy into Ansible is I'll always try Ansible first. And then if it's not Ansible, I will roll in some Python. So I'll write my own Python automation, things like that. And then after that, it could be any scripting that may be applicable, maybe in pipelines and things like that. Maybe some PowerShell, it could be whatever. So the tool could be whatever, as long as the outcome is what you expect, as well as using things like Terraform and things like that.

So would you say over the past few years, your focus from a education perspective has been going deeper into infrastructure or picking up kind of application development skills? So to be quite honest, you know, that's something that I've been kicking around in my head over the last few months is where am I at? Because when I originally started from an automation perspective, you know, going back to what I said a moment ago about from an infrastructure background, you know, I've spent the last 15 to 20 years to current, more so in the infrastructure world.

But over the last three or so years, I've gotten more into application deployments, building containers and applications and microservices and things like that. But I dabble back and forth. So, you know, it depends on what I'm working on. I may actually get into from an infrastructure perspective, maybe building out some switches, maybe building out some ACI fabrics, building out vSphere from ground up, provisioning the virtualization layers, as well as laying services on top. Even dabbling in KVM, obviously a project I worked on a few years ago was very heavy KVM.

So where all of that automation came in from standing up KVM and then building VMs on top of KVM and then install, you know, adding services all the way through 10 plus hours of pipeline deployments that would stand up applications running in microservices, completely automated from the ground up, so. So what interested you in getting started in automation? Because three, five years ago, let's go back five years ago, we were just talking about automation is the key to, you know, this 80-20 span that we have.

80% of our budget goes to keeping the lights on, 20% of it goes to innovation. So we have to automate the infrastructure in order to do the cool stuff. But it sounds like you're doing an awful lot of cool stuff. What gets you kind of motivated to do the automation of the infrastructure? So that's a great question. So what really got me started was, you know, going back even seven, eight years ago, I started doing more shell scripting. So building services and things like that from a shell script perspective.

x days. But what really motivated me from an audit, true automation, actually using a tool that wasn't a shell script or something like that, but more so Ansible was, believe it or not, was VIO from VMware. So the VMware integrated OpenStack back 2000, late 2014, 2015, you know, we were looking at doing some OpenStack deployments at a previous employment that I was at. We were going to do, get into OpenStack and we started dabbling with different vendors on what we could do and things like that.

Well, we got talking to VMware and they were doing VIO at that time. And they kept talking about Ansible. I'm like, you know, I've heard of Ansible, you know, and I'd played with Chef, Puppet, things like that in years before. And I never really, I just couldn't get my grasp on it. Salt was one that I dabbled with, you know, really probably 2014. And I liked it a lot more so than the others. But again, going back to the VIO story is when they kept talking about Ansible and they were doing all the automation on the backend with Ansible, I was like, at that point I said, you know what, I'm going to go deep into Ansible and see what I like and what I don't like and see what happens.

And I've never looked back. Now, to be fair, I don't always, you know, I love Ansible, right? But I'm not agnostic to Ansible, right? Or exclusive to Ansible per se. So I will definitely look at other solutions along the way so I can compare things. So I'm always looking at different alternatives. But that's really what jumpstart my automation. And I've done, you know, just years and years and years of, you know, not just standing up, you know, say Apache web server or IIS server or something like that.

I'm talking automation from beginning to end, full infrastructure automation, so. So that I think is a good segue to my primary question in the title of this podcast. Why is infrastructure automation so dang hard? I mean, we've been doing this for 30, we've been doing infrastructure for 30, 40 years in enterprise. Yeah. And you would think that we've gotten to the point that we know it well enough that we can automate this simple thing of deploying storage, compute, networking by all these great tools that you are already mentioned like Ansible, Chef, Puppet, PowerShell, et cetera.

I mean, the tooling is there. Why is it so hard? Well, Keith, you know, for me, I think the biggest hurdle I think from an infrastructure automation perspective is the skillsets, you know, taking traditional infrastructure folks that don't have a development background or some sort of, I say logic and how you build the constructs as far as putting in code. I think it's very hard for a lot of people. I think that'd be a fair assessment is from an infrastructure perspective, from an infrastructure engineering perspective.

But the problem becomes when they start manually doing things to adjust things because maybe they ran in this scenario, they fix it. They don't do it the same every time. So you have to start looking at things from an automation perspective in those building blocks, right? You have to say, I do this, this, and this from a standard perspective, but never going into doing a thing manual. But going back to your point is why is it so hard? For the, you know, on top of what I've already said, the real reason that the infrastructure is so hard is because there's so many moving parts, right?

You've got all these different vendors. You've got different ways of doing things. You don't always have APIs to tap into to be able to do a thing. And you might be able to automate it through some other measure, either through SSH, obviously would be the key. But there are other times where that infrastructure is extremely difficult to stand up. I can give an example, if you'd like from- Yeah, sure. I mean, practical examples help. So for example, years ago, we were working on a massive project.

And one of the first things from standing up infrastructure is obviously you have to have a network, right? You have to have the network set up. So one of those things was getting the gear in was great, but the whole idea was roll a rack in without config and deploy. And you would do multiple racks per data center across multiple data centers the same way. Well, getting those switches and routing and all that stuff built up from the ground up is very difficult, right?

Because you don't always have access to those things. So for example, you might go through from an automation perspective as part of your standup of your gear, you might have something like an open gear, which is like a KVM. You may have to use that as an entry point to do a configuration of a switch to get the network up. So you have to do all those logical things to get that infrastructure going. And again, starting at the network, which is the key, is getting that network up and then starting to lay down the components that are required to stand up the infrastructure itself.

As I'm going through this and you're talking, I'm kind of raising up my hand and saying, amen, Larry, amen. Yeah. The simplest thing of being consistent with deploying a Hyper-V host. I'm doing nested virtualization where I'm creating the host inside of VMware workstation. So I can literally, which I've done, there's some automation, I have a golden image. And from that golden image, I deployed the second Hyper-V host. And I'm looking at the configuration and there's drift between the two hosts that I literally just created from a golden image.

Yep, always. So yes, this is, and that's in a completely software defined environment. So software definition isn't the, I don't think, it's an enabler, but this is again, a discipline challenge and a skillset problem that even in my completely software defined lab, I can't create a consistent plane or consistent control plane over and over again without some higher level automation. We understand why it's so hard. It's a discipline and skillset thing. And quite frankly, the vendors have not made it easier for us.

Sure, public cloud abstracts a lot of the underlying infrastructure, but that doesn't excuse the enterprise for not having domain expertise. I still need people who understand IO. I still need people who understand networking. I still need people who understand compute. Of course. And these, I may not have to rack and stack and provision the physical underlay, but I still need to understand it. And the crazy thing about our modern application architecture approach is that you need several people who have domain expertise in two of these areas to actually get to the bottom line, which is provisioning cloud native and cloud apps that deliver business value.

And I think everyone is kind of struggling to how do we develop our team to be able to do that? So what are some of the kind of suggestions you can give the executives out there for providing the opportunity and motivation to get their team members up to speed in a completely different domain? I think the first step is look within your company itself. And obviously executives may, let's just be fair, may not completely understand what they need. com. No, but go ahead.

Exactly. Shameless plug, baby. Yes. So starting with that, but be able to look within their company themselves and kind of understand what resources they have at their disposal. Explore those that have development backgrounds. Maybe you have infrastructure folks that already have a development background or some sort of beginning of development. I go back to, I started in college, I was computer science. So I was developing, I was writing code. I had started writing my own operating system, things like that.

I got out of it because I didn't sleep. So going back to the whole idea, kind of explore what you have and then pull those resources together and start getting them to have conversation and collaborate and understand what the end goal is. Automation means a lot of things, right? Being able to understand what that outcome needs to look like and figure out where the gaps are. And then you can start going, okay, we need resources for this. We need resources for that.

But ultimately you truly, I feel, need a leader, a kind of an architecture automation role. Not so much someone that can get in and write, extremely really rich code, if you will, but understands those building blocks that get you to that outcome. And be able to bring in that kind of lead person to direct all of those, I say different teams, they should be one team, right? Everybody should be collaborating and be able to kind of manipulate, not manipulate, that's a poor choice of words, but you know what I'm saying, kind of bring them all together and get them going in the right direction.

But have that goal in mind to ensure that all of those measures are met and that you're not missing a piece. I say it like it's easy, it's not. And I think that's still the biggest challenge that companies are having is, they wanna do cloud native, they wanna do automation, they wanna do all these things and you've got the executives that are saying, we wanna do these things. Oh yeah, we've got the people, but you don't really have the people. No, I think you've added some solid depth to what we commonly know, especially when we're going into a new area.

First, you need to know what you have before you can know what you can do. And then put somebody in front of it, kind of scope out what it is you wanna accomplish, what's realistic, what you can do internally versus externally, and then how you can manage anything that you do external. People can reach out to you and your company and you can build them an awesome automation platform. Absolutely. However, you need to maintain it day two. This is the pivotal slabs problem is that, yes, once you build it, it's great, but you have to have the organizational discipline to maintain it moving forward.

And that is a big, big challenge. Yeah, and I would like to add, go ahead. No, go ahead. What I was gonna add real quick is you hit on something I was actually gonna bring up anyway, is that the other challenge is not just the automation piece. It is the post day zero automation. That is a completely what I've seen over the years working with different engineers and automation people and all that. That is a big challenge for the brain is being able to think about, yes, I can stand up infrastructure.

I can stand up applications. I can stand up all of these services on day zero. My question to them then is, how do I ensure that I can put my automation into a CI CD pipeline, run it out of Jenkins, run it out of GitLab, CI, Travis, whatever your flavor of automation is from a pipeline perspective, to ensure that whatever I do day zero, post day zero, is not affected by what was in place on day zero? Because what I need to look at is it looks like this at day zero at provisioning, and I'm looking at six months down the road, how do I ensure that I don't inject an issue when that pipeline kicks in?

So for example, what I talked about several years ago, or about the project I worked on several years ago, those pipelines run all the time. And you always have people that wanna say, well, okay, that was only for day zero. This is for one and two and three and 30 and et cetera. How do we pick and choose which ones to run? You don't. You run the same automation pipeline continuously. Your goal should always be, make sure I don't cause a service outage by that pipeline running again.

That is bringing things in idempotency, things like that, making sure that I don't inject that change. Dude, that's a hard challenge to solve. And the other challenge, and then I'm gonna wrap up with that, is that being able to understand how you can define an environment from a high level. I talk a lot about data models, being able to have a data model that dictates with my data center or my rack or my compute, all the way down to the granular perspective of a service running on, say in a Kubernetes cluster.

You need to understand all those different layers to ensure that, hey, if I need to do maintenance, what am I going to affect? And being able to have that data model that understands that you can understand that data model to get to that level. But the other flip side is joking, not really joking, is that several years back, project I worked on multiple data center, massive deployment. It was a container platform was running Docker, it was Docker Swarm at that time, but it was complete orchestration all across the board, like I mentioned already.

But at the same time, thinking down the road, what happens if we need to change this to OpenStack? How can I minimally put in my data model what dictates what that looks like to say, today it's container platform, tomorrow it's OpenStack? Those are hard things to solve. Not everybody needs to think about that, but that kind of lets you into my weird world of how I look at automation. I'm always thinking six months, 12 months, 18 months down the road. What I do today, how easy can I change this environment down the road?

So Larry, how can people reach out to you? So anybody can reach out to me. I'm on Twitter at Mr. Elly Smith JR. com. I just posted my first 2020 blog post last night. I've been way behind, I'm way behind on some tech field day events. I'll talk to you next get around. All right, man. com. You can find me on Twitter at CTO Advisor, talk to you next, CTO Dose.