Terraform Template – VPC, Subnets, EC2, RDS & More

Aug 2020 • Automated AWS Infrastructure Provisioning

Reusable Terraform modules powering CI/CD-based infrastructure deployments—standardizing DevOps practice & reducing manual overhead across teams.

CI/CD enabled deployments
Zero vendor dependency
Eliminated manual steps
Reusable modules

Overview

Developed reusable Terraform templates to automate AWS infrastructure deployment and enable a CI/CD workflow for cloud resource provisioning. The solution standardized DevOps practices and reduced manual deployment overhead across multiple teams. Source code: GitHub Repository.

Description

The client, a leading European multinational online food-delivery company headquartered in Berlin, operated across 40+ countries with partnerships exceeding 500,000 restaurants. To support deployment of their Market Mix Model (MMM) analytics solution across multiple geographies, the DevOps team required a fully automated infrastructure setup. Existing resource deployment was manual, time‑intensive, and inconsistent. Goal: design a scalable Terraform-based CI/CD framework for automated, error-free AWS provisioning.

Key Challenges

  • Manual and time-consuming setup of AWS cloud resources.
  • Heavy dependency on multiple external IT vendors.
  • Absence of formal DevOps processes.
  • Delays in meeting project delivery timelines.

Solution

To streamline infrastructure deployment, I designed and implemented an AWS Terraform template that:

  • Creates a VPC with two subnets for network segmentation.
  • Launches EC2 instances to host applications and services.
  • Provisions RDS instances for persistent data storage.
  • Integrates seamlessly within the CI/CD pipeline for automated provisioning.

This framework enabled multiple teams to deploy and manage resources independently with consistent configurations. The IT team later hosted an interactive web interface running the MMM model on the newly created EC2 instances.

Key Benefits

  • Established an internal knowledge base—removing vendor dependency.
  • Enabled full CI/CD-based DevOps implementation.
  • Eliminated manual intervention, improving delivery accuracy & speed.
  • Reduced deployment time with consistent, reproducible infrastructure setups.

Tech Stack

  • Terraform modules
  • AWS (VPC, Subnets, EC2, RDS)
  • CI/CD pipeline integration
  • Market Mix Model hosting environment

Architecture Visual

Terraform AWS architecture illustration