Until Now - The State of the union
This blog is generated using hugo, an awesome static site generator. So far, the workflow I used to deploy it was:
- Push commit to the source repository on GitLab
- GitLab CI kicks off on receiving the push
- CI downloads latest version of hugo and generates the static site
- Runs aws-cli to sync the new files to AWS S3
- S3 serves the static site
- Cloudflare provides:
- DNS services (so I can use https://shantanugoel.com without having to prefix it with a
www
) - CDN/Caching services for resilience and keeping S3 bills low for data transfer
- DNS services (so I can use https://shantanugoel.com without having to prefix it with a
Why? What broke the camel’s back
I was mostly happy with this setup with a couple of niggles at the back of my mind, vis. a vis.: