Minimize waste and optimize for joy

Bruno Schaatsbergen on containers, networking, databases and cloud architecture.

The lost love for writing Terraform modules

The ability to write effectively and elegant Terraform modules has long been revered and rewarded. Though, I see too many modules that are not written in a way that is easy to understand, they contain a lot of complexity and try to be the “complete package”. I’m writing this post to share my thoughts on the art of writing elegant Terraform modules by using four key principals: Do one thing and do it right Balance repetition and complexity Use industry-standard tooling Don’t cover what you don’t know Far from your garden-variety style guide, this post covers the art of writing Terraform modules in a nutshell....

June 26, 2022 · 4 min

Consistent hashing

Slicing and dicing data There’s many ways to distribute our data over multiple nodes. Some prefer to partition their data vertically instead of horizontally and vice versa. Lets briefly explore the difference to give some of our readers that are new to these concepts an idea of what we are talking about. Horizontal partitioning When you are partitioning a table horizontally we typically refer to the art of dividing a table into subsets of rows that are stored in seperate nodes....

June 3, 2022 · 16 min

What is a container?

In this article I want to provide you with a simple abstract in order for you to discover the container paradigm yourself. We’ll try to answer questions like: what are containers, how are they made and why are they great? The first time I heard about ‘containers’ I thought that containers were very small sized stripped down nodes. Well, I can tell you that’s definitely not the case. First things first, containers are not VMs....

April 21, 2022 · 12 min

Going global with KMS and Secrets Manager

In this post I want to give you a brief introduction on how to deploy KMS keys and secrets in Secret Manager across multiple regions. We’ll do so by making use of replication to minimize waste and prevent repetition. Multi-region KMS key July last year AWS introduced multi-region KMS keys. A new capability that lets you replicate keys from one region into another. With multi-region keys, you can more easily move encrypted data between regions without having to decrypt and re-encrypt with different keys in each region....

January 23, 2022 · 4 min

Lets talk about latency based routing in AWS

Distance affects performance, going further away latency can easily reach a third or half of a second for a round-trip. This could be a bummer when you serve customers globally. Luckily there’s.. Global Accelerator Global Accelerator solves a few common DNS problems1 as it’s not relying on IP address caches. It has 2 static IPv4 addresses as a single entry-point for users to connect through and there’s no DNS configuration for you to maintain....

November 14, 2021 · 6 min