Create a Virtual Machine
Create a virtual machine in Azure.
You may want to view the following web page to learn about Azure Managed Disks before creating a VM. Additionally, a video is available from Microsoft that shows how to create a virtual machine: Create a Linux Virtual Machine.
- Login in to your Microsoft Azure account.
-
Using the search box, enter
marketplace
. - Open the Marketplace by selecting the link from the search results.
- Search and select an OS that supports cloud-init and is supported by your workload manager.
- Click Create.
Enter the following to configure the basic settings for the virtual
machine:
-
For Project Details enter the following:
-
For Administrator Account, enter a user account :
This user will have sudo rights and will be able to connect to the VM to install the workload manager.
- On Linux platforms:
- For Authentication type, enable SSH public key.
- For Username, enter a username of a user account that exists on your site's workload manager.
- For SSH public key, copy the SSH public key (i.e., id_rsa.pub) of the user account and paste it.
- On Windows platforms:
- For Username, enter a username.
- For Password, enter a password.
- On Linux platforms:
-
For Inbound Port Rules, enter the following:
- Click Next : Disks >.
Enter the following to configure the storage settings for the virtual
machine:
-
For Disk Options, enter the following:
- Click Next : Networking > .
Enter the following to configure the networking settings for the virtual
machine:
-
For Network Interface, enter the following:
- For Virtual network, choose the virtual network previously created.
- For Subnet, choose the subnet you previously created.
- Click Review + create tab.
-
Review your choices and click Create.
It may take a few minutes for the VM to be deployed. You will use this virtual machine to create an OS image.