AZURE HEROES
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy

Legacy Platforms Are Not the Enemy

4/6/2025

0 Comments

 
Almost every platform engineer experiences the same moment when joining a company with a long-running cloud platform.
You open the repository.
You start reading the Terraform code.
You inspect the CI/CD pipelines.
And suddenly… confusion.
Picture

Your first instinct — especially if you've come through courses, reference architectures, or cloud conferences — is usually the same:

"This needs a full rewrite. New landing zone. Clean Terraform structure. Modern pipelines. Best practices everywhere."

It sounds smart. It looks professional. And it is one of the most dangerous decisions a platform engineer can make.


Why "Just Rewrite It" Is a Trap

That platform you're frustrated with is not theoretical. It has been running real production workloads for months — sometimes years. It survived:

  • Incidents and outages
  • Compliance audits
  • Security exceptions
  • Scaling challenges
  • Real customer pressure

Every ugly conditional, strange module boundary, or pipeline workaround likely exists because something broke in the past. That platform is the reason applications deploy today, teams deliver features, and the business generates revenue.

Destroying it without understanding it is not engineering excellence — it's risk.

Engineering Maturity Starts With Respect

When I mentor platform engineers struggling with legacy Infrastructure as Code or DevOps setups, the first thing I do is stop the wrong kind of enthusiasm. Not because improvement is bad — but because reckless improvement is expensive.

Anyone can design a perfect landing zone on a whiteboard.
Real expertise is improving a live platform without breaking the business.

The "Big Rewrite" Fallacy

A full rewrite assumes you can:

  • Rediscover years of hidden business rules
  • Pause feature delivery without business impact
  • Not miss edge cases that were learned the hard way
  • Deliver something strictly better — not just prettier

In reality, big rewrites often result in lost functionality, new security gaps, more incidents, and — most painfully — lost trust from stakeholders.

From management's perspective, you don't look like a savior. You look like a source of risk.

How Strong Platform Engineers Handle Legacy Platforms

STEP 1

Understand Before You Judge — Chesterton's Fence

Before removing anything, ask why it exists. That strange Terraform condition or pipeline exception is probably there for a reason:

  • A regulatory requirement someone negotiated under pressure
  • A workaround for a critical enterprise customer
  • A scar from a historical incident that took the platform down

Remove it without understanding the context, and you may break something invisible — but essential.

STEP 2

Use the Strangler Pattern for Platforms

You don't rebuild a landing zone overnight. Instead:

  • Introduce new, well-designed Terraform modules alongside the old ones
  • Create new pipelines with better standards for new workloads
  • Let new workloads adopt the new patterns from day one

Gradually, old components get isolated, legacy modules get replaced, and risk stays minimal. The business never stops.

STEP 3

Apply the Boy Scout Rule to IaC

"Leave the code better than you found it."

Every time you touch the platform — even for a small fix — improve something:

  • Fix a variable name
  • Extract a reusable module
  • Remove duplication
  • Add a missing comment or README entry

Small, continuous improvements compound massively over time. You don't need a big bang to move forward.

STEP 4

Build Safety Nets Before You Refactor

In platform engineering, safety nets are non-negotiable before touching anything:

  • terraform plan validations in every pipeline
  • Policy-as-Code to catch drift and violations
  • Drift detection on live environments
  • Integration and canary environments to validate changes safely

You never refactor infrastructure blindly. You protect behavior first — then improve structure.

The Real Takeaway

Engineering maturity is not about hating legacy platforms. It's about respecting what kept the company alive — and evolving it carefully.

This mindset shift is one of the hardest lessons in platform engineering:

From "I know best practices" → To "I know how to apply them in production."

That shift separates engineers who can design platforms from engineers who can own and evolve them responsibly. And that is what real Platform Engineering is about.

0 Comments



Leave a Reply.

    Author

    Mohammad Al Rousan is a Microsoft MVP (Azure), Microsoft Certified Solution Expert (MCSE) in Cloud Platform & Azure DevOps & Infrastructure, An active community blogger and speaker. Al Rousan has over 11 years of professional experience in IT Infrastructure and very passionate about Microsoft technologies and products.

    Picture
    Picture
    Top 10 Microsoft Azure Blogs

    Archives

    February 2026
    April 2025
    February 2025
    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    July 2024
    June 2024
    May 2024
    April 2024
    February 2024
    September 2023
    August 2023
    May 2023
    November 2022
    October 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    May 2021
    February 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    June 2020
    April 2020
    January 2020
    July 2019
    June 2019
    May 2019
    February 2019
    January 2019

    Categories

    All
    AKS
    Azure
    Beginner
    CDN
    DevOps
    End Of Support
    Fundamentals
    Guide
    Hybrid
    License
    Migration
    Network
    Security
    SQL
    Storage
    Virtual Machines
    WAF

    RSS Feed

    Follow
    Free counters!
Powered by Create your own unique website with customizable templates.