> For the complete documentation index, see [llms.txt](https://sheldonfish.gitbook.io/azurewebserver/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sheldonfish.gitbook.io/azurewebserver/1.-create-a-ubuntu-vm-on-azure.md).

# 1. Create a Ubuntu VM on Azure

This part is for new Azure users.

{% hint style="info" %}
Before everything else, you will need to have a Microsoft Azure account which you can setup from <https://azure.microsoft.com> and sign in.
{% endhint %}

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-HDvrRNCqzM4NfNfv%2F-LC-K8mmi2a2HBLejh56%2FDashboard.JPG?alt=media\&token=64b91938-c9e3-47d9-acb8-4a5df0813f90)

#### From the Dashboard page, click "Create resources" and search "Ubuntu", find 'Ubuntu Server 16.04 LTS' (Long Term Support) and click it. This leads to a similar page shown below:&#x20;

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-HDvrRNCqzM4NfNfv%2F-LC-IkD6pWK_rjz7E5PK%2FUbuntu_LTS.JPG?alt=media\&token=dd55a316-10df-42fd-ab93-b7fc1e6e4e94)

#### Leave default deployment model as "Resource Manager", click "Create" and configure the basic setting as shown below:&#x20;

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-HDvrRNCqzM4NfNfv%2F-LC-PH1ScMuHcFn2jLum%2FMachineSetting.JPG?alt=media\&token=98939591-c305-45e9-b733-4304e68a92df)

#### Enter a name you want for your virtual machine (e.g. Ubuntu16), and a public key file (.pub) in ssh-rsa format. Or you can choose to set a password instead for now.  Pick a  subscription you have (e.g. Free Trial), as well as a new or existing Resource group (this can be used to set rules, polices, e.g. set to open port 80) and a data-center location you prefer.&#x20;

#### Now pick a size that fits the need (e.g. the Basic B1s - 1GB RAM 4GB Local SSD):&#x20;

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-HDvrRNCqzM4NfNfv%2F-LC-Tl5b6ThedF8VqOuR%2FSizeChoice.JPG?alt=media\&token=370db067-d1d4-4ef0-b556-cbc672f28c3e)

#### And configure the optional features, where you can set the Public IP address as Static (optional), select "SSH(22)" as public inbound ports and leave the rest as default: &#x20;

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-V0kk2HLMuPSKQQsB%2F-LC-Vh5fIaxWvK9VsjsP%2FIPsetting.jpg?alt=media\&token=a0246b03-f399-42f3-8b3d-dde7688922f1)

#### In the summary page, review your configuration choices, then click "Create" . Give a minute to Azure to create the VM,  and once it's done you'll see it on your Dashboard.&#x20;

![](https://364541379-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LANW1unQiCUIYnvn3-v%2F-LC-X3ZaN7jhA1-QWch2%2F-LC-Y3y9jc3Hg_U1rA3G%2FVM_DASHBOARD.JPG?alt=media\&token=7107e2b0-7401-4034-b5c3-39064b64e54b)
