Azure Classroom Series – 05/Aug/2020

Virtual Machines

  • This is a basic resource & most widely used resource in cloud compute.
  • Virtual Machines offered by Azure are called Azure vms.
  • Azure offers VMs in various types and sizes.
  • Each type has been optimized to suit to some purpose.
  • In Azure we have different vm purchasing options.
  • Broadly azure supports windows & linux vms

How Azure Works?

  • To Create Virtual Machines Azure uses Hypervisor (HyperV)
  • These Hypervisors are available on all physical servers in Azure regions
  • Every rack will have a fabric controller.
  • The Fabric controllers are orchestrated by an orchestrator, which instructs creation of resources like vm’s
  • When an user requests for a vm in that region the request is passed to orchestrator through API, and then Orchestrator will send the request to suitable fabric controller to create a vm on Some physical machine Preview

Terms

  • Every physical machines needs some operating system which is installed, in the case of virtual machines we have VM Images. Azure also uses the same terminology, when we create a vm, we will be asked to select Image.
  • OS in the Azure VMs are selected by the Image you choose while creating vm.
  • Azure Provides VM Images for standard Linux, Windows OS and Azure also has market place where you can find third party images, You can also create your custom vm images.
  • Azure Gives options to set credentials to your vm while creating VM.
  • Every VM needs a disk and network for communication.
  • For Azure free trail accounts we can use 750 hours of linux vm and 750 hours of windows vm of size (B1s) for free (12 months)

Lets create a windows 2016 server vm

  • Refer the below images Preview Preview Preview Preview Preview Preview Preview
  • To connect to this vm use connect option and download rdp file Preview
  • Now lets install IIS Server on Windows VM
  • Open Powershell as an admin and execute
Install-WindowsFeature -name Web-Server -IncludeManagementTools

Lets create a ubuntu vm

  • Watch Here
  • To connect to linux machines we need ssh tools, Please watch here
  • Connect to ubuntu instance using ssh and install apache server
sudo apt-get update
sudo apt-get install apache2 -y

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube