While we’ve been using Azure PAAS services extensively since Azure Beta, we’ve not had too many chances to play with the power of the VMs. On a recent project we had to work with MongoDB and while on prod we used MongoLabs , we did use MongoDB on Azure for our development and staging purposes!
The next few blogs will list out steps to create a VM , log into it remotely and eventually install a MongoDB server on it and use it
Creating an Azure VM
2. On the left hand side menu bar click on Virtual Machine.
3. On the command bar at the bottom of the window, click New.
4. Under Compute, click Virtual Machine, and then click From Gallery.
5. The first screen lets you Choose an Image for your virtual machine from one of the lists in the Image Gallery. (The available images may differ depending on the subscription you’re using.) Click the arrow to continue.
6. The second screen lets you pick a computer name, size, and administrative user name and password. If you just want to try out Azure Virtual Machines, fill in the fields as shown in the image below. Otherwise, chose the tier and size required to run your app or workload. Here are some details to help you fill this out :
a. Virtual Machine Name refers to the name of virtual machine.
b. New User Name refers to the administrative account that you use to manage the server. Create a unique password for this account and make sure to remember it. You’ll need the user name and password to log on to the virtual machine.
c. A virtual machine’s size affects the cost of using it, as well as configuration options such as the number of data disks you can attach.
7. The third screen lets you configure resources for networking, storage, and availability. Here are some details to help you fill this out:
a. The Cloud Service DNS Name is the global DNS name that becomes part of the URI that’s used to contact the virtual machine. You’ll need to come up with your own cloud service name because it must be unique in Azure. Cloud services are important for scenarios using multiple virtual machines.
b. For Region/Affinity Group/Virtual Network, use a region that’s appropriate to your location. You can also choose to specify a virtual network instead.
8. The fourth configuration screen lets you configure the VM Agent and some of the available extensions. Click the check mark to create the virtual machine.
9. After the virtual machine is created, the Management Portal lists the new virtual machine under Virtual Machines. The corresponding cloud service and storage account also are created and are listed in those sections. Both the virtual machine and cloud service are started automatically and the Management Portal shows their status as Running.
Next we will learn how to Log into this VM and use it! No use of you can’t use it is it