Infrastructure-as-Code Platform for the Rocket Enterprise Suite

Infrastructure-as-Code Platform for the Rocket Enterprise Suite

Automotive Manufacturing | Amazon Web Services | Caxsol ProServ


Functional Topic & Business Objective

FUNCTIONAL TOPIC & BUSINESS OBJECTIVE

A global automotive manufacturer operating a large-scale mainframe estate needed to modernise its COBOL-based workloads onto AWS using the Rocket Enterprise Suite. The business objective was to replace manual, error-prone infrastructure provisioning with a fully automated, repeatable, and auditable platform — enabling application teams to receive ready-to-use Rocket Enterprise Server, Enterprise Developer, and Enterprise Analyzer environments on demand, with zero manual intervention.

The engagement covered the full infrastructure lifecycle: from initial environment provisioning through to day-two operations, observability, and enterprise-grade authentication — all expressed as Infrastructure-as-Code.

INDUSTRY

  • Automotive Manufacturing
  • Mainframe Modernisation
  • Cloud Migration
  • DevOps / Platform Engineering

The organisation is a major player in the global automotive manufacturing sector, operating mission-critical batch and online COBOL workloads that support manufacturing execution, logistics, and supply-chain processes. The scale and criticality of these workloads demanded a modernisation approach that preserved operational continuity while unlocking cloud agility.

Industry Overview
Problem Statement

PROBLEM STATEMENT

Prior to this engagement, the organisation faced five interconnected infrastructure challenges that were slowing down the modernisation programme:

  • Manual, drift-prone provisioning: Standing up Rocket Enterprise Server, Enterprise Developer, and Enterprise Analyzer environments required significant manual effort across multiple teams, resulting in configuration drift, inconsistent environments, and slow onboarding for application teams.
  • No repeatable image baseline: Every new EC2 instance required manual installation of monitoring agents, logging agents, code-deploy tooling, and Rocket software — increasing lead times and introducing the risk of subtle inconsistencies between environments.
  • Complex, manual network exposure: Enterprise Server regions expose multiple TCP and HTTP endpoints (TN3270, ECI/J2EE, ESCWA). Manually wiring Network Load Balancer and Application Load Balancer listeners for each new environment was time-consuming and error-prone.
  • No centralised authentication: Without a shared directory service, each environment managed its own user accounts independently, making it impossible to enforce consistent access controls or integrate with the corporate identity provider.
  • No CI/CD for infrastructure: Infrastructure changes were applied ad-hoc with no audit trail, no automated validation, and no safe rollback path — creating operational and compliance risk.

OUR ROLE & CONTRIBUTION

Caxsol acted as the lead platform engineering partner for the AWS infrastructure layer of the modernisation programme. Our team of two senior engineers (Abhilasha and Nitesh) owned the end-to-end design, build, and handover of the IaC platform, working directly alongside the client's application and operations teams.

  • Architected the stateless EC2 / Auto Scaling Group design pattern for all Rocket products
  • Designed and built the Golden AMI pipeline for Enterprise Server, Enterprise Developer, and Enterprise Analyzer
  • Authored all Terraform modules covering compute, networking, storage, secrets, and directory services
  • Designed and implemented the automated NLB / ALB / Route 53 provisioning stack
  • Deployed and configured AWS Directory Service (Managed Microsoft AD) as the LDAP authentication layer
  • Built and maintained GitHub Actions CI/CD pipelines for all IaC modules
  • Defined bootstrap orchestration scripts (user_data) with ASG lifecycle hook integration for graceful startup and shutdown
  • Established observability foundations: CloudWatch, Prometheus, Fluent Bit, and Amazon OpenSearch
Our Role & Contribution
Solution Overview

SOLUTION OVERVIEW

Caxsol designed and delivered a modular, fully automated AWS platform structured around five interconnected pillars:

Pillar 1 — Terraform IaC for the Rocket Enterprise Suite

All AWS resources are defined in Terraform and provisioned on demand. The IaC covers EC2 Auto Scaling Groups with launch templates, ASG lifecycle hooks for graceful startup and shutdown, IAM roles and security groups, FSx for NetApp ONTAP file shares, RDS and IBM MQ connectivity wiring, and AWS Secrets Manager entries for all runtime credentials.

Design principle: EC2 instances are entirely stateless. All persistent state lives in FSx ONTAP, RDS, or IBM MQ — never on the instance root volume. Instances can be terminated and replaced at any time without data loss.

Pillar 2 — Hardened Golden AMIs

A layered AMI pipeline was built on top of the AWS-provided Micro Focus base image. Each Golden AMI is baked once and reused across all environments, eliminating per-instance installation time and configuration drift. Pre-baked components include Rocket Enterprise Server (with systemd service units), Enterprise Developer build tools, AWS CodeDeploy Agent, Amazon CloudWatch Agent, Prometheus Node Exporter, Fluent Bit, and hardened polkit and VSAM ESM permission rules.

Pillar 3 — Automated DNS, Route 53, NLB & ALB

Every Enterprise Server environment receives a fully automated network exposure stack with zero manual steps: a Network Load Balancer for TCP endpoints (TN3270, ECI/J2EE), an Application Load Balancer for ESCWA (HTTPS), and Route 53 private hosted zone records providing deterministic DNS names per environment. Instances are only registered with target groups after the ASG lifecycle hook confirms a successful bootstrap.

Pillar 4 — AWS Directory Service (Managed Microsoft AD)

AWS Directory Service for Microsoft Active Directory was deployed as the centralised authentication and authorisation layer. Enterprise Server's External Security Manager (ESM) integrates with LDAP for user authentication, with AD security groups mapping directly to Rocket resource-class permissions. All directory configuration is Terraform-managed.

Pillar 5 — GitHub Actions CI/CD Pipelines for Infrastructure

All Terraform modules are gated through GitHub Actions pipelines enforcing quality, security, and auditability: terraform fmt / validate / plan on every pull request, automated drift detection, environment promotion gates (dev to UAT to PRD), GitHub OIDC + AWS IAM role assumption (no long-lived credentials), and pipeline-triggered Golden AMI bake jobs.

TECHNOLOGY STACK

Technology / Service Role in the Platform
Rocket Enterprise Server Primary COBOL runtime — stateless EC2 / ASG deployment
Rocket Enterprise Developer Developer IDE and build tools — Golden AMI baked
Rocket Enterprise Analyzer COBOL analysis and dependency mapping
Terraform All AWS resource provisioning — modular, environment-parameterised
GitHub Actions CI/CD pipelines for IaC validation, plan, apply, and AMI builds
Amazon EC2 / Auto Scaling Stateless compute with lifecycle hooks for startup and shutdown
Amazon FSx for NetApp ONTAP Shared NFS storage for developer workspaces and region data
Amazon RDS IBM DB2 relational database for application workloads
IBM MQ (self-managed) Transactional messaging for COBOL application regions
AWS Secrets Manager Runtime credential storage — fetched at instance launch
AWS Directory Service (MSAD) Managed Microsoft AD — LDAP for ESM and developer authentication
NLB + ALB + Route 53 Automated TCP and HTTPS exposure with private DNS per environment
Amazon CloudWatch OS and application metrics and alarms
Prometheus + Node Exporter Host-level metrics scraping for Grafana dashboards
Fluent Bit Structured log forwarding to Amazon OpenSearch
Amazon OpenSearch Service Centralised log aggregation and search
AWS CodeDeploy Agent Application-code deployment pipeline integration
Technology Stack Diagram
Delivery Context

DELIVERY CONTEXT

Dimension Detail
Engagement type AWS Professional Services — platform engineering and IaC delivery
Team 2 senior Caxsol engineers (Abhilasha & Nitesh)
Cloud platform Amazon Web Services (AWS)
IaC tooling Terraform (modular, multi-environment)
Source control GitHub — with branch protection and pull-request review gates
CI/CD GitHub Actions — plan, apply, drift detection, AMI builds
Deployment model Stateless EC2 / ASG — instances replaceable at any time
Environments Development, UAT, Production (and additional stages as required)
Handover artefacts Terraform modules, AMI build scripts, runbooks, architecture documentation

IMPLEMENTATION SCOPE & METRICS

Scope Item Detail
Rocket products covered Enterprise Analyzer, Enterprise Developer, Enterprise Server
Golden AMIs built 3 (one per Rocket product) — reused across all environments
Terraform modules delivered Compute, networking, storage, secrets, directory, observability
Environments automated Dev, UAT, PRD — fully parameterised, zero manual steps
Load balancer stacks NLB + ALB per Enterprise Server environment, auto-provisioned
DNS records Route 53 private hosted zone entries created automatically per stack
Observability agents CloudWatch, Prometheus Node Exporter, Fluent Bit — baked into AMI
Authentication scope All Rocket products integrated with centralised LDAP / AD
CI/CD pipelines GitHub Actions workflows for all IaC modules with promotion gates
Lifecycle hooks Startup (Pending:Wait) and graceful shutdown (Terminating:Wait) for all ASGs
Implementation Scope & Metrics
Key Achievements & Business Impact

KEY ACHIEVEMENTS & BUSINESS IMPACT

  • Provisioning time reduced from days to minutes: Application teams receive a fully configured, network-exposed Enterprise Server environment within minutes of a Terraform apply — down from days of manual effort across multiple teams.
  • Zero configuration drift: Golden AMIs guarantee that every instance in every environment starts from an identical, tested baseline. There is no per-instance installation variability or undocumented manual change.
  • Self-healing infrastructure: The stateless ASG design means instance failures are automatically replaced without manual intervention. Graceful shutdown lifecycle hooks ensure Enterprise Server regions stop cleanly, preventing data corruption.
  • Enterprise-grade security posture: Centralised AD authentication, least-privilege IAM roles, no long-lived credentials in pipelines or on instances, and full Secrets Manager integration across all runtime components.
  • Full auditability and compliance readiness: Every infrastructure change is a reviewed, versioned Git commit with a Terraform plan attached. The complete history of what was deployed, when, and by whom is available in the repository.
  • Immediate developer productivity: Stable, predictable DNS names and automated load-balancer wiring mean developers connect to their environment the moment provisioning completes — no firewall tickets, no DNS requests, no waiting.
  • Reusable blueprint for future environments: The modular Terraform design means new environments (additional stages, new application teams, disaster recovery) can be provisioned by changing a configuration file — not by writing new infrastructure code.

DIFFERENTIATORS & HIGHLIGHTS

What set this engagement apart from a standard infrastructure delivery:

  • Stateless-first architecture: Rather than treating EC2 instances as long-lived servers, the platform was designed from day one around the principle that every instance is disposable. This unlocks auto-healing, rolling AMI updates, and infrastructure-as-code purity — a pattern rarely applied to mainframe runtime workloads.
  • AMI-as-a-product: Golden AMIs are not just pre-installed images — they are versioned, pipeline-built artefacts that encode the organisation's operational standards (agents, permissions, service units) and are promoted through environments just like application code.
  • Lifecycle hook orchestration: The use of ASG Pending:Wait and Terminating:Wait lifecycle hooks — combined with a master-orchestrator user_data pattern and bash ERR trap propagation — ensures that only fully healthy instances ever serve traffic, and that no instance is terminated while regions are still running.
  • End-to-end network automation: NLB, ALB, and Route 53 records are provisioned as part of the same Terraform stack as the compute layer. There is no separate networking ticket or manual DNS update — the full connectivity stack is live the moment the environment is created.
  • IaC-native authentication: AWS Directory Service and all LDAP integration points are Terraform-managed. Authentication is not a post-deployment manual step — it is part of the environment definition and is consistent from the first apply.
  • Mainframe + cloud expertise in one team: Caxsol's engineers brought both deep Rocket Enterprise Suite knowledge (COBOL runtime, VSAM ESM, MFDS, ESCWA) and AWS platform engineering expertise to the same engagement — eliminating the coordination overhead that typically exists between mainframe and cloud teams.
Differentiators & Highlights