Angry Larry is Serverless

Don't you like writing themes, maintain a CMS and also making sure you database is working? How about those constant patches you have to do to ensure that security is up to par? I hate all of those things! I just wanted to write tech based articles without having to worry about the security of my user name, various passwords, the database or the endless patches for exploits that were discovered in a number of open source CMS systems.

I have used Wordpress, Joomla and a number of other popular packages but it always seemed there was something getting in the way when it came to writing. There was something there just blocking me from writing when I felt inspired. More often than not, I was searching for the next add-on or plugin to enhance the experience but that just seemed to start bogging down the load times of the pages. This is when I decided to start thinking of a new project to take on and ditch the clunky CMS platforms for something that would allow me to write the way I wanted and also have faster performance for the user experience.

This is when I stumbled upon GatsbyJS which is a static site generator. It allows me to create a template and then feed my data into it to create static pages of my content. The content is rather simple as it's written in Markdown and the templates are in HTML and JavaScript as required. I can even extend this further by adding in some react if required for the various modules.

What made this appealing to me is that I could write my posts in another CMS and have Hugo grab the content from there and host it as a static site. This gives me the flexibility to write in an interface I'm familiar with and then have Hugo do the heavy lifting and processing of the content.

Now that I was able to get all my content into a format that I liked and could quickly write my posts without distractions, there was still the matter of how to how host the site. I didn't want to setup a dedicated server for something as simple as this nor did I want to have to manage a virtual environment. I thought I could host this on a shared platform but that also brought to mind security issues that could occur. I wasn't using a database and I didn't need a really powerful system to present the pages. This led me to using Vercel.

What does all this really mean? Well, for starters, I can write pages or posts and have them statically generated right from my home without the need of a clunky CMS which has to be constantly updated and I have less security headaches to worry about. I have the entire site compiled by Vercel and have it hosted on their network. I use serverless functions to accomplish any processing of data that I need and you get to see the final results.

If you would like to add some thoughts, please do so below using the comment section below.

Angry Larry

I'm Larry and I work in the technology field. I play video games and I yell at the clouds when I feel they need yelling at.