#Create Ubuntu Virtual Machine On Azure
Login to Microsoft Azure and click on Add
button in Virtual Machines
pane
In new opened pane type Ubuntu Server
in filter string then select Ubuntu Server 14.04 LTS
and click button Create
Fill the name of the machine, user name and password, then create new group e. g. deploy
by clicking on plus sign
Select appropriate configuration of the virtual machine for your needs.
Click on Public IP Address
and switch it to Static
Preview all the settings and click OK. New virtual machine will be created.
Wait a little while virtual machine is deploying to physical server. You will see a box with Deploying
status.
When the virtual machine has sucessfully deployed the box has change its status to 'Running`
Select virtual machine and choose Network Interfaces
menu item. On the right pane you will see public IP address of your machine. Write it down somewhere you will use it when connect to your machine.
Then you need to enable firewall to web server. Click on the Browse
menu item at the bottom of left pane. In new pane type Network Security
in search box and choose Newtork Security Group
from the list.
Select the group belonging to your machine and click on Inbound security rules
and in new pane click Add
Fill the name http
and switch the protocol to TCP
. Source port should be *
and destination port should be 80
. If you need your site to be accessible via HTTPS, then repeat this step and set name HTTPS
and destination port 443
After adding you will see updated list of firewall rules.
Your virtual machine is ready to use.