{"@attributes":{"version":"2.0"},"channel":{"title":"Hello, I'm Michael \ud83d\udc4b on Michael Schnerring","link":"https:\/\/schnerring.net\/","description":"Recent content in Hello, I'm Michael \ud83d\udc4b on Michael Schnerring","generator":"Hugo","language":"en","copyright":"\u00a9 2020 - 2023 Michael Schnerring","item":[{"title":"Checking Out Code Committed Within the Same GitHub Actions Workflow Run","link":"https:\/\/schnerring.net\/blog\/checking-out-code-committed-within-the-same-github-actions-workflow-run\/","pubDate":"Sun, 02 Apr 2023 05:30:00 +0200","guid":"https:\/\/schnerring.net\/blog\/checking-out-code-committed-within-the-same-github-actions-workflow-run\/","description":"<p>When using <a\n href=\"https:\/\/docs.github.com\/en\/actions\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>GitHub Actions<\/a>, we often\ninclude steps that use Git to check out the code of the repository, make some\nchanges to the code, and then commit these changes back to the repo. Additional\nsteps subsequently act upon these changes within the same workflow run. For\nexample, appending auto-generated release notes to a <code>CHANGELOG.md<\/code> file and\ncommitting it to the repo, to later bundle the changelog with release artifacts.\nAnother example is using a workflow that periodically uses a linter to clean up\nthe code base. Simple enough, right?<\/p>"},{"title":"Use OBS and ffmpeg to Create Modern GIF-like Screencasts","link":"https:\/\/schnerring.net\/blog\/use-obs-and-ffmpeg-to-create-gif-like-screencasts\/","pubDate":"Tue, 26 Apr 2022 22:30:46 +0200","guid":"https:\/\/schnerring.net\/blog\/use-obs-and-ffmpeg-to-create-gif-like-screencasts\/","description":"<p>In this post, I&rsquo;ll share how I use <a\n href=\"https:\/\/obsproject.com\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>OBS Studio<\/a> and\n<a\n href=\"https:\/\/ffmpeg.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>ffmpeg<\/a> to create short MP4\/WebM video snippets for my\nblog posts. Using the <code>&lt;video&gt;<\/code> tag with the <code>autoplay<\/code> and <code>loop<\/code> attributes\nmakes them look like GIFs. However,\n<a\n href=\"https:\/\/techstacker.com\/why-webm-is-superior-to-gif-video-comparison\/FR6xLr2zHn9uSTTsH\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>modern video formats result in much smaller file sizes<\/a>.<\/p>"},{"title":"Use PowerShell to Request Quotes for Azure Reservations","link":"https:\/\/schnerring.net\/blog\/use-powershell-to-request-quotes-for-azure-reservations\/","pubDate":"Tue, 26 Apr 2022 04:14:21 +0200","guid":"https:\/\/schnerring.net\/blog\/use-powershell-to-request-quotes-for-azure-reservations\/","description":"<p>Over the weekend, I was on a quest to find the cheapest available Azure Virtual\nMachine to house my Azure Kubernetes Service cluster. I previously wrote about\n<a\n href=\"https:\/\/schnerring.net\/blog\/reduce-storage-costs-when-deploying-azure-kubernetes-service-clusters-with-terraform\"\n \n \n>optimizing storage cost with Azure Kubernetes Service (AKS)<\/a>,\nwhere I talk about the importance of selecting VMs that support\n<a\n href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/ephemeral-os-disks\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>ephemeral OS disks<\/a>.\nBut what VM type and region should I choose? Searching through reservation\noffers in the Azure Portal turned out to be tedious. This time, I&rsquo;ll demonstrate\nhow to find the best offers using PowerShell and export the results to a CSV\nfile.<\/p>"},{"title":"Automate Building Custom Windows Images For Azure Virtual Desktop With Packer And GitHub Actions","link":"https:\/\/schnerring.net\/blog\/automate-building-custom-windows-images-for-azure-virtual-desktop-with-packer-and-github-actions\/","pubDate":"Sun, 27 Mar 2022 08:12:20 +0200","guid":"https:\/\/schnerring.net\/blog\/automate-building-custom-windows-images-for-azure-virtual-desktop-with-packer-and-github-actions\/","description":"<p>One aspect of managing\n<a\n href=\"https:\/\/azure.microsoft.com\/en-us\/services\/virtual-desktop\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Azure Virtual Desktop (AVD)<\/a>\nis keeping it up-to-date. One strategy is periodically building a &ldquo;golden&rdquo; image\nand re-deploying AVD session host VMs using the updated image. In this post,\nwe&rsquo;ll use <a\n href=\"https:\/\/www.packer.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Packer<\/a> and\n<a\n href=\"https:\/\/github.com\/features\/actions\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>GitHub Actions<\/a> to build a Windows 11\nimage and push it to Azure.<\/p>"},{"title":"Deploy Azure Virtual Desktop (AVD) Using Terraform and Azure Active Directory Domain Services (AADDS)","link":"https:\/\/schnerring.net\/blog\/deploy-azure-virtual-desktop-avd-using-terraform-and-azure-active-directory-domain-services-aadds\/","pubDate":"Sun, 27 Feb 2022 21:32:52 +0100","guid":"https:\/\/schnerring.net\/blog\/deploy-azure-virtual-desktop-avd-using-terraform-and-azure-active-directory-domain-services-aadds\/","description":"<p>With <a\n href=\"https:\/\/azure.microsoft.com\/en-us\/services\/virtual-desktop\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Azure Virtual Desktop (AVD)<\/a>, you can deliver secure Windows 11 desktops and environments anywhere. It&rsquo;s pretty easy to deploy and scale. You can provide a coherent user experience from any end-user device and reduce costs by leveraging Windows 11 multi-session licensing. This tutorial will guide you through setting up AVD with AADDS using Terraform.<\/p>"},{"title":"Set Up Azure Active Directory Domain Services (AADDS) With Terraform","link":"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform-updated\/","pubDate":"Sun, 20 Feb 2022 06:05:36 +0100","guid":"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform-updated\/","description":"<p>I wanted to revisit this topic for a while because the <a\n href=\"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform\"\n \n \n>previous guide I wrote about setting up Azure Active Directory Domain Services (AADDS) with Terraform<\/a> is outdated. However, the article still attracts around 100 visitors per month. People also keep downloading the deprecated Terraform module I created. Time to set things right!<\/p>"},{"title":"Percent-encoding with the Hugo `urlquery` Function","link":"https:\/\/schnerring.net\/blog\/percent-encoding-with-the-hugo-urlquery-function\/","pubDate":"Sun, 16 Jan 2022 21:33:17 +0100","guid":"https:\/\/schnerring.net\/blog\/percent-encoding-with-the-hugo-urlquery-function\/","description":"<p>I recently tried to <em>percent-encode<\/em> (or <em>URL-encode<\/em>) strings in Hugo.\nPercent-encoding is used to encode data in query strings of URLs because they\nmust only contain ASCII characters. There is a\n<a\n href=\"https:\/\/gohugo.io\/functions\/querify\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Hugo built-in <code>querify<\/code> function to transform key-value pairs to query strings<\/a>.\nBut I required to URL-encode a single string value and not build a query string\nfrom key-value pairs.<\/p>"},{"title":"Reduce Storage Costs when Deploying Azure Kubernetes Service Clusters with Terraform","link":"https:\/\/schnerring.net\/blog\/reduce-storage-costs-when-deploying-azure-kubernetes-service-clusters-with-terraform\/","pubDate":"Mon, 29 Nov 2021 03:50:04 +0100","guid":"https:\/\/schnerring.net\/blog\/reduce-storage-costs-when-deploying-azure-kubernetes-service-clusters-with-terraform\/","description":"<p>I use the Azure Kubernetes Service (AKS) to host a few services, like Synapse,\nRemark42, and Plausible Analytics. As of yet, none of these services require\nmuch computing power, so I chose a small VM size for the AKS node:\n<code>Standard_B2ms<\/code>. I recently analyzed my Azure costs and found out that I could\nhave saved more than a hundred bucks in the past months if I had been more\ndiligent.<\/p>"},{"title":"Use Mullvad Port Forwarding to Connect to Your OPNsense Home Network with WireGuard","link":"https:\/\/schnerring.net\/blog\/use-mullvad-port-forwarding-to-connect-to-your-opnsense-home-network-with-wireguard\/","pubDate":"Sun, 28 Nov 2021 21:18:30 +0100","guid":"https:\/\/schnerring.net\/blog\/use-mullvad-port-forwarding-to-connect-to-your-opnsense-home-network-with-wireguard\/","description":"<h2 id=\"update-2023-07-28\">Update 2023-07-28<a href=\"#update-2023-07-28\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n<p><a\n href=\"https:\/\/mullvad.net\/en\/blog\/2023\/5\/29\/removing-the-support-for-forwarded-ports\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>In May 2023, Mullvad announced the discontinuation of port forwarding support.<\/a> Starting from 2023-07-01, all existing ports will be removed, making this guide obsolete. \ud83d\ude2d<\/p>"},{"title":"Configure NUT for OPNsense and TrueNAS with the CyberPower PR750ERT2U UPS","link":"https:\/\/schnerring.net\/blog\/configure-nut-for-opnsense-and-truenas-with-the-cyberpower-pr750ert2u-ups\/","pubDate":"Sun, 28 Nov 2021 03:50:22 +0100","guid":"https:\/\/schnerring.net\/blog\/configure-nut-for-opnsense-and-truenas-with-the-cyberpower-pr750ert2u-ups\/","description":"<p>For storage in my homelab, I use <a\n href=\"https:\/\/www.truenas.com\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>TrueNAS<\/a>. Additionally, I run a couple of apps on top of it as <a\n href=\"https:\/\/docs.freebsd.org\/en\/books\/handbook\/jails\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>jails<\/a>. For over a year, I&rsquo;ve been using an <a\n href=\"https:\/\/en.wikipedia.org\/wiki\/Uninterruptible_power_supply\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>uninterruptible power supply (UPS)<\/a> to protect my TrueNAS from possible data loss in case of a power failure. What I&rsquo;ve been missing throughout that time are the monitoring and management tools to shut down everything gracefully when the battery of the UPS runs low. In the event of a power outage lasting longer than 30 minutes, the battery would run out of juice. Everything attached to the UPS would be powered off immediately, and data loss might occur. Luckily I live in an area where power outages rarely happen. I also have backups I could restore if my TrueNAS data gets corrupted. Still, doing this right and configuring <a\n href=\"https:\/\/networkupstools.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Network UPS Tools (NUT)<\/a> to orchestrate shutdowns has been on my to-do list for way too long. It&rsquo;s time to tackle the issue!<\/p>"},{"title":"OPNsense Baseline Guide with Mullvad VPN Multi-WAN, Guest, and VLAN Support","link":"https:\/\/schnerring.net\/blog\/opnsense-baseline-guide-with-vpn-guest-and-vlan-support\/","pubDate":"Wed, 17 Nov 2021 03:56:35 +0100","guid":"https:\/\/schnerring.net\/blog\/opnsense-baseline-guide-with-vpn-guest-and-vlan-support\/","description":"<p>This beginner-friendly, step-by-step guide walks you through the initial\nconfiguration of your OPNsense firewall. The title of this guide is an homage to\nthe\n<a\n href=\"https:\/\/nguvu.org\/pfsense\/pfsense-baseline-setup\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>pfSense baseline guide with VPN, Guest, and VLAN support<\/a>\nthat some of you guys might know, and this is an\n<a\n href=\"https:\/\/opnsense.org\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>OPNsense<\/a> migration of it. I found that guide two years\nago and immediately fell in love with the network setup. After researching for\nweeks, I decided to use OPNsense instead of pfSense. I bit the bullet and bought\nthe <a\n href=\"https:\/\/www.deciso.com\/product-catalog\/dec630\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Deciso DEC630<\/a> appliance.\nAlbeit expensive and possibly overkill for my needs, I&rsquo;m happy to support the\nopen-source mission of Deciso, the maintainers of OPNsense. The only thing I\nregret about the purchase is that I now can&rsquo;t afford the sexier-looking\nsuccessor model, the\n<a\n href=\"https:\/\/shop.opnsense.com\/dec600-series-opnsense-desktop-security-appliances\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>DEC690<\/a>.<\/p>"},{"title":"Install qBittorrent, Jackett, Lidarr, Radarr, Sonarr, and Plex inside TrueNAS Jails","link":"https:\/\/schnerring.net\/blog\/install-qbittorrent-jackett-lidarr-radarr-sonarr-and-plex-inside-truenas-jails\/","pubDate":"Sun, 14 Nov 2021 20:41:04 +0100","guid":"https:\/\/schnerring.net\/blog\/install-qbittorrent-jackett-lidarr-radarr-sonarr-and-plex-inside-truenas-jails\/","description":"<p>This post documents the steps required to install <a\n href=\"https:\/\/www.qbittorrent.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>qBittorrent<\/a>, <a\n href=\"https:\/\/github.com\/Jackett\/Jackett\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Jackett<\/a>, <a\n href=\"https:\/\/lidarr.audio\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Lidarr<\/a>, <a\n href=\"https:\/\/radarr.video\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Radarr<\/a>, <a\n href=\"https:\/\/sonarr.tv\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Sonarr<\/a>, and <a\n href=\"https:\/\/www.plex.tv\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Plex<\/a> in <a\n href=\"https:\/\/www.truenas.com\/docs\/core\/applications\/jails\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>TrueNAS jails<\/a> version <code>12.0-U6<\/code>.<\/p>"},{"title":"Router on a Stick VLAN Configuration with SwOS on the Mikrotik CRS328-24P-4S+RM Switch","link":"https:\/\/schnerring.net\/blog\/router-on-a-stick-vlan-configuration-with-swos-on-the-mikrotik-crs328-24p-4s+rm-switch\/","pubDate":"Wed, 10 Nov 2021 03:30:18 +0100","guid":"https:\/\/schnerring.net\/blog\/router-on-a-stick-vlan-configuration-with-swos-on-the-mikrotik-crs328-24p-4s+rm-switch\/","description":"<p>My homelab grew quite a bit over the past years. And with that, my networking needs also changed: stricter firewall rules, segregating untrusted IoT devices into separate networks, traffic prioritization, and more. I wanted to document my switch and VLAN configuration. And maybe this is useful for someone else, too.<\/p>"},{"title":"Install the Ubiquiti Unifi Controller Software v6 Inside a TrueNAS Jail","link":"https:\/\/schnerring.net\/blog\/install-the-ubiquiti-unifi-controller-software-v6-inside-a-truenas-jail\/","pubDate":"Thu, 04 Nov 2021 23:15:27 +0100","guid":"https:\/\/schnerring.net\/blog\/install-the-ubiquiti-unifi-controller-software-v6-inside-a-truenas-jail\/","description":"<p>To manage <a\n href=\"https:\/\/www.ui.com\/wi-fi\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Ubiquiti UniFi devices<\/a>, a UniFi controller is required. Over a year ago, I initially installed the controller software inside a Ubuntu VirtualBox VM. Now that version 6 of the UniFi controller software is released, it&rsquo;s time to upgrade. I decided to reinstall the controller inside a TrueNAS jail instead of a VirtualBox VM. When searching the interwebs, I only found lots of outdated instructions. It turns out that it&rsquo;s very straightforward, so here are my quick notes on how to do it.<\/p>"},{"title":"Use Custom DNS Servers With Mullvad And Any WireGuard Client","link":"https:\/\/schnerring.net\/blog\/use-custom-dns-servers-with-mullvad-and-any-wireguard-client\/","pubDate":"Sun, 31 Oct 2021 08:19:52 +0100","guid":"https:\/\/schnerring.net\/blog\/use-custom-dns-servers-with-mullvad-and-any-wireguard-client\/","description":"<p>I&rsquo;ve been using <a\n href=\"https:\/\/mullvad.net\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Mullvad VPN<\/a> for a while now but only\never used it with the official client on my workstation. I use DNS extensively\nin my home network, so as soon as I activate Mullvad, I can&rsquo;t resolve DNS names\nlocally. Of course, this is by design and expected. I own an\n<a\n href=\"https:\/\/opnsense.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>OPNsense<\/a> appliance, so the natural solution is to move\nthe tunnel there.<\/p>\n<h2 id=\"tldr\">TL;DR<a href=\"#tldr\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n<p>Use the following shell command to request an IP with no DNS hijacking:<\/p>"},{"title":"Use the Trezor Hardware Wallet Anonymously Inside a VirtualBox Whonix VM With External Wallets Like Adalite and Monero GUI","link":"https:\/\/schnerring.net\/blog\/use-the-trezor-hardware-wallet-anonymously-inside-a-virtualbox-whonix-vm-with-external-wallets-like-adalite-and-monero-gui\/","pubDate":"Fri, 22 Oct 2021 20:15:36 +0200","guid":"https:\/\/schnerring.net\/blog\/use-the-trezor-hardware-wallet-anonymously-inside-a-virtualbox-whonix-vm-with-external-wallets-like-adalite-and-monero-gui\/","description":"<p>In the past, I used an old laptop running <a\n href=\"https:\/\/www.qubes-os.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Qubes OS<\/a> for any cryptocurrency-related stuff, and it worked great. It&rsquo;s where I first learned about <a\n href=\"https:\/\/www.whonix.org\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Whonix<\/a>, a desktop operating system designed to protect your privacy online. Unfortunately, Qubes OS is a bit picky about the hardware it runs on. My old laptop only has four gigs of RAM, and I could barely run two instances of <a\n href=\"https:\/\/www.myetherwallet.com\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>MyEtherWallet<\/a> in two separate <a\n href=\"https:\/\/www.qubes-os.org\/doc\/glossary\/#qube\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>qubes<\/a> without the system running out of memory.<\/p>"},{"title":"Create a Modern CSS-only Fold-Out Burger Menu","link":"https:\/\/schnerring.net\/blog\/create-a-modern-css-only-fold-out-burger-menu\/","pubDate":"Tue, 03 Aug 2021 03:30:10 +0200","guid":"https:\/\/schnerring.net\/blog\/create-a-modern-css-only-fold-out-burger-menu\/","description":"<p>For the last couple of months, I have been working on a custom Hugo theme in my\nfree time. Most recently, I implemented a CSS-only burger fold-out menu to\nincrease its responsiveness. I based the implementation on\n<a\n href=\"https:\/\/x.com\/erikterwan\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Erik Terwan&rsquo;s<\/a> nifty\n<a\n href=\"https:\/\/codepen.io\/erikterwan\/pen\/EVzeRP\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>pure CSS Hamburger fold-out menu<\/a>\nwhich is pretty popular on CodePen. I modernized it by utilizing SVG and newer\nCSS selectors to make the code more declarative and scalable. It comes with the\nprice of not supporting as many browsers, but honestly, who cares about Internet\nExplorer users?<\/p>"},{"title":"Use Sieve Filters to Auto-Sort Your ProtonMail Inbox into Subfolders","link":"https:\/\/schnerring.net\/blog\/use-sieve-filters-to-auto-sort-your-protonmail-inbox-into-subfolders\/","pubDate":"Wed, 16 Jun 2021 20:32:21 +0200","guid":"https:\/\/schnerring.net\/blog\/use-sieve-filters-to-auto-sort-your-protonmail-inbox-into-subfolders\/","description":"<p><a\n href=\"https:\/\/en.wikipedia.org\/wiki\/Sieve_%28mail_filtering_language%29\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Sieve<\/a> is a programming language used for email filtering. Today, I show you how I automatically sort my ProtonMail inbox into folders and subfolders using <a\n href=\"https:\/\/protonmail.com\/support\/knowledge-base\/sieve-advanced-custom-filters\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>custom sieve filters<\/a>. My setup uses the <a\n href=\"https:\/\/protonmail.com\/support\/knowledge-base\/catch-all\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>catch-all feature<\/a> requiring at least a <a\n href=\"https:\/\/protonmail.com\/pricing\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>ProtonMail Professional subscription<\/a> and a <a\n href=\"https:\/\/protonmail.com\/support\/categories\/custom-domains\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>properly configured custom domain<\/a>.<\/p>"},{"title":"Set Up Azure Active Directory Domain Services (AADDS) with Terraform","link":"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform\/","pubDate":"Sat, 22 May 2021 16:23:36 +0200","guid":"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform\/","description":"<h2 id=\"update-2022-02-20\">Update 2022-02-20<a href=\"#update-2022-02-20\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n<p>This guide is outdated! <a\n href=\"https:\/\/schnerring.net\/blog\/set-up-azure-active-directory-domain-services-aadds-with-terraform-updated\"\n \n \n>Please click here to go to the new guide I wrote.<\/a><\/p>"},{"title":"Deploy a Matrix Homeserver to Azure Kubernetes Service (AKS) with Terraform","link":"https:\/\/schnerring.net\/blog\/deploy-a-matrix-homeserver-to-azure-kubernetes-service-aks-with-terraform\/","pubDate":"Fri, 14 May 2021 01:13:33 +0200","guid":"https:\/\/schnerring.net\/blog\/deploy-a-matrix-homeserver-to-azure-kubernetes-service-aks-with-terraform\/","description":"<p>Did you ever think about running a Matrix homeserver? In this post, we will set one up on the <a\n href=\"https:\/\/azure.microsoft.com\/en-us\/services\/kubernetes-service\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Azure Kubernetes Service<\/a> (AKS). We will use the reference homeserver implementation, which is <a\n href=\"https:\/\/github.com\/matrix-org\/synapse\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Synapse<\/a> from the folks at <a\n href=\"https:\/\/matrix.org\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>matrix.org<\/a>. This post focuses on the Kubernetes stuff, keeping Synapse configuration to a minimum. Things like <a\n href=\"https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/docs\/federate.md\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>federation<\/a>, <a\n href=\"https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/docs\/delegate.md\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>delegation<\/a> and <a\n href=\"https:\/\/github.com\/matrix-org\/synapse\/blob\/master\/docs\/postgres.md#set-up-database\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>PostgreSQL<\/a> are out of scope, because plenty of excellent guides and the official documentation exist covering that. The icing on the cake will be the <a\n href=\"https:\/\/github.com\/Awesome-Technologies\/synapse-admin\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Synapse Admin UI<\/a> deployment with secure access to the <a\n href=\"https:\/\/github.com\/matrix-org\/synapse\/blob\/develop\/docs\/reverse_proxy.md#synapse-administration-endpoints\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>administration endpoints<\/a> to make management of our homeserver easier.<\/p>"},{"title":"Use Terraform to Deploy the Remark42 Commenting System to Kubernetes and Integrate it with a Hugo Website","link":"https:\/\/schnerring.net\/blog\/use-terraform-to-deploy-the-remark42-commenting-system-to-kubernetes-and-integrate-it-with-a-hugo-website\/","pubDate":"Sun, 09 May 2021 09:31:13 +0200","guid":"https:\/\/schnerring.net\/blog\/use-terraform-to-deploy-the-remark42-commenting-system-to-kubernetes-and-integrate-it-with-a-hugo-website\/","description":"<p>Building upon our previous work, we will deploy <a\n href=\"https:\/\/remark42.com\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Remark42<\/a> on Kubernetes with <a\n href=\"https:\/\/www.terraform.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Terraform<\/a> and integrate it with your existing <a\n href=\"https:\/\/gohugo.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Hugo<\/a> website. Make sure to check out my previous posts about <a\n href=\"https:\/\/schnerring.net\/blog\/create-a-hugo-website-with-github-pages-github-actions-and-cloudflare\"\n \n \n>creating a Hugo Website<\/a> and <a\n href=\"https:\/\/schnerring.net\/blog\/use-terraform-to-deploy-an-azure-kubernetes-service-aks-cluster-traefik-2-cert-manager-and-lets-encrypt-certificates\"\n \n \n>deploying an Azure Kubernetes Service cluster<\/a> if you haven&rsquo;t already.<\/p>"},{"title":"Use Terraform to Deploy an Azure Kubernetes Service (AKS) Cluster, Traefik 2, cert-manager, and Let's Encrypt Certificates","link":"https:\/\/schnerring.net\/blog\/use-terraform-to-deploy-an-azure-kubernetes-service-aks-cluster-traefik-2-cert-manager-and-lets-encrypt-certificates\/","pubDate":"Sun, 25 Apr 2021 01:00:27 +0200","guid":"https:\/\/schnerring.net\/blog\/use-terraform-to-deploy-an-azure-kubernetes-service-aks-cluster-traefik-2-cert-manager-and-lets-encrypt-certificates\/","description":"<p>In this post, we will deploy a simple\n<a\n href=\"https:\/\/azure.microsoft.com\/en-us\/services\/kubernetes-service\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Azure Kubernetes Service (AKS)<\/a>\ncluster from scratch. To expose our web services securely, we will install\nTraefik 2 and configure <a\n href=\"https:\/\/cert-manager.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>cert-manager<\/a> to manage Let&rsquo;s\nEncrypt certificates. The best part about it: we will do everything with\n<a\n href=\"https:\/\/www.terraform.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Terraform<\/a>.<\/p>"},{"title":"Create a Hugo Website with GitHub Pages, GitHub Actions, and Cloudflare","link":"https:\/\/schnerring.net\/blog\/create-a-hugo-website-with-github-pages-github-actions-and-cloudflare\/","pubDate":"Fri, 19 Mar 2021 21:14:22 +0100","guid":"https:\/\/schnerring.net\/blog\/create-a-hugo-website-with-github-pages-github-actions-and-cloudflare\/","description":"<p>In this beginner guide, you&rsquo;ll create a Hugo website from scratch and publish the website on GitHub Pages. You&rsquo;ll configure Cloudflare&rsquo;s DNS and utilize its caching capabilities to optimize page speeds. Finally, implementing automated deployments with GitHub Pages will enable you to publish new content on your site easily.<\/p>"},{"title":"Hello World","link":"https:\/\/schnerring.net\/blog\/hello-world\/","pubDate":"Sun, 14 Mar 2021 15:00:21 +0100","guid":"https:\/\/schnerring.net\/blog\/hello-world\/","description":"<p>I&rsquo;m a .NET developer by trade, so let&rsquo;s say hello in C#!<\/p>\n<div class=\"highlight\"><pre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;\"><code class=\"language-csharp\" data-lang=\"csharp\"><span style=\"display:flex;\"><span><span style=\"color:#66d9ef\">using<\/span> System;\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#66d9ef\">class<\/span> <span style=\"color:#a6e22e\">Program<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>{\n<\/span><\/span><span style=\"display:flex;\"><span> <span style=\"color:#66d9ef\">public<\/span> <span style=\"color:#66d9ef\">static<\/span> <span style=\"color:#66d9ef\">void<\/span> Main(<span style=\"color:#66d9ef\">string<\/span>[] args)\n<\/span><\/span><span style=\"display:flex;\"><span> {\n<\/span><\/span><span style=\"display:flex;\"><span> Console.WriteLine(<span style=\"color:#e6db74\">&#34;Hello, world!&#34;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span> }\n<\/span><\/span><span style=\"display:flex;\"><span>}\n<\/span><\/span><\/code><\/pre><\/div>"},{"title":"About","link":"https:\/\/schnerring.net\/about\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/schnerring.net\/about\/","description":"<p>When I was a first grader in the mid-90s, I got my first Windows 95 computer as\na gift from my dad. Since then, I have been fascinated by computers and the\nInternet, giving me access to an ever-expanding universe. I&rsquo;ve lived throughout\nthe digital age since its dawn and I continue to be amazed at how technology is\nshaping our world ever faster, for better and for worse.<\/p>\n<p>With infinite amounts of information at my fingertips, I love discovering and\nlearning new things every day. I enjoy building (and breaking) tech to\nefficiently solve real-world problems. When I&rsquo;m on my own time, I sometimes like\nover-engineering things just because I can. \ud83d\ude80<\/p>"},{"title":"CV","link":"https:\/\/schnerring.net\/cv\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/schnerring.net\/cv\/","description":"<h2 id=\"experience\">Experience<a href=\"#experience\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n <div class=\"jr__list jr-work__list\">\n \n <div class=\"jr__item jr-work__item\">\n <div class=\"jr__item-meta\">\n <div class=\"jr-work__position\">Full Stack Developer<\/div>\n <div class=\"jr__date-range\">\n <span>2011-11-01<\/span>\n <span>-<\/span>\n <span>present<\/span>\n<\/div>\n\n \n <div class=\"jr-work__name\">\n \n \n <a href=\"https:\/\/combyte.ch\">\n Combyte AG\n <\/a>\n \n \n \n <span>\u2014<\/span>\n <span class=\"jr-work__description\">Intelligent software solutions for the social sector<\/span>\n \n <\/div>\n \n\n \n <div class=\"jr-work__location\">Brugg, Switzerland<\/div>\n \n <\/div>\n\n <div class=\"jr__item-content\">\n \n <p class=\"jr-work__summary\">Develops and distributes software solutions for social institutions, counseling centers, homes, schools etc. since 1997.<\/p>\n \n \n <\/div>\n <\/div>\n \n <\/div>\n\n\n\n<h2 id=\"education\">Education<a href=\"#education\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n\n\n<h2 id=\"certificates\">Certificates<a href=\"#certificates\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n\n\n<h2 id=\"skills\">Skills<a href=\"#skills\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n <div class=\"jr__list jr-skills__list\">\n <ul>\n \n <li class=\"jr__item jr-skills__item\">\n <p><strong>Windows Desktop Applications (Master)<\/strong><\/p>\n \n <p>\n C#, .NET, WPF, ASP.NET\n <\/p>\n \n <\/li>\n \n <\/ul>\n <\/div>\n\n\n\n<h2 id=\"languages\">Languages<a href=\"#languages\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n <div class=\"jr__list jr-languages__list\">\n <ul>\n \n <li class=\"jr__item jr-languages__item\">\n German \u2014\n Fluent\n <\/li>\n \n <li class=\"jr__item jr-languages__item\">\n English \u2014\n Proficient\n <\/li>\n \n <\/ul>\n <\/div>\n\n\n\n<h2 id=\"projects\">Projects<a href=\"#projects\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n\n\n\n <div class=\"jr__list jr-projects__list\">\n \n <div class=\"jr__item jr-projects__item\">\n <div class=\"jr__item-meta\">\n <div class=\"jr-projects__roles\">\n Author\n <\/div>\n <div class=\"jr__date-range\">\n <span>2021-06-01<\/span>\n <span>-<\/span>\n <span>present<\/span>\n<\/div>\n\n <div class=\"jr-projects__name\">\n \n <span>Hugo Gruvbox Theme<\/span>\n \n \n \n <span>\u2014<\/span>\n <span class=\"jr-projects__description\">A retro-looking Hugo theme inspired by gruvbox to build secure, fast, and SEO-ready websites.<\/span>\n \n <\/div>\n \n <\/div>\n\n <div class=\"jr__item-content\">\n \n <ul>\n \n <li>Using modern technologies such as Hugo, NPM, and PostCSS<\/li>\n \n <\/ul>\n \n <\/div>\n\n \n <\/div>\n \n <\/div>"},{"title":"Plausible Analytics","link":"https:\/\/schnerring.net\/stats\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/schnerring.net\/stats\/","description":"<p>I self-host <a\n href=\"https:\/\/plausible.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Plausible Analytics<\/a>, an open-source, privacy-respecting, and lightweight web analytics tool. I use <a\n href=\"https:\/\/www.terraform.io\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Terraform<\/a> and <a\n href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/aks\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Azure Kubernetes Service (AKS)<\/a> to host it. Check my <a\n href=\"https:\/\/github.com\/schnerring\/infrastructure-core\/blob\/main\/kubernetes\/plausible.tf\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Terraform configuration for Plausible on GitHub<\/a> if you want to learn how.<\/p>\n<p>Plausible doesn&rsquo;t collect personal data. It doesn&rsquo;t require cookies and is fully compliant with the GDPR, CCPA, and PECR.<\/p>\n<p><a\n href=\"https:\/\/plausible.schnerring.net\/schnerring.net\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Here you can find a standalone public dashboard.<\/a><\/p>\n<p><a\n href=\"https:\/\/markosaric.com\/stats\/\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>Thanks to Marko Saric for inspiring me to create this stats page.<\/a><\/p>"},{"title":"Projects","link":"https:\/\/schnerring.net\/projects\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/schnerring.net\/projects\/","description":"<p>Here&rsquo;s what I&rsquo;m up to right now.\n<a\n href=\"https:\/\/schnerring.net\/about#get-in-touch\"\n \n \n>Connect with me to stay in the loop!<\/a><\/p>\n<h2 id=\"putting-food-on-the-table\">Putting Food on the Table<a href=\"#putting-food-on-the-table\" class=\"post-heading__anchor\" aria-hidden=\"true\">#<\/a>\n<\/h2>\n<p>I have been working for a small company called <a\n href=\"https:\/\/combyte.ch\"\n \n \n class=\"link--external\" target=\"_blank\" rel=\"noreferrer\"\n \n>combyte AG<\/a>\nsince 2011, specializing in building .NET solutions for small and medium\nbusinesses that operate in the Swiss social sector.<\/p>\n<p>Back when I joined the team, we were just getting started with a greenfield\nSilverlight (RIP) rewrite of the company&rsquo;s core product, which sparked my love\nfor .NET and set me on the path of a self-taught .NET developer I still follow\ntoday.<\/p>"}]}}