Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (2024)

  • Article

Applies to: ✔️ Linux VMs ✔️ Flexible scale sets

Azure virtual machines (VMs) can be created through the Azure portal. The Azure portal is a browser-based user interface to create VMs and their associated resources. In this quickstart you will use the Azure portal to deploy a Linux virtual machine (VM) running Ubuntu 18.04 LTS, create a key vault for the storage of encryption keys, and encrypt the VM. However, any ADE supported Linux image version could be used instead of an Ubuntu VM.

If you don't have an Azure subscription, create a free account before you begin.

Sign in to Azure

Sign in to the Azure portal.

Create a virtual machine

  1. Choose Create a resource in the upper left corner of the Azure portal.

  2. In the New page, under Popular, select Ubuntu Server 18.04 LTS.

  3. In the Basics tab, under Project details, verify sure the correct subscription is selected.

  4. For "Resource Group", select Create new. Enter myResourceGroup as the name and select Ok.

  5. For Virtual machine name, enter MyVM.

  6. For Region, select (US) East US.

  7. Make sure the Size is Standard D2s v3.

  8. Under Administrator account, select Password as the Authentication type. Enter a user name and a password.

    Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (1)

    Warning

    The "Disks" tab features an "Encryption Type" field under Disk options. This field is used to specify encryption options for Managed Disks + CMK, not for Azure Disk Encryption.

    To avoid confusion, we suggest you skip the Disks tab entirely while completing this tutorial.

  9. Select the "Management" tab and verify that you have a Diagnostics Storage Account. If you have no storage accounts, select Create New, name your storage account myStorageAccount, and select "Ok"

    Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (2)

  10. Click "Review + Create".

  11. On the Create a virtual machine page, you can see the details about the VM you are about to create. When you are ready, select Create.

It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.

Encrypt the virtual machine

  1. When the VM deployment is complete, select Go to resource.

  2. On the left-hand sidebar, select Disks.

  3. On the top bar, select Additional Settings .

  4. Under Encryption settings > Disks to encrypt, select OS and data disks.

    Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (3)

  5. Under Encryption settings, choose Select a key vault and key for encryption.

  6. On the Select key from Azure Key Vault screen, select Create New.

    Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (4)

  7. To the left of Key vault and key, select Click to select a key.

  8. On the Select key from Azure Key Vault, under the Key Vault field, select Create new.

  9. On the Create key vault screen, ensure that the Resource Group is myResourceGroup, and give your key vault a name. Every key vault across Azure must have an unique name.

  10. On the Access Policies tab, check the Azure Disk Encryption for volume encryption box.

    Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (5)

  11. Select Review + create.

  12. After the key vault has passed validation, select Create. This will return you to the Select key from Azure Key Vault screen.

  13. Leave the Key field blank and choose Select.

  14. At the top of the encryption screen, click Save. A popup will warn you that the VM will reboot. Click Yes.

Clean up resources

When no longer needed, you can delete the resource group, virtual machine, and all related resources. To do so, select the resource group for the virtual machine, select Delete, then confirm the name of the resource group to delete.

Next steps

In this quickstart, you created a Key Vault that was enabled for encryption keys, created a virtual machine, and enabled the virtual machine for encryption.

Create and encrypt a Linux VM with the Azure portal - Azure Virtual Machines (2024)
Top Articles
Leasing and Real Estate Forms
Best 5 Loan For Home Improvement Must-Knows
CLI Book 3: Cisco Secure Firewall ASA VPN CLI Configuration Guide, 9.22 - General VPN Parameters [Cisco Secure Firewall ASA]
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Terraria Enchanting
San Diego Terminal 2 Parking Promo Code
Craigslist Kennewick Pasco Richland
Autobell Car Wash Hickory Reviews
The Powers Below Drop Rate
Snarky Tea Net Worth 2022
Aries Auhsd
Strange World Showtimes Near Cmx Downtown At The Gardens 16
Pollen Count Los Altos
Chastity Brainwash
Programmieren (kinder)leicht gemacht – mit Scratch! - fobizz
My.doculivery.com/Crowncork
What is the difference between a T-bill and a T note?
Where does insurance expense go in accounting?
Insidekp.kp.org Hrconnect
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Craigslist Maui Garage Sale
Faurot Field Virtual Seating Chart
Craigslist St. Cloud Minnesota
What Time Does Walmart Auto Center Open
Home
Wnem Tv5 Obituaries
Hellraiser 3 Parents Guide
800-695-2780
Ocala Craigslist Com
Yu-Gi-Oh Card Database
lol Did he score on me ?
Lininii
Rund um die SIM-Karte | ALDI TALK
Kltv Com Big Red Box
Leland Nc Craigslist
Puerto Rico Pictures and Facts
Consume Oakbrook Terrace Menu
Family Fare Ad Allendale Mi
How Much Is Mink V3
Directions To 401 East Chestnut Street Louisville Kentucky
Delaware judge sets Twitter, Elon Musk trial for October
8 Ball Pool Unblocked Cool Math Games
2700 Yen To Usd
Search All of Craigslist: A Comprehensive Guide - First Republic Craigslist
Blackstone Launchpad Ucf
The Attleboro Sun Chronicle Obituaries
Craigslist Rooms For Rent In San Fernando Valley
Craigslist Mendocino
Tacos Diego Hugoton Ks
Advance Auto.parts Near Me
Diamond Desires Nyc
O'reilly's Eastman Georgia
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6350

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.