Remember traditional website hosting?

A while back I volunteered my software development services to help my triathlon club get on the web and maintain their website. At that time, we were hosting our site the traditional way using shared hosting with GoDaddy.

Nothing against them, however, I was getting exhausted going through the typical deployment process. Yes it was basically FTP, and while it worked, it was far from my favorite tasks during the week.

Enter Jamstack

Sometime later, I started hearing about static websites using frameworks like Hugo and Jekyll and how it may be an option for simple websites like blogs and brochure sites.

alt text

alt text

I gave them a try, in fact I have moved this blog to Jekyll and Github pages.

That was great and it opened my eyes to the this ‘new’ architecture they call the Jamstack architecture.

J for Javascript, A for API, and M for Markup.

It was supposedly the modern way to build websites and apps that delivers better performance.

alt text

Based on what I experienced with this blog in Jekyll/Github pages - I loved the developer experience of markup editing, and simply pushing to git.

That’s all I needed to make the updates public. However, I didn’t really get to like using Liquid, the templating language used in Jekyll. At that time I was using React and React Native in my consulting projects, so I was yearning for a solution that used similar tools.

That’s when I heard about the successes at Netlify promoting Jamstack with their git-based workflow and GatsbyJS with their open source front end framework offering blazing fast performance.

Jamstack - is it better?

I have taken the following 4 points straight from Jamstack and let me tell you why I agree:

Better Performance

Sites created by a static site generator, like the ones built and deployed in Netlify, have better performance since the pages are pre-built and ready to load from any CDN.

Higher Security

Because there are no servers to maintain to house your pages, and leveraging the serverless architecture, your attack surface is vastly reduced.

Cheaper and easier to scale

Your deployment is basically made up of the pre-built html files that you can serve from any CDN, so the cost savings compared to the traditional hosting providers is substantial.

Better DX (developer experience)

I have come to love the simplicity of Netlify, Github, Gatsby and Markdown workflow. Just update markdown files, and push your changes to your source repo and Netlify will take care of the build and deployment without you lifting a finger.

How to start and get to production with $0

So to drag my triathlon club’s website from FTP deployments, and of course to save money spent in shared hosting providers (about $200 per year), I suggested to move the site to Netlify, using Gatsby to get a super fast website for free.

And I did it in a few simple steps:

  1. Create an account with Netlify. Because they have a very generous free plan, it has a very low barrier for entry. alt text

  2. Create an account with Github. As this is a git-based workflow, a git repository is required for this to work. It is free too. alt text

  3. For this website, since I was not going to be maintaining the site all the time, I had to provide an easier editor experience for other site editors. For me, using VS Code was awesome, however not for non-developers. So I used Netlify CMS to achieve this. Here is the guide I followed. Using Netlify CMS allowed other editors to update content from an Admin CMS interface. Netlify CMS is free too.

  4. Because it is still a git-based workflow, developer site maintainers like myself can continue to add content using markdown and git.

  5. Once I was happy with the website running locally, I was now ready to deploy it to Netlify. By default, they deploy it to a randomly generated domain name (eg. dfadfad-fadfa.netlify.com), however you can easily transfer it to your preferred domain name. Getting your custom domain cost money, but that is the only cash outlay for this project.

  6. Result is a free super-fast static generated website based on the modern Jamstack architecture. The speed you get for free courtesy of GatsbyJS as performance is built-in the framework. I am pleased with that honestly, and yeah I was able to save the club $200 per year, how about that!

alt text


Sites using the Jamstack architectures are awesome. Although they are called static sites, don’t let the word ‘static’ fool you. There a many a static site that are far from static in behavior. For this particular case, swapping the hosting of this website from a traditional method to a Jamstack approach was a great strategy.

It allowed me to move to a cheap (free!) option without sacrificing any functionality. Because of the nature of static sites and the use of Gatsby with its web performance optimizations, the website rates very high up Lighthouse performance audit and the latest Core Web Vitals, and since it gives great DX, then I’m all for it!



Back to top ↑


Back to top ↑


Back to top ↑


DynamoDB and Single-Table Design

9 minute read

Follow along as I implement DynamoDB Single-Table Design - find out the tools and methods I use to make the process easier, and finally the light-bulb moment...

Back to top ↑


Website Performance Series - Part 3

5 minute read

Speeding up your site is easy if you know what to focus on. Follow along as I explore the performance optimization maze, and find 3 awesome tips inside (plus...

Back to top ↑