WEBVTT
Kind: captions
Language: en

1
00:00:00.000 --> 00:00:06.731
Welcome to the first lesson in this Azure fundamentals series. Across three short lessons,

2
00:00:06.731 --> 00:00:13.612
we'll follow one simple example: a small web app where people upload photos. In this lesson,

3
00:00:13.612 --> 00:00:18.100
we'll look at where that app runs: an Azure virtual machine.

4
00:00:18.500 --> 00:00:25.508
Here's our example. A user opens the web app in their browser, and the request travels across the

5
00:00:25.508 --> 00:00:32.660
internet to Azure. The architecture you'll see is illustrative. Names, sizes and values are samples

6
00:00:32.660 --> 00:00:36.200
chosen to explain the ideas, not recommendations.

7
00:00:36.600 --> 00:00:44.367
The app needs a computer to run on. An Azure virtual machine, or VM, is a computer that you create

8
00:00:44.367 --> 00:00:52.214
and configure in Azure. It's virtual because it runs on physical servers in a Microsoft datacenter.

9
00:00:52.214 --> 00:00:58.000
Azure manages that physical hardware, and you choose what runs on the VM.

10
00:00:58.400 --> 00:01:06.009
When the user uploads a photo, the request travels from the browser, across the network,

11
00:01:06.009 --> 00:01:14.742
to the VM. The web app running on the VM handles it and sends a response back. Notice the two layers:

12
00:01:14.742 --> 00:01:21.400
the VM is the computer, and the web app is software we install and run on it.

13
00:01:21.800 --> 00:01:28.747
Keeping those layers apart really matters. Azure provides and runs the virtual machine,

14
00:01:28.747 --> 00:01:35.535
but the operating system and the app on it are yours to configure, update and secure.

15
00:01:35.535 --> 00:01:42.562
If the app has a bug, the VM can be perfectly healthy. The fix happens in your software,

16
00:01:42.562 --> 00:01:43.600
not in Azure.

17
00:01:44.000 --> 00:01:51.807
When you create a VM, you choose an image, which provides its operating system. Azure offers Windows

18
00:01:51.807 --> 00:01:58.208
Server and many Linux distributions, such as Ubuntu, which we use in this example.

19
00:01:58.208 --> 00:02:05.000
The operating system is installed on the VM's OS disk, which we'll look at in a moment.

20
00:02:05.400 --> 00:02:11.761
Next is the VM's size. The size determines the compute resources available to the VM,

21
00:02:11.761 --> 00:02:19.020
such as the number of virtual CPUs and the amount of memory, along with limits like how many data

22
00:02:19.020 --> 00:02:25.081
disks you can attach. Sizes are grouped by purpose: for example, general purpose,

23
00:02:25.081 --> 00:02:28.000
compute optimized and memory optimized.

24
00:02:28.400 --> 00:02:35.553
To communicate, a VM needs a network interface, or NIC. Every VM has at least one.

25
00:02:35.553 --> 00:02:43.839
The NIC connects the VM to a subnet inside a virtual network and gives it a private IP address.

26
00:02:43.839 --> 00:02:52.300
It can also have a public IP address, if you add one. Virtual networks are the topic of Lesson 2.

27
00:02:52.700 --> 00:03:00.472
Finally, disks. Every VM has one OS disk, which holds the operating system. You can attach data disks

28
00:03:00.472 --> 00:03:07.474
for applications and data. Most VM sizes also include a temporary disk for short-term data,

29
00:03:07.474 --> 00:03:14.630
like page or swap files. Its data might be lost during maintenance or when the VM is stopped,

30
00:03:14.630 --> 00:03:17.400
so never keep important files there.

31
00:03:17.800 --> 00:03:24.855
Let's recap. A VM is a configurable computer in Azure. Its image provides the operating system,

32
00:03:24.855 --> 00:03:31.687
its size sets the compute resources, its network interface connects it to a virtual network,

33
00:03:31.687 --> 00:03:38.073
and its disks store the operating system and data. Next, we'll zoom into that network.

34
00:03:38.073 --> 00:03:42.900
And the uploaded photos? They'll go to Blob Storage, in Lesson 3.
