Hosting & CD of this site
(Skipping CI cause this is 100% static, and feels silly to write tests)
At any point in time this small, static, site will likely be hosted by at least one of the following methods.
Vercel
- Vercel is a simple set up for developers. Push code to main/master and it deploys.
- Push code to another branch, and it deployes to a "non-production" url
- Vercel even supports nextJS SSR and Serverless API routes with zero configuration or overhead for the developer. Just write code.
- This version is the primary version due the the stability and cost for a personal site.
- https://vercel.ctfries.dev
AWS s3
- Static webhosting via GitHub Actions, IaC Via Terraform - Gist
- Upon commit to main, GitHub Actions will run a build process & push the static files to an s3 bucket
- That s3 bucket is serving up the assets as a static website
- CloudFront cache is layered over it for SSL & Reduced transfer
- This version is inexpensive and is likely "up"
- https://s3.ctfries.dev
Future Deployments to try?
- AWS ElasticBeanstalk
- AWS ECS/Fargate
- Some sort of Jenkins pipeline to EC2?