DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Enterprise AI Trend Report: Gain insights on ethical AI, MLOps, generative AI, large language models, and much more.

2024 Cloud survey: Share your insights on microservices, containers, K8s, CI/CD, and DevOps (+ enter a $750 raffle!) for our Trend Reports.

PostgreSQL: Learn about the open-source RDBMS' advanced capabilities, core components, common commands and functions, and general DBA tasks.

AI Automation Essentials. Check out the latest Refcard on all things AI automation, including model training, data security, and more.

Related

  • Revolutionizing Software Deployment: The Synergy of Cloud and DevOps
  • The Cost of Ignoring Static Code Analysis
  • OpenTofu Vs. Terraform: The Great IaC Dilemma
  • Empowering DevOps: The Crucial Role of Platform Engineering

Trending

  • Using My New Raspberry Pi To Run an Existing GitHub Action
  • Continuous Improvement as a Team
  • Building a Performant Application Using Netty Framework in Java
  • Architecture: Software Cost Estimation
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. DevOps and CI/CD
  4. An Introduction to DevOps

An Introduction to DevOps

This post takes a surface-level look at the parts that make up DevOps. We explore the concepts, tools, and unique roles.

By 
Andy Corrigan user avatar
Andy Corrigan
·
Sep. 22, 22 · Opinion
Like (1)
Save
Tweet
Share
4.7K Views

Join the DZone community and get the full member experience.

Join For Free

DevOps is a big term, wide-reaching and applicable to many things that surround and support software development.

For the uninitiated, DevOps can be hard to understand. Is it a culture? A guideline for development processes? A set of tools? Someone's job?

The answer to all these questions is yes. It's all the above.

In this post, we take a surface-level look at the parts that make up DevOps. We explore the concepts, tools, and unique roles.

DevOps as a Concept

In modern development, it's more important than ever to deliver software and updates as quickly and reliably as possible.

The concept behind DevOps, then, is about removing barriers that get in the way of software delivery.

Typical barriers include:

  • Manual processes
  • Office politics
  • Counteractive support workflows

The reason to overcome these barriers is simple: If the product is software, then all processes should work towards delivering that software, not against it.

Let's look at what we must consider when thinking about a DevOps approach.

DevOps as a Culture

In traditional organizations, developers and those that support them (such as operations or database teams) are often separate entities with little interaction.

This means each team has its own beliefs, responsibilities, and priorities. While not at odds, often those priorities can clash in pursuit of doing the best for the business.

Embracing DevOps as a culture means to remove that friction by introducing a shared purpose.

The methods to achieve that can differ and depend how entrenched people are in their ways of working. The aim, however, is to ensure all teams:

  • Build trust through clear, honest communication and feedback;
  • Collaborate throughout the product's entire lifecycle;
  • Have what they need to make quick decisions;
  • Can take risks without fear of failure or blame;
  • Are collectively responsible for the product's success;
  • Review what worked and what didn't for the next lifecycle.

Why Automation Is Important for DevOps

In DevOps, if you can automate it, you should automate it.

The benefits of automation are simple:

  • Teams can focus more on the product;
  • Results are repeatable and predictable;
  • Teams can respond much quicker and flexibly to problems.

With that, it's no surprise that Continuous Integration and Continuous Deployment (CI/CD) is such a huge part of DevOps.

DevOps in Action: Different Approaches to DevOps

Given DevOps' conceptual nature, there are many ways for organizations to approach its adoption.

Alex Yates highlighted 2 approaches worth revisiting in his piece On the naming of "DevOps Engineers.".

CALMS (Culture, Automation, Lean, Measurement, Sharing)

CALMS is a framework explored in The DevOps Handbook.

CALMS is an acronym where each letter describes the actions needed to adopt DevOps:

  • Culture - Remove silos and share responsibility.
  • Automation - Reduce time spent on manual tasks.
  • Lean - Streamline processes to reduce wasted time.
  • Measurement - Collect and review data to find areas for improvement.
  • Sharing - Open and honest collaboration between teams.

CALMS is also the approach Atlassian took on its path to DevOps culture, using it to measure progress and success. You can read how Atlassian uses CALMS on their DevOps site.

The Three Ways (Flow, Feedback, Continual Experimentation and Learning)

Featured in The DevOps Handbook and DevOps novels The Phoenix Project and The Unicorn Project, The Three Ways boils DevOps down to 3 key principles:

  1. Flow
  2. Feedback
  3. Continual experimentation and learning

Let's take a quick look at what these principles mean.

The First Way: Flow

The First Way is about refining every process that takes place between the developer and the customer.

This means:

  • Not trying too much during one lifecycle by focusing on short sprints;
  • Removing arbitrary processes and giving the team what they need to keep things moving.

The Second Way: Feedback Loops

The Second Way is all about faster feedback.

Faster feedback means faster reactions, so you can:

  • Address problems before they become bigger problems deeply rooted due to iteration;
  • Troubleshoot with less reverse engineering;
  • Adjust processes to better meet the needs of customers and your teams.

The Third Way: Experiment and Learn

The Third Way is about recognizing that it's okay to take risks and that failure is an important part of learning. It's also about communicating the wins too.

By recognizing this, it allows your teams to:

  • Think outside the box;
  • Learn from mistakes;
  • Test the resilience of your DevOps culture.

DevOps Roles

Given the concept is about a unifying purpose, DevOps is really everyone's role. That said, it's still important everyone knows their responsibilities. Adopting DevOps means adding some specialist roles that sit alongside development staples like coders, QA, designers, and more.

Let's take a quick look at some of the common extra roles needed in DevOps and what they do. Some of the naming conventions and finer responsibilities may differ between organizations.

DevOps Engineer

The exact function of DevOps Engineers is often debated. The consensus, though, is that the role exists so everyone else can perform theirs as smoothly as possible.

Both conductor and problem solver, a DevOps Engineer oversees the bigger picture, managing:

  • Workflows
  • Infrastructure setup and config (including scaling)
  • System permissions
  • Needs of various teams

Build Manager

The Build Manager maintains the automation systems that make up Continuous Integration (CI).

This means ensuring code gets compiled, built, tested, and handed off for deployment.

Release Manager

A Release Manager directs builds promoted for release. They communicate what's included in a release and plot their course through a pipeline's environments.

This makes up what we call Continuous Deployment and Continuous Delivery (CD)

Product Manager

Product Managers are almost a conduit between developers and end users.

Working with developers, they help ensure the product has the features and fixes customers' needs.

Data Analyst

A Data Analyst scours data to spot patterns and find areas for improvement.

This helps you spot the things that impact user experiences, such as feature problems or product navigation.

Example DevOps Tools

Most DevOps approaches agree a product lifecycle should look something like this:

  1. Plan
  2. Code
  3. Build
  4. Test
  5. Package
  6. Release
  7. Deploy
  8. Operate
  9. Monitor

Rinse and repeat!

It's important to find the right tools to help you manage each phase. Let's look at a few examples.

Planning

The planning stages are the most important for the direction and future of your product. Effective planning helps you focus on the improvements and features users get at the end of the next lifecycle.

Given a lot of that process can get pretty conceptual, there's a range of tools that allow collaboration and project management.

Slack and Zoom are the main tools, but other popular options include:

  • Teams
  • Confluence
  • monday.com
  • Trello

Code Repositories and Source Control

Source control is important to any development team. Source control tracks and checks every new piece of code and file change.

Most developers use Git for source control. Git is both a system and philosophy, allowing for distributed development and helping avoid risk through branching.

Code repositories, then, are hosting services for Git-managed code.

Popular options include:

  • GitHub
  • GitLab
  • Bitbucket

Build and Test

Build servers (also known as CI platforms) can save time by automating:

  • Code compiling
  • Code validation tests
  • Package creation

Popular options include:

  • Jenkins
  • GitHub Actions
  • TeamCity
  • Circle CI
  • Atlassian Bamboo
  • Azure DevOps

We spent the first quarter of 2022 deep-diving into Jenkins and GitHub Actions. Take a read and see if they're for you.

Package

Software packaging tools turn your code into deployable artifacts. You host and deploy these artifacts from package repositories.

Popular options include:

  • Docker Hub
  • JFrog
  • Codefresh
  • Red Hat Quay

Releases and Deployments

Most code repositories and build servers let you manage releases and deploy to targets in some fashion. However, they don't solve the same problems dedicated release management, or deployment tools do.

Other popular options include:

  • Atlassian Bamboo
  • AWS CodeDeploy
  • GitLab CI/CD
  • DeployHQ
  • ElectricFlow

Operations

Operations relate to the setup, running, and maintenance of infrastructure for a pipeline.

Popular options include:

  • Saltstack
  • Chef
  • Puppet Enterprise

Runbooks are also an important feature related to operations. 

Monitoring

Monitoring tools scrape your product and related systems for important data. This can inform decisions about performance and customer usage.

Popular options include:

  • New Relic
  • Splunk
  • Dynatrace
  • Datadog

Happy deployments!

DevOps

Published at DZone with permission of Andy Corrigan. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Revolutionizing Software Deployment: The Synergy of Cloud and DevOps
  • The Cost of Ignoring Static Code Analysis
  • OpenTofu Vs. Terraform: The Great IaC Dilemma
  • Empowering DevOps: The Crucial Role of Platform Engineering

Partner Resources


Comments

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: