Even though the term DevOps has been around for quite some time now, not everyone has shifted over from the old style of IT management to the new one. The big platform providers like the AWS, Azure and Google’s of the world has certainly been doing this for a while but now medium sized companies try to implement many of the new practices. In my experience, this is a great way of improving performance when you have a smaller operations team.
When I started in IT, I totally identified with the SysAdmin part of the spectrum. Managing servers, Hypervisors, making sure services were up and running. For most of the people I know that works in Ops, the Dev part of DevOps seems like a big and scary thing. I can relate to that, but I’ve always liked the appeal of development. That might be why I’ve been more willing to risk exploring “the other side”.
DevOps is more than automation, and weird small computers!
Before moving on, I want to address the fact that DevOps is not only a term for technology. It’s a culture movement, a very necessary one at that. I’ve worked with companies that are stuck in the old ways and I’ve worked with companies that embrace DevOps, and it works.
I suggest you start off by reading The DevOps Handbook. It’s an excellent written book that takes you through the story of a company as they move from traditional development and step by step turns into a DevOps organization. A great starting point for anyone interested in learning about DevOps.
Do I need to be able to program to understand DevOps?
Absolutely not, but it helps. To be precise, what helps is that you’re able to understand the logic of code when you see it. Keep in mind, DevOps doesn’t mean you have to be a developer who also do IT operations. You can just as easily be in operations but use tools proven by developers to increase agility. DevOps allows for more fluidity between work tasks, but you still want someone with high level of network experience to take a look at a network problem, even if that network is deployed through Infrastructure-as-Code.
DevOps doesn’t mean you have to be a developer who also do IT operations. You can just as easily be in operations but use tools proven by developers to increase agility
It’s normal for Sysadmin to create scripts to automate. There is an almost derogatory term for a SysAdmin that does not write scripts, a “right click administrator”, someone that only navigate the GUI. I am not saying that’s bad but normally the one that can automate task and write scripts are more efficient. It’s easier to continue to do right click administration in traditional IT but not in the new paradigm.
If you are hesitant to learn code, don’t be. DevOps is about promoting learning, so just ask a friend or colleague if you’re stuck.
Everything is different, I don’t like it!
Well, as harsh as it sounds… Welcome to IT? Not a day goes by without something changing and by the end of the month there are at least ten new things that you need to know about. You are just used to the idea that everything is in constant motion but sometimes a new thing comes and alter the course of how we work in a more profound way.
For people that don’t want change, I recommend reading up on growth mindset. Having a growth mindset is essential to getting ahead in any career but IT especially. One of the keys to a growth mindset is to always learn new things. In my experience, as long as you keep on learning the exponential growth of your knowledge will accumulate fast.
I suggest that you read this article from Forbes on growth mindset, consider maybe changing your outlook on things and you will soon see a change in what you comprehend.
What should I be learning about?
Containers and container orchestration
This have been the buzzword for many years, but it’s really seems to stick. We managed to optimize the server by removing the hardware and virtualizing it. This time we are removing more unnecessary fluff by taking away the OS, leaving just the application we want to run. This is the key to stable and efficient cloud computing.
Containers themselves are great but they still need to be managed. Container orchestration is a term we use for managing them as hands off as possible. Through orchestration, you can define that you want a certain container image to be running and if something happens to it, it will remove it and spin up a new one. They also support load-balancing and clustering technology.
Docker, one of the first that really pushed the technology into mainstream, have something called Docker Swarm. However, it seems that Kubernetes is winning the orchestration race and is generally considered the go-to-solution for container orchestration.
Resources to learn about containers:
What is a Container? by Docker
Kubernetes: Up and Running: Dive into the Future of Infrastructure by Brendan Burns, Joe Beda & Kelsey Hightower.
Automation, doing it once is enough
Like previously mentioned, this is something system administrators already are good at. But instead of doing small scripts and batch files, we are now focusing on automating as much possible. We’re working more and more with Infrastructure-as-Code (IaC), which totally automates everything related to infrastructure. We also have something called Configuration-as-Code (CaC), where you automate what your resources do after deployment.
We’ll look closer at IaC in the next section, but automation is more than writing IaC. We want to be able to automate everyday tasks, both on our servers and workstations. I might be biased, but I prefer to use PowerShell as my daily driver. After going Open Source, it is available on all platforms but if you’re stuck Bash or any other shell, there is no problem automating tasks with those as well. After a while you might even take things a step further and solve problems with python but creating some shell scripts is a great way to start ease into development.
Even if it is scripts, do still keep them in a repository and work with it like its code. It’s a good way of learning the ropes before getting to IaC.
Resources to learn about automation:
Learn Windows PowerShell in a Month of Lunches by Don Jones & Jeffrey Hicks
PowerShell for Sysadmins: Workflow Automation Made Easy by Adam Bertram
Wicked Cool Shell Scripts by Dave Taylor & Brandon Perry
Git and Continuous Interaction / Continuous Development
If you are like most system administrators this might be a little unfamiliar too you, but it is essential that you learn how to properly handle code. Git have become the de facto way of storing and collaborating on code. Continuous Integration / Continuous Development (CI/CD) is central in the process of DevOps. First, consider the follow diagram of the DevOps process.
Courtesy of What is DevOps? by Atlassian
This is the visualization of how a DevOps process should work. It’s a continuous work in progress, building the cathedral brick by brick. Usually this works by submitting code to a repository, then a build agent or service take the code and run with it.
A practical example might be better. Let’s say that we run Terraform as our IaC tool of choice.
- By keeping the code in GitHub, we can collaborate on the code, have version control and peer review our code.
- For this example, we have integrated our GitHub repository with Azure DevOps and by updating our code we trigger a pipeline that runs Terraform Plan (shows us what will happen when running the new code) and waits for our approval.
- We look at the result of our Terraform Plan and approve the process.
- Terraform talks to our cloud provider of choice and makes the changes.
- While we are at it, integration towards slack lets the team know that Terraform is throwing up some infrastructure.
This automates the entire process from committing the code, to the changes going live in the cloud.
Resources to learn about Git, CI/CD and IaC:
What is Infrastructure as Code? by Sam Guckenheimer
What is DevOps? by Atlassian
Infrastructure as Code: Managing Servers in the Cloud by Kief Morris
This is perhaps the most important part of DevOps, the culture. Much of what I have written here so far is incorporated into the culture, and we can go on and on about all the aspects of DevOps but here are a few important takeaways.
Smaller teams, more fluency between team members
Everyone should be competent on most topics, but you don’t have to be a subject matter expert on all. You might have more experience with networking, other virtualization but when you work in a small team the entire baseline gets raised. If you have one member that is brilliant at monitoring, that person could explain why something is the correct decision and heighten the general knowledge of monitoring throughout the team.
Feedback and collaboration
DevOps practitioners rely heavily on standups, short meetings that happen daily were one discusses what happened yesterday and what the focus of today is. Communication tools like Slack, Teams or self-hosted solutions like Mattermost is used to update your team and colleagues about what is going on.
Resources to learn about DevOps culture:
What is DevOps Culture? by Sam Guckenheimer
Effective DevOps by Jennifer Davis & Ryn Daniels