Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:09,179 --> 00:00:12,309
This is a complete course for the CCNA.
2
00:00:12,308 --> 00:00:18,429
In this video we will cover a topic related\n
3
00:00:18,429 --> 00:00:23,460
Containers are similar to VMs, virtual machines,\n
4
00:00:25,620 --> 00:00:31,100
If you are interested in the field of DevOps,\n
5
00:00:31,100 --> 00:00:36,060
For the CCNA however, you only need to understand\n
6
00:00:36,060 --> 00:00:39,750
Here’s what we’ll cover in this video.
7
00:00:39,750 --> 00:00:42,960
First we will review virtual machines.
8
00:00:42,960 --> 00:00:47,179
Containers are a similar technology to virtual\n
9
00:00:50,329 --> 00:00:52,600
Then we will look at containers.
10
00:00:52,600 --> 00:00:58,050
You may have heard of Docker before, the most\n
11
00:00:58,049 --> 00:01:02,500
Finally we will spend some time comparing\n
12
00:01:02,500 --> 00:01:09,390
To begin, here’s an example of apps running\n
13
00:01:09,390 --> 00:01:15,280
There is a single operating system, for example\n
14
00:01:15,280 --> 00:01:18,549
of that OS all of the apps are running.
15
00:01:20,438 --> 00:01:23,829
A problem in one app could affect all of the\nother apps.
16
00:01:23,829 --> 00:01:29,509
Now, you could isolate them by buying a separate\n
17
00:01:29,510 --> 00:01:32,799
that is extremely cost-inefficient.
18
00:01:32,799 --> 00:01:37,170
Virtual Machines are a solution to this problem.
19
00:01:37,170 --> 00:01:43,379
Virtual Machines, VMs, allow multiple operating\n
20
00:01:43,379 --> 00:01:47,298
and then apps are installed on those operating\nsystems.
21
00:01:47,299 --> 00:01:52,450
A hypervisor is used to manage and allocate\n
22
00:01:52,450 --> 00:01:57,390
Remember, the VMs are all running on top of\n
23
00:01:57,390 --> 00:02:01,609
hypervisor to allocate those resources appropriately.
24
00:02:01,609 --> 00:02:08,219
There are two main types of hypervisors, Type\n
25
00:02:08,219 --> 00:02:11,719
hypervisors, run directly on top of hardware.
26
00:02:11,719 --> 00:02:17,109
That is the top diagram, notice the Type 1\n
27
00:02:17,110 --> 00:02:20,200
with each VM then running on top of the hypervisor.
28
00:02:20,199 --> 00:02:27,738
Type 2 hypervisors, also known as Hosted hypervisors,\n
29
00:02:27,739 --> 00:02:31,349
or perhaps macOS or some kind of Linux.
30
00:02:31,348 --> 00:02:34,169
That is shown in the bottom diagram.
31
00:02:34,169 --> 00:02:39,348
On top of the hardware there is a Host OS,\n
32
00:02:41,469 --> 00:02:46,818
Type 1 hypervisors are widely used in data\ncenter environments.
33
00:02:46,818 --> 00:02:51,509
If an enterprise has servers installed in\n
34
00:02:51,509 --> 00:02:56,609
in those servers, you can be sure those VMs\n
35
00:02:56,610 --> 00:03:02,489
Type 2 hypervisors, on the other hand, are\n
36
00:03:02,489 --> 00:03:08,459
For example, running a virtual network lab\n
37
00:03:08,459 --> 00:03:13,628
For my personal studies, I use CML to run\nvirtual labs.
38
00:03:13,628 --> 00:03:19,439
Windows is installed on my PC hardware, I\n
39
00:03:19,439 --> 00:03:24,939
in Windows, and then CML runs as a VM in Workstation.
40
00:03:24,939 --> 00:03:28,800
Note that the OS in each VM can be the same\nor different.
41
00:03:28,800 --> 00:03:33,570
If you are running multiple VMs, one can be\n
42
00:03:33,569 --> 00:03:36,859
other macOS, that’s no problem.
43
00:03:36,860 --> 00:03:42,439
The binaries and libraries that I have indicated\n
44
00:03:42,438 --> 00:03:45,840
and services needed by the Apps running in\neach VM.
45
00:03:45,840 --> 00:03:52,598
A VM allows its app or apps to run in an isolated\n
46
00:03:53,989 --> 00:03:58,489
If there is an issue with one app or one of\n
47
00:04:00,489 --> 00:04:05,019
And VMs are easy to create, delete, move,\netc.
48
00:04:05,019 --> 00:04:10,769
For example a VM can be easily saved and moved\n
49
00:04:10,769 --> 00:04:16,430
Here’s a very simple diagram to help you\n
50
00:04:18,069 --> 00:04:25,290
Type 1 runs directly on hardware, and Type\n2 runs on a Host OS.
51
00:04:25,290 --> 00:04:30,030
Virtualization using VMs allows much more\n
52
00:04:32,740 --> 00:04:38,319
However, containers are a more recent virtualization\n
53
00:04:39,319 --> 00:04:44,060
Let’s move on to the main topic of today’s\n
54
00:04:46,740 --> 00:04:51,420
This diagram shows the basic architecture\nof how containers run.
55
00:04:51,420 --> 00:04:56,129
Containers are software packages that contain\n
56
00:04:56,129 --> 00:05:00,540
and libraries in the diagram, for the contained\napp to run.
57
00:05:00,540 --> 00:05:05,430
Note that multiple apps can be run in a single\n
58
00:05:07,259 --> 00:05:11,839
You can generally assume that one container\nmeans one app.
59
00:05:11,839 --> 00:05:16,619
Containers run on a Container Engine, for\n
60
00:05:18,069 --> 00:05:24,930
And that container engine is run on a host\n
61
00:05:24,930 --> 00:05:29,079
Containers are lightweight and include only\n
62
00:05:30,300 --> 00:05:34,680
No need to run an OS in each container, unlike\nin VMs.
63
00:05:34,680 --> 00:05:40,959
That is the major difference between VMs and\n
64
00:05:42,990 --> 00:05:48,949
All of the different costs and benefits of\n
65
00:05:48,949 --> 00:05:55,350
Now, a container orchestrator is a software\n
66
00:05:58,259 --> 00:06:04,439
For example you might have heard of Kubernetes,\n
67
00:06:04,439 --> 00:06:07,160
Docker also has one called Docker Swarm.
68
00:06:07,160 --> 00:06:10,360
Now, why would we need a container orchestrator?
69
00:06:10,360 --> 00:06:17,150
Well, in small numbers manual operation of\n
70
00:06:17,149 --> 00:06:22,419
for example involving microservices, can require\n
71
00:06:22,420 --> 00:06:26,810
That many containers cannot be realistically\nmanaged manually.
72
00:06:26,810 --> 00:06:33,069
Since I mentioned microservices, Microservice\n
73
00:06:33,069 --> 00:06:38,189
that divides a larger solution into smaller\n
74
00:06:38,189 --> 00:06:42,750
So instead of one monolithic app, you might\n
75
00:06:42,750 --> 00:06:46,160
together to form the larger solution.
76
00:06:46,160 --> 00:06:51,100
And those microservices all run in containers\n
77
00:06:52,250 --> 00:06:58,060
So, that’s a very quick overview of containers.
78
00:06:58,060 --> 00:07:01,300
Now let’s compare VMs and containers.
79
00:07:01,300 --> 00:07:05,990
As I mentioned before, these differences all\n
80
00:07:05,990 --> 00:07:11,160
OS, whereas containers all run on top of a\nshared OS.
81
00:07:11,160 --> 00:07:15,620
That major architectural difference has some\n
82
00:07:18,470 --> 00:07:25,030
First of all, VMs can take minutes to boot\n
83
00:07:25,029 --> 00:07:27,759
This makes containers much more agile.
84
00:07:27,759 --> 00:07:32,870
For example, if one container crashes it takes\n
85
00:07:34,839 --> 00:07:40,310
And VMs take up more disk space, often tens\n
86
00:07:42,120 --> 00:07:47,769
Again, that stems from the fact that each\n
87
00:07:47,769 --> 00:07:51,959
only contains an app and its dependencies.
88
00:07:51,959 --> 00:07:58,339
And for the same reason, VMs use more CPU\n
89
00:07:58,339 --> 00:08:03,500
Regarding portability, VMs are quite portable\n
90
00:08:03,500 --> 00:08:07,240
the same hypervisor, but containers are even\nmore so.
91
00:08:07,240 --> 00:08:13,340
They are smaller, faster to boot up, and Docker\n
92
00:08:14,339 --> 00:08:19,819
So, with these points containers are looking\n
93
00:08:21,870 --> 00:08:27,439
One advantage is that VMs are more isolated\n
94
00:08:27,439 --> 00:08:32,190
An issue on one OS won’t affect apps in\nother VMs.
95
00:08:32,190 --> 00:08:38,149
However that can’t be said for containers;\n
96
00:08:38,149 --> 00:08:40,820
the containers are all affected.
97
00:08:40,820 --> 00:08:45,200
Note that this isolation also provides security\n
98
00:08:45,200 --> 00:08:51,200
To summarize; there is a major movement toward\n
99
00:08:51,200 --> 00:08:57,560
rise of microservices, automation, and DevOps,\n
100
00:08:59,909 --> 00:09:04,909
But VMs are still widely used today and they\n
101
00:09:04,909 --> 00:09:09,329
The discussion of VMs versus containers has\n
102
00:09:09,330 --> 00:09:13,620
Do a search on Google or YouTube and you’ll\n
103
00:09:14,960 --> 00:09:18,570
Here’s what we covered in this video.
104
00:09:18,570 --> 00:09:23,180
First we briefly reviewed virtual machines,\n
105
00:09:25,578 --> 00:09:29,838
Containers and VMs are similar but also different\nin key ways.
106
00:09:29,839 --> 00:09:35,829
There is, of course, a lot of depth to the\n
107
00:09:35,828 --> 00:09:40,569
For the CCNA you should just know the basics\n
108
00:09:40,570 --> 00:09:44,740
interested in learning more there are countless\n
109
00:09:44,740 --> 00:09:49,209
Okay, let’s go to the quiz, here’s question\n1.
110
00:09:49,208 --> 00:09:53,129
SLIDE9\nIdentify the three components below that containers
111
00:09:54,839 --> 00:09:59,240
Pause the video now to think about the answer.
112
00:09:59,240 --> 00:10:07,210
Okay, the three components are the hardware,\n
113
00:10:07,210 --> 00:10:11,220
and the container engine which runs on top\nof the OS.
114
00:10:11,220 --> 00:10:14,250
Then the containers all run on top of the\ncontainer engine.
115
00:10:19,379 --> 00:10:22,799
Which of the following are examples of container\norchestrators?
116
00:10:22,799 --> 00:10:28,859
(select two) Pause the video now to select\nthe answers.
117
00:10:28,860 --> 00:10:36,180
Okay, the answers are B, Docker Swarm and\nC, Kubernetes.
118
00:10:36,179 --> 00:10:40,870
They are both popular container orchestration\n
119
00:10:42,778 --> 00:10:48,889
Docker Engine is a container engine which\n
120
00:10:48,889 --> 00:10:54,100
And Hyper-V is a Type-1 hypervisor by Microsoft,\n
121
00:10:59,009 --> 00:11:04,139
Which of the following statements about VMs\n
122
00:11:04,139 --> 00:11:09,210
the video now to select the best answers.
123
00:11:09,210 --> 00:11:19,190
Okay, the answers are A, C, and F. VMs require\n
124
00:11:21,259 --> 00:11:26,659
VMs are more isolated than containers, again\n
125
00:11:26,659 --> 00:11:31,870
Containers, on the other hand, all run on\n
126
00:11:33,019 --> 00:11:36,570
Okay, that’s all for the quiz and this video.
127
00:11:36,570 --> 00:11:40,750
I hope this video was helpful, thanks for\nwatching.
10503
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.