Hebert Ntse
Back to systems
Case Study · IaC · AWS

Secure static portfolio infrastructure with Terraform, S3, and CloudFront.

Built repeatable AWS hosting infrastructure using private S3, CloudFront, ACM, Route 53, encryption, versioning, security headers, and deployment automation.

Terraform
S3
CloudFront
ACM
Route 53
Headers
Challenge

Static sites still need secure cloud architecture.

A portfolio website should be simple to operate, but the infrastructure should still demonstrate security fundamentals: private storage, encrypted delivery, custom domain support, security headers, and repeatable deployment.

Approach

Use Terraform to make the hosting pattern repeatable.

  • Created private S3 hosting bucket with encryption, versioning, and public access block.
  • Delivered content through CloudFront instead of exposing the bucket directly.
  • Configured ACM certificate validation and Route 53 records for the custom domain.
  • Added security response headers including CSP, HSTS, X-Frame-Options, and content-type protection.
  • Used deploy automation to sync content to S3 and invalidate CloudFront.
Security Value

Infrastructure choices communicate engineering maturity.

The project demonstrates secure defaults, least exposure, repeatable IaC, and production-style delivery discipline even for a static portfolio.