DevOps.com

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DataOps
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • Videos/Podcasts
    • Techstrong.tv Podcast
    • Techstrong.tv Video Podcast
    • Techstrong.tv - Twitch
    • DevOps Unbound
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Upcoming Events
    • On-Demand Events
  • Sponsored Communities
    • CloudBees
    • IT as Code
    • Rocket on DevOps.com
    • Traceable on DevOps.com
    • Quali on DevOps.com
  • Related Sites
    • Techstrong Group
    • Container Journal
    • Security Boulevard
    • Techstrong Research
    • DevOps Chat
    • DevOps Dozen
    • DevOps TV
    • Techstrong TV
    • Techstrong.tv Podcast
    • Techstrong.tv Video Podcast
    • Techstrong.tv - Twitch
  • Media Kit
  • About
  • Sponsor
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DataOps
  • DevSecOps
  • DevOps Onramp
  • Practices
  • Low-Code/No-Code
  • IT as Code
  • More
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps
    • ROELBOB

Home » Blogs » 5 Tips to Consider When Introducing Infrastructure Automation

infrastructure IT automation

5 Tips to Consider When Introducing Infrastructure Automation

Avatar photoBy: Bill Doerrfeld on December 12, 2022 Leave a Comment

Although we discuss infrastructure automation often, the fact is that a lot of manual processes still exist throughout DevOps. Whether it’s rewriting scripts to spin up new servers, updating cloud-native policies or configuring computing environments, manual toil is an all-too-common reality. To make matters worse, engineers commonly create lengthy scripts that work in isolation but are too bulky to be reusable by other developers working with slightly different constraints.

More infrastructure automation is the key to increasing deployment agility, but setting aside time to automate your daily workflow can easily take a back burner, especially when developers are already behind on their long list of to-dos. So, for the time-pressed, where should they start? What exactly should be automated? And how can we effectively reuse and share automation to help other areas of the business?

Predict 2023Sponsorships Available

I recently connected with John Laffey, technical product marketing director, Puppet. Laffey has thirty years’ worth of tech support and engineering operations knowledge under his belt and was “doing DevOps before it was called DevOps.” He shared with me five helpful tips to think about when introducing more infrastructure automation into your workflows. Below, we’ll expand on each of those points and consider other best practices around automation as the industry moves toward platform engineering.

1. Automate Things That Interrupt Your Day

First, Laffey recommended starting with the things that are easy to fix. These are the tedious actions that interrupt your day. Perhaps a disk runs out of space and troubleshooting takes 15 or 20 minutes. Minor interruptions like this might seem like part of the job, but they definitely add up over time.

2. Automate Things You Can Reuse

Secondly, try not to automate things for an ultra-specific purpose, said Laffey. Instead, focus on building automation that is more generic and can have more value to others. This follows the DevOps mantra of teamwork and collaboration. One-off automation that is too verbose or specific to a certain condition won’t apply well across groups.

3. Automate Stuff That Doesn’t Change Much

Next, automate the infrastructure that isn’t prone to change. These are fairly reliable things that you’re sure will be part of your systems for the foreseeable future. Because if a component does end up having to be updated often, supporting the automation could be more hassle than it’s worth. “Don’t trade fixing problems for fixing automation,” said Laffey.

4. Start Small

Here’s some sage advice applicable to most new projects with a big scope—start small. Laffey recommended starting by automating the easy stuff that has proven immediate value. These tasks should be modular and do one specific thing, like rebooting a machine or draining a log file. “Automate things in chunks that you can put into a toolchain.”

Too often, teams try to automate everything all at once. But by taking big bites, you can quickly get off track and potentially add to technical debt. If you keep things modular, you’ll find it easier to change and reuse this automation.

5. Share and Be Open

This last tidbit is more of a cultural change—don’t code so that you’re the only one who knows about it! Sometimes, engineers don’t necessarily want the world to know about the automation they create. They might worry about automating their job away. Yet, Laffey said, these worries are misplaced. There will always be more work to do, and automating toil away can free up time to help you focus on more exciting projects.

So, Laffey encouraged DevOps and SREs to be open about the automation they create. Ensure they’re well documented and stored in a centralized repository to allow other departments to reuse your code. This can avoid the duplication of having five different versions of the same script written in different languages within the same organization!

Next Step: Move From Scripts to Industry-Standard Tooling

It can be challenging to argue for investing time and energy into infrastructure automation, especially when engineers are hard-pressed to keep the lights on. Yet, small gains in automation can make huge waves in the long term.

Eventually, said Laffey, you’ll want to move away from using scripts within your toolchain, which he describes as a low-end DevOps maturity. But as you update your process, you’ll want to replace these scripts with more modern industry-standard tools like Terraform or Puppet’s DSL. He recommended slowly revamping scripts in a toolchain as you update them one by one. “Start where you are and avoid a monolithic approach.”

In essence, platform engineering, Laffey explained, is wrapping DevOps principles at a higher level to make them more efficient. And we will likely see an increased emphasis on infrastructure automation as platform engineering gains more mindshare. “It’s going to become a necessity.”

Recent Posts By Bill Doerrfeld
  • Index Tracks Impressive Growth of API-First Startups
  • Introduction to MACH Architecture
  • Looking to the Future of Developer Experience
Avatar photo More from Bill Doerrfeld
Related Posts
  • 5 Tips to Consider When Introducing Infrastructure Automation
  • Challenges in DevOps Standardization
  • 5 Reasons DevOps Needs NetDevOps
    Related Categories
  • Best Practices
  • Blogs
  • Continuous Delivery
  • Continuous Testing
  • DevOps Culture
  • DevOps Onramp
  • DevOps Practice
  • DevOps Toolbox
  • Features
  • Infrastructure/Networking
    Related Topics
  • automation
  • devops best practices
  • DevOps Onramp
  • infrastructure
  • toil
Show more
Show less

Filed Under: Best Practices, Blogs, Continuous Delivery, Continuous Testing, DevOps Culture, DevOps Onramp, DevOps Practice, DevOps Toolbox, Features, Infrastructure/Networking Tagged With: automation, devops best practices, DevOps Onramp, infrastructure, toil

Sponsored Content
Featured eBook
The Automated Enterprise

The Automated Enterprise

“The Automated Enterprise” e-book shows the important role IT automation plays in business today. Optimize resources and speed development with Red Hat® management solutions, powered by Red Hat Ansible® Automation. IT automation helps your business better serve your customers, so you can be successful as you: Optimize resources by automating ... Read More
« Five Great DevOps Job Opportunities
Massive Number of Transitive Dependencies Traced to Open Source Code »

Techstrong TV – Live

Click full-screen to enable volume control
Watch latest episodes and shows

Upcoming Webinars

Minimizing the Troubleshooting Tax: 5 Tips to Increase DevOps Productivity
Monday, January 9, 2023 - 11:00 am EST
Shift Left: Observability-Driven Design
Tuesday, January 10, 2023 - 11:00 am EST
Getting Started With Infrastructure-as-Code (IaC) on AWS
Tuesday, January 10, 2023 - 1:00 pm EST

Latest from DevOps.com

Decidability: SLOs to Measure Quality Attributes
December 16, 2022 | Pawel Rusakiewicz
Salesforce Launches Low-Code DevOps Platform
December 15, 2022 | Mike Vizard
EU Data Privacy: Try Again | SkyPilot: Choose Cheapest Cloud | WFH: Better Meetings
December 15, 2022 | Richi Jennings
New Relic Extends Observability Reach to More DevOps Platforms
December 15, 2022 | Mike Vizard
Why Backups and Compliance Go Hand-in-Hand
December 15, 2022 | James Ciesielski

GET THE TOP STORIES OF THE WEEK

Download Free eBook

The State of the CI/CD/ARA Market: Convergence
https://library.devops.com/the-state-of-the-ci/cd/ara-market

Most Read on DevOps.com

Migration to AWS Cloud: Do’s and Don’ts
December 9, 2022 | Pavel Khrulev
Survey Surfaces Agile Development Challenges
December 9, 2022 | Mike Vizard
Codenotary Extends Dynamic SBOM Reach to Serverless Computin...
December 9, 2022 | Mike Vizard
5 Tips to Consider When Introducing Infrastructure Automatio...
December 12, 2022 | Bill Doerrfeld
Five Great DevOps Job Opportunities
December 12, 2022 | Mike Vizard

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

Powered by Techstrong Group, Inc.

© 2022 ·Techstrong Group, Inc.All rights reserved.