Bcrypt-hash a password

Given the password correct horse battery staple, we would like to bcrypt-hash it. XKCD Courtesy of Randall Munroe ...

June 6, 2024 · 65 words · Thiago Perrotta

★ Github actions workflow

This post exemplifies an efficient workflow to shorten the edit-refresh loop when dealing with github actions. ...

May 28, 2024 · 366 words · Thiago Perrotta

Terraform: AWS deployment to random availability zones

A common scenario: there’s a new deployment you would like to roll out to AWS. Let’s say you pick “us-east-1” as your cloud region. There are multiple availability zones within it: us-east-1a us-east-1b us-east-1c us-east-1d us-east-1e us-east-1f Suppose you want to pick two of them for your service/app, and you don’t particularly care about which one. How to proceed? ...

May 21, 2024 · 240 words · Thiago Perrotta

Adding a healthcheck to chartmuseum in AWS Fargate

Assume that you have a Chartmuseum container running in AWS Fargate. Chartmuseum is a repository for helm charts. AWS Fargate is an Amazon service to run containers (“serverless”), being part of ECS (Elastic Container Service). Problem statement: Add a container healthcheck to the chartmuseum task definition associated with the container. ...

May 17, 2024 · 165 words · Thiago Perrotta