2021

How a compromised NPM package can steal your secrets (POC + prevention)

POC of a vulnerable AWS Lambda app leaking environment variables via a compromised NPM package

Deploy AWS Lambda to VPC with Terraform

Guide on deploying multiple cloud resources required to run Lambda witnin a VPC

AWS Cognito: Amplify vs amazon-cognito-identity-js vs AWS SDK

Which of the libraries to use when to integrate Cognito in JavaScript projects.

Publish Azure Functions code with Terraform

Single tool to manage both infrastructure and code pushes.

Github Actions: deploy to multiple environments from single workflow

Github Action workflows do not support code reuse, here's a workaround.

How to make a copy of AWS IAM role

Avoid the chore of copying policy JSON manually.

Send AWS Cognito emails with 3rd party ESPs

You are now not limited in how you can send email and SMS notifications in Cognito.

Ultimate guide to HTTP Strict Transport Security (HSTS)

What is HSTS policy and how it helps to prevent man-in-the-middle attacks

How to change/upgrade Node.js version in Azure Functions

Upgrade Node.js version in Linux and Windows function apps; in Premium and Consumption hosting plans.

Domain and path redirects with Cloudflare

How to forward with Cloudflare page rules and workers

Cross-post from your blog to DEV.to (Node.js script)

A little helper npm script to automate creating a post at DEV.

Shell alias to view diffs in Github

Quickly open a page in Github to compare branches and commits.

How to move resources and modules in Terragrunt

Migrate individual resources and/or whole modules between state in Terragrunt without having to recreate infrastructure.

Add Docker container name to shell prompt

Don't confuse multiple terminal windows when running sh/bash/zsh in Docker containers.

Add memory to iMac 2020

Save money and upgrade your iMac 2020 memory

Restrict Azure Functions to API Management with Terraform

Prevent access to a Function App from unauthorized sources and restrict it to an API Management instance.

2020

Ignore Azure Functions application settings drift in Terraform

How to fix configuration drift in Terraform caused by Zip Deploy + Run from Package

Add structured data annotations to Eleventy blog

Add structured data (JSON-LD) to enable rich snippets in Google search results.

Serverless GraphQL with Azure Functions and PostgreSQL

Starter kit + guide for a Serverless GraphQL API backed by PostgreSQL and external APIs with migrations, infrastructure-as-code, CI and tests.

SSL certificate for Azure API Management with Cloudflare

Want to add a custom domain to your APIM instance? Using Cloudflare? Generate a free SSL certificate in minutes.

Azure API Management visually explained

Visual overview of Azure API Management service: what it is, how it works and how it can be useful to you.

4 Great Technology Trends Reports For Software Developers

Periodic reports from experts to help you choose technologies to learn and use next.

Deploy Azure Functions with Terraform

A practical, step by step guide on how to deploy an Azure Function with Terraform.

Make GraphQL requests from command line with curl

Example curl requests to make GraphQL queries and mutations.

Unit testing Azure Functions with Jest and TypeScript

Minimal setup to get you started with unit-testing HTTP-triggered Azure Functions.

How to password-protect your website with Cloudflare Workers

Use Cloudflare Workers to add password protection on top of a website or API.

2012

redis-faina: what's happening to my Redis server?

This is literally the first blog post I published back in 2012.