Measuring Website Performance with Playwright Test and Navigation Timing API

I was recently tasked with measuring the impact of a Redis cache on an e-commerce site. This was pretty simple with Azure Load Testing, by comparing the results of 2 sites, one with cache, and one without. However, to better exercise the site and understand the user experience, I wanted also to use Playwright.

Continue reading Measuring Website Performance with Playwright Test and Navigation Timing API

馃挭 Azure Bicep CI/CD 馃殌

Hey, you. You’re not manually deploying your Azure Bicep Infrastructure as Code, are you?!? Let’s prevent that next production outage, help your team collaborate on changes, and enable more frequent deployments. In this post, I’ll outline what tooling is available to integrate Bicep in your pipelines, and some good practices for building and deploying.

Continue reading 馃挭 Azure Bicep CI/CD 馃殌

Using Terraform’s Azure provider (azurerm) with GitHub Actions and Terraform Cloud

I wanted to document this after spending a frustrating amount of time troubleshooting getting this setup. I was getting this error when running Terraform Plan:

Error building AzureRM Client: obtain subscription() from Azure CLI: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.

Continue reading Using Terraform’s Azure provider (azurerm) with GitHub Actions and Terraform Cloud

Reasons to use Bicep over Terraform

Bicep versus Terraform - Infra as Code (IaC) Azure native

Why would you choose Microsoft’s new Bicep DSL over HashiCorp’s Terraform? I would like to give you my perspective, as someone who ditched ARM templates for Terraform in most of my Infrastructure as Code projects. To set the context of this blog post, I’ll be talking about Azure focused customers. Also, I won’t be going over the basics of what Bicep is (that can be found in README here) or comparing it to other IaC solutions like Pulumi or Farmer. If there is interest, I can cover those in another blog post. This will be a direct comparison to Terraform.
Note: Opinions expressed are solely my own and do not express the views or opinions of my employer.

Continue reading Reasons to use Bicep over Terraform