Azure Virtual Machines

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
3 hours 51 minutes
Difficulty
Beginner
CEU/CPE
4
Video Transcription
00:00
in this video, we will look deeper into the virtual machine capabilities in azure
00:06
azure virtual machines is a service that allows you to create and use virtual machines in the cloud.
00:12
Just like your laptop. You have complete control of the software running on the virtual machine.
00:17
You can install an operating system of your choice and configure it according to your requirements.
00:23
You can also install and run custom software on it. With almost no restrictions.
00:29
You manage the VM by connecting to it remotely using remote desktop client for Windows or Ssh client. For Lennox,
00:36
you can provision of VM in azure in minutes.
00:40
This is done with the help of pre configured VM images that are available on the azure marketplace.
00:46
The image is a template of the virtual machine that includes the operating system and quite often, other software like hosting environments, Web servers, databases or complete applications.
00:57
You can also create custom images for your on premises environment and run them in azure with almost no changes.
01:04
This is a very helpful way to migrate your existing on premises. Workloads to azure with low effort.
01:11
It's called lift and shift
01:14
running. A single VM for development and testing purposes is helpful. But as your offers advanced high availability features for production applications running on virtual machines.
01:26
One of those features is availability Sense.
01:29
An availability set is a logical grouping of two or more virtual machines that help you keep your applications available. In the case of planned or unplanned maintenance
01:38
availability sets use a concept called fault domains and update domains
01:45
in Azure. A fault domain is a single server rack that has independent power cooling and its own networks, which in physical hardware that provide physical separation of the workloads.
01:57
You can have up to three fault domains for your workload.
02:00
Now let's say your application has two tiers. A Web tier that has a Web server running in the first VM and a database tier that has a database running on the second via.
02:09
If something happens with the hardware in the rack, let's say, for example,
02:14
the physical server fails
02:15
your work. VM will be lost, and it'll take some time for Azure to be deployed on another hardware device.
02:23
It's also possible for the whole rack to fail if, for example, the network and switch breaks
02:28
in this case you will lose both VMS, the Web and the database.
02:32
To avoid this, you can create multiple VMS for each one of your tears and put them in availability sets
02:40
when VMS are in in an availability set. As you make sure that those get deployed across fault domains,
02:50
a failure in one of the fault domains or server racks will not impact your application.
02:54
VMS that are deployed on the second Fault domain will continue to function.
03:00
The more VMS you have prettier, the more reliable your application becomes because it leverages the complete set of faulty means that, as your offers,
03:09
the fault domains feature of availability sets is very important to keep your applications running during unplanned maintenance, where an unexpected failure can cause some of the infrastructure to become inaccessible.
03:22
The other important feature of availability sets is called Update Domain
03:27
Update. Domains are important during a planned maintenance when a VM needs to be restarted.
03:31
This may happen when new patches are applied to the host OS or new features are released into the platform.
03:38
VMS are assigned update domains by the underlying azure platform.
03:43
The assignment is done by a proprietary algorithm and users have no input for it.
03:49
The update domains indicate groups of virtual machines that can be rebooted at the same time.
03:53
In our example, V. M one and V M six will be rebooted simultaneously
03:59
after them. VM three VM five VM to VM four.
04:04
Availability sets don't have an additional cost. You pay only for the VMS that you create and place into availability sets.
04:15
Now keep in mind that single VMS that don't have as your premium SSD drives and are not placed in an availability set are not covered under azure SLS.
04:24
That is why it's recommended to place your VMS in availability sets.
04:30
Virtual machine scale sets is another service that allows you to manage a group of identical VMS.
04:36
An example of this could be a Web farm where you have multiple Apache servers running in parallel and serving user requests.
04:45
You can centrally configure, manage and update all the VMS in the scale set.
04:49
Very often, those VMS are put behind a load balancer to balance the traffic between them.
04:55
In situations where more VM instances are needed to handle the traffic, those can be added on demand or by a predefined schedule
05:02
as your load. Balancers have built in integration with the scale sets, and they are automatically configured to add the new machines to the load balancing pool.
05:12
Once the low decreases, the new instances can automatically be removed, and the load balancer can be reconfigured to not send any more traffic to the removed VMS.
05:21
Now let's look at one more as your computer service that is based on virtual machines,
05:28
as your batch can help you. When you need a large scale job scheduling service,
05:32
you can use Azure Batch to scale to hundreds or thousands of VMS simultaneously and run parallel calculations.
05:41
Typical examples are encoding videos in different formats,
05:45
rendering animations or processing large datasets on schedule
05:48
as your batch is responsible for starting the pool of VMS, installing the applications, staging the data, running the jobs, identifying failures and scaling down when the pool work is complete,
06:01
as your batch allows you to choose between Windows and Linux OS to run your jobs as well.
06:08
Now you have a good understanding of what VM based compute options are available in Azure.
06:14
In the next video, we'll look at the container options in Azure
Up Next
AZ-900 Microsoft Azure Fundamentals

In this online Microsoft Azure Fundamentals training course, students will learn basic cloud computing concepts and how these concepts are applied specifically to Microsoft Azure. Upon completion, students will be prepared to take the AZ-900 certification exam.

Instructed By