Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How To Create a Centos VM in Microsoft Azure

May 31, 2022
in Blog, Linux, Microsoft Azure
0
ADVERTISEMENT

Table of Contents

Supported Centos Versions by Microsoft Azure

The CentOS image is available in Microsoft Azure and you can create a Ubuntu VM in Azure.

CentOS server version in Azure Marketplace:

  • CentOS 6.x
  • CentOS 7.x
  • CentOS 8.x

Create a CentOS VM in Azure Portal

1. You can try the following steps to create a CentOS VM in Azure:

  • Sign in to the Azure portal at https://portal.azure.com.
  • Click Create a resource then select Virtual Machine.
Bg343

2. On the Create a virtual machine window, select the following.

  • Subscription – Select your Azure subscription.
  • Resource Group – Select the Azure resource group for CentOS 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 CentOS .
  • Region – Select the region.
Bg442

3. Availability options: Selecting multiple zones will create one VM per zone.

Bg345

4. Image – Select the drop-down and select CentOS as image. If you don’t see the CentOS option, then select See all images.

Bg347

5. On the Marketplace window, type CentOS as the search term and press Enter key. From the results, select CentOS and now select CentOS edition.

Bg443

6. Size: You can custom VM size to increase or reduce RAM and CPU for the VM.

Bg444

7. Select VM Size as you need, depending on RAM, CPU and Cost.

Bg349

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

Create an account to connect to Linux VM using SSH.

Bg424

9. Select OS disk type: You can select Premium SSD, Stardard SSD or Standard HDD.

Premium SSDStandard SSDStandard HDD
Disk typeSSDSSDHDD
ScenarioProduction and performance sensitive workloadsWeb servers, lightly used enterprise applications and dev/testBackup, non-critical, infrequent access
Max disk size32,767 GiB32,767 GiB32,767 GiB
Max throughput900 MB/s750 MB/s500 MB/s
Max IOPS20,0006,0002,000
Bg351

10. Network configuration: By default, an IP public will created with the VM. We’ll connect to this VM over SSH using this IP.

Bg445

11. Management: Disable auto-shutdown feature by uncheck the checkbox.

Bg353

12. Once you see Validation passed, create the CentOS virtual machine by selecting button.

Bg426

13. The CentOS 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.

Bg446

14. Your Deployment is complete – Congratulations, you have successfully created CentOS VM in Azure. From the same screen, you can download deployment details. Select Go to Resource.

Bg447

Connect to CentOS VM in Azure SSH

15. Once you create a CentOS 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.

Bg448

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

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
Bg432

Finally, your CentOS VM is ready in minutes.

Bg449
5/5 - (2 votes)
Previous Post

How to Connect to a Remote Server Over SSH using PuTTY

Next Post

How To Create a Debian VM in Microsoft Azure

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory