Deploy Golang on Azure Cobalt 100 on Arm
Introduction
Overview
Create an Azure Cobalt 100 Arm64 virtual machine for Golang deployment
Install and configure Golang on Azure Cobalt 100 Arm64
Perform Golang baseline testing and web server deployment on Azure Cobalt 100
Run performance tests using go test -bench
Next Steps
Deploy Golang on Azure Cobalt 100 on Arm
Who is this for?
This is an introductory topic for software developers, DevOps engineers, and cloud architects looking to migrate their Golang (Go) applications from x86_64 to high-performance Arm-based Azure Cobalt 100 virtual machines (VMs) for improved cost efficiency and performance.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Provision an Azure Arm64-based VM using the Azure portal, with Ubuntu Pro 24.04 LTS as the base image.
- Deploy Golang on an Arm64-based VM running Ubuntu Pro 24.04 LTS.
- Perform Golang baseline testing and benchmarking on both x86_64 and Arm64 VMs.
Prerequisites
Before starting, you will need the following:
- A Microsoft Azure account with access to Azure Cobalt 100 Arm-based instances (Dpsv6-series)
- Basic familiarity with the Go programming language and cloud deployment practices
- Understanding of Linux command line and virtual machine management
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
D4ps_v6 from the Dpsv6 series for the Arm64 benchmark and D4s_v6 for the x86-64 comparison, and use Ubuntu Pro 24.04 LTS for both benchmark environments.sudo ufw allow 80/tcp, then enable UFW with sudo ufw enable. Confirm the rule with sudo ufw status.go.dev. This build targets the Arm64 architecture used by Azure Cobalt 100.goweb project. If the application starts and serves the HTML page that you created, the toolchain and networking are set up correctly.go test -bench to run benchmarks and add -benchmem to include memory metrics. The output reports latency (ns/op) and, with -benchmem, memory per operation (B/op) and allocations (allocs/op).