Jeremy's IT Lab
Day 54 Part 2WAN/Cloud

Containers

14m4 chapters53 cues8 cards
Day 54 Part 2YT: K731pAS22Aw
00:00 / 13:33

Synchronized Transcript

53 cues indexed • Click dialogue or words to jump
Jeremy

Welcome to Jeremy's IT Lab this is a complete course for the CCNA in this video we will cover a topic related to virtualization that is containers containers are similar to VMS virtual machines however there are some key differences that you must.

Jeremy

Understand if you are interested in the field of devops you will have to learn containers in depth for the CCNA however you only need to understand the very Basics.

Jeremy

Here's what we'll cover in this video first we will review virtual machines containers are a similar technology to Virtual machines.

Jeremy

So it's important to understand both so we can compare them then we will look at containers you may have heard of Docker before the most famous container engine available.

Jeremy

Finally we will spend some time comparing virtual machines and containers to begin here's an example of apps running on a server without virtualization there is a single operating system.

Jeremy

For example Windows server or Red Hat Linux and on top of that OS all of the apps are running the apps are not isolated a problem in one app could affect all of the other apps.

Jeremy

Now you could isolate them by buying a separate physical server for each individual app but that is extremely cost cost inefficient virtual machines are a solution to this problem virtual machines VMS allow multiple operating systems to run on a single.

Jeremy

Physical server and then apps are installed on those operating systems a hypervisor is used to manage and allocate Hardware resources to each VM.

Jeremy

Remember the VMS are all running on top of the same physical Hardware so they need a hypervisor to allocate those resources appro rately there are two main types of hypervisors type one hypervisors also known as native or bare metal hypervisors run directly.

Jeremy

On top of Hardware that is the top diagram notice the type 1 hypervisor directly on top of the hardware with each VM then running on top of the hypervisor type two hypervisors also known as hosted hypervisors run on top of a host OS.

Jeremy

For example Windows or perhaps MAC OS or some kind of Linux that is shown in the bottom diagram on top of the hardware there is a host OS with the type 2 hypervisor and its VMS installed on top of the host OS type 1 hypervisors are widely used in data.

Jeremy

Center environments if an Enterprise has servers installed in a Data Center and is running its apps on VMS in those servers you can be sure those VMS are running on a type 1 hypervisor type 2 hypervisors on the other hand are commonly used on personal devices.

Jeremy

For example running a virtual Network lab on your PC using Cisco modeling Labs modeling Labs CML for my personal studies I use CML to run virtual Labs Windows is installed on my PC Hardware I run VMware Workstation a type 2 hypervisor in Windows.

Jeremy

And then CML runs as a VM in workstation note that the OS in each VM can be the same or different if you are running multiple VMS one can be running Windows the other Linux and the other MAC OS.

Jeremy

That's no problem the binaries and libraries that I have indicated in Gray in the diagrams are software libraries and services needed by the apps running in each VM a VM allows its app or apps to run in an isolated environment separate from the apps.

Jeremy

In other VMS if there is an issue with one app or one of the guest os's it's not going to affect the others and VMS are easy to create delete move etc.

Jeremy

For example a VM can be easily saved and moved between different physical servers here's a very simple diagram to help you visualize the difference between type one and type 2 hypervisors type one runs directly on hardware and type.

Jeremy

Two runs on a host OS virtualization using VMS allows much more efficient use of server hardware and VM Ms are widely in use today however containers are a more recent virtualization technology being used more and more in recent days.

Jeremy

Let's move on to the main topic of today's video containers and then compare them to to VMS this diagram shows the basic architecture of how containers run containers are software packages that contain an app and all dependencies the binaries and libraries in the.

Jeremy

Diagram for the contained app to run note that multiple apps can be run in a single container although this is not how containers are usually used you can generally assume that one container means one app containers run on a container engine.

Jeremy

For example Docker engine which is the most popular one and that container engine is run on a host OS usually Linux which runs on the hardware containers are lightweight and include only the dependencies required for the specific app no need to run an OS in each.

Jeremy

Container unlike in VMS that is the major difference between VMS and containers VMS run an OS in each VM whereas containers don't all of the different costs and benefits of VMS versus containers come from that major difference.

Jeremy

Now a container orchestrator is a software platform for automating the deployment management scaling Etc of containers for example you might have heard of kubernetes which is the most popular container orchestrator Docker also has one called Docker Docker.

Jeremy

Swarm now why would we need a container orchestrator well in small numbers manual operation of containers is possible but large scale systems.

Jeremy

For example involving microservices can require thousands of containers that many containers cannot be realistically managed manually since I mentioned microservices microservice architecture is an approach to software architecture that divides a larger solution into smaller.

Jeremy

Parts called called microservices so instead of one monolithic app you might have hundreds of different microservices running together to form the larger solution and those microservices all run in containers that can be orchestrated by kubernetes or.

Jeremy

Another platform so that's a very quick overview of of containers now let's compare VMS and containers as I mentioned before these differences all stem from the fact that each VM runs its own OS whereas containers all run on top of a shared.

Jeremy

OS that major architectural difference has some implications that make containers favored in many cases these days first of all VMS can take minutes to boot up whereas containers can boot up in millisecs this makes containers much more agile.

Jeremy

For example if one container crashes it takes very little time for another to boot up and take over and VMS take up more dis space often tens of gigabytes whereas containers usually only take tens of megabytes again that stems from the fact that each VM.

Jeremy

Includes its own OS whereas a container only contains an app and its dependencies and for the same reason VMS use more CPU and RAM resources compared to to Containers regarding portability VMS are quite portable and can move between physical.

Jeremy

Systems running the same hypervisor but containers are even more so they are smaller faster to boot up and Docker containers can be run on nearly any container service.

Jeremy

So with these points containers are looking much better than VMS but VMS do have their advantages one advantage is that VMS are more isolated.

Jeremy

Because each VM runs its own OS an issue on One OS won't affect apps in other VMS however that can't be said for containers.

Jeremy

If the OS all containers run on top of crashes the containers are all affected note that this isolation also provides Security benefits for VMS to summarize there is a major movement toward the use of containers especially with the rise.

Jeremy

Of microservices Automation and devops which is the combination of software development and it operations but VMS are still widely used today and they aren't going to go away anytime soon the discussion of VMS versus containers has been had many times online do a search on.

Jeremy

Google or YouTube and you'll find lots of resources if you want to learn more here's what we covered in this video first we briefly reviewed virtual machines.

Jeremy

And then we covered containers and compared them with VMS containers and VMS are similar but also different in key ways there is of course a lot of depth to the topic of containers Docker kubernetes etc for the CCNA you should just know the basics I mentioned in this video.

Jeremy

But if you're interested in learning more there are countless resources available online okay let's go to the quiz here's question question one identify the three components below that containers run on top of pause the video.

Jeremy

Now to think about the answer okay the three components are the hardware the OS which runs on top of the hardware and the container engine which runs on top of the OS then the containers all run on top of the container.

Jeremy

Container engine okay let's go to question two which of the following are examples of container orchestrators select two pause the video.

Jeremy

Now to select the answers okay the answers are B Docker swarm and C kubernetes they are both popular container orchestration platforms although kubernetes is definitely the most popular Ducker engine is a container engine which containers run on top.

Jeremy

Of it's not an orchestrator and hyperv is a type 1 hypervisor by Microsoft it's not related to Containers okay.

Jeremy

Let's go to question three which of the the following statements about VMS and containers are true select three pause the video.

Jeremy

Now to select the best answers okay the answers are a C and F VMS require more resources than containers.

Jeremy

Because each VM runs its own OS VMS are more isolated than containers again because each VM runs its own OS containers on the other hand all run on a host OS with a container engine installed on top of it.

Jeremy

Okay that's all for the quiz and this video I hope this video was helpful thanks for watching before finishing this video let me thank my jcn P level channel members to become a member please click the join button under the video thanks to yonatan Makara.

Jeremy

Velva jacum George streer funny dart nir chowder Devin suku Gustavo bar Gerard Baker Marcel l Pavo M Mr erison drosa Zak sha May Salman Mason Anderson V 194 G Lindley nemia Justin waty Mark.

Jeremy

Jackson bold 1C oneu Michael Carroll Gerald guiam Gabriel Braga Rena maras Hector Hernandez Ali poat marituba Roi kuriakos arpad kives 5et Daniel Brown tricky Mickey 123 456 Scott Thompson.

Jeremy

Jose Alvarez Alvarez Kevin Hayes husan Yus Samuel Tavarez Mustafa ersoy dear Doo Nasser zahar Alexandre badic Brian Grant Gori gev Ahmed Ismail dibia Swain tan no arand plaria Adon Pereira ABDO zizo.

Jeremy

And farad 69 sorry if I pronounced your name incorrectly but thank you so much for your support thanks to you and my other supporters I am able to make these videos and release them for free on YouTube.

Jeremy

So I really appreciate the support another great way to support the channel is to like the video leave a comment subscribe and most importantly share this video with others.

Jeremy

So if this video was helpful I'd appreciate it if you did any of those thanks for watching [Music] [Music].

Jeremy

M m [Music].

Keyboard shortcuts

Shortcuts are ignored while you are typing in a search box, note field, or the scratchpad.

Playback

SpaceK
Play or pause
←→
Seek 5 seconds
JL
Seek 10 seconds
C
Toggle in-video captions

Scrubber (when focused)

←→
Seek 5 seconds
Shift←/→
Seek 10 seconds
Page UpPage Down
Seek 30 seconds
HomeEnd
Jump to start or end

Flashcards

Space
Reveal the answer
1234
Grade Again / Hard / Good / Easy

Navigation

←→
Move between study-mode tabs
HomeEnd
First or last study-mode tab
?
Open or close this sheet