Deploy Golang on Azure Cobalt 100 on Arm
Introduction
Golang and Microsoft Azure Cobalt 100
Create an Arm64 Azure virtual machine for Golang deployment
Install and configure Golang on Azure Cobalt 100 Arm64
Perform Golang baseline testing and web server deployment
Run performance tests using go test -bench
Next Steps
Deploy Golang on Azure Cobalt 100 on Arm
Review 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.
Use
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.Allow HTTP traffic through Ubuntu’s UFW firewall with
sudo ufw allow 80/tcp, then enable UFW with sudo ufw enable. Confirm the rule with sudo ufw status.Download the official Linux Arm64 (AArch64) Go distribution from
go.dev. This build targets the Arm64 architecture used by Azure Cobalt 100.Build and run the baseline web server in the
goweb project. If the application starts and serves the HTML page that you created, the toolchain and networking are set up correctly.Use
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).