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 - Twitch
    • DevOps Unbound
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Upcoming Events
    • On-Demand Events
  • Sponsored Content
  • Related Sites
    • Techstrong Group
    • Container Journal
    • Security Boulevard
    • Techstrong Research
    • DevOps Chat
    • DevOps Dozen
    • DevOps TV
    • Techstrong TV
    • Techstrong.tv Podcast
    • Techstrong.tv - Twitch
  • Media Kit
  • About
  • Sponsor
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DataOps
  • DevSecOps
  • DevOps Onramp
  • Platform Engineering
  • Low-Code/No-Code
  • IT as Code
  • More
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps
    • ROELBOB
Hot Topics
  • New Relic Adds Module to Surface Code Metrics
  • Zenhub Brings Issues Management to Project Management Platform
  • DevSecOps Provides a Modern Security Model for Modernization
  • IT Teams Need to Do More With Increased Budgets
  • Tips For Securing CI/CD Pipelines

Home » Blogs » DevOps Practice » Raise Those (Feature) Flags

Raise Those (Feature) Flags

Avatar photoBy: Don Macvittie on March 8, 2023 Leave a Comment

I’ve written about feature flags before, but I think it’s time for a solid bit of advice: “If you are not yet using feature flags for DevOps, it is past time to reconsider.”

I say this because feature flags have been a slow-growth item, with a few spikes here and there in usage, but mostly on the development side. While many of you are using feature flags to do dynamic toggling of features–definitely an advanced use case, but still very development heavy–few organizations are using them for deployment options–blue/green without separate code, environment changes for different targets (deploy this to the cloud provider, but do this for local installation type stuff), etc.

TechStrong Con 2023Sponsorships Available

Feature flags are starting to be supported by DevOps tooling for this precise use case, and it is glorious. While the ability to say, “run this code,” and if the new code fails, change something like an environment variable to say, “stop running that bit,” is huge. We have enough time with this process that the industry is well aware of the need to clean up as soon as the correct code options are known, and that is the biggest weakness; it makes spaghetti code that must be cleaned up. But the benefits are well worth a bit of cleanup at the end of a project, even if far too many of you don’t bother.

Now we can use them in deployment, and in full life cycle toolsets, we have them available for both–so a set of source code can be gated behind a feature flag and deployment can use the same feature flag. This enables the ability to say, “If our FF environment variable is ‘TestDeployment,’ connect to ‘Test Database’ … then use the same variable to say, “If our FF environment variable is ‘TestDeployment,’ spin up the container with test data instead of real data.” This simple example is something that could be (and has been) done manually, but doing it this way makes it part of the process. Automated testing can then follow without the need for human intervention, and from “commit” to “test results,” IT can focus on other things instead of spinning up the right containers and making sure the right DB is accessible.

After all, we are in a time of massive automation, which should not worry us. There are globally too many IT positions and too few people to fill them; automation should be exercised as much as possible to address that simple fact. And there is a good chance that you are already using tools in the DevOps toolchain that support feature flags–a growing number do support them. If not, it is easy to research and find a good tool to do so and while it doesn’t offer as much functionality, a stand-alone feature flag product will still offer more options than not having any.

And keep rocking it. The applications you wrote years ago are still powering the enterprise, even if you are at a different organization today. We leave a legacy of applications behind us that is a testament to quality. Keep leaving quality, and use all of the tools you reasonably can.

Recent Posts By Don Macvittie
  • In DevOps, Chatbots are a People Problem
  • Managing Risk
  • Back to Basics
Avatar photo More from Don Macvittie
Related Posts
  • Raise Those (Feature) Flags
  • Feature Flags: The Cure for DevOps Remote Work Stress
  • 5 Best Practices for Feature Flagging
    Related Categories
  • Blogs
  • DevOps Practice
  • Enterprise DevOps
    Related Topics
  • CD
  • ci
  • deployment
  • feature flags
  • retargeting
Show more
Show less

Filed Under: Blogs, DevOps Practice, Enterprise DevOps Tagged With: CD, ci, deployment, feature flags, retargeting

« DevOps Flow: Accelerating Velocity With Software Factory Best Practices
Good Things Happen When DevSecOps and Cloud Collide »

Techstrong TV – Live

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

Upcoming Webinars

Building Internal Developer Platforms With EKS and GitOps
Tuesday, March 14, 2023 - 1:00 pm EDT
Building the Perfect Dataset
Wednesday, March 15, 2023 - 11:00 am EDT
Breaking Through the SBOM Noise: A No-Nonsense Guide
Thursday, March 16, 2023 - 1:00 pm EDT

Sponsored Content

The Google Cloud DevOps Awards: Apply Now!

January 10, 2023 | Brenna Washington

Codenotary Extends Dynamic SBOM Reach to Serverless Computing Platforms

December 9, 2022 | Mike Vizard

Why a Low-Code Platform Should Have Pro-Code Capabilities

March 24, 2021 | Andrew Manby

AWS Well-Architected Framework Elevates Agility

December 17, 2020 | JT Giri

Practical Approaches to Long-Term Cloud-Native Security

December 5, 2019 | Chris Tozzi

Latest from DevOps.com

New Relic Adds Module to Surface Code Metrics
March 9, 2023 | Mike Vizard
Zenhub Brings Issues Management to Project Management Platform
March 9, 2023 | Mike Vizard
DevSecOps Provides a Modern Security Model for Modernization
March 9, 2023 | Tobi Knaup
IT Teams Need to Do More With Increased Budgets
March 9, 2023 | Mike Vizard
Tips For Securing CI/CD Pipelines
March 9, 2023 | Bill Doerrfeld

TSTV Podcast

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays

GET THE TOP STORIES OF THE WEEK

Most Read on DevOps.com

Five Tips for Moving IT Ops to DevOps
March 6, 2023 | Itzik Reich
How to Achieve Data Mesh With Four Key Principles
March 3, 2023 | Madalina Tanasie
Checkly Adds Monitoring-as-Code to Testing Platform
March 3, 2023 | Mike Vizard
New-Age Tech and Culture Driving Data Democratization
March 3, 2023 | Vivek Singh
AWS Delivers on Latest Graviton3 Price/Performance Promise
March 6, 2023 | Mike Vizard
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

Powered by Techstrong Group, Inc.

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