microsoft/Build26-LAB512-hands-on-with-the-latest-cobalt-vms-from-code-to-cloud-deployment
C#
Captured source
source ↗microsoft/Build26-LAB512-hands-on-with-the-latest-cobalt-vms-from-code-to-cloud-deployment
Language: C#
License: MIT
Stars: 3
Forks: 0
Open issues: 9
Created: 2026-04-02T16:12:39Z
Pushed: 2026-06-18T02:22:26Z
Default branch: main
Fork: no
Archived: no
README:
Microsoft Build 2026
🔥 LAB512: Hands-on with the latest Cobalt VMs - from code to cloud deployment
Session Description
Roll up your sleeves and get hands-on with the latest Azure Cobalt VMs. Build multi-arch container images with Docker, push them to ACR, and deploy to AKS clusters running on Cobalt VMs. Then go further - serve AI predictions using ONNX Runtime on Arm. Walk out ready to build on Cobalt VMs.
You will take a real .NET microservices application - the eShop reference app - and:
1. Build and run it locally on Docker Desktop Kubernetes 2. Deploy the same images to AKS on Azure Cobalt 200 - no special Arm64 branch, no code rewrites 3. Light up on-CPU AI inference using ONNX Runtime GenAI and Phi-4-mini, running entirely on Cobalt 200 CPUs - no GPU, no cloud-hosted endpoints
The key takeaway: Azure Cobalt 200 _just works_.
Azure Cobalt 200
Azure Cobalt 200 is Microsoft's second-generation custom Arm64 processor, purpose-built for cloud-native workloads. Built on the latest Arm architecture and TSMC's 3nm process, it delivers up to 50% higher per-core performance over Cobalt 100 - with improvements across the board in CPU throughput, storage IOPS, and network bandwidth. It is Azure's most power-efficient compute offering.
Cobalt 200 is designed for the workloads that define this era of cloud computing: containerized microservices, distributed data pipelines, web and application servers, databases, and agentic AI runtimes. It ships as a full family of VMs - general purpose (Dpsv7/Dplsv7), memory optimized (Epsv7), high-memory (Mpv4), and dense local storage (Lpv5) - so you can match the VM to the workload you actually run. If your stack is built on .NET, Java, Python, Go, or Node.js, it runs on Cobalt 200 with no code changes. This lab lets you experience that firsthand.
The app: eShop
This lab uses .NET eShop - the official .NET reference application for cloud-native development. It is a full-featured online storefront with product browsing, shopping cart, checkout, and user identity.
Lab outline
| Part | What you'll do | Approx. time | |:-----|:---------------|:-------------| | [Part 1 - Local build and deploy](docs/part1-local-build-and-deploy.md) | Build the webapp image, deploy to Docker Desktop Kubernetes via Kustomize, verify the app end-to-end | 20 min | | [Part 2 - AKS on Cobalt 200](docs/part2-aks-on-cobalt.md) | Rebuild as a multi-arch image, create an AKS cluster on Cobalt 200, deploy and test | 20 min | | [Part 3 - AI inference on Cobalt](docs/part3-ai-inference-on-cobalt.md) | Enable the ONNX Runtime inference service, chat with Phi-4-mini running on Cobalt 200 CPUs | 15 min |
If you run into issues, see the [Troubleshooting guide](docs/troubleshooting.md).
🏫 Getting started in a guided session
Open the lab environment provided by your instructor. The VM is pre-configured with all tools and images - follow the on-screen Skillable instructions to begin.
🏠 Getting started on your own
See the [Self-paced lab guide](docs/README.md) for prerequisites, machine setup, and step-by-step instructions.
🧠 Learning Outcomes
By the end of this lab, you will be able to:
- Build multi-arch container images (
linux/amd64+linux/arm64) from a single x64 dev machine using Docker Buildx - Deploy a microservices application to AKS on Azure Cobalt 200 with zero code changes
- Run a 3.8B parameter language model on CPU using ONNX Runtime GenAI on Arm64 - no GPU required
- Use Kustomize overlays to target local Kubernetes and AKS from the same manifest tree
💬 Keep Learning with Copilot
Try these prompts with GitHub Copilot to explore the topics from this lab. Open Copilot Chat in VS Code (Ctrl+Alt+I on Windows/Linux, Cmd+Shift+I on Mac), paste a prompt, and see what you learn. Try connecting the [Microsoft Learn MCP Server](#-microsoft-learn-mcp-server) for the latest official documentation.
Use these as a starting point - or write your own!
1. Understand multi-arch builds:
Explain how Docker Buildx creates multi-arch container images and how Kubernetes automatically selects the right architecture variant for a node
2. Go deeper with Cobalt 200:
Using the Microsoft Learn MCP Server, find the latest documentation on Azure Cobalt 200 VM sizes and explain the performance benefits for cloud-native workloads
3. Explore ONNX Runtime on Arm:
How does ONNX Runtime GenAI use KleidiAI micro-kernels on Arm64 Neoverse cores to accelerate INT4 model inference without a GPU?
4. Extend the deployment:
Help me add a CI/CD pipeline using GitHub Actions that builds multi-arch images and deploys to AKS on Cobalt 200 automatically on every push
5. Try a different model:
Help me swap Phi-4-mini for a different ONNX-compatible small language model in the inference service and compare the results
💻 Technologies Used
1. Azure Cobalt 200 - Microsoft's Arm64 server processor for cloud-native workloads 1. .NET eShop - official .NET reference application for cloud-native development 1. Docker Desktop and Buildx - multi-arch container image builds 1. Azure Kubernetes Service (AKS) - managed Kubernetes 1. Kustomize - declarative Kubernetes configuration management 1. ONNX Runtime GenAI - local model inference on CPU 1. Phi-4-mini - Microsoft's 3.8B parameter small language model
📚 Resources and Next Steps
| Resource | Description | |:---------|:------------| | Azure Cobalt 200 documentation | VM sizes, availability, and workload guidance | | [.NET Aspire...
Excerpt shown — open the source for the full document.
Notability
notability 3.0/10Routine conference workshop repo with low traction.