Virtualization VScontainerization
Virtualization VScontainerization
Containerization
By Noha Bakry
Cloud VS on-premises
• An on-premises servers are a group of servers that you privately own
and control.
• Traditional cloud computing (as opposed to hybrid or private cloud
computing models) involves using servers from a third-party service
provider (amazon - google).
Container vs VM
• Containers and virtual machines are technologies that make your
applications independent from your IT infrastructure resources.
• A container is a software code package containing an application’s code, its
libraries, and other dependencies.
• Containerization makes your applications portable so that the same code can
run on any device.
• A virtual machine is a digital copy of a physical machine.
• You can have multiple virtual machines with their own individual operating
systems running on the same host operating system.
• In addition, you can create a virtual machine that contains everything
required to run your application.
Purpose of virtual machines
• Historically, virtual machine technology was developed to efficiently
use increasing physical hardware capacity and processing power.
• Running a single application environment on a single physical server
underutilized hardware resources.
• Virtual machines allow organizations to install multiple operating
systems and create multiple environments on the same physical
machine.
Docker benefits
• Docker provides the ability to package (container image) and run an
application in a loosely isolated environment called a container.
• The isolation and security lets you to run many containers
simultaneously on a given host.
• Containers are lightweight and contain everything needed to run the
application, so you don't need to rely on what's installed on the host.
• You can share containers while you work, and be sure that everyone
you share with gets the same container that works in the same way.
Purpose of containers
• Containers were created to package and run applications in a
predictable and repeatable way across multiple environments. Instead
of recreating the environment, you packaged the application to run
on all types of physical or virtual environments.
• This is similar to putting an astronaut in a spacesuit instead of
recreating the Earth's atmosphere for them on another planet.
References
• https://aws.amazon.com/compare/the-difference-between-container
s-and-virtual-machines/#:~:text=A%20container%20is%20a%20softwa
re,copy%20of%20a%20physical%20machine
.