EL0M AI ENGINEER

IAC · Academic project

Infrastructure as Code — Cloud Automation

A modular infrastructure automation code base built with Terraform and OpenTofu for AWS and OpenStack.

Status
Academic project
Technologies used
Terraform · OpenTofu · AWS · EKS
Terminal capture of an OpenTofu apply run deploying a fullstack application to an AWS EKS cluster, with the resulting load balancer addresses
Real application screenshot Academic environment, torn down after the exercise.

Select an image to open it larger. Arrow keys move between images.

Objectives

  • Rebuild an identical cloud environment from code instead of documenting manual console steps.
  • Serve both a standard and a hardened variant, so the same modules can be taught and deployed.

Problem addressed

Manually created cloud environments drift, are hard to reproduce and impossible to review. The project turns the setup into versioned, modular code so an environment can be rebuilt identically and audited like any other source file.

Solution and implementation

Created as a Master’s study project, this code base provisions infrastructure automatically for AWS and OpenStack. It separates a standard stack from a hardened variant, integrates a CI/CD pipeline and documents the architecture so it can be used as training material.

My contribution Module design, provider configuration for AWS/OpenStack, CI pipeline and documentation.

Main features

  • Automated infrastructure provisioning
  • AWS and OpenStack targets from one modular structure
  • Standard and hardened infrastructure variants
  • CI/CD pipeline integration
  • Architecture documentation

Technical architecture

  • Reusable OpenTofu/Terraform modules with separate environments
  • Remote state and provider configuration per target
  • GitLab CI pipeline for validation and deployment

Engineering decisions

  • Environments compose modules; modules never call each other directly. A module can therefore be tested alone and reused on AWS and OpenStack.
  • Formatting and validation run in the CI pipeline before any plan, so an invalid configuration cannot reach an environment.

Technologies used

  • Terraform
  • OpenTofu
  • AWS
  • EKS
  • OpenStack
  • CI/CD

Discuss a project — Ayi Elom Akakpovi