Chasing DevOps

A blog about software development, DevOps, and delivering value.

Category: Cloud

  • Dependency Injection in Azure Functions

    The simplicity of Azure Functions makes it tempting to avoid following good design practices like dependency injection. The default project template doesn’t even support it. This may be fine for learning and quick experiments but would be a mistake for production code. Simplicity is not an excuse for bad engineering. Luckily, setting up dependency injection […]

    Read More

  • Creating a User Assigned Managed Identity in an ARM Template

    I’m working on a new project that will use managed identities to access an SQL database from a function app. I chose to use a user-assigned identity to simplify our deployment scenario. We use deployment slots for zero downtime deployments and I want to assign a single identity to control database access across those slots. […]

    Read More

  • Using Azure.Identity to Connect to Azure SQL

    The new Azure.Identity library hit GA this month. I’ve been wanting to modify a lot of our services to use managed identities and this library, through the use of DefaultAzureIdentity, finally streamlines the experience between local development and running in Azure. So far only the most common Azure SDK packages have first-class support for it, […]

    Read More

  • Build ARM Templates to Simplify Deployments

    One of the first Azure-specific projects I worked on was a script to create all of the resources needed to run our application. It used the Azure Powershell module to build those resources and then deploy the application. That script saved a lot of time but it was error-prone and a headache to modify. Just […]

    Read More

  • Cloud Design Patterns: Retry

    The Problem Cloud applications depend on a lot of interconnected services and resources. These services are generally reliable, but transient failures are simply a reality of the Internet. While providers like Azure and AWS try their best to make sure their services are available they can’t mitigate the risk entirely. Not accounting for this in the […]

    Read More

  • Cloud Design Patterns: Cache-Aside

    Imagine you’ve built and deployed an incredible new application that is taking the Internet by storm. At first, you were amazed at the horde of new users that were registering every day. Now after seeing how taxed your compute and data store resources are you wish it hadn’t happened quite so fast. Even after scaling up resources, you’re […]

    Read More

Jesse Barocio

Software developer, DevOps engineer, and productivity tool nut. Continuously improving. Have a question or problem you need solved? Email me!