<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Azure on Jhooq</title><link>https://jhooq.com/tags/azure/</link><description>Recent content in Azure on Jhooq</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Jhooq</copyright><lastBuildDate>Mon, 17 Feb 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://jhooq.com/tags/azure/index.xml" rel="self" type="application/rss+xml"/><item><title>Azure Virtual Machine Course: Terraform Code for a Linux VM, VNet, NSG and Route Table (azurerm 5.x), Plus the Slides</title><link>https://jhooq.com/azure-master-course-vm/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://jhooq.com/azure-master-course-vm/</guid><description>
&lt;h2 id="tldr"&gt;TL;DR&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;This page is the code and slide companion to my Azure Masterclass video&lt;/strong&gt;: virtual machine, load balancer, scale set, VNet, subnet, route table and NSG. The Terraform below creates &lt;strong&gt;10 resources&lt;/strong&gt; in one resource group.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Validated, not applied:&lt;/strong&gt; on 2026-11-04 &lt;code&gt;terraform validate&lt;/code&gt; with Terraform 1.17.1 passed for azurerm 4.14.0 and 5.12.0, and failed on 3.0.0 with &lt;code&gt;Only RSA SSH keys are supported by Azure&lt;/code&gt; for an ed25519 public key.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The fix for that error:&lt;/strong&gt; use an &lt;code&gt;ssh-rsa&lt;/code&gt; key of at least 2048 bits on azurerm 3.x, or move to a current provider, where the docs accept &lt;code&gt;ssh-rsa&lt;/code&gt; (2048-bit or more) and &lt;code&gt;ssh-ed25519&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plan and apply need a subscription:&lt;/strong&gt; on azurerm 4.14.0 &lt;code&gt;terraform plan&lt;/code&gt; stops with &lt;code&gt;subscription_id&lt;/code&gt; is a required provider property; validate does not need it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Not your case?&lt;/strong&gt; If you only need the network (VNet, subnets, NSG, route table) without a VM, read &lt;a href="https://jhooq.com/azure-vnet-subnet-nsg-route-table-step-by-step/"&gt;Azure Virtual Network step by step&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="video"&gt;
&lt;iframe src="https://www.youtube.com/embed/m1rN24vnOlU?controls=1&amp;rel=0" loading="lazy"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Azure networking series on jhooq.com -&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/azure-vnet-subnet-nsg-route-table-step-by-step/"&gt;Azure Virtual Network step by step - VNet, subnets, Network Security Group and route table (Part 1)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/azure-vnet-peering-step-by-step/"&gt;Azure VNet peering step by step - connect two virtual networks with different CIDR ranges (Part 2)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/azure-master-course-vm/"&gt;Azure Virtual Machine course&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/azure-function-app/"&gt;Azure Function App&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Tools used in this series -&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/tools/vpc-subnet-planner/"&gt;VPC Subnet Planner - sizes the VNet and subnets with Azure's five reserved addresses per subnet built in&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jhooq.com/tools/kubernetes-ip-calculator/"&gt;Kubernetes IP Calculator - AKS node subnet, pod subnet and max pods per node for Overlay, Pod Subnet and legacy Azure CNI&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;</description></item></channel></rss>