Go - Skillstak Beginner Boost Week 17 and 18 Notes

Beginner Boost Week 17 and 18 Notes Link to video Don’t forget to set GOBIN=~/.local/bin, GOPRIVATE, CGO_ENABLED=0 Go Testing - Example Tests func ExampleFoo() { foo() // Output: // Foo } The ExampleFoo indicates the test here. It needs to match the name exactly after Example. But it is capitalized. It runs that function and will compare the output to what is specified. It says “see if the program generates this output in std out”. ...

March 26, 2023 Â· Mischa van den Burg

Notes: Advanced Bicep

Deploying to subscriptions and management groups To tell Bicep which scope to deploy to, use the targetScope keyword, for example, managementGroup. You’re not specifying which management group exactly, this is done during deployment of the template file. targetScope can be set to resourceGroup, subscription, managementGroup or tenant. If it is not set, Bicep assumes resourceGroup. create a resource group targetScope = 'subscription' resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-01-01' = { name: 'example-resource-group' location: 'westus' } To deploy you use az deployment group create for resource groups, but you use az deployment sub create for subscriptions, mg for management group and tenant for tenant. ...

March 18, 2023 Â· Mischa van den Burg

Notes: Intermediate Bicep

Today I finished the Intermediate Bicep module. Here are my notes. Child and Extension You can also use Bicep to refer to resources that were created outside the Bicep file itself. For example, you can refer to resources that your colleagues have created manually by using the Azure portal, or from within another Bicep template or module, even if they’re in a different resource group or subscription. By using these features of Bicep, you can unlock the ability to create powerful templates that deploy all aspects of your Azure infrastructure. ...

March 14, 2023 Â· Mischa van den Burg

Notes: Fundamentals of Bicep

I’ll be working with Bicep during my next contract, so I’m working through the Bicep modules on Microsoft Learn to prepare. I must say that these modules are particularly helpful. They are well structured and they provide you with free sandbox environments to practice deploying the templates you create. Why Bicep? Resources in Azure are deployed by the Azure Resource Manager (ARM). These resources are JSON objects under the covers, and ARM templates are a way to generate these JSON objects. However, JSON is not really meant to be edited by humans, and the ARM templates are not very suitable for editing either. Thus, Bicep was developed to allow for a better editing experience and better readability and reusability. ...

March 13, 2023 Â· Mischa van den Burg

Learning Go Day 1: Notes

The CTO of my new company recommended the Udemy course “Go: The Complete Developer’s Guide (Golang)”. I started today and here are some notes I made. Hello World in Go We start by writing a Hello World and studying all the elements. package main import "fmt" func main() { fmt.Println("Hello World!") } How do we run code? go run main.go runs the program go build main.go compiles it to an executable ...

February 28, 2023 Â· Mischa van den Burg

I passed the AZ-400 DevOps Expert today

I’m typing this 30 minutes after I passed my AZ-400 exam. I’m sitting in a lovely cafe on Leidseplein in Amsterdam and feel relieved. Another significant certification bites the dust. This one took about 70 hours of study. I started preparing immediately after passing my AZ-104 exam, which was a good move. The AZ-400 requires you to know many details about Azure services and how to access them. For example, Shared Access Signatures are only used for accessing storage accounts, but they came up quite often as alternative answers to the questions. ...

January 14, 2023 Â· Mischa van den Burg

The Pomodoro technique has won me over

I did a lot of studying last year, and I achieved a few tough certifications. I’ve always been good at studying and never struggled with getting decent grades in university. As a result, I never felt the need to use particular techniques to pass my tests. However, now that I need to do my studies combined with a full-time job, I did some optimization and looked into study techniques. One technique I’ve become very fond of is the Pomodoro Technique. I don’t have any problems focusing for long periods, but I still decided to try it. I use the standard 25-minute study with a 5-minute break routine, and after four cycles, I take a 30-minute break. ...

January 13, 2023 Â· Mischa van den Burg

Obsidian: A Note Taking App For DevOps Engineers

As a DevOps or Cloud engineer, you work with many different technologies daily. Therefore, a good engineer needs a solid foundation in Linux, a lot of knowledge about your cloud solution, networking, CI/CD, at least one programming language, and many other topics. Not only are there many of these categories, but within these categories, there are several alternatives. For example, in the category of infrastructure management, there is Ansible, Puppet, or Chef, each with its particular approach and configuration methods. ...

January 1, 2023 Â· Mischa van den Burg

Study Guide: AZ-104 Azure Administrator Associate

TLDR It took me 80 hours of studying to gain this certification. Here are my notes and Anki deck: GitHub repo Introduction When I did my English degree at University, exams were usually handwritten essays that needed to be done within a 3-hour timeframe. Sometimes we had multiple-choice tests, and I would always consider them a guaranteed pass because multiple-choice was much easier in my experience. That opinion has changed since I’ve obtained a few IT certifications. These tests are hard! I’m typing this while sitting on the bus on my way home from my AZ-104 exam. I passed with an 860 score of 1000, where 700 or higher is a pass. But it was an astonishingly tough exam. Usually, I finish quickly and spend at least half an hour reviewing my answers. I had only 5 minutes to review my questions this time because I had used up all of the available time. The questions required intense concentration and were time-consuming because I needed to compare many options which were very similar to each other. There were no easy questions. ...

December 30, 2022 Â· Mischa van den Burg

Certified Kubernetes Administrator (CKA) Exam Tips

I recently obtained my CKA certification. I started this certification journey with zero knowledge of Kubernetes. However, I was already working as a DevOps Engineer, and I know a fair bit of Linux. I daily drive Arch Linux and have LPIC-1 certification. It was handy to know where files are located on Linux systems and how to interact with systemd services. I also knew yaml quite well because I work with Ansible daily. I passed on my first try, and I did one session of killer.sh. ...

September 13, 2022 Â· Mischa van den Burg