Kailash H.

N° 02 | Case study · Cloud and platform

One pipeline, many clouds.

Every release is a single build that generates a separate image for each major cloud, and each image is deployed to its own cloud. That ran on legacy pipelines that were hard to change and harder to debug. We migrated them to modular Python automation with real visibility, error handling and observability, and I build and maintain them.

Context
Enterprise software released to multiple clouds
Year
2023 to now
My role
Developer and maintainer
Clouds
AWS · Azure · GCP · IBM Cloud
Clouds from one codebase
4+
Multiple deploys a day
Daily
Modular Python framework
1
(01) The problem

Every cloud had its own pipeline, and every failure was a mystery.

A single build produces several images, one per cloud, and each cloud expects its image in its own format and through its own process: machine images, gallery images, container registries, object storage. The legacy pipelines deployed each one separately.

That meant duplicated logic, changes that had to be made in several places, and failures that were slow to trace. As cloud and product requirements kept changing, the pipelines got harder to keep up.

The approach

(02) Three principles
  • Modular by design

    Shared steps live once. Each cloud gets its own module behind a common interface, so adding or changing a target doesn't touch the rest.

  • Visible by default

    Every run reports what it did, where and how long it took, so the team can see the state of a release at a glance.

  • Errors that explain themselves

    Failures say what broke and where, so fixing them starts with an answer instead of an investigation.

How it works

(03) The flow
  1. 01 · Build

    Single build

    One release build generates every cloud's image in a single run.

    • Images
  2. 02 · CoreMy part

    Shared automation

    Common steps such as configuration, packaging and logging are written once in Python.

    • Python
    • Jenkins
  3. 03 · AdaptMy part

    Cloud modules

    Each cloud module takes its image and prepares it the way that cloud expects.

    • AMIs
    • Gallery images
    • Registries
  4. 04 · PublishMy part

    Upload and register

    Each image is deployed to its own cloud's registries and storage.

    • AWS
    • Azure
    • GCP
    • IBM Cloud
  5. 05 · ObserveMy part

    Visibility

    Logs, status and clear errors for every run.

    • Observability
    • Alerts

One build, one image per cloud · each module can change without touching the others

Problems we solved

(04) Field log
  1. P.01

    Legacy pipelines that were hard to change.

    Migrated to modular Python automation, so a change to one cloud is made in one place and tested on its own.

  2. P.02

    Every cloud does images differently.

    One module per target, from AWS machine images to Azure gallery images to registries and object storage, all behind a common interface.

  3. P.03

    Failures that were slow to trace.

    Built-in error handling and observability show which step failed, on which cloud, and why.

  4. P.04

    Requirements that never stop changing.

    I keep the pipelines updated as cloud and product needs evolve, while they carry multiple deploys a day.

One build, many images

(05) Fan-out
Single buildShared Python coreAWS · machine imagesAzure · gallery imagesGCP · imagesIBM Cloud · registry and storageONE BUILDCONFIG · LOGS · ERRORS
Single buildONE BUILD
Shared Python coreCONFIG · LOGS · ERRORS
  • AWS · machine images
  • Azure · gallery images
  • GCP · images
  • IBM Cloud · registry and storage

What I learned

(06) Takeaways

Release infrastructure is judged on the days it fails, not the days it works.

  • Boring is a feature

    The best pipeline is one nobody has to think about. Predictable beats clever.

  • Observability first

    Most of the time saved came from failures that explain themselves, not from faster steps.

  • Design for change

    Clouds change their requirements constantly. Modules that can change alone keep the rest stable.

(07) Ownership

Part of a developer platform team. I develop and maintain these pipelines, updating them as cloud and product needs change, and they carry multiple deploys a day.