Table of Contents
Supported Debian Versions by Microsoft Azure
The Debian image is available in Microsoft Azure and you can create a Ubuntu VM in Azure.
Debian server version in Azure Marketplace:
- Debian Server 11.x
- Debian Server 10.x
- Debian Server 9.x
Create a Debian VM in Azure Portal
1. You can try the following steps to create a Ubuntu VM in Azure:
- Sign in to the Azure portal at https://portal.azure.com.
- Click Create a resource then select Virtual Machine.
![Bg343](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg343.png)
2. On the Create a virtual machine window, select the following.
- Subscription – Select your Azure subscription.
- Resource Group – Select the Azure resource group for Debian VM or you can create a new one.
- Virtual Machine Name – Specify the VM name. This will be the computer name after you image VM with Debian .
- Region – Select the region.
![Bg450](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg450.png)
3. Availability options: Selecting multiple zones will create one VM per zone.
![Bg345](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg345.png)
4. Image – Select the drop-down and select Debian as image. If you don’t see the Debian option, then select See all images.
![Bg347](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg347.png)
5. On the Marketplace window, type Debian as the search term and press Enter key. From the results, select Debian and now select Debian edition.
![Bg451](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg451.png)
6. Size: You can custom VM size to increase or reduce RAM and CPU for the VM.
![Bg452](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg452.png)
7. Select VM Size as you need, depending on RAM, CPU and Cost.
![Bg349](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg349.png)
8. By default, Microsoft recommended you use SSH public key authentication type. It’s more secure but for demo purpose, i’ll using the traditional way with clear text password. How to connect to a Linux VM in Azure using SSH public key authentication.
![Bg423](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg423.png)
Create an account to connect to Linux VM using SSH.
![Bg424](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg424.png)
9. Select OS disk type: You can select Premium SSD, Stardard SSD or Standard HDD.
Premium SSD | Standard SSD | Standard HDD | |
---|---|---|---|
Disk type | SSD | SSD | HDD |
Scenario | Production and performance sensitive workloads | Web servers, lightly used enterprise applications and dev/test | Backup, non-critical, infrequent access |
Max disk size | 32,767 GiB | 32,767 GiB | 32,767 GiB |
Max throughput | 900 MB/s | 750 MB/s | 500 MB/s |
Max IOPS | 20,000 | 6,000 | 2,000 |
![Bg351](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg351.png)
10. Network configuration: By default, an IP public will created with the VM. We’ll connect to this VM over SSH using this IP.
![Bg453](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg453.png)
11. Management: Disable auto-shutdown feature by uncheck the checkbox.
![Bg353](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg353.png)
12. Once you see Validation passed, create the Debian virtual machine by selecting button.
![Bg426](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg426.png)
13. The Debian Virtual Machine is now being created. You see the status as deployment is in progress. Wait for a few minutes while the VM is created.
![Bg454](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg454.png)
14. Your Deployment is complete – Congratulations, you have successfully created Debian VM in Azure. From the same screen, you can download deployment details. Select Go to Resource.
![Bg455](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg455.png)
Connect to Debian VM in Azure SSH
15. Once you create a Debian VM in Azure, you can connect to the virtual machine and access it via SSH (22) using IP Public. On the VM resource window, select Connect then select SSH.
![Bg456](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg456.png)
16. In this page, Microsoft guides you how to SSH to the VM using a public key. If you using password authentication type, let open PuTTY or Windows PowerShell to connect to the VM.
![Bg430](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg430.png)
Connect to the VM using PowerShell. How to SSH using PowerShell.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\mpnadmin> ssh [email protected]
[email protected]'s password:
Last login: Sun May 29 10:37:00 2022 from 20.232.18.206
[mpnroot@imapsync ~]$
Connect to the VM using PuTTY. How to connect to a Linux server using PuTTY.
![Bg431](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg431.png)
![Bg432](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg432.png)
Finally, your Debian VM is ready in minutes.
![Bg457](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/05/bg457.png)