<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Saumya on Medium]]></title>
        <description><![CDATA[Stories by Saumya on Medium]]></description>
        <link>https://medium.com/@saumya26?source=rss-3c9bec7dd360------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mkWoZo22Nu-5oFRN</url>
            <title>Stories by Saumya on Medium</title>
            <link>https://medium.com/@saumya26?source=rss-3c9bec7dd360------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:57:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saumya26/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My first introduction to the mainframe world : Journey into Mainframe Modernization]]></title>
            <link>https://medium.com/@saumya26/my-first-introduction-to-the-mainframe-world-journey-into-mainframe-modernization-81b091b702b5?source=rss-3c9bec7dd360------2</link>
            <guid isPermaLink="false">https://medium.com/p/81b091b702b5</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[mainframe]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Saumya]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 18:11:14 GMT</pubDate>
            <atom:updated>2026-08-26T18:11:14.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/678/0*y9kSK-s-0eArSyb5" /><figcaption>Mainframe Modernization</figcaption></figure><p><em>How a Python developer with zero mainframe knowledge discovered that “legacy” technology has a very modern side.</em></p><p>I come from a <strong>Python Full Stack development background</strong>, and when I started working with mainframes, I had absolutely zero knowledge about them.<br>In fact, the only time I remember hearing about a <em>mainframe</em> was back in our G.K. books. You know those pictures of huge computers occupying an entire room? At that time, I didn’t know much about them. They were simply <em>those giant computers from the textbook</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XwZWStPt7wp2DCyQSd03aw.png" /></figure><p>Years later, I found out that those machines had a name: <strong>Mainframes.</strong></p><p>And suddenly, I was working around them.My first reaction was a mixture of <strong>confusion and fascination</strong>. I was confused because almost every term was new to me — LPAR, HMC, IODF, IPL, adapters, channels, z/OS…</p><p>But I was also fascinated.How is this technology that I had only seen in old textbook pictures <strong>still so important today? </strong>That question became the beginning of my journey into the mainframe world.</p><h3>From Python and APIs to LPARs and HMCs</h3><p>Before entering this space, most of my development experience revolved around things that probably sound much more familiar to modern developers:</p><p><strong>Python. Django. REST APIs. Databases. Git. Docker. CI/CD.</strong></p><p>I was comfortable thinking about applications, APIs and services. Then suddenly I had to think about things like:</p><ul><li>Logical Partitions</li><li>Mainframe hardware</li><li>I/O configuration</li><li>Storage</li><li>Network adapters</li><li>Hardware Management Console</li><li>z/OS</li><li>IPL</li></ul><p>It felt like someone had changed the vocabulary of technology overnight. But after spending some time learning, I realized something important:</p><blockquote><strong><em>The terminology was different, but many of the engineering concepts were not.</em></strong></blockquote><p>There were still resources.</p><p>There was still configuration.</p><p>There were still APIs.</p><p>There was still automation.</p><p>There was still testing.</p><p>And there was still a need to manage infrastructure reliably. That realization made the mainframe world much less intimidating.</p><h3>So, what exactly is a mainframe?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ro0TJxMnDy2A6ukn9zxhzQ.png" /></figure><p>Let’s take a step back. <br>If you are completely new to mainframes, the easiest way to think about one is as a <strong>highly reliable computing platform designed to run critical workloads at enormous scale</strong>. <br>Mainframes are used by organizations where reliability, availability, security and transaction processing are extremely important.</p><p><em>‘Banking is a good example. Imagine millions of customers performing transactions every day.The systems behind those transactions need to be available, reliable and capable of processing huge workloads.’</em></p><p>This is one of the reasons mainframes continue to play an important role in industries such as:</p><ul><li>Banking</li><li>Insurance</li><li>Airlines</li><li>Government</li><li>Large enterprises</li></ul><p>And this was probably my first misconception about mainframes. I initially thought:</p><blockquote><em>“Mainframe = old computer.”</em></blockquote><p>But that’s a very incomplete picture.</p><p>A mainframe is not simply a large computer sitting in a room.</p><p>It is an entire ecosystem of hardware, operating systems, virtualization, storage, networking, I/O resources, management tools and applications.</p><h3>A few mainframe concepts I had to learn</h3><p>When you’re new to mainframes, the terminology can feel overwhelming. So let’s simplify a few of the concepts that helped me build the foundation.</p><h3>z/OS</h3><p><strong>z/OS</strong> is an operating system designed for IBM Z mainframes.</p><p>If you’re coming from the world of Linux or Windows, you can initially think of z/OS as the operating system that provides the environment for running workloads on IBM Z.</p><p>You don’t need to understand everything about z/OS on day one.</p><p>Just remember:</p><blockquote><strong><em>IBM Z is the platform, and z/OS is one of the operating systems that runs on it.</em></strong></blockquote><h3>LPAR</h3><p>Then came one of the terms I encountered quite frequently:</p><p><strong>LPAR — Logical Partition.</strong></p><p>An IBM Z system can be divided into multiple logical partitions.</p><p>Each partition can have its own operating system and allocated resources.</p><p>A very simplified picture looks like this:</p><pre>IBM Z Mainframe [Central Processor Complex (CPC)]<br>                       |<br>        +--------------+--------------+<br>        |              |              |<br>      LPAR 1         LPAR 2         LPAR 3<br>        |              |              |<br>      z/OS           z/OS           Other</pre><p>Coming from a software background, I found this concept easier to understand once I stopped thinking about the physical machine and started thinking about <strong>logical resources</strong>.</p><p>One physical system can provide multiple isolated environments.</p><h3>HMC</h3><p>Then there was <strong>HMC — Hardware Management Console</strong>.</p><p>The HMC provides management capabilities for the IBM Z hardware and logical partitions.</p><p>At a very high level:</p><pre>Administrator<br>                    |<br>                    v<br>                   HMC<br>                    |<br>                    v<br>              IBM Z Hardware<br>                    |<br>          +---------+---------+<br>          |         |         |<br>        LPAR      Storage    I/O</pre><p>This was another point where I started realizing that mainframe infrastructure is much more than what we see from an application developer’s perspective.</p><p>There is an entire infrastructure layer underneath the applications we interact with every day.</p><h3>And then came I/O configuration, adapters and IPL…</h3><p>This is where things started getting even more interesting.</p><p>Mainframe workloads need access to different resources — storage, networking and other I/O devices.</p><p>Understanding how those resources are configured and connected is an important part of working with mainframe infrastructure.</p><p>I also came across <strong>IPL — Initial Program Load</strong>, which is essentially the process of loading and starting the operating system environment.</p><p>For someone coming from application development, these concepts were very different from what I was used to.</p><p>But gradually, the pieces started fitting together.</p><p>Instead of trying to memorize every acronym, I started asking:</p><blockquote><strong><em>What does this component do, and how does it connect to the other components?</em></strong></blockquote><p>That question helped me much more than memorizing definitions.</p><h3>Then I discovered something familiar: APIs</h3><p>This was one of the turning points for me.</p><p>Although the underlying infrastructure was unfamiliar, the world of <strong>APIs</strong> wasn’t.And this is where things started connecting with my previous experience.<br>Mainframe infrastructure and management capabilities can be exposed through APIs.</p><p>So the interaction can be represented at a very high level as:</p><pre>Application / Tool<br>        |<br>        v<br>       API<br>        |<br>        v<br>Mainframe Services<br>        |<br>        v<br>Infrastructure</pre><p>And once I saw that, I started thinking:</p><blockquote><em>“If we have APIs, can we automate this?”</em></blockquote><p>That question leads directly to <strong>Infrastructure as Code</strong>.</p><h3>What does modernization actually mean?</h3><p>Before working in this space, I had a very simple idea of modernization.</p><p>I thought modernization meant:</p><blockquote><strong><em>Move away from the mainframe.</em></strong></blockquote><p>But that isn’t necessarily what it means.</p><p>Modernization can also mean <strong>modernizing the way we interact with, manage and operate existing mainframe infrastructure.</strong></p><p>Instead of replacing a platform that continues to run critical workloads, we can introduce modern engineering practices around it.</p><p>For example:</p><ul><li>APIs</li><li>Automation</li><li>Infrastructure as Code</li><li>DevOps</li><li>CI/CD</li><li>Automated testing</li><li>AI/Ops</li><li>Version control</li><li>Modern development workflows</li></ul><p>And that’s where <strong>Terraform</strong> enters the picture.</p><h3>Wait… Terraform and Mainframes?</h3><p>If you’ve worked with Terraform, this might sound familiar.</p><p>Terraform allows us to describe infrastructure using configuration files instead of relying entirely on manual operations.</p><p>If you’ve worked with cloud platforms, you may have seen infrastructure being created through consoles or command-line tools. Terraform takes a slightly different approach: <strong>you describe the infrastructure you want using code, and Terraform works to make the actual infrastructure match that desired configuration. </strong>This is called <strong>Infrastructure as Code (IaC)</strong>.</p><p>For example, instead of manually creating and configuring a resource, you can define it in a Terraform configuration :</p><pre>resource &quot;example_resource&quot; &quot;my_resource&quot; {<br>  name = &quot;example&quot;<br>}</pre><p>Terraform takes that desired configuration and works with the appropriate provider to make the infrastructure match that desired state.</p><p>The familiar Terraform workflow is:</p><pre>Terraform Configuration<br>          |<br>          v<br>   terraform plan<br>          |<br>          v<br>    Review Changes<br>          |<br>          v<br>   terraform apply<br>          |<br>          v<br>     Infrastructure</pre><p>So the interesting question becomes:</p><blockquote><strong><em>Can we bring this same Infrastructure-as-Code experience to mainframe infrastructure?</em></strong></blockquote><p>The answer is yes.</p><p>And this is where the work I’m involved in comes into the picture.</p><h3>Terraform as a bridge to mainframe infrastructure</h3><p>The idea is not to make the mainframe disappear.</p><p>The idea is to provide a <strong>modern way of interacting with it</strong>.</p><p>A Terraform provider acts as the bridge between Terraform and the underlying services/APIs.</p><p>The simplified architecture looks like this:</p><pre>Terraform<br>                 |<br>                 v<br>        Terraform Provider<br>                 |<br>                 v<br>               APIs<br>                 |<br>                 v<br>       Mainframe Services<br>                 |<br>                 v<br>        Mainframe Resources</pre><p>From a user’s perspective, they work with Terraform.</p><p>Behind the scenes, the provider handles communication with the appropriate APIs.</p><p>This means that infrastructure can be represented as code and managed using familiar Terraform workflows.</p><h3>From manual operations to Infrastructure as Code</h3><p>Let’s imagine we want to manage a mainframe infrastructure resource.</p><p>Traditionally, some infrastructure operations may involve interacting with management interfaces and performing configuration manually.</p><p>With Infrastructure as Code, the workflow becomes more like this:</p><pre>Terraform Code<br>              |<br>              v<br>         Version Control<br>              |<br>              v<br>       Pull Request / Review<br>              |<br>              v<br>       terraform plan<br>              |<br>              v<br>       terraform apply<br>              |<br>              v<br>       Terraform Provider<br>              |<br>              v<br>              API<br>              |<br>              v<br>          Mainframe</pre><p>Suddenly, infrastructure starts looking much more like software. And that is one of the things I find most interesting about modernization.</p><h3>Why is this important?</h3><p>Infrastructure as Code brings several benefits :-</p><h3>1. Infrastructure can be managed as code</h3><p>Instead of configuration existing only in someone’s memory or through manual steps, it can be represented in files.</p><h3>2. Changes can be version controlled</h3><p>Terraform configuration can live in Git.</p><p>That means we can see:</p><ul><li>Who changed something ?</li><li>What changed ?</li><li>When it changed ?</li><li>Why it changed ?</li></ul><h3>3. Changes can be reviewed</h3><p>Infrastructure changes can go through pull requests and code reviews.</p><h3>4. Automation becomes easier</h3><p>Terraform can become part of CI/CD workflows.</p><h3>5. Infrastructure becomes repeatable</h3><p>Instead of manually repeating the same configuration steps, the desired configuration can be defined and reused.</p><h3>But Terraform doesn’t replace mainframe knowledge</h3><p>This is something I learned along the way.</p><p>Terraform makes infrastructure management easier and more automated, but it doesn’t eliminate the need to understand what you’re managing.</p><p>If you’re working with an LPAR, you still need to understand what an LPAR is.</p><p>If you’re managing storage, you need to understand the storage architecture.</p><p>If you’re working with network resources, you need to understand how those resources connect to the rest of the system.</p><p>Terraform is the <strong>tool for managing the infrastructure</strong>.</p><p>It isn’t a replacement for understanding the infrastructure.</p><p>And I think that’s an important distinction.</p><h3>What does our modernization work look like?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*duUMqf2Bh9EijZ1AjZCVtg.png" /></figure><p>The work I’m involved in focuses on bringing this Infrastructure-as-Code approach into the mainframe ecosystem.</p><p>This involves concepts such as:</p><ul><li>Terraform resources</li><li>Terraform providers</li><li>REST APIs</li><li>Go-based provider development</li><li>Resource lifecycle management</li><li>Importing existing resources</li><li>Automated testing</li><li>Acceptance testing</li><li>CI/CD</li></ul><p>For example, a Terraform resource might represent a piece of mainframe infrastructure.</p><p>A user defines what they want.</p><p>Terraform determines what needs to change.</p><p>The provider communicates with the underlying API.</p><p>The API interacts with the mainframe service.</p><p>And eventually, the desired infrastructure state is achieved.</p><pre>User<br> |<br> | Terraform Configuration<br> v<br>Terraform<br> |<br> v<br>Provider<br> |<br> v<br>API<br> |<br> v<br>Mainframe Service<br> |<br> v<br>Mainframe Infrastructure</pre><p>That simple flow represents a much bigger idea:</p><blockquote><strong><em>Bring the developer experience of modern Infrastructure as Code to mainframe infrastructure.</em></strong></blockquote><h3>What about infrastructure that already exists?</h3><p>This is another interesting part of the modernization story. Mainframe environments aren’t greenfield environments. Many organizations have infrastructure that has been running for years or even decades.</p><p>So you can’t simply say:</p><blockquote><em>“Let’s delete everything and recreate it with Terraform.”</em></blockquote><p>Existing infrastructure matters.</p><p>That’s why capabilities such as <strong>resource import</strong> are important.</p><p>Conceptually:</p><pre>Existing Resource<br>       |<br>       v<br> Terraform Import<br>       |<br>       v<br> Terraform State<br>       |<br>       v<br>Managed through Terraform</pre><p>This allows organizations to move toward Infrastructure as Code incrementally.</p><p><em>Modernization doesn’t have to happen overnight.</em></p><h3>From those textbook pictures to Terraform</h3><p>Sometimes I think about that G.K. book again. Back then, I saw a picture of a huge machine and probably thought — <em>“That’s a computer.”<br></em>Today, I see something very different.</p><p>I see a complex ecosystem of hardware, software, logical partitions, storage, networking, APIs and workloads.</p><p>And more importantly, I see an opportunity to apply modern engineering practices to it.</p><p>That’s probably the biggest change in my perspective.</p><p>I started this journey thinking I was entering an entirely different world.</p><p>Instead, I discovered that it was another world where many of the engineering principles I already knew could be applied in new ways.</p><h3>The bigger picture: Mainframe + Modern Engineering</h3><p>I think this is where the idea of <strong>mainframe modernization</strong> becomes much more interesting.</p><p>It’s not necessarily:</p><pre>Old Technology  ---&gt;  New Technology</pre><p>It’s more like:</p><pre>Modern Engineering<br>                      |<br>       +--------------+--------------+<br>       |              |              |<br>   Terraform         APIs           CI/CD<br>       |              |              |<br>       +--------------+--------------+<br>                      |<br>                      v<br>                Mainframe<br>                      |<br>       +--------------+--------------+<br>       |              |              |<br>      z/OS          LPARs        Infrastructure<br>       |              |              |<br>       +--------------+--------------+<br>                      |<br>                      v<br>             Enterprise Workloads</pre><p>The mainframe provides the platform and the reliability required by critical workloads.</p><p>Modern engineering practices provide new ways to manage and interact with that platform.</p><p>And Terraform is one of the tools that can help connect these two worlds.</p><h3>Final thoughts</h3><p>When I started working with mainframes, I had zero knowledge about them.</p><p>My only reference point was a picture from a book showing a giant computer.</p><p>Today, I’m learning how those systems are structured, how their infrastructure works, how APIs expose their capabilities, and how modern Infrastructure-as-Code tools such as Terraform can be used to manage them.</p><p>I’m still learning. And perhaps that’s the most important thing I want to convey through this article. You don’t need to be a mainframe expert to start understanding mainframe modernization.</p><p>If you’re coming from a cloud, DevOps, backend, or software-development background, many of the concepts you already know can serve as a foundation.</p><p>The terminology may be different.</p><p>The architecture may be different.</p><p>But the engineering mindset is surprisingly familiar.</p><p><strong>Mainframe modernization isn’t about replacing everything that came before.</strong></p><p>It’s about finding better ways to build, manage, automate and operate what already exists.</p><p>And for me, that journey started with a picture in a book…</p><p>…and eventually led to <strong>LPARs, APIs and Terraform.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81b091b702b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>