This portfolio, on AWS: hosting, serverless and cost control
I moved this site from Vercel to AWS to get hands-on with the services clients actually use: a CDN, serverless functions, infrastructure as code and billing guardrails.
Role
Solo: build and infrastructure
Certification
AWS Cloud Practitioner
Architecture
Serving the site
Visitor
Browser
Route 53
firstminster.dev DNS
CloudFront + ACM
CDN and HTTPS
S3 / Amplify
Next.js static build
Contact form
Form submit
fetch POST
API Gateway
HTTP API, rate-limited
Lambda
Node.js, validates input
SES
Email to my inbox
Why I did it
I had deployed production apps on DigitalOcean and Vercel and earned the AWS Cloud Practitioner certification, but I lacked hands-on experience with AWS itself. Rebuilding my own site's infrastructure was a low-risk way to learn the core services end to end, costs included.
What I set up
Hosting and CDN
Static Next.js build served from [S3 behind CloudFront / Amplify Hosting], with HTTPS from ACM and DNS in Route 53.
Serverless contact form
API Gateway calls a Node.js Lambda that validates the message and sends it with SES. No server to keep running.
Infrastructure as code
The whole stack is defined in AWS CDK with TypeScript, so it can be rebuilt or torn down with one command.
Cost guardrails
An AWS Budgets alert at [$X] a month, and least-privilege IAM roles for the Lambda and deploy pipeline.