← All projects
Platform Engineering

Engineering Portfolio

A static Next.js site with automated delivery, custom-domain hosting, and a documented migration from an attempted AWS rollout to Vercel.

Case study2 min read

Architecture and delivery

The portfolio uses the Next.js App Router and Markdown-based content. The production build exports static HTML and assets that Vercel serves without a running Next.js application server. GitHub Actions checks dependencies, validates TypeScript, and builds the static export. Vercel separately builds and deploys changes from the production branch.

Cloudflare manages DNS for the custom domain. Vercel provides HTTPS and serves configured HTTP security headers, including framing and content-type protections and a report-only Content Security Policy.

Search and content discovery

Each public page has a canonical URL on the production domain. The generated sitemap and robots configuration expose the public routes to crawlers. The RSS feed publishes technical articles. Open Graph metadata and Person structured data provide additional context.

AWS implementation and migration

The original Terraform design used an S3 origin and a CloudFront distribution with Origin Access Control and URL rewriting. Terraform used an S3 remote backend with native state locking. GitHub Actions authenticated to AWS through OpenID Connect and a scoped IAM role.

AWS account verification blocked CloudFront distribution creation before the AWS stack could serve production traffic. Production moved to Vercel, and the provisioned AWS hosting resources were removed through a controlled Terraform destruction workflow. The Terraform configuration remains in the repository for reference.

Historical Lighthouse results

Desktop Lighthouse laboratory results recorded on 5 December 2026. Scores reflect that run and carry no guarantee of current or real-user performance.

CategoryScore
Performance100
Accessibility100
Best Practices96
SEO100