Day-3 | Virtual Machines Part-1 | Free DevOps Course | 45 days | #devopscourse #2023 #learning #vm

00:25:26
https://www.youtube.com/watch?v=lgUwYwBozow

Resumo

TLDRIn this video, Abhishek continues his DevOps Zero to Hero course by focusing on virtual machines, an essential concept in DevOps. He explains how virtual machines enhance resource efficiency by allowing multiple isolated environments to run on a single physical server. Using an analogy of constructing a house on a land, Abhishek illustrates how virtualization prevents resource wastage. Further, he introduces hypervisorsโ€”software responsible for creating these virtual environments on physical servers. Abhishek discusses the practical application of virtual machines in cloud computing services like AWS, where cloud providers use hypervisors to offer scalable and efficient computing resources. He emphasizes that DevOps is about optimizing resource usage and improving efficiency. The video also sets the stage for a future demonstration of creating a virtual machine on AWS.

Conclusรตes

  • ๐Ÿ”‘ Virtual machines provide isolated environments for running applications efficiently.
  • ๐Ÿ’ก They allow multiple virtual systems to operate on a single physical server, maximizing resource use.
  • โš™๏ธ Hypervisors are crucial for managing and deploying virtual machines.
  • ๐ŸŒ Cloud services like AWS utilize virtualization for scalable, efficient server management.
  • ๐ŸŒ Virtualization minimizes physical resource wastage, enhancing overall productivity.
  • ๐Ÿ–ฅ๏ธ Virtual machines operate independently with their own resources, despite sharing physical hardware.
  • ๐Ÿ” DevOps practices emphasize improved efficiency through such technological advancements.
  • ๐Ÿ”„ The video series is designed to educate viewers on DevOps from basic to advanced levels.
  • ๐Ÿ“ˆ Applying virtual machines in organizations can lead to significant cost and resource efficiency.
  • ๐Ÿ› ๏ธ Practical examples, such as creating virtual machines on popular platforms, are part of the learning process.

Linha do tempo

  • 00:00:00 - 00:05:00

    Abhishek introduces the third day of the DevOps "Zero to Hero" course, focusing on virtual machines, an essential DevOps concept. He promises to explain the differences between physical servers and virtual machines using a real-world analogy and assure viewers they will understand virtual machines clearly after the session. He also indicates future topics like hypervisors and creating virtual machines, although the actual creation will be addressed in the next video.

  • 00:05:00 - 00:10:00

    Abhishek uses a real-world analogy involving constructing a house on a piece of land to explain the concept of resource efficiency in DevOps. He illustrates how one might initially use the entire land but later realize only half is needed, so the rest is repurposed, symbolizing the efficient use of resources, a key principle in DevOps. He ties this analogy to the efficient use of server resources through virtualization.

  • 00:10:00 - 00:15:00

    He moves to the topic of application deployment on servers, explaining that physical servers often result in underutilization of resources when dedicated solely to individual teams or applications. He introduces virtualization as a solution, where a hypervisor creates multiple virtual machines on a single physical server, allowing for better resource utilization and reduced wastage, thus aligning with DevOps' goals of improving efficiency through resource management.

  • 00:15:00 - 00:20:00

    Abhishek explains virtualization's role in real-world cloud services using AWS as an example. He discusses how cloud providers use hypervisors to allocate virtual machines efficiently across physical data centers, allowing many more users to share computing resources effectively than would be possible with only physical servers. This enhances efficiency, supporting DevOps' core mission of maximizing resource use.

  • 00:20:00 - 00:25:26

    He wraps up by summarizing the benefits of virtual machines, reiterating how they allow multiple users to efficiently share server resources under logical isolation, thereby enhancing operational efficiency. He encourages viewers to apply this knowledge within their own work contexts and invites feedback and questions for further discussion in future videos. Abhishek also promotes engagement through likes, comments, and sharing the video with others interested in DevOps.

Mostrar mais

Mapa mental

Mind Map

Perguntas frequentes

  • What is the main topic of this video?

    The video discusses virtual machines and their importance in DevOps.

  • What analogy is used to explain virtual machines?

    A land analogy is used, where a house is built on a portion of land, and the remaining land is rented out instead of being left unused.

  • Why are virtual machines important in DevOps?

    They improve resource utilization efficiency by allowing multiple virtual environments to run on a single physical server.

  • What is a hypervisor?

    A hypervisor is software that creates and manages virtual machines on a physical server.

  • How does virtualization increase efficiency?

    It allows a single physical server to be partitioned into multiple virtual machines, optimizing resource usage.

  • What practical example of virtual machine creation is mentioned?

    The speaker mentions creating virtual machines using a hypervisor on platforms like AWS.

  • How do cloud providers use virtual machines?

    Cloud providers use hypervisors to create multiple virtual machines on physical servers in their data centers, offering them to users on demand.

  • What does the speaker plan for the next video?

    The speaker plans to demonstrate creating a virtual machine on AWS.

  • How can virtual machines be beneficial on personal devices?

    Tools like Oracle VirtualBox allow users to create and share virtual environments on personal devices, enhancing functionality and resource use.

  • What is the broader learning goal of this video series?

    The series aims to take viewers from zero to hero in DevOps, explaining fundamental concepts like virtual machines.

Ver mais resumos de vรญdeos

Obtenha acesso instantรขneo a resumos gratuitos de vรญdeos do YouTube com tecnologia de IA!
Legendas
en
Rolagem automรกtica:
  • 00:00:01
    hello everyone my name is Abhishek and
  • 00:00:03
    welcome back to my channel
  • 00:00:05
    so today is day three of our devops Zero
  • 00:00:10
    to Hero three hero course so if you
  • 00:00:12
    haven't watched the previous videos uh
  • 00:00:14
    day one and day two and also Day Zero so
  • 00:00:16
    you can watch them on the devops
  • 00:00:19
    playlist so I have created a devops
  • 00:00:21
    playlist and uh I'll keep uploading all
  • 00:00:23
    this devops Zero to Hero uh videos on
  • 00:00:26
    the same playlist so you know you can go
  • 00:00:28
    back and watch the playlist and then
  • 00:00:29
    come back to the day three and today we
  • 00:00:32
    are going to talk about virtual machines
  • 00:00:34
    which is very very important concept of
  • 00:00:37
    devops so you know if you don't know
  • 00:00:39
    what is a server itself then we will
  • 00:00:41
    also learn that if you don't know the
  • 00:00:43
    concept of physical servers we'll also
  • 00:00:45
    learn that today and we will try to
  • 00:00:47
    learn everything with a real world
  • 00:00:49
    example let's say you watched a lot of
  • 00:00:51
    videos on Virtual machines and you still
  • 00:00:53
    don't understand what a virtual machine
  • 00:00:54
    is so today I'll make sure that all of
  • 00:00:57
    you will understand the concept of
  • 00:00:59
    virtual machines with a real world
  • 00:01:00
    example and trust me after this video
  • 00:01:03
    you're not going to have any notes on
  • 00:01:05
    what is a virtual machine why are they
  • 00:01:07
    different from physical servers why is
  • 00:01:09
    it an overhyped concept or I mean is it
  • 00:01:12
    a overhype concept or why there is a lot
  • 00:01:13
    of hype around virtual machines so we'll
  • 00:01:16
    try to learn all of those things
  • 00:01:18
    so uh keep watching the entire video uh
  • 00:01:21
    even if you know the concept of virtual
  • 00:01:22
    machine we'll try to uh understand this
  • 00:01:25
    is a very uh real world perspective so
  • 00:01:28
    that you know
  • 00:01:29
    you you might have missed something
  • 00:01:31
    while learning about virtual machines
  • 00:01:33
    and I might cover uh those specific
  • 00:01:34
    scenarios so
  • 00:01:36
    uh yeah I mean let's proceed and try to
  • 00:01:39
    understand what a virtual machine is and
  • 00:01:41
    we'll also see what is the hypervisor is
  • 00:01:43
    and we will uh talk about like uh how to
  • 00:01:46
    create these virtual machines also will
  • 00:01:48
    not create a virtual machine today
  • 00:01:49
    probably we'll do it in the next video
  • 00:01:50
    but we'll talk about like what are the
  • 00:01:52
    different ways to create virtual
  • 00:01:54
    machines and like I mentioned a real
  • 00:01:55
    world scenario
  • 00:01:57
    okay so without wasting any time uh let
  • 00:02:00
    me uh quickly start with the concept for
  • 00:02:02
    the day that is virtual machines
  • 00:02:05
    okay so let's say uh I mean I'm taking a
  • 00:02:09
    real world
  • 00:02:13
    uh is there a change in the speaker
  • 00:02:15
    again no
  • 00:02:17
    perfect so let's say uh you have a plane
  • 00:02:21
    land okay so I'm talking about a real
  • 00:02:24
    world scenario so don't get confused why
  • 00:02:26
    is Abhishek talking about uh land or uh
  • 00:02:28
    this kind of thing so if you put devops
  • 00:02:30
    aside let's say you have a plane land
  • 00:02:34
    okay you are in your village or you are
  • 00:02:36
    in your hometown and you have a plane
  • 00:02:38
    land okay so now what you have done is
  • 00:02:41
    in this plane land you have constructed
  • 00:02:43
    a house okay so you took this plane land
  • 00:02:46
    and you built a house around it
  • 00:02:49
    okay and maybe you along with your
  • 00:02:52
    family members you started Living in
  • 00:02:54
    this plane land okay so let's say this
  • 00:02:56
    plane land is a one acre land
  • 00:03:00
    okay and in the entire one acre land you
  • 00:03:02
    have constructed your team Hall dream
  • 00:03:04
    house and you started Living in this uh
  • 00:03:07
    one acre land okay so you are
  • 00:03:09
    essentially using all the water
  • 00:03:11
    resources and you're also using the
  • 00:03:13
    entire land probably you are uh you know
  • 00:03:16
    you have built a park here or you have a
  • 00:03:18
    built a prey area and you are enjoying
  • 00:03:20
    this one acre of land and you are
  • 00:03:23
    happily living in this one acre of land
  • 00:03:25
    Okay so
  • 00:03:27
    one sudden day what you uh realized was
  • 00:03:31
    okay
  • 00:03:32
    although you are just a family member
  • 00:03:34
    like you know you are two or three
  • 00:03:36
    people or four or five people who are
  • 00:03:38
    living in this one acre land you all of
  • 00:03:39
    a sudden you realize that okay I
  • 00:03:42
    understood that I'm living happily or
  • 00:03:44
    I'm enjoying this entire property but I
  • 00:03:47
    don't need this entire one acre okay
  • 00:03:49
    even though I have a built-in Park I
  • 00:03:51
    have Garden I have everything I'm still
  • 00:03:53
    not using most of this land okay so what
  • 00:03:56
    you have realized is you only require
  • 00:03:57
    half acre of this land even to live
  • 00:04:00
    lavishly right you know even if you want
  • 00:04:03
    to live very happily you just require
  • 00:04:05
    half acre of it but what you are doing
  • 00:04:07
    is you are only using uh half acre of it
  • 00:04:10
    and you are wasting this half acre okay
  • 00:04:12
    nobody is really using this Africa and
  • 00:04:14
    it is going unused so what you have
  • 00:04:16
    thought is okay let me come up with an
  • 00:04:18
    idea and let me build
  • 00:04:22
    the same one acre land what you have
  • 00:04:24
    done is in this one fourth of acre or in
  • 00:04:27
    this half acre that you have unused what
  • 00:04:29
    you have done is you have built another
  • 00:04:31
    property
  • 00:04:32
    okay
  • 00:04:33
    alongside with the property that you are
  • 00:04:36
    staying okay this is the property that
  • 00:04:37
    you are staying with your family members
  • 00:04:38
    and what you have done is apart from
  • 00:04:41
    this you have built another property and
  • 00:04:43
    you gave this property for
  • 00:04:47
    rent okay so your comfort or your
  • 00:04:51
    convenience hasn't changed from step one
  • 00:04:53
    to step two okay in step one you have
  • 00:04:56
    the same land you are using the same
  • 00:04:59
    property that you are using in step two
  • 00:05:01
    but in step two what you have done is
  • 00:05:03
    Additionally you have gained access to
  • 00:05:06
    rent okay so what happened is along with
  • 00:05:10
    your lavishness or your property that
  • 00:05:12
    you are using you also got access to
  • 00:05:15
    rent okay so that means along with you
  • 00:05:18
    there is one more person who is staining
  • 00:05:20
    in the same property and you are not
  • 00:05:23
    interfering interfering in one other
  • 00:05:25
    things right so he is having access to
  • 00:05:27
    this one fourth or one one by two icker
  • 00:05:31
    of the property and you have access to
  • 00:05:32
    the remaining acre of the property and
  • 00:05:34
    nobody is Disturbed right because he has
  • 00:05:36
    his own resources let's say he has built
  • 00:05:38
    this park in one fourth of acre you have
  • 00:05:41
    Park in this three fourth of acre
  • 00:05:44
    he has his own Water Resources nobody is
  • 00:05:46
    interfering in each other like he is
  • 00:05:48
    leaving he's he's leading his life
  • 00:05:50
    happily and you're also leading your
  • 00:05:52
    life happily so now what happened was
  • 00:05:54
    instead of wasting these resources what
  • 00:05:56
    you have done is you have built another
  • 00:05:59
    land and instead of two people here four
  • 00:06:02
    people are living in the same land that
  • 00:06:05
    means now you have efficiently started
  • 00:06:07
    using the resources so this is an
  • 00:06:10
    efficiency right
  • 00:06:13
    or this is inefficient way and this is
  • 00:06:16
    the efficient way
  • 00:06:18
    okay and if you are following my videos
  • 00:06:21
    from day one I'm always telling you that
  • 00:06:24
    devops is all about efficiency okay
  • 00:06:27
    where will devops come into picture
  • 00:06:28
    devops will come into picture in
  • 00:06:30
    improving the efficiency so whenever
  • 00:06:33
    you do automation or whenever you do
  • 00:06:36
    devops your end goal is efficiency so
  • 00:06:39
    this is the end goal so that's why as a
  • 00:06:42
    devops engineer you should be looking at
  • 00:06:44
    improving the
  • 00:06:47
    usage or you know let's say you're on
  • 00:06:49
    AWS or let's say you're on Azure you
  • 00:06:51
    should always make sure that you use
  • 00:06:53
    your resources efficiently so that's
  • 00:06:55
    where the virtual machines come into
  • 00:06:57
    picture okay so I hope you understood
  • 00:06:59
    this example no I'll turn this example
  • 00:07:01
    into a real world
  • 00:07:03
    software industry problem okay so this
  • 00:07:06
    is a real world problem now let's
  • 00:07:07
    convert this into a real world software
  • 00:07:09
    industry problem that is
  • 00:07:11
    we take the same example here let's say
  • 00:07:14
    there is a server okay now firstly for
  • 00:07:17
    somebody who don't understand the
  • 00:07:18
    concept of server
  • 00:07:19
    what is a server so server is nothing
  • 00:07:21
    but
  • 00:07:23
    you want to deploy your applications
  • 00:07:25
    right let's say you have your
  • 00:07:26
    application in your local laptop okay so
  • 00:07:29
    this is your local laptop
  • 00:07:31
    and you have it you are a developer you
  • 00:07:33
    developed a application feature okay you
  • 00:07:35
    developed an application and now you
  • 00:07:37
    want to deliver it to the customer or
  • 00:07:39
    real world for example today you're
  • 00:07:40
    using google.com Okay or today using
  • 00:07:43
    amazon.com so all of these things are
  • 00:07:45
    hosted on a public server so that's why
  • 00:07:47
    you are able to access these things so
  • 00:07:49
    that is nothing but a server
  • 00:07:52
    okay so inside This Server let's say
  • 00:07:55
    that uh your organization that is
  • 00:07:58
    example.com what they have done is okay
  • 00:08:00
    so there is example.com and what
  • 00:08:03
    example.com has done is they bought five
  • 00:08:06
    servers okay one two three
  • 00:08:10
    four and five so they bought five
  • 00:08:13
    different servers if you see here
  • 00:08:15
    they're of different different sizes
  • 00:08:16
    okay so one two three four five so
  • 00:08:21
    they're about five different servers
  • 00:08:22
    from HP okay let's say HP is selling the
  • 00:08:26
    servers so what this example.com or the
  • 00:08:28
    devops engineered example.com or the CIS
  • 00:08:32
    admin
  • 00:08:33
    okay at example.com what they have done
  • 00:08:36
    is they bought five servers one two
  • 00:08:38
    three four five from HP okay so what
  • 00:08:41
    happened is they deployed this
  • 00:08:43
    application let's say we call it as app
  • 00:08:45
    one okay
  • 00:08:47
    so app one is deployed on server one
  • 00:08:49
    okay now this app one let's say it
  • 00:08:52
    required 4GB Ram
  • 00:08:55
    this is just an example in general
  • 00:08:57
    applications might use less or less uh
  • 00:09:00
    more GB but let's say this application
  • 00:09:03
    is using 4GB RAM and it is using
  • 00:09:06
    four processors okay 4GB RAM and four
  • 00:09:09
    CPUs so now what happened is this server
  • 00:09:12
    is actually of size
  • 00:09:16
    100 GB and
  • 00:09:19
    100 core but you deployed an application
  • 00:09:22
    of 4GB and 4 CPU okay and all your
  • 00:09:25
    developers and testers are using this to
  • 00:09:28
    test your application okay you installed
  • 00:09:30
    the application server probably Tomcat
  • 00:09:32
    or web square or web logic and you
  • 00:09:34
    started this application on this server
  • 00:09:36
    but of late you realize that this
  • 00:09:38
    application only requires 4GB and 4 CPU
  • 00:09:40
    so you are wasting the entire resources
  • 00:09:42
    okay or there are five different teams
  • 00:09:46
    in your organizations and what you have
  • 00:09:48
    done is you give each and every server
  • 00:09:50
    like you know one server you give for
  • 00:09:51
    team one two server you give to team two
  • 00:09:54
    and fifth server you gave to team five
  • 00:09:58
    you realize that these teams are
  • 00:10:01
    inefficiently using this servers that is
  • 00:10:04
    the team fire has deployed application
  • 00:10:05
    file but application 5 might only
  • 00:10:07
    require 10 percentage of excel resources
  • 00:10:10
    that this server is providing again if
  • 00:10:12
    the server is 50 GB
  • 00:10:15
    in Ram and if team Phi only requires 5gb
  • 00:10:18
    of RAM
  • 00:10:19
    okay what is happening you are wasting
  • 00:10:21
    the 45 GB that is you are only using 10
  • 00:10:25
    percent of the resources and you are
  • 00:10:27
    unutilizing the 90 percentage of the
  • 00:10:30
    resources or you are not utilizing the
  • 00:10:31
    90 of resources so there came the
  • 00:10:35
    actual problem or the big rock that is
  • 00:10:39
    inefficiency okay so always I'm using
  • 00:10:42
    the same word I'm repeating the same
  • 00:10:44
    thing that is because devops is all
  • 00:10:47
    about improving the efficiency so now
  • 00:10:49
    here the teams are under utilizing the
  • 00:10:52
    resources or they are not using the
  • 00:10:53
    resources efficiently so that's why the
  • 00:10:56
    concept of virtualization came into
  • 00:10:58
    picture so now what virtualization does
  • 00:11:00
    is the concept of virtualization will
  • 00:11:02
    let's say you have this physical server
  • 00:11:04
    that you bought from HP or IBM okay
  • 00:11:07
    primarily these are the players who sell
  • 00:11:09
    the physical servers
  • 00:11:11
    or microsoftware anybody okay so you uh
  • 00:11:14
    bought the physical server let's call it
  • 00:11:16
    as server one
  • 00:11:20
    from HP or IBM and what you have done is
  • 00:11:23
    you have typically I mean previously you
  • 00:11:27
    just gave it to team one okay but with
  • 00:11:30
    the concept of virtualization what you
  • 00:11:31
    will do is that on this one physical
  • 00:11:33
    server you will install a hypervisor
  • 00:11:36
    okay what is hypervisor hypervisor is a
  • 00:11:39
    software
  • 00:11:40
    okay that can install virtual machines
  • 00:11:43
    on your bare metal or physical servers
  • 00:11:45
    and what you have done is instead of one
  • 00:11:47
    server you have created Five servers
  • 00:11:49
    okay what you are actually doing is you
  • 00:11:52
    are doing a logical partition okay you
  • 00:11:54
    are not breaking the server physically
  • 00:11:56
    right like you don't take your laptop
  • 00:11:58
    and you break it or you didn't take a
  • 00:12:00
    server and break it instead you do a
  • 00:12:02
    logical separation okay remember this
  • 00:12:04
    one I am talking about logical isolation
  • 00:12:11
    okay so what you are doing is you are
  • 00:12:13
    doing a logical isolation of these ones
  • 00:12:15
    and you are calling this as virtual
  • 00:12:17
    machine one Virtual Machine 2 virtual
  • 00:12:19
    machine three four and five okay why we
  • 00:12:22
    are calling them as virtual machines
  • 00:12:23
    because they are only logical okay they
  • 00:12:25
    don't exist physically so they are a
  • 00:12:27
    virtual machine so that's why we call
  • 00:12:29
    them VMS Okay so
  • 00:12:32
    in this case you added efficiency using
  • 00:12:35
    devops okay so what did you add
  • 00:12:39
    efficiency how did you add the
  • 00:12:42
    efficiency by automating the process
  • 00:12:43
    using a
  • 00:12:44
    hypervisor
  • 00:12:47
    what are some of the popular uh
  • 00:12:50
    hypervisors okay some of the popular
  • 00:12:52
    hypervisors are
  • 00:12:55
    VMware
  • 00:12:58
    Zen okay these are some of the popular
  • 00:13:01
    hypervisors okay using this popular
  • 00:13:03
    hypervisors what you would do is you do
  • 00:13:06
    a logical separation okay you bake this
  • 00:13:09
    physical server into logical machines or
  • 00:13:11
    virtual machines and now instead of just
  • 00:13:14
    team one what can I mean what happens is
  • 00:13:17
    team one can use Virtual Machine one
  • 00:13:19
    team two can use Virtual Machine two
  • 00:13:21
    team three can use Virtual Machine 3 and
  • 00:13:23
    4 and 5 respectively
  • 00:13:26
    this is advantage of using a virtual
  • 00:13:28
    machine just to repeat or just to make
  • 00:13:31
    you understand the concept of virtual
  • 00:13:33
    machine is nothing but
  • 00:13:36
    you are basically creating virtual
  • 00:13:38
    environments that function as virtual
  • 00:13:40
    computer systems okay so here
  • 00:13:43
    you are only breaking them logically
  • 00:13:45
    okay you are not breaking your physical
  • 00:13:47
    server but you are only doing a logical
  • 00:13:49
    isolation so that's why virtual machines
  • 00:13:51
    are nothing but they are virtual
  • 00:13:53
    environments which function as a virtual
  • 00:13:55
    computer systems and this virtual
  • 00:13:58
    computer systems has their own CPU has
  • 00:14:00
    their own memory okay and they also have
  • 00:14:03
    their own Hardware right so this
  • 00:14:05
    Hardware or this vm1 is not depending on
  • 00:14:08
    vm2 for either memory
  • 00:14:12
    it is not depending on vm2 for CPU or it
  • 00:14:15
    is not depending on uh vm2 or vm3 or vm4
  • 00:14:19
    for Hardware okay so that's why they are
  • 00:14:22
    called logical computer systems they
  • 00:14:25
    have their own memory they have their
  • 00:14:27
    own CPU they have their own Hardware but
  • 00:14:29
    the only difference is instead of
  • 00:14:31
    physical server they are logical servers
  • 00:14:33
    and who is doing this entire process
  • 00:14:35
    your hypervisor is doing this entire
  • 00:14:37
    process so hypervisor is a key that is
  • 00:14:40
    dealing with your virtual machines or a
  • 00:14:43
    hypervisor is something that is creating
  • 00:14:44
    your virtual machines so for example
  • 00:14:46
    it's okay if you don't understand the
  • 00:14:48
    concept of cloud but just for your
  • 00:14:50
    reference the same concept is followed
  • 00:14:52
    by Amazon GitHub Microsoft or any
  • 00:14:56
    virtual machine platforms or you know
  • 00:14:58
    any Cloud platforms so what this Cloud
  • 00:15:01
    platforms do is let's say Amazon what
  • 00:15:03
    they do is they build their data centers
  • 00:15:05
    uh let's call an area called Mumbai in
  • 00:15:08
    India okay so let's say there is an area
  • 00:15:10
    called Mumbai in India what Amazon does
  • 00:15:12
    is if Amazon has a data center in Mumbai
  • 00:15:16
    what that means is they buy or they you
  • 00:15:19
    know they take a huge land and what they
  • 00:15:21
    do is they install their own physical
  • 00:15:23
    servers here
  • 00:15:24
    okay they take all the pre and
  • 00:15:26
    preventive care and they build a data
  • 00:15:30
    center in Mumbai this is just for
  • 00:15:31
    example it can be Mumbai or it can be
  • 00:15:33
    anything okay so they have their own
  • 00:15:35
    data center in Mumbai and what they do
  • 00:15:37
    is they create uh sorry they install
  • 00:15:40
    hundreds or thousands or millions of
  • 00:15:42
    physical servers okay I'm talking about
  • 00:15:43
    physical servers okay
  • 00:15:46
    so just like your example.com has bought
  • 00:15:48
    five servers or you know they just I
  • 00:15:50
    mean in the previous example if you go
  • 00:15:51
    back so here I said example.com has
  • 00:15:54
    bought five servers from HP right
  • 00:15:56
    similarly what Amazon or uh you know uh
  • 00:15:59
    any uh cloud provider do is they buy
  • 00:16:02
    millions of servers or they build their
  • 00:16:04
    own millions of servers and they put
  • 00:16:05
    them in a data center okay let's say
  • 00:16:07
    this data center is hosted in Mumbai and
  • 00:16:09
    now whenever a user it can be you it can
  • 00:16:12
    be me or anybody who makes a request to
  • 00:16:14
    Amazon and who select their reason as
  • 00:16:17
    Mumbai okay if you go to Amazon what you
  • 00:16:19
    can do is you can uh basically ask for a
  • 00:16:22
    virtual machine from Amazon or AWS in
  • 00:16:24
    general
  • 00:16:25
    and in AWS you can select your region as
  • 00:16:28
    Mumbai and what you can see is I require
  • 00:16:30
    I mean I want one virtual machine or in
  • 00:16:33
    Amazon terms we call it ec2 instance
  • 00:16:36
    okay in general it's a virtual Mission
  • 00:16:38
    end of the day okay you request for a
  • 00:16:40
    virtual machine in uh from AWS in Mumbai
  • 00:16:42
    region what happens is your request will
  • 00:16:44
    be sent to one of these data centers and
  • 00:16:46
    on one of these physical servers okay on
  • 00:16:49
    one of these physical servers a
  • 00:16:51
    hypervisor is installed in General on
  • 00:16:53
    all the physical servers hypervisors are
  • 00:16:54
    installed and this hypervisor will
  • 00:16:57
    create a VM for you and it will share
  • 00:17:00
    the required details okay this is how
  • 00:17:02
    the world of virtual machines operate
  • 00:17:05
    okay so the world of virtual machines
  • 00:17:07
    operate on hypervisor whether it is
  • 00:17:09
    Amazon whether it is Google whether it
  • 00:17:12
    is Microsoft using uh Azure they all
  • 00:17:15
    have their hypervisors installed on the
  • 00:17:18
    physical servers and whenever somebody
  • 00:17:19
    is requesting for a virtual machine or
  • 00:17:22
    easy to instance or in in different
  • 00:17:25
    Cloud platforms people call it in
  • 00:17:26
    different ways but if you take a general
  • 00:17:29
    term called virtual machines what
  • 00:17:30
    happens is this hypervisor will give you
  • 00:17:33
    a virtual machine from one of the
  • 00:17:35
    physical servers depending upon the
  • 00:17:37
    region that you have selected okay so
  • 00:17:39
    this is how you create virtual machines
  • 00:17:40
    if I just have to repeat this one
  • 00:17:44
    okay let me just take a new slide
  • 00:17:48
    perfect so here let's assume that there
  • 00:17:52
    is a huge data center for uh from a
  • 00:17:55
    company called Amazon or Microsoft okay
  • 00:17:58
    this is a huge data center okay
  • 00:18:02
    let's take one simple example that is
  • 00:18:03
    AWS
  • 00:18:07
    and this region is called Singapore
  • 00:18:13
    in tomorrow's class we will do it live
  • 00:18:15
    I'll show you how to create a virtual
  • 00:18:16
    machine on AWS we can also do it through
  • 00:18:18
    some scripts we'll do all the things
  • 00:18:20
    like you know we'll create using
  • 00:18:22
    automation we'll create using manual
  • 00:18:23
    process everything but in today's class
  • 00:18:25
    just understand the theory or the
  • 00:18:27
    concept of it so AWS has their data
  • 00:18:31
    centers in Singapore they have the data
  • 00:18:33
    center in Mumbai okay they also have
  • 00:18:35
    their data center in us let's say Ohio
  • 00:18:40
    okay and in different regions okay
  • 00:18:42
    wherever uh AWS feels that uh their
  • 00:18:44
    customer base requires a new data center
  • 00:18:46
    to avoid latency problems what is
  • 00:18:48
    latency latency is to avoid like let's
  • 00:18:50
    say I'm in India and I'm creating a
  • 00:18:52
    virtual machine in uh Ohio and I'm
  • 00:18:55
    creating a virtual machine in Mumbai so
  • 00:18:57
    in comparison because I am located in
  • 00:18:59
    India in Mumbai I'll have less less
  • 00:19:01
    latency okay so AWS finds their
  • 00:19:05
    potential data centers that are required
  • 00:19:07
    and they install the data centers now
  • 00:19:09
    let's say this is a data center in
  • 00:19:11
    Mumbai okay and what Amazon has done is
  • 00:19:14
    they have installed racks inside in
  • 00:19:16
    general servers are installed using
  • 00:19:17
    racks I mean there are rack servers
  • 00:19:19
    there are other different kinds of
  • 00:19:20
    servers so what AWS or the AWS
  • 00:19:23
    administrators have done in Mumbai is
  • 00:19:25
    they have created multiple racks and you
  • 00:19:29
    know they have multiple physical servers
  • 00:19:31
    here this is just for an example or your
  • 00:19:33
    visualization
  • 00:19:35
    in general the concept of installing a
  • 00:19:37
    data center is very complicated but just
  • 00:19:39
    for your reference I'm making it very
  • 00:19:41
    simple here so let's call this as
  • 00:19:42
    physical server one physical server 2
  • 00:19:45
    physical server 100. okay so these are
  • 00:19:48
    the different physical servers that
  • 00:19:49
    Amazon has installed in Mumbai
  • 00:19:51
    now each of this physical server can be
  • 00:19:54
    100 GB in Ram and 100 core that is 100
  • 00:19:58
    processors so being a devops engineer
  • 00:20:02
    what I have done is
  • 00:20:05
    I have so today I'm sitting in Hyderabad
  • 00:20:08
    okay and what I've done is from my
  • 00:20:11
    personal laptop using some scripts or
  • 00:20:14
    using a direct AWS UI that is using
  • 00:20:16
    amazon.com sorry uh AWS not amazon.com
  • 00:20:21
    using the AWS portal what I've done is I
  • 00:20:24
    have requested for a virtual machine
  • 00:20:27
    in Singapore in sorry in Mumbai region
  • 00:20:30
    okay I have requested a virtual machine
  • 00:20:32
    and the specification that I've
  • 00:20:34
    requested is
  • 00:20:36
    10 GB RAM and uh 12 core processor let's
  • 00:20:40
    say okay I've used some automation or
  • 00:20:43
    I've manually I went to the Amazon UI
  • 00:20:45
    and I've requested for this
  • 00:20:47
    configuration so now what
  • 00:20:50
    AWS will do is it will receive my
  • 00:20:52
    request okay AWS received my request
  • 00:20:54
    right
  • 00:20:55
    and now what AWS will do is it will look
  • 00:20:58
    for the physical server that is ideal
  • 00:21:00
    for my uh requirements okay let's say P1
  • 00:21:02
    is already occupied now p100 is unused
  • 00:21:05
    okay and AWS feels that my requirement
  • 00:21:08
    specification uh like let's say p 100
  • 00:21:10
    has 1000 GB of unused CPU 10000 GB of a
  • 00:21:15
    new CPU uh sorry unused Ram so uh this
  • 00:21:18
    request seems to be very simple and p100
  • 00:21:20
    is ideal at this moment of time nobody
  • 00:21:22
    is using it or uh you know AWS
  • 00:21:25
    requirements are matched what it does is
  • 00:21:27
    it will as the hypervisor that is
  • 00:21:29
    installed on p100 okay there is always a
  • 00:21:31
    hypervisor so the hypervisor AWS sends a
  • 00:21:35
    request to the hypervisor to create this
  • 00:21:36
    virtual machine and AWS sends me back
  • 00:21:39
    this virtual machine okay what happened
  • 00:21:42
    AWS sent me back with a virtual machine
  • 00:21:46
    what what does AWS and IP address
  • 00:21:51
    and all the required information to
  • 00:21:53
    access this virtual machine okay end of
  • 00:21:55
    the day I just have logical access to
  • 00:21:57
    that virtual machine or a virtual access
  • 00:21:59
    to that virtual machine physically I
  • 00:22:01
    don't own that virtual machine even
  • 00:22:02
    though I am paying money to AWS right
  • 00:22:04
    let's say for this requirement I am
  • 00:22:06
    paying hundred dollars to AWS this is
  • 00:22:08
    just an example again I'm paying hundred
  • 00:22:10
    dollars to AWS
  • 00:22:12
    but I cannot go and ask AWS that where
  • 00:22:15
    is my virtual machine I want to go and
  • 00:22:16
    fix something in my virtual machine AWS
  • 00:22:18
    will simply require uh reject your
  • 00:22:20
    request saying that okay your
  • 00:22:24
    virtual machine is installed in the
  • 00:22:26
    Singapore data center of us but you
  • 00:22:28
    don't have access to it because you only
  • 00:22:30
    get to have the IP address of it and the
  • 00:22:33
    key value pair that you have requested
  • 00:22:34
    and using these things you can access
  • 00:22:36
    the virtual machine that is the most
  • 00:22:38
    that you can do so this is how the
  • 00:22:40
    entire concept of virtual machines will
  • 00:22:42
    work and if you go back to the initial
  • 00:22:44
    slide what happened with devops the
  • 00:22:47
    efficiency is increased instead of one
  • 00:22:49
    acre land that is being wasted here that
  • 00:22:52
    only the family that is using require
  • 00:22:54
    half acre of land and the half acre is
  • 00:22:56
    going on you it's similarly if Amazon
  • 00:22:59
    did not come up with this concept okay
  • 00:23:01
    what have you what would happen is their
  • 00:23:04
    Mumbai data center would be at most used
  • 00:23:06
    by 100 people right because there are
  • 00:23:09
    100 physical servers so they can only
  • 00:23:11
    share this 100 physical servers with 100
  • 00:23:13
    teams
  • 00:23:15
    or 100 individual user groups but
  • 00:23:18
    instead by using the concept of virtual
  • 00:23:21
    machine by using the concept of
  • 00:23:22
    hypervisor what Amazon has done is
  • 00:23:25
    instead of 100 people or 100 teams now
  • 00:23:28
    these virtual machines can be used by
  • 00:23:30
    millions of users
  • 00:23:32
    that is where the hypervisors and
  • 00:23:34
    virtual machines have improved the
  • 00:23:37
    efficiency and the concept of servers
  • 00:23:40
    right so this is a new leap that has
  • 00:23:42
    happened if you go back 20 years or 30
  • 00:23:44
    years the concept of virtual mission was
  • 00:23:46
    not there so everybody used to have
  • 00:23:48
    their physical servers even if you look
  • 00:23:49
    at your laptop or even if you look at
  • 00:23:51
    your servers right so today on my laptop
  • 00:23:53
    I can install a virtual machine
  • 00:23:55
    Oracle provides Oracle virtualbox like
  • 00:23:58
    you can install your Oracle virtualbox
  • 00:24:00
    on your personal laptop and you can
  • 00:24:03
    share this virtual box with other people
  • 00:24:05
    like in your family members who are
  • 00:24:07
    under the same who are using the same
  • 00:24:09
    Wi-Fi what you can say is okay I'm using
  • 00:24:12
    my laptop you can use my virtual machine
  • 00:24:13
    both of them uh what will happen is both
  • 00:24:16
    you and your brother or both you and
  • 00:24:18
    other family member can use your same
  • 00:24:20
    laptop at once they are using the
  • 00:24:22
    virtual machine you are using the laptop
  • 00:24:24
    so this is how the concept of
  • 00:24:26
    virtualization has improved the regular
  • 00:24:28
    day-to-day process
  • 00:24:30
    I hope the concept is clear and in case
  • 00:24:33
    you have any questions uh do put that in
  • 00:24:36
    the comment section and as I mentioned
  • 00:24:37
    I'll also come live once in a week so
  • 00:24:40
    that if you have any questions that I am
  • 00:24:41
    not able to answer through the comment
  • 00:24:43
    section I'll definitely pick that
  • 00:24:44
    question and I'll explain that question
  • 00:24:46
    for you I'll answer that question for
  • 00:24:48
    you and like every time uh there is a
  • 00:24:51
    small request that if you know somebody
  • 00:24:53
    who are not following our videos and if
  • 00:24:56
    they are interested to learn devops
  • 00:24:57
    please share these videos with them so
  • 00:25:00
    that you know uh larger audience are
  • 00:25:02
    benefited from these videos
  • 00:25:05
    and if you like this video please click
  • 00:25:07
    on the like button if you have any
  • 00:25:09
    feedback good or bad
  • 00:25:10
    definitely put them in the comment
  • 00:25:12
    section I'll reply to each and every
  • 00:25:13
    comment and finally if you haven't
  • 00:25:15
    subscribed to my channel don't forget to
  • 00:25:18
    subscribe my channel
  • 00:25:19
    thank you so much I'll see in the next
  • 00:25:21
    video take care everyone bye
Etiquetas
  • DevOps
  • Virtual Machines
  • Hypervisor
  • Efficiency
  • Cloud Computing
  • AWS
  • Resource Optimization
  • Virtualization
  • Tutorial
  • Training