Neil Peterson

Environment Tracing and Build Annotations with Azure Pipelines

The numbers show, using continuous integration and continuous deployment (CI/CD) solutions for delivering software and cloud infrastructure improve deployment reliability, recoverability, and agility. In addition to these great benefits, CI/CD produces many byproducts that are also useful. One of these is what I like to refer to as environment traceability. I like to think of […]

Environment Tracing and Build Annotations with Azure Pipelines Continue Reading

Get Azure Pipeline Build Status with the Azure CLI

I spend a majority of my day working in Visual Studio Code editing files, committing these changes to a git repository, and in some cases triggering Azure Pipeline builds .via the commit and continuous integration. I use the Visual Studio Code terminal for most of these actions. Often times, when triggering an Azure Pipeline build

Get Azure Pipeline Build Status with the Azure CLI Continue Reading

How to Use Azure Pipeline Task and Job Conditions

An Azure Pipeline task is a single task to be performed in an Azure Pipeline. An Azure Pipeline Job is a grouping of tasks that run sequentially on the same target. In many cases, you will want to only execute a task or a job if a specific condition has been met. Azure Pipeline conditions

How to Use Azure Pipeline Task and Job Conditions Continue Reading

How to access Azure Linux virtual machines with Azure Active Directory

Using Azure AD credentials for accessing Azure Linux Virtual Machines improves security by: Centrally controlling and enforcing access policies on Azure AD credentials Reducing the reliance on local access accounts Integration with multi-factor authentication In this blog post, I will quickly walk through the basic configuration steps for accessing Azure Linux virtual machines using Azure

How to access Azure Linux virtual machines with Azure Active Directory Continue Reading

How to Link Azure Boards with GitHub Commits and Pull Requests

TL/DR: When using Azure Boards to track work items, these work items can be linked to GitHub commits and pull requests. When doing so, updates to the pull requests are also noted in the work item. Once the pull request has been merged, the Azure Boards work item automatically resolved. For detailed information, see the

How to Link Azure Boards with GitHub Commits and Pull Requests Continue Reading

How to query Azure resources using the Azure CLI

TL/DR: The Azure CLI can be used to query data from Azure. For more information on how to use the Azure CLI query functionality, see the Azure CLI Query documentation. The Azure CLI can be used to not only create, configure, and delete resources from Azure but to also query data from Azure. To do

How to query Azure resources using the Azure CLI Continue Reading

How to Lock Azure Resources to Prevent Modification or Deletion

TL/DR: Azure Resource Locking helps prevent inadvertent resource deletion and modification. For more information see the Azure Resource Locking documentation. Azure Role Based Access Control (RBAC) allows us to restrict access to resources and resource actions. RBAC should be used as a first line of defense against unwanted resource access. That said, RBAC alone may

How to Lock Azure Resources to Prevent Modification or Deletion Continue Reading

How to Run scripts on Azure Virtual Machines with the Run Command

I often need to run a simple task or retrieve information from an Azure VM. Most of the time I want to do so without creating an RDP or SSH session, exposing a WinRM or SSH port, and in some cases need to do so on a VM that is isolated from the internet. In

How to Run scripts on Azure Virtual Machines with the Run Command Continue Reading

Kubernetes Operations: Prioritize Workload in Overcommitted Clusters

One of the benefits in adopting a system like Kubernetes is facilitating burstable and scalable workload. Horizontal application scaling involves adding or removing instances of an application to match demand. Kubernetes Horizontal Pod Autoscaler enables automated pod scaling based on demand. This is cool, however can lead to unpredictable load on the cluster, which may put

Kubernetes Operations: Prioritize Workload in Overcommitted Clusters Continue Reading

Configure Visual Studio Code to run PowerShell for Windows and PowerShell Core Simultaneously

I’m a PowerShell fan and have recently adopted PowerShell Core as my version of choice. If you are not familiar with PowerShell Core, it is a cross platform (Windows, Linux, and macOS) version of PowerShell based on .NET Core. That said, I sometimes need to work in PowerShell for Windows or use both side by

Configure Visual Studio Code to run PowerShell for Windows and PowerShell Core Simultaneously Continue Reading