Welcome to KasdevTech ☁️

Cloud-native blogs on Azure, DevOps, FinOps & more.

AKS Node Disk Pressure

What Happened? Hey folks, Let me share a real incident we faced in production on Azure Kubernetes Service (AKS). Our workloads were behaving oddly — pods getting evicted, app downtime alerts, and our monitoring tools screaming DiskPressure on some nodes. We didn’t make any infra changes recently, so the obvious question was: What’s going on inside the AKS nodes? Root Cause Analysis We dug into the node metrics using Azure Monitor and kubectl describe node. Here’s what we found: ...

June 28, 2025 · 2 min · Kasi Suresh

End-to-End Incident Automation: Azure Alert to Self-Healing via Moogsoft & ServiceNow

In one of my recent automation projects, I came across a real-time scenario: An Azure Alert once condition met (example:VM’s C:\ drive crosses 80% usage), and boom — the alert triggers, gets routed to Moogsoft, and creates an incident in ServiceNow. But before it even hits the L1 queue, I wanted to give automation a shot. Why assign alert/incident (disk cleanup) to an engineer when a bot can do it better — and faster? Real Scenario Here’s what happens traditionally: ...

June 25, 2025 · 3 min · Kasi Suresh

Getting Started with Azure Bicep for Infrastructure as Code

Azure Bicep is a domain-specific language (DSL) that simplifies ARM templates. If you’re used to Terraform or ARM JSON, Bicep offers a cleaner, more concise syntax — tailor-made for Azure. Why Bicep? Native to Azure Simplified syntax No state files (unlike Terraform) Excellent tooling in VS Code Install Bicep CLI az bicep install Verify installation: az bicep version 🏗️ Sample Bicep Template: ------------------------- resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = { name: 'kasdevstorage${uniqueString(resourceGroup().id)}' location: resourceGroup().location sku: { name: 'Standard_LRS' } kind: 'StorageV2' } 📦 Deploy using Azure CLI: -------------------------- az deployment group create \ --resource-group kasdevtech-rg \ --template-file main.bicep Next Steps Use modules to reuse code Integrate Bicep in DevOps pipelines Combine with Azure Policy for compliance ...

June 25, 2025 · 1 min · Kasi Suresh

How to Create a Self-Hosted Azure DevOps Agent using Azure Virtual Machine Scale Sets

Setting up self-hosted agents using Azure Virtual Machine Scale Sets (VMSS) gives you more control, performance, and scalability compared to Microsoft-hosted agents. This guide includes detailed setup steps, CLI commands, and screenshots from the Azure Portal. Use Cases for Self-Hosted Agents Large builds requiring more compute Custom toolchains (e.g., Docker, Terraform, Node.js) Controlled access with internal networking Reducing build time and cost Prerequisites Azure DevOps Organization + Project Azure Subscription Contributor or Owner role on Azure VMSS Contributor role for DevOps managed identity Step 1: Create a Virtual Machine Scale Set (VMSS) You can create this via Azure CLI or Portal. Below are the CLI steps: ...

June 25, 2025 · 2 min · Kasi Suresh

Prompt Engineering for Cloud Architects: 10 Powerful Tips

Prompt engineering isn’t just for AI developers. As Cloud Architects, we deal with large, complex systems, documentation, and decision-making daily. With the rise of AI assistants like GitHub Copilot, Azure Copilot, and ChatGPT, prompt engineering has become a valuable tool in our toolbox. Here are Prompt Engineering for Cloud Architects: 10 Powerful Tips to boost your productivity, decision-making, and solution design as a Cloud Architect. 1. Be Clear, Concise, and Contextual Bad Prompt: ...

June 24, 2025 · 3 min · Kasi Suresh

Sample Azure DevOps Pipeline for .NET App

Here is a simple YAML pipeline for building a .NET Core app: trigger: - main pool: vmImage: 'ubuntu-latest' steps: - task: UseDotNet@2 inputs: packageType: 'sdk' version: '8.0.x' - script: | dotnet build dotnet test displayName: 'Build and Test' - task: PublishBuildArtifacts@1 inputs: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'drop'

June 23, 2025 · 1 min · Kasi Suresh

Building an AI-Powered App Using Azure OpenAI Services

Introduction to Azure OpenAI In today’s cloud-native world, many organizations want to add AI features like chatbots, summarization, sentiment analysis, and document Q&A into their apps. Azure OpenAI Services makes this easy by giving secure, enterprise access to powerful models like GPT-4, ChatGPT, and DALL·E via REST APIs — all hosted in Microsoft’s trusted Azure cloud. Benefits: No need to host large AI models yourself Microsoft’s enterprise security and compliance Pay as you go Available in various Azure regions In this post, you’ll learn how to build an AI-powered chatbot using: ...

June 23, 2025 · 3 min · Kasi Suresh

Getting Started with Terraform on Azure

Introduction Terraform is a powerful Infrastructure as Code (IaC) tool that allows you to define and provision your Azure resources using code. In this post, we will cover: Setting up Terraform CLI Writing your first Terraform configuration Deploying resources on Azure Steps Install Terraform CLI Configure your Azure credentials Write main.tf with Azure provider Run terraform init, plan, and apply Conclusion Terraform allows you to automate cloud infrastructure — making deployments reproducible, version-controlled, and consistent. ...

June 23, 2025 · 1 min · Kasi Suresh

How to Resize Azure Virtual Machines

Resizing an Azure Virtual Machine (VM) allows you to adjust the size (CPU, Memory, Disk) of the VM as your application needs change — for cost optimization, performance scaling, or seasonal traffic. In this guide, we’ll walk through how to resize an Azure VM in 2025 using both the Azure Portal and CLI. Why Resize VMs? Scale Up: Handle more traffic or workload Scale Down: Reduce costs for low-traffic periods Change Type: Move to different series (ex: from DSv2 to B series for dev/test) Pre-requisites Azure Subscription Owner / Contributor permissions on the VM VM must be in a Stopped (Deallocated) state to resize Resize via Azure Portal 1️ Navigate to Virtual Machines 2️ Select your VM 3️ Click Size under the “Settings” section 4️ Select a new size (you will see estimated cost/month) 5️ Click Resize ...

June 23, 2025 · 1 min · Kasi Suresh

How to Start Your Cloud Journey in 2025 — A Practical Guide

Welcome to kasdevTech — Your Cloud Learning Hub In today’s world, cloud computing is no longer optional — it is essential for businesses, developers, and architects. But many beginners feel lost: 👉 Where do I start? 👉 Which services should I learn first? 👉 How can I gain practical experience? In this post, I will share a step-by-step practical guide to help you start your cloud journey in 2025 — based on my own experience as a cloud engineer working on Microsoft Azure, Kubernetes, and cloud-native technologies. ...

June 23, 2025 · 3 min · Kasi Suresh