Irhamshah Kamarudin
Back to all projects

Data Pipeline Automation

Metadata-driven automation for a large-scale government data analytics platform, built to turn days of manual pipeline work into an automated, repeatable process.

Role
Data Engineer
Company
Accenture Singapore
Timeline
14 months
Stack
Python, AWS Glue, Redshift
Data pipeline architecture diagram

Overview

Enterprise-grade pipelines, built to scale across waves.

Served as a Data Engineer contractor at Accenture Singapore, leading development on a large-scale data analytics infrastructure project. Focused on automation, pipeline development and team leadership to deliver enterprise-grade data solutions for a major client.

The project involved building automated ETL pipelines, creating data warehousing solutions and developing custom transformation jobs to process massive datasets. As the main developer, I was responsible for architecting solutions that would scale across multiple project phases.

Part of a multi-wave, multi-million dollar government transformation project, moving the client from legacy systems to a cloud-based analytics platform.

I led a development team within the larger Data Analytics organization, coordinating with stakeholders, architects and business analysts to deliver production-ready data pipelines on schedule.

Key achievements

Results at a glance.

3/3Waves delivered as main developer
100%Pipeline automation rate
500+Glue jobs created

Automation solutions

Eliminating manual work, one template at a time.

Developed automation systems to eliminate manual processes and reduce deployment time from days to minutes.

AWS Glue job automation

  • Automated creation: Python scripts read RDS metadata and generate AWS Glue jobs, CloudFormation JSON and Python ETL scripts.
  • Template system: Reusable templates adapt to different data sources and transformation requirements.
  • S3 deployment: Generated scripts are stored in S3 with proper versioning and organization.
  • Configuration management: A metadata-driven approach lets new pipelines be configured without code changes.

Redshift schema automation

  • SQL generation: Tools generate Redshift table creation scripts from RDS metadata stored as JSON.
  • Data type mapping: Intelligent mapping between source database types and optimal Redshift column types.
  • Index optimization: Automatic generation of distribution and sort keys based on query patterns.
  • Schema validation: Built-in checks ensure generated schemas meet data warehouse best practices.

Result: pipeline deployment dropped from 2–3 days of manual work to under 1 hour of automated execution, while eliminating human error.

Pipeline development

ETL across diverse data sources.

As team lead, I directed the development of complex ETL pipelines handling diverse data sources.

Data extraction

  • Connected to multiple source systems including relational databases, APIs and flat files.
  • Implemented incremental loading strategies to minimize data transfer and processing time.
  • Built error handling and retry mechanisms for resilient extraction.
  • Created monitoring and alerting for failed extractions.

Data transformation

  • Designed data cleaning processes to handle inconsistent source data.
  • Built custom Glue jobs for complex business logic and metric calculations.
  • Developed reusable transformation functions for common data quality issues.
  • Optimized transformations for performance on large datasets (millions of rows).

Data loading

  • Implemented efficient bulk loading into the AWS Redshift data warehouse.
  • Created dimension and fact tables following data warehouse design principles.
  • Built slowly changing dimension (SCD) logic to track historical changes.
  • Optimized table structures with appropriate distribution and sort keys.

Metrics & orchestration

Custom business logic, reliably orchestrated.

Custom metrics development

Worked directly with business stakeholders to understand requirements and develop custom Glue jobs that calculate client-specific metrics.

Business logic translation

Converted complex business requirements into efficient SQL and Python transformations.

Aggregation jobs

Pre-computed aggregated metrics for faster downstream reporting.

Data quality metrics

Jobs to track data completeness, accuracy and timeliness.

Performance tuning

Optimized metric calculations to run efficiently on large datasets.

Orchestration with Step Functions

Developed AWS Step Functions to orchestrate complex data workflows with proper error handling and dependencies.

Pipeline orchestration

State machines run Glue jobs in the correct sequence with proper dependencies.

Error handling

Retry logic, error branching and notifications for pipeline failures.

Parallel processing

Independent data streams run in parallel for faster completion.

Monitoring integration

CloudWatch integration for real-time monitoring and alerting.

Technical architecture

A modern AWS data stack.

  • AWS Glue: Serverless ETL engine for data processing at scale.
  • AWS Redshift: Enterprise data warehouse for analytics workloads.
  • AWS Step Functions: Workflow orchestration and error handling.
  • Amazon S3: Data lake storage for raw and processed data.
  • AWS RDS: Metadata storage and source system integration.
  • CloudFormation: Infrastructure as code for repeatable deployments.
  • CloudWatch: Monitoring, logging and alerting.

Tech stack

AWS services

  • AWS Glue
  • AWS Redshift
  • Step Functions
  • S3
  • RDS
  • CloudFormation

Programming

  • Python
  • PySpark
  • SQL
  • JSON

Data & tools

  • Pandas
  • Boto3
  • Git
  • CI/CD pipelines

Leadership & collaboration

Communication is as important as code.

As team lead for the Data Analytics development efforts:

  • Team management: Led a team of developers, coordinating tasks and ensuring code quality through reviews.
  • Stakeholder communication: Regular updates to project managers and business stakeholders on progress and blockers.
  • Technical documentation: Documented pipeline architecture, automation scripts and operational procedures.
  • Knowledge transfer: Mentored team members on AWS services, ETL best practices and automation techniques.
  • Cross-team coordination: Worked with infrastructure, security and business intelligence teams to ensure smooth delivery.

Challenges & learnings

Automation pays dividends at scale.

Challenge: Manual creation of 50+ similar Glue jobs was time-consuming, error-prone and difficult to maintain consistently.

Solution: Built metadata-driven automation that generates jobs from configuration. One change to the template applies to all generated jobs, and new pipelines can be added by updating metadata without writing code.

Challenge: Complex dependencies between pipelines made orchestration difficult, with frequent failures due to timing issues.

Solution: Implemented Step Functions with explicit dependency management, retry logic and parallel processing where possible, plus comprehensive error handling and alerting so issues could be resolved quickly.

Challenge: Client requirements for custom metrics were complex and changed frequently during development.

Solution: Created a flexible metric calculation framework that could absorb changes without major refactoring, and worked closely with business analysts to clarify requirements early and validate outputs regularly.

Learning: Time spent building robust automation tools pays off as a project scales. At enterprise scale, monitoring, logging and error handling are essential because pipelines must be resilient and observable. And leading a team on a multi-million dollar project showed me that clear documentation, regular stakeholder updates and proactive problem-solving matter as much as technical skill.

Impact & results

Delivered, adopted and reliable.

  • Delivered 3 waves (out of 3) as main developer, establishing the foundation for future waves.
  • Automation reduced pipeline deployment time by 95% (days to hours).
  • Zero production incidents related to deployed pipelines during Wave 1.
  • Automation framework adopted for subsequent project waves.
  • Processed millions of records daily with 99.9% pipeline reliability.
  • Enabled the client to make data-driven decisions with fresh, accurate data.

Project timeline

From architecture to production.

Phase 1: Architecture & planning

Worked with data analysts to design a scalable pipeline architecture. Created the automation framework and established development standards.

Phase 2: Automation development

Built core automation tools for Glue job generation and Redshift schema creation. Developed reusable templates and tested with pilot pipelines.

Phase 3: Pipeline implementation

Led the team to build ETL pipelines for Wave 1 to 3 data sources. Implemented custom transformation logic and metric calculations.

Phase 4: Testing & deployment

Comprehensive testing of pipelines and orchestration. Deployed to production with monitoring and delivered all 3 waves.