Video: Deploying AKS Cluster With Azure CNI Using Bicep

In this video, I will show you how to use Bicep to deploy a Kubernetes cluster with custom network settings using the Azure CNI. Azure CNI allows pods to be assigned IP addresses from Azure VNets which allows them to communicate with Azure resources directly through peered networks. ...

July 9, 2023 路 Mischa van den Burg

Wrote A Script To Delete All Resource Groups In An Azure Subscription

In the Azure portal you can鈥檛 select multiple resource groups for deletion. I have a sponsored subscription to play around in which I sometimes wish to clean completely. I wrote this script to delete all resource groups using bash. #!/bin/bash # script to delete all resource groups in a subscription using Azure CLI # get the current subscription name to confirm subscription=$(az account show --query name -o tsv) echo "Use this script with caution!" echo "You are about to delete all resource groups in the subscription: $subscription" # prompt for confirmation read -p "Are you sure? (y/n) " will_delete if [[ $will_delete == [Yy]* ]]; then echo "Deleting resource groups..." groups=$(az group list --query "[].name" -o tsv) # Loop through each group name and delete it for group in $groups; do az group delete --name "$group" --yes --no-wait done echo "All resource groups have been deleted." exit 0 fi echo "Exiting without deleting any resource groups." echo "Probably wise." Links: 202307081507 ...

July 8, 2023 路 Mischa van den Burg

Choosing A Cloud And The Importance Of Specialization

As a DevOps Engineer or Cloud Native Engineer, I think it鈥檚 important to specialize in one cloud provider in the beginning of your career. Specializing allows you to gain deep knowledge and expertise in the specific tools and services related to that cloud provider, making you a valuable asset to any company using that provider. Although cloud computing is similar in essence no matter which provider you choose, each cloud provider has its own vocabulary and way of structuring things. ...

July 3, 2023 路 Mischa van den Burg

How To Generate Random Strings In Bicep

In this video I explain how to generate random strings in Bicep and demonstrate a couple of deployments. I use the uniqueString function combined with the utcNow function. But the caveat is that you can only use it as a default value for a parameter, as follows: ...

July 2, 2023 路 Mischa van den Burg

Azure Lowlands: Impressions from my first IT event

Have you ever attended an IT event that felt like a festival from the sixties? That was my experience at Azure Lowlands! I couldn鈥檛 have wished for a better first IT event. It was like going back in time, but with a modern twist. The name Lowlands immediately appealed to me. I had no idea what to expect. And the name lived up to it! I鈥檓 a big fan of Jimi Hendrix and the Woodstock vibe, and that鈥檚 exactly what I felt at Azure Lowlands. When I walked into the first talk, I was surprised by a hall full of colorful beach chairs, and people who were listening to the speaker while taking it easy and lounging in the chairs. I felt right at home! ...

July 1, 2023 路 Mischa van den Burg

Some Interesting Facts About Azure

Some interesting facts about Azure from this Reddit post by Denis Kazakov, Microsoft MVP Things that stand out to me: 85% of Fortune 500 companies use Microsoft Azure Cloud Azure generated a revenue of 75,3 billion in 2022 which is 38% of whole Microsoft鈥檚 revenue. It is x3 in compare to 2017. The project name was Red Dog internally, which you can sometimes see as DNS or as cloud service VM hostnames like RDxxxxx https://www.reddit.com/r/AZURE/comments/14mcuoy/some_interesting_facts_about_azure/?utm_source=share&utm_medium=web2x&context=3 ...

June 30, 2023 路 Mischa van den Burg

Video: Finishing Pipeline Setup & Working on KeyVault Template - Azure Kubernetes Lab Series

Finish deploying keyvault using pipeline Get the random name generation to work Lessons Learned Subscriptions need to be registered with resource providers, apparently https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli acccesPolicies are mandatory on KeyVaults, but not when RBAC is enabled Assign contributor role to Azure DevOps service connection to be able to create resource groups from pipeline Achieved Setting up connection between pipeline and Azure subscription Assign correct rights to the service connection so it is allowed to deploy new resource groups (and other resources) Learned about provider registrations Made progress on creating unique names for resources Successfully deployed new resource group and key vault from the pipeline Next time: Look into random string creation with utcNow ...

June 30, 2023 路 Mischa van den Burg

Video: Setting Up A Simple Azure Pipeline To Deploy A Keyvault

Write KeyVault template Write pipeline code set up Azure DevOps pipeline Lessons Learned Always make sure to use az deployment group instead of az group deployment Because it has older Bicep version and will be deprecated Make sure to be in correct Directory to be able to sync subscriptions for service connection Links: 202306302206 ...

June 30, 2023 路 Mischa van den Burg

Video: Deploying an AKS Cluster with Bicep, GitHub Copilot and Neovim

Inspired by a GitHub Copilot demonstration I witnessed at Microsoft, I wanted to see how quickly I could deploy an AKS cluster from Neovim with Bicep using Copilot. I wasn鈥檛 disappointed! Links: 202306271706 https://www.youtube.com/watch?v=l0B65FUfNBU [[AKS]] [[Kubernetes]] [[Neovim]] [[bicep]] [[coding]]

June 27, 2023 路 Mischa van den Burg

Video: Introducing New Bicep Parameter Files - .bicepparam - No more JSON!

The new parameter files use bicep style formatting instead of JSON, and they will make the lives of Cloud Engineers a lot easier. They have the following advantages: More readable and editor friendly Cleaner and less lines of code VSCode integration Quickly convert from JSON or template file using VSCode In this video I introduce these new files. I go over the new formatting, and I also introduce the new features in VSCode for the .bicepparam files. ...

June 27, 2023 路 Mischa van den Burg