<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Tutorial on PAUL&apos;S BLOG</title>
  <link>https://paulyu.dev/article/</link>
  <description>Recent content on Tutorial on PAUL&apos;S BLOG</description>
  <language>en-us</language>
  <lastBuildDate>Fri, 06 Nov 2026 13:00:00 GMT</lastBuildDate>
  <atom:link href="https://paulyu.dev/categories/tutorial/index.xml" rel="self" type="application/rss+xml" />
  <item>
  <title>Backstage with Azure: Deploy to AKS with Helm and GitHub Copilot</title>
  <link>https://paulyu.dev/deploy-backstage-to-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/deploy-backstage-to-aks/</guid>
  <pubDate>Fri, 06 Nov 2026 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;In the &lt;a href=&quot;https://paulyu.dev/backstage-microsoft-entra-id-authentication/&quot;&gt;first part of this series&lt;/a&gt;, we scaffolded a Backstage app, wired up Microsoft Entra ID sign-in, and imported users and groups with Microsoft Graph. That all ran locally. In this post, we&apos;ll deploy that same app to Azure Kubernetes Service (AKS) behind HTTPS with a real hostname, installed from a Helm chart.&lt;/p&gt;
&lt;p&gt;Sounds like a lot, but that&apos;s what AI is for, right? 😅&lt;/p&gt;
&lt;p&gt;Here&apos;s the plan:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create an AKS Automatic cluster with a free managed domain.&lt;/li&gt;
&lt;li&gt;Point the Entra app registration at the new hostname.&lt;/li&gt;
&lt;li&gt;Have GitHub Copilot write the Dockerfile and Helm chart.&lt;/li&gt;
&lt;li&gt;Deploy Backstage and sign in.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When we&apos;re done, a request to &lt;code&gt;https://backstage.&amp;#x3C;your-default-domain&gt;&lt;/code&gt; resolves through DNS records that AKS manages. It lands on a Gateway run by the managed Istio, which terminates TLS with a wildcard certificate AKS issues and routes the request to the Backstage pod. Backstage keeps its catalog in an in-cluster PostgreSQL and talks to Entra ID for sign-in and the Microsoft Graph import, just like it did locally.&lt;/p&gt;</description>
</item>
<item>
  <title>Backstage with Azure: Microsoft Entra ID Authentication</title>
  <link>https://paulyu.dev/backstage-microsoft-entra-id-authentication/</link>
  <guid isPermaLink="true">https://paulyu.dev/backstage-microsoft-entra-id-authentication/</guid>
  <pubDate>Fri, 09 Oct 2026 20:06:11 GMT</pubDate>
  <description>&lt;p&gt;&lt;a href=&quot;https://backstage.io/docs/overview/what-is-backstage/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Backstage&lt;/a&gt; is an open-source framework built by Spotify and donated to the Cloud Native Computing Foundation (CNCF) for building developer portals. It gives you a place to bring together your software catalog, documentation, and developer tools.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://backstage.io/docs/getting-started/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Backstage provides a CLI&lt;/a&gt; to scaffold a new app and run it locally. The default guest sign-in and example catalog are useful for taking a look around. But some of you might want to eventually run this within your Azure environment, and that&apos;s what this new &lt;strong&gt;Backstage with Azure&lt;/strong&gt; series is about.&lt;/p&gt;</description>
</item>
<item>
  <title>Cloud Native Platform Engineer (CNPE) Exam Study Guide</title>
  <link>https://paulyu.dev/article/cnpe-study-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/cnpe-study-guide/</guid>
  <pubDate>Wed, 13 May 2026 12:00:00 GMT</pubDate>
  <description>&lt;p&gt;A few weeks ago, I took and passed the &lt;a href=&quot;https://training.linuxfoundation.org/certification/certified-cloud-native-platform-engineer-cnpe/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Cloud Native Platform Engineer (CNPE) exam&lt;/a&gt; and earned this &lt;a href=&quot;https://www.credly.com/badges/55bb23ea-9f90-48e6-b6da-565e982866b7/public_url&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;shiny new badge&lt;/a&gt;. It was the last exam I needed to complete the &lt;a href=&quot;https://training.linuxfoundation.org/resources/kubestronaut-program/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Golden Kubestronaut program&lt;/a&gt; which essentially means you are crazy enough to sit through all 16 CNCF certification exams 😅 Kidding aside, the CNPE exam is a comprehensive and great way to test your knowledge and skills in platform engineering and tests your ability to operate some of the most popular platform engineering tools within the CNCF ecosystem. No easy feat.&lt;/p&gt;</description>
</item>
<item>
  <title>Installing VMware Workstation Pro 25H2 on Ubuntu Desktop</title>
  <link>https://paulyu.dev/article/installing-vmware-25h2-on-ubuntu-desktop/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/installing-vmware-25h2-on-ubuntu-desktop/</guid>
  <pubDate>Mon, 20 Apr 2026 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Last year, I wrote a guide on how to install &lt;a href=&quot;https://paulyu.dev/article/installing-vmware-on-ubuntu-desktop/&quot;&gt;VMware Workstation Pro on Ubuntu Desktop&lt;/a&gt;. Since then, I&apos;ve learned there&apos;s an easier way to manually install and sign the vmmon and vmnet modules when attempting to run VMware Workstation Pro on a UEFI-based system with secure boot enabled. No more custom building of the modules required! The modules can be installed using VMware&apos;s installer, and you just need to manually sign them. Let&apos;s go through this process step by step.&lt;/p&gt;</description>
</item>
<item>
  <title>Study Guide: Kubernetes and Cloud Native Associate (KCNA)</title>
  <link>https://paulyu.dev/article/kcna-study-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/kcna-study-guide/</guid>
  <pubDate>Fri, 19 Dec 2025 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;My KCNA certification is up for renewal, and as I&apos;m preparing to retake the exam, it dawned on me that I wrote up a study guide for it never actually published it. Doh! 🫣&lt;/p&gt;
&lt;p&gt;So here it is 🤗&lt;/p&gt;
&lt;p&gt;The KCNA is a great entry point for anyone looking to validate their foundational knowledge of Kubernetes and the cloud native ecosystem. I thought it would be helpful to document my study notes and share them with others who are also preparing for the exam.&lt;/p&gt;</description>
</item>
<item>
  <title>Local LLMs: Running Ollama and Open WebUI in Docker on Ubuntu</title>
  <link>https://paulyu.dev/article/ollama-and-openwebui-containers/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/ollama-and-openwebui-containers/</guid>
  <pubDate>Wed, 08 Oct 2025 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;&lt;a href=&quot;https://docs.ollama.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Ollama&lt;/a&gt; is a popular tool for running large language models (LLMs) locally on your machine. It provides a simple interface to interact with various models without needing an internet connection. &lt;a href=&quot;https://docs.openwebui.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Open WebUI&lt;/a&gt; is a web-based user interface that allows you to interact with LLMs through a browser.&lt;/p&gt;
&lt;p&gt;I am working on an Ubuntu 24.04.3 LTS Desktop machine with decent hardware to run models locally, so my preference is to run Ollama as a local service rather than confining it to a container. This way, Ollama can take full advantage of my machine&apos;s capabilities, especially the GPU.&lt;/p&gt;</description>
</item>
<item>
  <title>Build a Weather MCP Server with Rust: Complete Tutorial for AI Integration</title>
  <link>https://paulyu.dev/article/rust-mcp-server-weather-tutorial/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/rust-mcp-server-weather-tutorial/</guid>
  <pubDate>Tue, 10 Jun 2025 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Building AI tools that can access real-time data requires bridging the gap between language models and external APIs. The Model Context Protocol (MCP) makes this possible by providing a standard way for AI assistants to interact with data sources.&lt;/p&gt;
&lt;p&gt;In this tutorial, we&apos;ll build a weather MCP server using Rust that connects to the National Weather Service API, giving any MCP-compatible AI assistant the ability to fetch live weather alerts and forecasts.&lt;/p&gt;</description>
</item>
<item>
  <title>Deploying AKS Automatic clusters with Pulumi: A step-by-step guide</title>
  <link>https://paulyu.dev/article/deploying-aks-automatic-with-pulumi/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/deploying-aks-automatic-with-pulumi/</guid>
  <pubDate>Mon, 10 Mar 2025 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Yo! Let&apos;s build an AKS Automatic cluster with Pulumi 🚀&lt;/p&gt;
&lt;p&gt;If you don&apos;t already know, &lt;a href=&quot;https://www.pulumi.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Pulumi&lt;/a&gt; is a modern Infrastructure as Code (IaC) tool that allows you to use your favorite programming language to deploy and manage cloud resources. I like it because I can use &lt;a href=&quot;https://go.dev/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Go&lt;/a&gt; and the &lt;a href=&quot;https://www.pulumi.com/docs/iac/languages-sdks/go/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Pulumi Go SDK&lt;/a&gt; to write my infrastructure code. There are other languages supported like Python, TypeScript, .NET, and more so be sure to check out their &lt;a href=&quot;https://www.pulumi.com/docs/iac/languages-sdks/#pulumi-languages-sdks&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;docs&lt;/a&gt; for more information.&lt;/p&gt;</description>
</item>
<item>
  <title>Installing VMWare Workstation Pro on Ubuntu Desktop</title>
  <link>https://paulyu.dev/article/installing-vmware-on-ubuntu-desktop/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/installing-vmware-on-ubuntu-desktop/</guid>
  <pubDate>Mon, 03 Mar 2025 13:00:00 GMT</pubDate>
  <description>&lt;blockquote&gt;
&lt;p&gt;This article has been updated. See the latest version here: &lt;a href=&quot;https://paulyu.dev/article/installing-vmware-25h2-on-ubuntu-desktop/&quot;&gt;Installing VMware 25H2 on Ubuntu Desktop&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is a guide that will walk you through the steps to install VMware Workstation Pro on Ubuntu Desktop. I am currently using Ubuntu 24.10 with version 6.11.x of the Linux kernel on a UEFI-based system with secure boot enabled. This guide is based on my experience with this setup and may not apply to all systems.&lt;/p&gt;</description>
</item>
<item>
  <title>Certified Argo Project Associate (CAPA) Exam Study Guide</title>
  <link>https://paulyu.dev/article/capa-study-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/capa-study-guide/</guid>
  <pubDate>Thu, 06 Feb 2025 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;I recently passed the &lt;a href=&quot;https://training.linuxfoundation.org/certification/certified-argo-project-associate-capa/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Certified Argo Project Associate (CAPA)&lt;/a&gt; exam and wanted to share a study guide to help you prepare for the exam. If you are not already aware, the &lt;a href=&quot;https://www.cncf.io/training/certification/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Cloud Native Computing Foundation (CNCF)&lt;/a&gt; offers a suite of certifications that validate your knowledge and expertise in cloud-native technologies, with &lt;a href=&quot;https://argoproj.github.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Argo&lt;/a&gt; being one of them.&lt;/p&gt;
&lt;p&gt;The CAPA exam is designed for beginners who are new to Argo and its suite of tools which includes Argo Workflows, Argo CD, Argo Rollouts, and Argo Events.&lt;/p&gt;</description>
</item>
<item>
  <title>Installing Kubernetes 1.30</title>
  <link>https://paulyu.dev/article/installing-kubernetes/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/installing-kubernetes/</guid>
  <pubDate>Fri, 09 Aug 2024 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;kubernetes-on-your-laptop-3-part-series&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/installing-kubernetes/#kubernetes-on-your-laptop-3-part-series&quot;&gt;Kubernetes on your Laptop (3 part series)&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-vmware-fusion/&quot;&gt;Installing VMware Fusion&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-ubuntu-server/&quot;&gt;Installing Ubuntu Server 22.04&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-kubernetes/&quot;&gt;Installing Kubernetes 1.30&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;This is the third and final post in my &quot;Kubernetes on your Laptop&quot; series. In this post, I will show you how to install Kubernetes on Ubuntu server. If you haven&apos;t read the previous posts, I recommend you go back and ensure you have an Ubuntu server running on your laptop before proceeding.&lt;/p&gt;</description>
</item>
<item>
  <title>Installing Ubuntu Server 22.04</title>
  <link>https://paulyu.dev/article/installing-ubuntu-server/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/installing-ubuntu-server/</guid>
  <pubDate>Thu, 08 Aug 2024 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;kubernetes-on-your-laptop-3-part-series&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/installing-ubuntu-server/#kubernetes-on-your-laptop-3-part-series&quot;&gt;Kubernetes on your Laptop (3 part series)&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-vmware-fusion/&quot;&gt;Installing VMware Fusion&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-ubuntu-server/&quot;&gt;Installing Ubuntu Server 22.04&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-kubernetes/&quot;&gt;Installing Kubernetes 1.30&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;This is the second post in my &quot;Kubernetes on your Laptop&quot; series. In this post, I&apos;ll show you how to install Ubuntu Server on a virtual machine using VMware Fusion. If you need help installing VMware Fusion, check out my previous post.&lt;/p&gt;
&lt;h2 id=&quot;download-ubuntu-server-image&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/installing-ubuntu-server/#download-ubuntu-server-image&quot;&gt;Download Ubuntu Server Image&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;First thing we need to do is download the Ubuntu Server image based on your machine&apos;s architecture:&lt;/p&gt;</description>
</item>
<item>
  <title>Installing VMware Fusion</title>
  <link>https://paulyu.dev/article/installing-vmware-fusion/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/installing-vmware-fusion/</guid>
  <pubDate>Wed, 07 Aug 2024 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;kubernetes-on-your-laptop-3-part-series&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/installing-vmware-fusion/#kubernetes-on-your-laptop-3-part-series&quot;&gt;Kubernetes on your Laptop (3 part series)&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-vmware-fusion/&quot;&gt;Installing VMware Fusion&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-ubuntu-server/&quot;&gt;Installing Ubuntu Server 22.04&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://paulyu.dev/article/installing-kubernetes/&quot;&gt;Installing Kubernetes 1.30&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I&apos;m preparing to renew my &lt;a href=&quot;https://training.linuxfoundation.org/certification/certified-kubernetes-administrator-cka/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;CKA&lt;/a&gt; and &lt;a href=&quot;https://training.linuxfoundation.org/certification/certified-kubernetes-security-specialist/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;CKS&lt;/a&gt; certifications, and to practice, I&apos;ve decided to set up a local Kubernetes cluster as a lab environment on my laptop to work with control plane components which isn&apos;t be possible in a managed Kubernetes environment like &lt;a href=&quot;https://cloud.google.com/kubernetes-engine&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;GKE&lt;/a&gt;, &lt;a href=&quot;https://aws.amazon.com/eks/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;EKS&lt;/a&gt;, or &lt;a href=&quot;https://learn.microsoft.com/azure/aks/what-is-aks&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;AKS&lt;/a&gt;. There are other local Kubernetes options like &lt;a href=&quot;https://minikube.sigs.k8s.io/docs/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Minikube&lt;/a&gt;, &lt;a href=&quot;https://kind.sigs.k8s.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Kind&lt;/a&gt;, &lt;a href=&quot;https://docs.docker.com/desktop/kubernetes/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Docker Desktop&lt;/a&gt;, or &lt;a href=&quot;https://ranchermanager.docs.rancher.com/integrations-in-rancher/rancher-desktop&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Rancher Desktop&lt;/a&gt; but you may run into some limitations especially as you try to prepare for the CKA and CKS exams. I wanted to have a full-blown Kubernetes cluster running locally without any restrictions.&lt;/p&gt;</description>
</item>
<item>
  <title>Study Guide: Kubernetes Certified Security Associate (KCSA)</title>
  <link>https://paulyu.dev/article/kcsa-study-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/kcsa-study-guide/</guid>
  <pubDate>Tue, 23 Jul 2024 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;I&apos;ve been studying for the Kubernetes Certified Security Associate (KCSA) exam, and I thought it would be helpful to document my study notes and share them with others who are also preparing for the exam.&lt;/p&gt;
&lt;p&gt;This article is a bit long but it will cover everything you need to know to pass the KCSA exam. I&apos;ll be updating this article as I find additional content to share, so make sure to bookmark it and check back often.&lt;/p&gt;</description>
</item>
<item>
  <title>Publishing Helm Charts to GitHub Container Registry</title>
  <link>https://paulyu.dev/article/publishing-helm-charts-to-ghcr/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/publishing-helm-charts-to-ghcr/</guid>
  <pubDate>Mon, 22 Jul 2024 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;So you have a local &lt;a href=&quot;https://helm.sh/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Helm&lt;/a&gt; chart that you want to share with others?&lt;/p&gt;
&lt;p&gt;In this quick tutorial, I&apos;ll walk you through the process of publishing Helm charts to your very own Helm repository using GitHub Container Registry and GitHub Pages using GitHub Actions.&lt;/p&gt;
&lt;p&gt;Before you begin, make sure you have the following prerequisites:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A GitHub account&lt;/li&gt;
&lt;li&gt;A GitHub repository with your Helm chart&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://cli.github.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;GitHub CLI&lt;/a&gt; installed on your local machine&lt;/li&gt;
&lt;li&gt;Bash shell&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;github-pages-setup&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/publishing-helm-charts-to-ghcr/#github-pages-setup&quot;&gt;GitHub Pages Setup&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We will use GitHub Pages to host the Helm repository. So you will need to create a new branch called &lt;strong&gt;gh-pages&lt;/strong&gt;. This branch will contain the Helm chart binaries and a &lt;strong&gt;README.md&lt;/strong&gt; file with instructions on how to use the helm repo and install its charts.&lt;/p&gt;</description>
</item>
<item>
  <title>Publishing Container Images to GitHub Container Registry</title>
  <link>https://paulyu.dev/article/publishing-container-images-to-ghcr/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/publishing-container-images-to-ghcr/</guid>
  <pubDate>Tue, 18 Jun 2024 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Do you have a container image that you want to share with the world? GitHub Container Registry (GHCR) is a great place to store and share your container images. In this tutorial, we&apos;ll show you how to publish container images to GHCR using GitHub Actions.&lt;/p&gt;
&lt;p&gt;Start by creating a new repository on GitHub or cloning an existing one. Then make sure you have a Dockerfile in the root of your repository.&lt;/p&gt;</description>
</item>
<item>
  <title>You Down with PDB?</title>
  <link>https://paulyu.dev/article/you-down-with-pdb/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/you-down-with-pdb/</guid>
  <pubDate>Fri, 22 Mar 2024 13:00:00 GMT</pubDate>
  <description>&lt;blockquote&gt;
&lt;p&gt;P.D.B. how can I explain it&lt;br&gt;
I&apos;ll take you frame by frame it&lt;br&gt;
To have y&apos;all all jumpin&apos;, shoutin&apos;, sayin&apos; it&lt;br&gt;
&lt;strong&gt;P&lt;/strong&gt; is for Pod, &lt;strong&gt;D&lt;/strong&gt; is for Disruption, reboot and watch it ripple&lt;br&gt;
The last &lt;strong&gt;B&lt;/strong&gt;, well, that&apos;s super simple&lt;/p&gt;
&lt;p&gt;~ An ode to Naughty by Nature&apos;s track titled O.P.P. which Microsoft Copilot helped me write 😂&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;overview&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/you-down-with-pdb/#overview&quot;&gt;Overview&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In this post, we&apos;ll take a look at Kubernetes &lt;a href=&quot;https://kubernetes.io/docs/concepts/workloads/pods/disruptions/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Pod Disruption Budgets (PDBs)&lt;/a&gt; and how they can be used to ensure that your applications remain available during planned disruptions.&lt;/p&gt;</description>
</item>
<item>
  <title>Soaring to New Heights with Kaito: The Kubernetes AI Toolchain Operator</title>
  <link>https://paulyu.dev/article/soaring-with-kaito/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/soaring-with-kaito/</guid>
  <pubDate>Wed, 20 Mar 2024 14:00:00 GMT</pubDate>
  <description>&lt;p&gt;Earlier today at KubeCon Europe 2024, &lt;a href=&quot;https://twitter.com/jorgefpalma&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Jorge Palma&lt;/a&gt; of the AKS team gave a &lt;a href=&quot;https://x.com/CloudNativeFdn/status/1770375558607647132?s=20&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;keynote talk on Kaito, the Kubernetes AI Toolchain Operator&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://x.com/CloudNativeFdn/status/1770375558607647132&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;View this post on X&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This tool has been released as an &lt;a href=&quot;https://github.com/Azure/kaito&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;open-source project&lt;/a&gt; a few months back and you may or may not have heard of it.&lt;/p&gt;
&lt;p&gt;So if you don&apos;t know, now you know...&lt;/p&gt;
&lt;p&gt;You&apos;re probably thinking, &quot;but what is it, and what can it do for me?&quot; 🤔&lt;/p&gt;</description>
</item>
<item>
  <title>Strengthening the Secure Supply Chain</title>
  <link>https://paulyu.dev/article/strengthening-the-secure-supply-chain/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/strengthening-the-secure-supply-chain/</guid>
  <pubDate>Sun, 17 Mar 2024 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;This post will walk you through a demo I presented at the &lt;a href=&quot;https://www.socallinuxexpo.org/scale/21x&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;SCaLE21X&lt;/a&gt; conference. The session is titled, &lt;a href=&quot;https://www.socallinuxexpo.org/scale/21x/presentations/strengthening-secure-supply-chain-project-copacetic-eraser-and-fluxcd&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Strengthening the Secure Supply Chain with Project Copacetic, Eraser, and FluxCD&lt;/a&gt; and this step-by-step guide will enable you do it on your own.&lt;/p&gt;
&lt;h2 id=&quot;prerequisites&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/strengthening-the-secure-supply-chain/#prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;To begin, you will need to have the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.docker.com/get-started/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Docker Desktop&lt;/a&gt; to run a Kubernetes cluster locally&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://git-scm.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Git&lt;/a&gt; to clone the demo repository&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/signup&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;GitHub account&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We will also be using the following tools:&lt;/p&gt;</description>
</item>
<item>
  <title>Bootstrap your GitOps-enabled AKS cluster with Terraform: A code sample using the Flux v2 K8s Extension</title>
  <link>https://paulyu.dev/article/bootstrap-gitops-with-aks-extension-using-terraform/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/bootstrap-gitops-with-aks-extension-using-terraform/</guid>
  <pubDate>Thu, 28 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;In my previous posts, we learned how to &lt;a href=&quot;https://aka.ms/cloudnative/GitGoingWithGitOps&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;get started with GitOps on AKS&lt;/a&gt; using the K8s extension for AKS.&lt;/p&gt;
&lt;p&gt;Then, we took a look at the Flux CLI and explored how it can be used to bootstrap your cluster and generate FluxCD manifests so that we can use GitOps to implement GitOps 🤯, and implemented Flux&apos;s &lt;a href=&quot;https://aka.ms/cloudnative/ImageAutomationWithFluxCD&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;image update automation&lt;/a&gt; capability.&lt;/p&gt;
&lt;p&gt;From there, we built on the concept of image update automation, and showed you how you can use Flagger to &lt;a href=&quot;https://aka.ms/cloudNative/ProgressiveDeliveryWithFlagger&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;automate canary deployments&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
  <title>Progressive Delivery on AKS: A Step-by-Step Guide using Flagger with Istio and FluxCD</title>
  <link>https://paulyu.dev/article/more-gitops-with-fluxcd-and-flagger-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/more-gitops-with-fluxcd-and-flagger-on-aks/</guid>
  <pubDate>Tue, 26 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;In my previous &lt;a href=&quot;https://aka.ms/cloudnative/ImageAutomationWithFluxCD&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;post&lt;/a&gt;, we setup an Azure Kubernetes Service (AKS) cluster to automatically update images based on new image tags in a container registry. As soon as a new image was pushed to the registry the image was immediately updated.&lt;/p&gt;
&lt;p&gt;But what if you don&apos;t want an agent automatically pushing out new images without some sort of testing? 🤔&lt;/p&gt;
&lt;p&gt;In this article, we&apos;ll build upon Flux&apos;s image update automation capability and add &lt;a href=&quot;https://flagger.app/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Flagger&lt;/a&gt; to implement a &lt;a href=&quot;https://docs.flagger.app/usage/deployment-strategies#canary-release&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;canary release strategy&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
  <title>Automating Image Updates with FluxCD on AKS</title>
  <link>https://paulyu.dev/article/automating-image-updates-with-fluxcd-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/automating-image-updates-with-fluxcd-on-aks/</guid>
  <pubDate>Fri, 22 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;In my previous &lt;a href=&quot;https://aka.ms/cloudnative/GitGoingWithGitOps&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;post&lt;/a&gt;, we walked through the setup of FluxCD on AKS via AKS extensions. In this article, we&apos;ll go a bit deeper and take a look at how you can use FluxCD to automate image updates in your AKS cluster.&lt;/p&gt;
&lt;p&gt;The goal here is to streamline the process of updating your application deployments in your cluster.&lt;/p&gt;
&lt;p&gt;Here is our intended workflow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Modify application code, then commit and push the change to the repo.&lt;/li&gt;
&lt;li&gt;Create a new release in GitHub which kicks off a release workflow to build and push an updated container image to a GitHub Container Registry.&lt;/li&gt;
&lt;li&gt;FluxCD detects the new image and updates the image tag in the cluster.&lt;/li&gt;
&lt;li&gt;FluxCD rolls out the new image to the cluster.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We&apos;ll use same AKS store demo app we used in the previous post, but this time we&apos;ll go a bit faster.&lt;/p&gt;</description>
</item>
<item>
  <title>Git going with GitOps on AKS: A Step-by-Step Guide using FluxCD AKS Extension</title>
  <link>https://paulyu.dev/article/git-going-with-gitops-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/git-going-with-gitops-on-aks/</guid>
  <pubDate>Wed, 20 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;In reading through &lt;a href=&quot;https://dev.to/smurawski&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;@StevenMurawski&lt;/a&gt;&apos;s blog post titled, &lt;a href=&quot;https://aka.ms/cloudnative/WhatReallyIsGitOps&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;What Really is GitOps?&lt;/a&gt; we learned that GitOps is a way to do &lt;a href=&quot;https://learn.microsoft.com/devops/deliver/what-is-continuous-delivery&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Continuous Delivery&lt;/a&gt; of our applications on Kubernetes.&lt;/p&gt;
&lt;p&gt;In this post, I will jump right into how you can &quot;git&quot; going with GitOps by enabling the &lt;a href=&quot;https://learn.microsoft.com/azure/azure-arc/kubernetes/conceptual-gitops-flux2&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;FluxCD AKS Extension&lt;/a&gt; on your Azure Kubernetes Service (AKS) and using a tool called &lt;a href=&quot;https://kustomize.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Kustomize&lt;/a&gt; to help with Kubernetes configuration management.&lt;/p&gt;
&lt;p&gt;We&apos;ll deploy my new favorite demo app, &lt;a href=&quot;https://github.com/Azure-Samples/aks-store-demo&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;AKS Store Demo&lt;/a&gt; to our AKS cluster and then make some changes to the application and see how FluxCD handles them.&lt;/p&gt;</description>
</item>
<item>
  <title>Pushing Multi-Architecture Container Images</title>
  <link>https://paulyu.dev/article/pushing-multi-arch-container-images-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/pushing-multi-arch-container-images-guide/</guid>
  <pubDate>Thu, 07 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;introduction&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/pushing-multi-arch-container-images-guide/#introduction&quot;&gt;Introduction&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;My previous article, &lt;a href=&quot;https://paulyu.dev/article/building-and-deploying-multi-arch-container-images-guide/&quot;&gt;Building Multi-Architecture Container Images&lt;/a&gt;, covered the basics of building multi-architecture container images using Docker Buildx. In this article, we&apos;ll explore how to push multi-architecture container images to Azure Container Registry (ACR) using GitHub Actions.&lt;/p&gt;
&lt;h2 id=&quot;what-is-a-github-action&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/pushing-multi-arch-container-images-guide/#what-is-a-github-action&quot;&gt;What is a GitHub Action?&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;GitHub Actions is a continuous integration and continuous deployment (CI/CD) platform built into GitHub. It allows you to automate, customize, and execute your software development workflows. Using GitHub Actions, you can create workflows that respond to GitHub events, such as push, issue creation, or a new release.&lt;/p&gt;</description>
</item>
<item>
  <title>Building Multi-Architecture Container Images</title>
  <link>https://paulyu.dev/article/building-and-deploying-multi-arch-container-images-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/building-and-deploying-multi-arch-container-images-guide/</guid>
  <pubDate>Tue, 05 Sep 2023 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;introduction&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/building-and-deploying-multi-arch-container-images-guide/#introduction&quot;&gt;Introduction&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Over the past several years, we&apos;ve seen the emergence of the &lt;strong&gt;ARM64&lt;/strong&gt; architecture, which is gaining popularity due to its energy efficiency and performance benefits. We often seen these processors in mobile devices, such as smartphones and tablets. We also seen them in our IoT devices, such as smartwatches and smart TVs. Now, we are starting to see increased adoption of &lt;strong&gt;ARM64&lt;/strong&gt; processors in servers and personal computers.&lt;/p&gt;
&lt;p&gt;This emergence of the &lt;strong&gt;ARM64&lt;/strong&gt; architecture, means that we now have two major processor architectures to consider when building and deploying our containerized applications in order to maximize our application&apos;s reach.&lt;/p&gt;</description>
</item>
<item>
  <title>Does Workload Identity on AKS work across tenants?</title>
  <link>https://paulyu.dev/article/cross-tenant-workload-identity-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/cross-tenant-workload-identity-on-aks/</guid>
  <pubDate>Fri, 25 Aug 2023 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;introduction&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/cross-tenant-workload-identity-on-aks/#introduction&quot;&gt;Introduction&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;An interesting use case for Workload Identity came up recently. I was asked if a Pod in an AKS cluster that was deployed in one tenant can access Azure resources within another tenant.&lt;/p&gt;
&lt;p&gt;I&apos;ve configured Workload Identity on AKS many times, and I thought &quot;in theory&quot; it should &quot;just work&quot;, but I never tested it across tenants. So I decided to give it a try.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TL;DR: Yes, it does work.&lt;/strong&gt;&lt;/p&gt;</description>
</item>
<item>
  <title>Streamline Network Observability on AKS: A Step-by-Step Guide to enable the AKS add-on with Terraform</title>
  <link>https://paulyu.dev/article/streamline-network-observability-aks-addon-terraform-guide/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/streamline-network-observability-aks-addon-terraform-guide/</guid>
  <pubDate>Mon, 10 Jul 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Have you ever had to troubleshoot network issues in your Kubernetes clusters? If so, you know how challenging it can be to identify and resolve problems.&lt;/p&gt;
&lt;p&gt;To troubleshoot network issues you probably had to use a combination of tools like &lt;code&gt;kubectl&lt;/code&gt;, &lt;code&gt;tcpdump&lt;/code&gt;, &lt;code&gt;wireshark&lt;/code&gt;, and &lt;code&gt;netstat&lt;/code&gt;. The list goes on and on... While these tools are great for debugging and capturing network logs and traces, they don&apos;t provide a holistic view of your cluster&apos;s network traffic.&lt;/p&gt;</description>
</item>
<item>
  <title>Efficient Configuration Management in AKS: Integrating Azure App Configuration for Seamless Loading of Key-Value Pairs into Config Maps</title>
  <link>https://paulyu.dev/article/efficient-configuration-management-aks-integrating-azure-app-configuration/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/efficient-configuration-management-aks-integrating-azure-app-configuration/</guid>
  <pubDate>Tue, 13 Jun 2023 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;Did you know that &lt;a href=&quot;https://learn.microsoft.com/azure/azure-app-configuration/overview&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure App Configuration Service&lt;/a&gt; is a managed service that helps you centralize your application configuration? It provides a way to store all your app configs in one place and manage them centrally. It also provides a way to manage feature flags and control feature rollouts. I highlighted the feature management capabilities in a breakout session the &lt;a href=&quot;https://build.microsoft.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Microsoft Build&lt;/a&gt; conference a few weeks ago. If you have not watched the session yet, you can find the recording &lt;a href=&quot;https://youtu.be/LhJODembils&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
  <title>Effortlessly Deploy to Azure Kubernetes with Open Source Tools Draft and Acorn</title>
  <link>https://paulyu.dev/article/app-to-aks-with-draft-and-acorn/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/app-to-aks-with-draft-and-acorn/</guid>
  <pubDate>Tue, 03 Jan 2023 19:11:01 GMT</pubDate>
  <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;
On March 15, 2024 Acorn Labs &lt;a href=&quot;https://www.acorn.io/resources/blog/our-new-focus-developing-an-llm-app-platform-based-on-gpt-script-technology?fromOther=true&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;announced&lt;/a&gt; that they will be shifting focus to developing an LLM app platform based on GPT-Script technology and has archived the Acorn &lt;a href=&quot;https://github.com/acorn-io/runtime&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Runtime&lt;/a&gt; project.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In this post, I&apos;ll walk you through deploying a web application to &lt;a href=&quot;https://learn.microsoft.com/azure/aks&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Kubernetes Service (AKS)&lt;/a&gt; without having to write any Docker or Kubernetes manifest files.&lt;/p&gt;
&lt;p&gt;Using open-source command-line tools &lt;a href=&quot;https://github.com/Azure/draft&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Draft&lt;/a&gt; and &lt;a href=&quot;https://docs.acorn.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Acorn&lt;/a&gt;, we&apos;ll containerize and deploy to AKS in just a few steps! Let&apos;s go 🚀&lt;/p&gt;</description>
</item>
<item>
  <title>Service Mesh Considerations</title>
  <link>https://paulyu.dev/article/service-mesh-considerations/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/service-mesh-considerations/</guid>
  <pubDate>Wed, 14 Dec 2022 14:00:00 GMT</pubDate>
  <description>&lt;p&gt;&quot;Build microservices&quot;, they said... &quot;it&apos;ll be fun&quot;, they said...&lt;/p&gt;
&lt;p&gt;There are many reasons why you would want to deploy a solution based on the &lt;a href=&quot;https://microservices.io/patterns/microservices.html&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;microservices architectural pattern&lt;/a&gt;, but it comes at a cost. More microservices means more deployments to manage, more microservices to connect, more microservices to secure... yeah, it gets complex real quick.&lt;/p&gt;
&lt;p&gt;If you&apos;re just getting started with microservices or have a small number of microservices deployed, you may have heard of the term &quot;service mesh&quot;, but not needed one yet.&lt;/p&gt;</description>
</item>
<item>
  <title>Re-visiting Dev Container Features</title>
  <link>https://paulyu.dev/article/revisiting-devcontainer-features/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/revisiting-devcontainer-features/</guid>
  <pubDate>Fri, 02 Dec 2022 15:00:10 GMT</pubDate>
  <description>&lt;p&gt;A few months ago I wrote a post that described how you can &lt;a href=&quot;https://github.com/microsoft/dev-container-features-template&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;add custom features to your Dev Containers&lt;/a&gt;. That didn&apos;t age very well 😅&lt;/p&gt;
&lt;p&gt;But good news is that there is a better way to add or extend functionality for your Dev Containers. 🥳&lt;/p&gt;
&lt;p&gt;Since my original post, &lt;a href=&quot;https://twitter.com/BrigitMurtaugh&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;@BrigitMurtaugh&lt;/a&gt; published a post on the VS Code blog announcing new repos, the &lt;a href=&quot;https://containers.dev/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;open dev container specification&lt;/a&gt; and discussed a new way of adding features. If you haven&apos;t read the post, go check it out &lt;a href=&quot;https://code.visualstudio.com/blogs/2022/09/15/dev-container-features&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
  <title>Web Application Routing on AKS</title>
  <link>https://paulyu.dev/article/managed-ingress-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/managed-ingress-on-aks/</guid>
  <pubDate>Wed, 16 Nov 2022 14:00:00 GMT</pubDate>
  <description>&lt;p&gt;Exposing your web applications on &lt;a href=&quot;https://learn.microsoft.com/azure/aks/intro-kubernetes&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Kubernetes Service (AKS)&lt;/a&gt; has gotten a little bit easier. In this post, I will cover the new &lt;a href=&quot;https://learn.microsoft.com/azure/aks/web-app-routing?tabs=with-osm&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Web Application Routing&lt;/a&gt; feature for AKS and discuss reasons why you may want to implement it within your cluster.&lt;/p&gt;
&lt;h2 id=&quot;exposing-your-app&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/managed-ingress-on-aks/#exposing-your-app&quot;&gt;Exposing your app&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;You have a lot of options when it comes to exposing your application &lt;strong&gt;Pods&lt;/strong&gt; to the world. If you&apos;re using a managed-Kubernetes service in the cloud, you could deploy a &lt;a href=&quot;https://kubernetes.io/docs/concepts/services-networking/service/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Service&lt;/a&gt; and set the type to &lt;a href=&quot;https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;LoadBalancer&lt;/a&gt; and your cloud provider will provision one with a public IP. The &lt;strong&gt;Service&lt;/strong&gt; sits in front of your &lt;strong&gt;Pods&lt;/strong&gt; and if all you need is a public IP, you&apos;re good to go.&lt;/p&gt;</description>
</item>
<item>
  <title>Fixing a NodeJS Digital Envelope Routines Error</title>
  <link>https://paulyu.dev/article/fixing-node-digital-envelope-routines-error/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/fixing-node-digital-envelope-routines-error/</guid>
  <pubDate>Wed, 09 Nov 2022 03:55:21 GMT</pubDate>
  <description>&lt;p&gt;In my journey to learn Rust, I&apos;ve decided to pick up this book called &lt;a href=&quot;https://www.amazon.com/Practical-Rust-Web-Projects-Applications/dp/1484265882&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;&quot;Practical Rust Web Projects&quot; by Shing Lyu&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the last chapter, you walk through an example of packaging a WebAssembly module using &lt;code&gt;wasm-pack&lt;/code&gt; and using the .wasm binary in a NodeJS application. On the step where I needed to compile the application, I ran into the following error:&lt;/p&gt;
&lt;figure data-rehype-pretty-code-figure=&quot;&quot;&gt;&lt;pre style=&quot;background-color:#0d1117;color:#e6edf3&quot; tabindex=&quot;0&quot; data-language=&quot;bash&quot; data-theme=&quot;github-dark-default&quot;&gt;&lt;code data-language=&quot;bash&quot; data-theme=&quot;github-dark-default&quot; style=&quot;display: grid;&quot;&gt;&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; npm&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; run&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; build&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt; &lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FF7B72&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; create-wasm-app@0.1.0 build&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FF7B72&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; webpack --config webpack.config.js&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt; &lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;node:internal/crypto/hash:71&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;  this[kHandle]&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; new&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; _Hash&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;algorithm,&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; xofLen&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt;);&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;                  ^&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt; &lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;Error:&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; error:0308010C:digital&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; envelope&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; routines::unsupported&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; new&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; Hash&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (node:internal/crypto/hash:71:19)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; Object.createHash&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (node:crypto:133:10)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; module.exports&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/webpack/lib/util/createHash.js:135:53)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; NormalModule._initBuildHash&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/webpack/lib/NormalModule.js:417:16)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; handleParseError&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/webpack/lib/NormalModule.js:471:10)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; /Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/webpack/lib/NormalModule.js:503:5&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; /Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/webpack/lib/NormalModule.js:358:12&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; /Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/loader-runner/lib/LoaderRunner.js:373:3&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; iterateNormalLoaders&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/loader-runner/lib/LoaderRunner.js:214:10)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; Array.&lt;/span&gt;&lt;span style=&quot;color:#FF7B72&quot;&gt;&amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt;anonymou&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color:#FF7B72&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/loader-runner/lib/LoaderRunner.js:205:4)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; Storage.finished&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (/Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; /Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; /Users/paul/repos/Apress/practical-rust-web-projects/Ch06/hello-wasm/client/node_modules/graceful-fs/graceful-fs.js:78:16&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;    at&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; FSReqCallback.readFileAfterClose&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; [as &lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt;oncomplete]&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; (node:internal/fs/read_file_context:68:3) {&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;  opensslErrorStack:&lt;/span&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt; [ &lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt;&apos;error:03000086:digital envelope routines::initialization error&apos;&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; ],&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;  library:&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; &apos;digital envelope routines&apos;,&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;  reason:&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; &apos;unsupported&apos;,&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;  code:&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; &apos;ERR_OSSL_EVP_UNSUPPORTED&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#E6EDF3&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt; &lt;/span&gt;
&lt;span data-line=&quot;&quot;&gt;&lt;span style=&quot;color:#FFA657&quot;&gt;Node.js&lt;/span&gt;&lt;span style=&quot;color:#A5D6FF&quot;&gt; v18.7.0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
&lt;p&gt;After a bit of Googling, I ran across someone suggesting to run the following command:&lt;/p&gt;</description>
</item>
<item>
  <title>Deploying ARM64 workloads to AKS</title>
  <link>https://paulyu.dev/article/arm64-on-aks/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/arm64-on-aks/</guid>
  <pubDate>Wed, 02 Nov 2022 14:00:00 GMT</pubDate>
  <description>&lt;p&gt;You might have heard by now that &lt;a href=&quot;https://azure.microsoft.com/blog/azure-virtual-machines-with-ampere-altra-arm-based-processors-generally-available/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure has partnered with Ampere&lt;/a&gt; to bring ARM-based processors for virtual machines on Azure. This is super exciting as it gives you an opportunity to deploy workloads on highly performant and power efficient virtual machines and these characteristics ultimately result in excellent price-performance (lower costs 🥳)&lt;/p&gt;
&lt;p&gt;So... are you ready to deploy your workloads to ARM64 node pools on AKS? I sure wasn&apos;t when attempting to deploy the &lt;a href=&quot;https://github.com/Azure-Samples/azure-voting-app-redis&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;azure-voting-app-redis&lt;/a&gt; application to my cluster.&lt;/p&gt;</description>
</item>
<item>
  <title>Sharing Bicep Modules with Azure Container Registry</title>
  <link>https://paulyu.dev/article/sharing-bicep-modules-with-azure-container-registry/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/sharing-bicep-modules-with-azure-container-registry/</guid>
  <pubDate>Tue, 11 Oct 2022 14:00:00 GMT</pubDate>
  <description>&lt;p&gt;One of the things I do as a Cloud Native Advocate at Microsoft is build end-to-end lab scenarios in the &lt;a href=&quot;https://aka.ms/oss-labs&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;https://aka.ms/oss-labs&lt;/a&gt; repo. Most of the demo scenarios we aim to cover is in and around the container space and a majority of the labs uses &lt;a href=&quot;https://learn.microsoft.com/azure/azure-resource-manager/bicep/overview?tabs=bicep&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Bicep&lt;/a&gt; to declaratively provision Azure infrastructure. As more labs get spun up, there is a potential for redundant Bicep code. You might have already guessed, there&apos;s a need for re-usable code to spin up AKS clusters.&lt;/p&gt;</description>
</item>
<item>
  <title>Autoscaling Azure Container Apps</title>
  <link>https://paulyu.dev/article/azure-container-apps-autoscaling/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/azure-container-apps-autoscaling/</guid>
  <pubDate>Sun, 11 Sep 2022 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;so-what-makes-azure-container-apps-serverless&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/azure-container-apps-autoscaling/#so-what-makes-azure-container-apps-serverless&quot;&gt;So, what makes Azure Container Apps &quot;serverless&quot;?&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Today we are going to focus on what makes Azure Container Apps (ACA) a &quot;serverless&quot; offering. But what does the term &quot;&lt;em&gt;serverless&lt;/em&gt;&quot; really mean? As much as we&apos;d like to think there aren&apos;t any servers involved, that is certainly not the case. In general, &quot;serverless&quot; means that most (if not all) server maintenance has been abstracted away from you.&lt;/p&gt;
&lt;p&gt;With serverless, you don&apos;t spend any time managing and patching servers. This concern is offloaded to Azure and you simply focus on adding business value through application delivery. In addition to operational efficiency, cost efficiency can be achieved with serverless on-demand pricing models. Your workload horizontally scales out based on need and you only pay for what you use. To me, this is &lt;strong&gt;serverless&lt;/strong&gt;, and my teammate &lt;a href=&quot;https://github.com/smurawski&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;@StevenMurawski&lt;/a&gt; said it best... &quot;&lt;em&gt;being able to &lt;strong&gt;scale to zero&lt;/strong&gt; is what gives ACA it&apos;s serverless magic&lt;/em&gt;.&quot;&lt;/p&gt;</description>
</item>
<item>
  <title>Microservices Communications with Azure Container Apps</title>
  <link>https://paulyu.dev/article/azure-container-apps-microservices-communication/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/azure-container-apps-microservices-communication/</guid>
  <pubDate>Sat, 10 Sep 2022 13:00:00 GMT</pubDate>
  <description>&lt;h2 id=&quot;introduction&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/azure-container-apps-microservices-communication/#introduction&quot;&gt;Introduction&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In yesterday&apos;s &lt;a href=&quot;https://azure.github.io/Cloud-Native/blog/08-containerapps-intro&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;#ServerlessSeptember&lt;/a&gt; post, we learned what the Azure Container Apps (ACA) service is and the problems it aims to solve. It is considered to be a Container-as-a-Service platform since much of the complex implementation details of running a Kubernetes cluster is managed for you.&lt;/p&gt;
&lt;p&gt;Some of the use cases for ACA include event-driven processing jobs and background tasks, but this article will focus on hosting microservices, and how they can communicate with each other within the ACA service. At the end of this article, you will have a solid understanding of how networking and communication is handled and will leave you with a few tutorials to try.&lt;/p&gt;</description>
</item>
<item>
  <title>Monitoring Azure Container Apps With Azure Managed Grafana</title>
  <link>https://paulyu.dev/article/monitoring-azure-container-apps-with-azure-managed-grafana/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/monitoring-azure-container-apps-with-azure-managed-grafana/</guid>
  <pubDate>Fri, 09 Sep 2022 13:00:00 GMT</pubDate>
  <description>&lt;p&gt;The Azure Monitor team has &lt;a href=&quot;https://azure.microsoft.com/blog/elevate-your-visualizations-with-azure-managed-grafana-now-generally-available/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;announced the general availability of the Azure Managed Grafana (AMG) service&lt;/a&gt;. As part of the announcement, they also announced the availability of curated &lt;a href=&quot;https://grafana.com/orgs/azuremonitorteam/dashboards&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Grafana dashboards&lt;/a&gt; for various Azure services including &lt;a href=&quot;https://grafana.com/grafana/dashboards/16592-azure-container-apps-container-app-view/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Container Apps&lt;/a&gt; 🎉&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://grafana.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Grafana&lt;/a&gt; is very popular within the Cloud Native community and it seems natural to use it for Azure Container Apps (ACA) observability.&lt;/p&gt;
&lt;p&gt;In this post, I will walk you through provisioning the ACA and AMG resources using the &lt;a href=&quot;https://registry.terraform.io/providers/Azure/azapi/latest/docs&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Terraform AzAPI&lt;/a&gt; provider and show you how easy it is to import the ACA dashboards into your AMG instance.&lt;/p&gt;</description>
</item>
<item>
  <title>Securely connect to your Azure Linux Virtual Machine with Tailscale SSH</title>
  <link>https://paulyu.dev/article/securely-connect-to-you-azure-linux-vm-using-tailscale/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/securely-connect-to-you-azure-linux-vm-using-tailscale/</guid>
  <pubDate>Sat, 13 Aug 2022 00:03:14 GMT</pubDate>
  <description>&lt;p&gt;Being on the Cloud Advocate team at Microsoft, we&apos;re always looking to empower every developer to achieve more on Azure. One way of doing this is by bringing you hands-on content to deliver end-to-end scenarios using cloud-native and open source technologies.&lt;/p&gt;
&lt;p&gt;My colleague on the Cloud Native team, &lt;a href=&quot;https://twitter.com/as_w&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Aaron Wislang&lt;/a&gt; has been cooking up a bunch of labs in our &lt;a href=&quot;https://aka.ms/oss-labs&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Open Source Labs&lt;/a&gt; repo and one area we&apos;ve been collaborating on is within the Azure Linux VM space.&lt;/p&gt;</description>
</item>
<item>
  <title>Exploring .NET WebAssembly with WASI</title>
  <link>https://paulyu.dev/article/exploring-dotnet-wasm-with-wasi/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/exploring-dotnet-wasm-with-wasi/</guid>
  <pubDate>Wed, 10 Aug 2022 03:10:43 GMT</pubDate>
  <description>&lt;h2 id=&quot;overview&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/exploring-dotnet-wasm-with-wasi/#overview&quot;&gt;Overview&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;WebAssembly (Wasm) is something that the Cloud Native Advocacy team has been exploring. It has been around for a few years and has mostly been used within browser-based applications. There are many blog posts on what makes WebAssembly an ideal target for running applications (e.g., smaller footprint with &lt;em&gt;.wasm&lt;/em&gt; files compared to containers, code isolation, and sandboxing). My colleague &lt;a href=&quot;https://twitter.com/StevenMurawski&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Steven Murawski&lt;/a&gt; wrote a blog series on getting started with hosting Wasm apps on an emerging PaaS platform called &lt;a href=&quot;https://github.com/deislabs/hippo&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Hippo&lt;/a&gt; which is developed by folks at &lt;a href=&quot;https://twitter.com/fermyontech&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Fermyon&lt;/a&gt;. In &lt;a href=&quot;https://dev.to/smurawski/getting-started-with-hippo-a-webassembly-paas-part-1-5470&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Part 1&lt;/a&gt; of the series, he introduces topics and define some of the acronyms like &quot;Wagi&quot; and &quot;WASI&quot;. He also introduced a runtime called &lt;a href=&quot;https://wasmtime.dev/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Wasmtime&lt;/a&gt; which implements the WebAssembly System Interface (WASI) standard. This article will walk you through how Steven and I went about getting a .NET console app running as a Wasm app on the Wasmtime runtime in a &lt;a href=&quot;https://code.visualstudio.com/docs/remote/create-dev-container&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Dev Container&lt;/a&gt;. The .NET console app produced in this article has also been contributed as a &lt;code&gt;csharp&lt;/code&gt; template in the &lt;a href=&quot;https://github.com/deislabs/yo-wasm&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;yo-wasm&lt;/a&gt; repo which is also maintained by Fermyon; so you can quickly test it out for yourself later.&lt;/p&gt;</description>
</item>
<item>
  <title>Extending Visual Studio Code Dev Container Features</title>
  <link>https://paulyu.dev/article/extending-vscode-devcontainer-features/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/extending-vscode-devcontainer-features/</guid>
  <pubDate>Wed, 27 Jul 2022 18:32:10 GMT</pubDate>
  <description>&lt;blockquote&gt;
&lt;p&gt;UPDATE: The &lt;a href=&quot;https://github.com/microsoft/dev-container-features-template&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;dev-container-features-template&lt;/a&gt; repo referenced in this post has been archived. Please see my new post &lt;a href=&quot;https://paulyu.dev/article/revisiting-devcontainer-features&quot;&gt;here&lt;/a&gt; or visit &lt;a href=&quot;https://containers.dev/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;containers.dev&lt;/a&gt; for the latest on this topic.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Have you ever wanted to try an Azure CLI extension without having to install the extension yourself on your local machine? VSCode Dev Containers may be a good option.&lt;/p&gt;
&lt;h2 id=&quot;what-is-a-dev-container&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/extending-vscode-devcontainer-features/#what-is-a-dev-container&quot;&gt;What is a Dev Container?&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Visual Studio Code has an extension called &lt;a href=&quot;https://code.visualstudio.com/docs/remote/containers&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Remote - Containers&lt;/a&gt;. This extension lets you use a Docker container as a development environment and is the technology that powers &lt;a href=&quot;https://docs.github.com/en/codespaces/overview&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;GitHub Codespaces&lt;/a&gt;. If you don&apos;t have the option to use Codespaces, the remote container technology also allows you to open build/open the container within your local environment as long as you have &lt;a href=&quot;https://www.docker.com/products/docker-desktop/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Docker Desktop&lt;/a&gt;,or &lt;a href=&quot;https://rancherdesktop.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Rancher Desktop&lt;/a&gt; (with &lt;code&gt;dockerd&lt;/code&gt; as the container runtime since &lt;code&gt;containerd&lt;/code&gt; will not work with remote containers), or &lt;a href=&quot;https://docs.docker.com/engine/install/#server&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Docker Engine&lt;/a&gt; running on your local machine.&lt;/p&gt;</description>
</item>
<item>
  <title>Azure AD B2C logouts and redirection URLs</title>
  <link>https://paulyu.dev/article/azure-ad-b2c-logouts-and-redirection-urls/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/azure-ad-b2c-logouts-and-redirection-urls/</guid>
  <pubDate>Sat, 18 Jun 2022 20:34:22 GMT</pubDate>
  <description>&lt;h2 id=&quot;background&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/azure-ad-b2c-logouts-and-redirection-urls/#background&quot;&gt;Background&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I&apos;ve been helping a client build a customer-facing NodeJS web application which leveraged Azure AD B2C as its identity provider. Things were going well with the development and Azure AD B2C served them really well. It&apos;s cost-effective and gives them all the controls and security features they&apos;ve come to expect with Azure AD (the non-B2C version). As any responsible company, they run penetration tests on the application prior to releasing to production and they identified one item that can pose as a security threat.&lt;/p&gt;</description>
</item>
<item>
  <title>Run Terraform With Azure Pipelines</title>
  <link>https://paulyu.dev/article/run-terraform-with-azure-pipelines/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/run-terraform-with-azure-pipelines/</guid>
  <pubDate>Sat, 26 Feb 2022 00:56:18 GMT</pubDate>
  <description>&lt;p&gt;This repo will walk you through an approach to provisioning Azure resources using Terraform code stored in a Git repo and leverage Azure Pipelines (YAML-based) to deploy to &lt;strong&gt;dev&lt;/strong&gt;, &lt;strong&gt;test&lt;/strong&gt;, and &lt;strong&gt;prod&lt;/strong&gt; environments (all in different subscriptions) with approval gates in front of &lt;strong&gt;test&lt;/strong&gt; and &lt;strong&gt;prod&lt;/strong&gt; environments.&lt;/p&gt;
&lt;h2 id=&quot;prerequisites&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/run-terraform-with-azure-pipelines/#prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id=&quot;azure-subscription&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/run-terraform-with-azure-pipelines/#azure-subscription&quot;&gt;Azure Subscription&lt;/a&gt;&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;If you don&apos;t have Azure, go sign up for a &lt;a href=&quot;https://azure.com/free&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;free account&lt;/a&gt; and come back.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;azure-devops&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/run-terraform-with-azure-pipelines/#azure-devops&quot;&gt;Azure DevOps&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;If you do not already have an Azure DevOps organization, follow &lt;a href=&quot;https://docs.microsoft.com/azure/devops/organizations/accounts/create-organization?view=azure-devops&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;these instructions&lt;/a&gt; to create one.&lt;/p&gt;</description>
</item>
<item>
  <title>Run Your Pipelines in Azure Container Instance</title>
  <link>https://paulyu.dev/article/run-your-pipelines-in-azure-container-instance/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/run-your-pipelines-in-azure-container-instance/</guid>
  <pubDate>Sat, 17 Jul 2021 00:46:10 GMT</pubDate>
  <description>&lt;h3 id=&quot;background&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/run-your-pipelines-in-azure-container-instance/#background&quot;&gt;Background&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft-hosted Azure Pipeline agent run in the public space; therefore, they can only deploy to environments that are publicly accessible.&lt;/li&gt;
&lt;li&gt;Some organizations may need to deploy to target environments that are only accessible within private space (e.g., inside a Azure Virtual Network).&lt;/li&gt;
&lt;li&gt;When the target environment is not publicly accessible, deploying self-hosted pipelines agents are a common solution.&lt;/li&gt;
&lt;li&gt;Organizations can self-host Azure Pipeline agents on &lt;a href=&quot;https://docs.microsoft.com/azure/devops/pipelines/agents/v2-linux?view=azure-devops&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Linux&lt;/a&gt;, &lt;a href=&quot;https://docs.microsoft.com/azure/devops/pipelines/agents/v2-osx?view=azure-devops&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;macOS&lt;/a&gt;, or &lt;a href=&quot;https://docs.microsoft.com/azure/devops/pipelines/agents/v2-windows?view=azure-devops&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Windows&lt;/a&gt; (physical or virtual machines) or &lt;a href=&quot;https://docs.microsoft.com/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Azure Virtual Machine Scale Sets&lt;/a&gt;; however, this may introduce unwanted overhead in having to patch and maintain these machines.&lt;/li&gt;
&lt;li&gt;The alternative is to run an agent in a Docker container and host it in Azure Container Instance which can run inside of the organization&apos;s virtual network and we&apos;ll explore this option for the rest of this guide.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;architecture&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/run-your-pipelines-in-azure-container-instance/#architecture&quot;&gt;Architecture&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;img src=&quot;https://paulyudev.blob.core.windows.net/articles/2021/run-your-pipelines-in-aci/architecture.png&quot; alt=&quot;ACI-Pipelines-Architecture&quot;&gt;&lt;/p&gt;</description>
</item>
<item>
  <title>Validating Azure AD B2C Tokens</title>
  <link>https://paulyu.dev/article/validating-azure-ad-b2c-tokens/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/validating-azure-ad-b2c-tokens/</guid>
  <pubDate>Tue, 01 Jun 2021 06:01:10 GMT</pubDate>
  <description>&lt;p&gt;I recently ran into an issue where I needed to help a customer validate an Azure AD B2C JWT access token. We tend to take JWT tokens for granted and sometimes forget that they should be validated by the application. I thought this was going to be pretty straight-forward to solve since Azure AD B2C is effectively Azure AD under the hood. I was wrong.&lt;/p&gt;
&lt;p&gt;I initially thought browsing to the OIDC metadata endpoint would reveal the info I needed to validate the signature of the JWT but finding the endpoint was my first challenge.&lt;/p&gt;</description>
</item>
<item>
  <title>Getting Started With Terraform on Azure</title>
  <link>https://paulyu.dev/article/getting-started-with-terraform-on-azure/</link>
  <guid isPermaLink="true">https://paulyu.dev/article/getting-started-with-terraform-on-azure/</guid>
  <pubDate>Sun, 25 Apr 2021 00:40:17 GMT</pubDate>
  <description>&lt;p&gt;Check out the official &lt;strong&gt;Get Started - Azure&lt;/strong&gt; tutorial &lt;a href=&quot;https://learn.hashicorp.com/collections/terraform/azure-get-started&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;terraform-basics&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/getting-started-with-terraform-on-azure/#terraform-basics&quot;&gt;Terraform basics&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id=&quot;download-and-install&quot;&gt;&lt;a class=&quot;heading-anchor&quot; href=&quot;https://paulyu.dev/article/getting-started-with-terraform-on-azure/#download-and-install&quot;&gt;Download and Install&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Download terraform from &lt;a href=&quot;https://www.terraform.io/downloads.html&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;https://www.terraform.io/downloads.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the executable and add the folder to your PATH variable&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a shell and type &lt;code&gt;terraform version&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The basic commands we&apos;ll use are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;terraform init&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;terraform plan&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;terraform apply&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;terraform destroy&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I advise you to use the &lt;code&gt;terraform fmt&lt;/code&gt; command often to ensure your scripts well formatted according to HashiCorp&apos;s &lt;a href=&quot;https://www.terraform.io/docs/configuration/style.html&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;style conventions&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</description>
</item>
</channel>
</rss>