bvrinfra.in
Colour theme

Architecture · published 8 October 2026

Why this site is static

The previous version of this site used a Kubernetes stack to serve what was mostly static pages. When I deleted the machine it ran on, I rebuilt it without a server at all. This is why.

The problem

The previous site ran on one Azure server, using Kubernetes to host what was mostly a set of static pages. It worked while the machine was up, but it was far more complex than the site needed.

In September 2026 I deleted that server. There was no backup, and the configuration and runtime lived only on that machine, so everything went with it. The site stayed down until 8 October 2026. The post-mortem covers the details.

The other routes

Two other ways back were open. One was a new server with a plain web server on it, which would have cut out the Kubernetes layer. The other was to rebuild the cluster, this time described as code so it could be recreated.

Both still leave a server that I own. That means patching it, locking it down, and running backups that have to be tested. This site has no backend logic, so a server would add all of that work and risk without doing anything the pages need.

The decision

There is no server. The site is static HTML built with Astro and hosted on Cloudflare Pages, so no machine of mine sits in the path and there is nothing of mine to patch. The single machine that failed last time no longer exists in this design.

Every change goes through a pull request and a build check, which catches build errors before they reach the public site. DNS is managed in Terraform with a manual apply, so every DNS change is a plan I read before it runs. Upptime checks the site from GitHub Actions, outside my hardware and my network.

Trade-offs

A static site has no server-side features. It cannot process a form, hold user logins or serve anything from a database. The contact page links to email, phone and messaging instead of using a form.

For a portfolio that is a fair price. In return the site has fewer parts that can fail, less to maintain, and a deploy that is just a build.

What I'd revisit

If the site ever needs a backend feature, such as a contact form or search, I would look at serverless functions or an external service before adding a server back. Monitoring could also go further than uptime, to page speed or specific pages. For now the aim is simple: keep the site up, secure and easy to change.