You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
16 MIN READ TIME

Azure VMs

Master Linux VM creation in Azure

Swallowing his pride, Stuart Burns tests out what Microsoft has to offer for Linux servers in its Azure cloud.

OUR EXPERT

Stuart Burns works in Linux systems management for highperformance computing for a Fortune 500 company.

If generating a new key pair as the VM is created, the user needs to download the private key.

WARNING

Microsoft Azure is a paidfor service. Linux Format cannot be held responsible for any costs incurred from following this tutorial. The reader is wholly responsible for account creation and subsequent service costs.

we’re looking at how Linux and Azure can W work together to provide a highly resilient infrastructure and how the features that come as part of Azure can make life easier. To try this out, we’ll create a basic Ubuntu VM and look into the principles behind Azure best practice and then discuss some of the more advanced features.

Be aware: trying this tutorial does have a small cost for the virtual machines and associated items created. As long as you are cautious and remove and power off items not actively in use, the costs involved should be no more than a few dollars. Microsoft even offers $200 of credit for new Azure users (https://bit.ly/3UJJDIP). For those interested in understanding the pricing in Azure further, Microsoft has a calculator for working out the costs involved at https://bit.ly/43DeYRr.

Azure is more than just a simple cloud VM provider. Part of its allure is the fact that it is easy to add features such as estate monitoring, load balancing, customer-defined virtual networks, managed databases, blob storage and all manner of things that budget VM providers never provide. Azure can be as simple or complex as desired, budget allowing.

For those in regulated industries, Microsoft provides documents that can be provided to satisfy audit requirements (for example, HIPPA, ISO27001 and so on). It isn’t a magic cover-all bullet but it makes auditing cloud infrastructure much simpler and less stressful.

There are many ways to create all the different items in Azure, including scripting, the Azure AZ CLI and using the Azure portal GUI. The portal web interface (https://bit.ly/40giVJ3) can be considered to be the GUI front-end for most people new to Azure. For that reason, this article uses the portal (although, in reality, the portal is just a clever front-end and the requests get converted into programmatic requests, hidden from novice users).

A really important tip here is that it pays to create a completely separate account for experimenting in Azure. Don’t use your work account as such because it could cause real issues later on.

If needed, create an Azure account and log in to the portal. All these different options and services may look intimidating but a lot of what Microsoft provides in Azure is services alongside infrastructure-as-a-service VMs, virtual networks and databases, to name a few.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
July 2023
VIEW IN STORE

Other Articles in this Issue


Linux Format
Linux Format
Future Publishing Limited, Quay House, The Ambury, Bath,
WELCOME
MEET THE TEAM
We’re trying to keep things light this issue, so what’s your top tip for making something run faster or use less memory?
Keep it light
It’s fascinating to read the constant online forum
REGULARS AT A GLANCE
Newsdesk
THIS ISSUE: Art apps get touch-ups HDR Hackfest hopes KeePassXC passes test Ghostly chicken haunts AMD CPUs
It’s a wrap on HDR Hackfest
Exciting plans are in motion after the 2023 HDR Hackfest in Prague. Simon Ser shares his hopes.
KeePassXC passes audit
Independent security consultant was impressed.
NOT END OF LIFE
Joe Brockmeier is head of community, Percona.
KERNEL KUDOS
Muhammad Usama Anjum is a software developer at Collabora.
AMD haunted by spectral chicken
Kernel code is hen-pecked.
X.Org cleanup
Certain X.Org packages are retired and now archive-only.
Linus commits
Torvalds explains his changes to the Linux kernel.
Distro watch
What’s behind the free software sofa?
IN EURO WE TRUST
Italo Vignoli is one of founders of LibreOffice and The Document Foundation.
BUG OUT
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com your Intel branch prediction.
Mailserver
WRITE TO US Do you have a burning
HotPicks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
REVIEWS
Adata Legend 960 Max
Heatsinks make everything better, even Shane Downing.
Nvidia RTX 4070
Put that foreign holiday on hold, shouts Dave James, it’s time to invest in a shiny new graphics card instead!
Tiny Core Linux 14.0
Hold on tight as Nate Drake dares to embark on a white-knuckle ride on the stripped-down Tiny Core Linux!
Lubuntu 23.04
Nate Drake samples the lighter flavour of Ubuntu and has brought enough to share.
MidnightBSD 3.0.0
Nate Drake almost gets lost in the labyrinth that is MidnightBSD – a surprising open source alternative to Linux.
ROUNDUP
Kotlin Go Rust Python C++
The Verdict
Beginner coding languages
LIGHTSPEED UBUNTU
Fitness guru Jonni Bidwell is here to trim down your Ubuntu installations for summer. Not a single star jump required.
Pi USER
It’s artificial not human intelligence
The Pi Foundation outlines its approach to teaching AI to young learners.
Micropython 1.20
Supports the Pico!
More GPIO!
Same old SOC.
YOUR JAMMY EVENT HERE!
Les Pounder works with groups such as the
Ubuntu 23.04 Beta
Les Pounder loves the B-52s’ ‘Rock Lobster’ but will he find Ubuntu 23.04 Lunar Lobster also rocks or is just a bit rocky?
Creality CR-M4
“Look at the size of that thing!” cries Denise Bertacchi, but this 3D printer from Creality is certainly no moon.
Setting up virtual Python environments
Les Pounder enjoys dancing to Jamiroquai’s ‘Virtual Insanity’, but much prefers losing himself in Python’s virtual environments.
Eye spy with my little Pi API…
Tam Hanna uses the new Raspberry Pi Camera API and Microsoft Azure to create a machine that can classify things.
IN DEPTH
Join the Pod, Man!
Aaron Peters, unabashed container newbie, explores the Podman management application and why you might pick it over Docker.
Stay on top of your to-do list
If creating to-do lists were an Olympic event, Shashank Sharma would be a winner, seeing as how his just keep on growing.
Search desktop file contents instantly
Super-sleuth Nick Peers reveals how to find any file by searching its contents as well as filenames with the help of Recoll.
Climbing the ALPs
Piling survival essentials such as containers, Btrfs and KVM into his backpack, Matt Holder sets out to conquer OpenSUSE’s latest technological answer to immutable OSes.
TUTORIALS
LISP - exploring the original AI language
Discover one of the first programming languages, which Mike Bedford realises couldn’t have been more different from its early stablemates.
Creating better documents in AsciiDoc
Making well-formatted documents is a snap for Karsten Günther because he’s learnt how to use a metaformat – and now you can, too.
Kicking your music ’80s Amiga-style
Musical Michael Reed shows you how to create an Amigastyle tracker tune using modern open source Linux software.
CODING ACADEMY
Generate and then solve mazes with C
David Bolton demonstrates how a Raspberry Pi can create mazes in C/SDL and then solve them with animations.
Spice up your Python console applications
Matt Holder demonstrates how to use the Python Rich library to add formatting to your console applications.
Chat
X
Pocketmags Support