Here is a 30000 feet view of how containers look like from an architecture perspective. Practically speaking, a container is where you put all your application code along with its dependencies packed in such a way that it would execute on any Linux box. You can consider the container as an Application System (in contrast to Operating System). namely, the Operating System!Įvery VM still had the OS installed, and you still had to manage and allocate resources for the entire OS!!! In simple terms, it didn’t help with the licensing cost involved with the Operating Systems at all. Whereas VMs helped reduce the physical footprint of a server in terms of space, installation, CAPEX, OPEX, etc. What is a Container?Ĭontainers take it to the next level so you can consider them as an evolutionary step. if the physical server had 1 TB of Disk and 16 CPU cores, you can spin up 4 VMs with 250 GB and 4 CPU cores each. This was because every VM needed to have hardware allocated explicitly to it. VMs were a smart idea at the time, but it still led to a lot of wasted resources like Disk, Memory and CPU. All the VMs work and feel exactly like the physical server, but with lesser resources! For instance, if an application on a server was using 20% resource, you can host upto 5 similar applications on a single physical server. With VMs, instead of one application per physical server, you can have multiple applications on the same server using virtual machines. This wastage of computing resources was the need why solutions like virtual machines (or VMs) cropped up.įor simplicity, just assume that every major application you have needs ONE full blown server to provide decent isolation. Not too long ago in an enterprise setup, there were plenty of servers in the datacenter idling around since they hosted applications which were not fully utilizing the server resources. What is a Virtual Machine, and why is it used? The workload seems to shifting towards containers, and fast! In case you haven’t started ramping on it yet, you may find it a bit overwhelming to begin with. A Container is to VM today, what VM was to Physical Servers a while ago.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |