Demarko Cloud Solutions
CLOUD PLATFORM ENGINEERING CASE STUDY

NorthStar Terraform Platform

A production-style AWS infrastructure platform engineered with Terraform, secure cloud architecture, automated GitHub Actions delivery, centralized monitoring, and repeatable Infrastructure as Code workflows.

NorthStar Operations cloud platform interface showing platform health, 61 managed AWS resources, automated CI/CD, and CloudWatch monitoring
61 AWS Resources
8 Engineering Phases
Terraform Infrastructure as Code
CI/CD Automated Delivery
BUSINESS PROBLEM

Cloud infrastructure must be repeatable, secure, and operationally visible.

Modern application teams need infrastructure that can be deployed consistently, protected by design, monitored from day one, and changed without relying on fragile manual configuration.

The Challenge

Manually provisioned cloud environments create configuration drift, inconsistent security controls, deployment risk, and operational overhead.

NorthStar was designed to demonstrate how those concerns can be addressed through modular Infrastructure as Code, secure AWS architecture, automated delivery pipelines, and built-in observability.

Engineering Objective

Build a production-style AWS platform that could be recreated reliably from source control while maintaining clear separation between networking, security, compute, application delivery, monitoring, and CI/CD automation.

The goal was not simply to launch an application. The goal was to engineer the platform supporting it.

An automated AWS platform built as code.

NorthStar combines modular Terraform, AWS networking, private compute, centralized security controls, application load balancing, GitHub Actions, CloudWatch monitoring, and operational alerting into one repeatable platform.

Infrastructure Designed as a Platform

The environment was organized into reusable Terraform modules covering networking, security, compute, application delivery, and monitoring.

Application workloads run behind an Application Load Balancer while the EC2 application server remains in a private subnet, reducing unnecessary direct exposure to the internet.

NorthStar application deployment through AWS infrastructure
NorthStar Operations deployed through the automated AWS platform.
AWS ARCHITECTURE

Layered infrastructure with public and private network boundaries.

NorthStar uses a structured VPC design separating internet-facing, application, and database network tiers while supporting controlled outbound connectivity and centralized traffic visibility.

AWS VPC architecture for the NorthStar Terraform Platform
NorthStar VPC and subnet architecture deployed through Terraform.

Architecture Highlights

The platform provisions a dedicated VPC with public, application, and database subnet tiers distributed across availability zones.

Public infrastructure supports controlled internet access and load balancing, while the application workload remains private and communicates through explicitly defined routing and security boundaries.

VPC Flow Logs provide network-level visibility for troubleshooting, auditing, and operational monitoring.

Engineering principle: application workloads do not need to be directly internet-facing simply because users need to reach the application. The load balancer becomes the controlled public entry point while compute remains private.

Infrastructure lifecycle managed from source control.

Terraform defines the NorthStar environment as reusable code instead of relying on manual AWS Console configuration.

Repeatable Infrastructure

Networking, security, compute, application delivery, monitoring, IAM, logging, and supporting services are provisioned through Terraform.

The configuration uses modular components and environment-specific variables so infrastructure behavior can be changed deliberately while preserving a consistent deployment workflow.

Remote Terraform state is maintained in Amazon S3 so infrastructure state is separated from the engineer's local workstation.

GitHub Actions Terraform CI validation and plan for NorthStar
Automated Terraform validation and infrastructure planning through GitHub Actions.
SECURITY

Security controls were built into the platform architecture.

NorthStar applies layered controls across network access, identity, encryption, auditing, instance management, and application exposure.

NorthStar AWS security groups
Security groups enforce workload-specific network access.
NorthStar EC2 instance managed through AWS Systems Manager
Systems Manager supports controlled instance administration without traditional inbound SSH exposure.

Private Compute

Application compute resides in private networking rather than being directly exposed to the public internet.

IAM & Systems Manager

IAM roles and AWS Systems Manager provide controlled operational access to the application server.

Encryption & Audit

Encrypted storage, KMS-backed controls, CloudTrail, and centralized logging strengthen auditability and data protection.

Infrastructure delivery moved from manual execution to automated workflows.

GitHub Actions validates Terraform changes, creates infrastructure plans, authenticates securely to AWS using OIDC, and executes controlled deployments.

Git Push
Terraform Validate
Terraform Plan
AWS OIDC
Terraform Deploy
NorthStar Terraform GitHub Actions CI workflow
CI workflow validates configuration and produces the Terraform plan.
NorthStar Terraform GitHub Actions deployment workflow
Deployment workflow provisions the AWS environment through Terraform.
MONITORING & OBSERVABILITY

Operational visibility is part of the platform, not an afterthought.

NorthStar integrates CloudWatch dashboards, metrics, alarms, VPC Flow Logs, and SNS notifications to provide visibility into infrastructure health and application delivery.

Platform Health at a Glance

CloudWatch provides centralized visibility across EC2 and Application Load Balancer metrics, allowing platform health to be evaluated without inspecting individual resources manually.

CloudWatch alarms and SNS notifications establish an operational response path when monitored conditions move outside expected thresholds.

The result is infrastructure designed not only to deploy successfully, but also to remain observable after deployment.

NorthStar Amazon CloudWatch monitoring dashboard
Centralized CloudWatch dashboard for NorthStar infrastructure monitoring.

A complete infrastructure lifecycle — designed, automated, deployed, observed, and removed as code.

NorthStar demonstrates the complete engineering lifecycle of a modern AWS environment rather than a collection of disconnected cloud resources.

61 Resources

A multi-layer AWS environment provisioned and managed through Terraform.

8 Engineering Phases

Networking through CI/CD implemented as an incremental platform build.

Automated Delivery

GitHub Actions handles Terraform validation, planning, authentication, and infrastructure deployment.

Private Application Tier

Application compute remains private while traffic is delivered through an Application Load Balancer.

Built-In Observability

CloudWatch dashboards, alarms, metrics, logs, and SNS provide operational visibility.

Repeatable Lifecycle

The complete environment can be created and destroyed through Terraform, supporting controlled lifecycle management and cost discipline.

AWS Terraform GitHub Actions OIDC Amazon VPC EC2 Application Load Balancer IAM Systems Manager Amazon S3 AWS KMS CloudTrail CloudWatch SNS Nginx
ENGINEERING EVIDENCE

Explore the NorthStar Terraform Platform

Review the source code, Terraform modules, engineering documentation, GitHub Actions workflows, and complete eight-phase implementation in the NorthStar repository.