Of Pelicans and Clouds
Golden piggy bank pig on black background by Thimo Pedersen

Of Pelicans and Clouds

Thrift for solo operators

My monthly hosting bill for running this website has hovered around $0.52 for the past couple of years. The way I do it is an example of how I’m trying to survive without a conventional job while keeping my people and the cats fed. Especially the cats.

This is a short one but it contains a couple of tips for the shrewd ones and may save you some green.


Ancient blogger on the loose

I began to share my thoughts on the web in 2004, around the time the world replaced the verb write with blog, and like most early adopters I started with Movable Type and moved on to WordPress soon after. Throughout the years and depending on the projects I was working on I migrated to other content management systems, like Drupal, and later developed a blog application using Python and Django, like everybody else into publishing and web frameworks.

Along the way I tried many hosting options, from crappy boxes running Apache at home to very expensive dedicated servers, and eventually settled for a few years on a setup running off two AWS Linux instances with Nginx and Gunicorn behind a load balancer and a PostgreSQL database for about fifty dollars a month. And it was just fine until the containers revolution knocked on my door and then I had to configure a few Docker images and put everything inside a Kubernetes cluster to get some of that automation and fault tolerance everybody was speaking of. Just like that I had passed the hundred-dollar mark in monthly hosting costs. I was content and twelve hundred down a year.

But I didn’t do all of that just to serve my prose to a few visitors, no, this has always been my playground, the space where I tried different web development and infrastructure ideas. No matter if it’s writing, making music, programming or taking photos; it’s all an experiment all the time and you must keep on learning. It’s not wasting time and money—it’s evolving and adapting.

And now that I’m using those chops and experience to bootstrap an application and continue the exploration into fintech and Web3 I’ve decided it’s time to return to the basics—and the cheapest—for this writing corner of mine.

I’m going static.

The careful management of resources

I’ve reserved the esoteric knowledge and expensive resources for my more complex projects and got rid of unnecessary complexity and migrated to a static website generator, Pelican, for this blog.

These changes have helped me to reduce the monthly cost from a little more than a hundred dollars to just around fifty cents. This is how it works.

I type all my silly words into reStructuredText, just plain text with some markup, and Pelican creates HTML files that I can preview on a local HTTP server and host wherever I want. And as I don’t need a database I don’t have to worry about caching or intricate optimizations anymore.

I’ve always crafted not just my code but also my stories in text editors—Vim for as long as I remember and Visual Studio Code nowadays—so I can use just one Git repository to keep track of content, code and configuration, and do my writing on any decent computer. It’s a very portable and convenient setup.

To make my life easier I put Pelican in a Docker image and included a Bash script to automate content generation and deploying to Amazon S3 and CloudFront. That’s cheap fault tolerance for yuh.

Do I need a little extra? Perhaps a contact form so that a friendly reader—or some spammer bastard—can hit me with an email message once every few moons? Not a problem, I’ll just throw in a little React, a short AWS Lambda function with an API Gateway call to SES and look, I got your letter.

“Yes, but now you are locked to Amazon, you idiot!”

Thank you for the comment, hostile imaginary reader. That’s right, I have to rely on the services of Jeff and company but who doesn’t? And I’m just managing a bunch of text files with very little code and dependencies so I can easily port everything anywhere (all right, all right, to Google Cloud).

As my days of working with those who just threw money at every problem are over, I have to be frugal and every penny I save is a very precious penny. I can continue sharing my gibberish with the universe and I’m still in control.

My using a static website generator to run Zinibu may not sound like much but I see it as a good example of what I’m trying to do with more demanding endeavors: use my wits and skills instead of money to get as far as I can.

If everything goes according to plan I may continue making a living answering to no one.

It better works; it’s seven already and I can hear the cats’ dirty paws scratching the door.


Yana Cheredina

Vice President Information Technology at Devox Software

1y

Thank you for sharing this, Alexis 🤗

Like
Reply

To view or add a comment, sign in

More articles by Alexis Bellido

  • Faces on the Blockchain

    Faces on the Blockchain

    An experiment with art and NFTs I’ve been collecting art, land, monsters and many other objects and creatures as NFTs…

    1 Comment
  • Fear Not the Age of the Blockchain

    Fear Not the Age of the Blockchain

    Choices, emphases, and omissions The Man is scared. The machine that pushes commuters into the guts of blocky edifices…

  • Bootstrapping in a Pandemic

    Bootstrapping in a Pandemic

    It’s been only five months since I regained my independence but it feels like years. I’ve been setting up the…

  • Got a Favorite Day of the Week, Go Figure

    Got a Favorite Day of the Week, Go Figure

    Monday, I think this is the beginning of a wonderful friendship For most of my adult, salaried life I’ve distrusted…

  • Finally Out

    Finally Out

    Can I walk the walk for all the talk I talk? I did it. After a decade of being on a payroll I quit what most chumps…

    2 Comments
  • How Not to Get a Job

    How Not to Get a Job

    Defying the slick and detestable maneuvers of the American tech industry autocrats As millions of fellow grubs in 2020,…

    1 Comment
  • They May Take Our Hours, But They’ll Never Take Our Freedom

    They May Take Our Hours, But They’ll Never Take Our Freedom

    Welcome to life in the twenty-first century, my fellow responsible adult, where you have to toil your way through…

    1 Comment
  • Catching Up With a Sinking Sun

    Catching Up With a Sinking Sun

    In Pink Floyd’s “Time”, Roger Waters writes, “Every year is getting shorter, never seem to find the time.” It’s a…

    1 Comment
  • Feed Me Your Human Children

    Feed Me Your Human Children

    When I was seventeen, I only cared about devouring 1950s science fiction books, strumming an old, out-of-tune guitar…

  • Making Photography Selection One of the Initial Steps in My Writing Process

    Making Photography Selection One of the Initial Steps in My Writing Process

    When I started writing for Zinibu I decided to make photography selection one of the initial steps in my writing…

Insights from the community

Others also viewed

Explore topics