SlideShare a Scribd company logo
Sinan KÖRDEMİR
AGENDA
 Hypervisor
 Container
 What is Unikernel
 How it works
 Why & Why not
 Different Approaches of Unikernels
 Unikernel Security
 in short terms we can define hypervisor as virtual machine manager
 is a program that allows multiple operating systems to share a single
hardware host. Each operating system appears to have the
host's processor, memory, and other resources all to itself. However, the
hypervisor is actually controlling the host processor and resources,
allocating what is needed to each operating system in turn and making
sure that the guest operating systems (called virtual machines) cannot
disrupt each other.
Hypervisor
Hypervisor
 Containers-as-a-service is a type of
infrastructure-as-a-service specifically
geared toward efficiently running a single
application.
 A container is a form of operating system
virtualization that is more efficient than
typical hardware virtualization. It provides
the necessary computing resources to run an
application as if it is the only application
running in the operating system
Container
 A container is an isolated process. Thus,
conceptually a container is like a VM in that it
thinks that it’s the only show in town.
 A container leverages the operating system of the
host computer. Hence, there is no mixing and
matching. You cannot have a Windows host
computer running a Linux container.
Container
Hypervisor vs Container
 Unlike a VM, in a container
you are not running a
complete instance or image of
an operating system, with
kernels, drivers, and shared
libraries.
Instead, an entire stack of
containers, whether it be dozens
or hundreds or even thousands
are able to run on top of a single
instance of the host operating
system, in a tiny fraction of a
footprint of a comparable VM
running the same application.
 in short terms we can define unikernel as
library operating systems
 Unikernels are single-purpose appliances that
are compile-time specialised into standalone
kernels and sealed against modification when
deployed to a cloud platform.
What is Unikernel
 More layers tricky config
 Duplicaiton inefficiency
 Large sizes long boot times
 More stuff larger attack surface
Code you want to run
+
Operating System libraries
=
Standalone unikernel
What is Unikernel
A unikernel is a compiled binary that
sists directly machine’s hypervisor
Unikernel compiles your source code in a
custom operationg system that includes
only the functionality required by your
application logic. That makes it small, fast
and secure.
How it works
 unikernels provide all the advantages of virtual
machines (VMs) and containers
 unikernels are considerably lower overhead, which
could lead to more agile and lower-cost cloud
computing.
 The small size of unikernels means that apps can be
moved around faster and more cost effectively,
considering that network bandwidth doesn’t come
cheaply in the cloud.
What is Unikernel
 Extremely fast startup
 More flexible infrastructure
 Single-purpose appliances
 Greater latitude to respond to the needs of the
moment
 There is just enough code to make the application run
What is Unikernel
Why & Why not ?
WHY
Unikernels offer significant reduction in
image sizes, improved effiecency and
security and should reduce operational
costs
 reduced memory footprint
 Greatly reduced need for disk space
 Faster load times lower latencies
 reduced attack surface
WHY NOT
 If your application needs much disk
space and processor , unikernels
won't provide you much
 There are a lot of softwares for other
operating systems, but if you will use
unikernels, you have to write your
own libraries
 “shared kernel” strategy has its
weakest link in that “shared kernel”
itself.
DIFFERENT APPROACHES TO CONSTRUCT UNIKERNELS
There are different approaches to constructing unikernels.
Approach Name Focus on
ClickOS Speed (boots under 30ms) (tiny agile virtual machines
for network processing)
HaLVM safety and security
LING Speed (boots under 100ms)
MirageOS safety and security
Rump Kernels compatibility with legacy software
OSv compatibility with legacy software
Linux, as well as Linux containers and Docker images,
rely on a fairly heavyweight core OS to provide critical
services. Because of this, a vulnerability in the Linux
kernel affects every Linux container
unikernels only include the minimal functionality and
systems needed to run an application or service, all of
which makes writing an exploit to attack them much
more difficult
Unikernel Security
 Benefit from the strong isolation guarantees of
hardware virtualization and a trusted computing base
that is orders of magnitude smaller than that of
container technologies.
 There is no shell, you cannot exec() a new process , you
don’t even need to include a full TCP stack. So there is
very little exploit code can do to gain a permanent
foothold in the system
Unikernel Security
 Unikernels allow for the careful management of
particularly critical portions of an organization’s data
and processing needs.
While it does take some extra work, it’s getting easier
every day as more developers work on solving challenges
with orchestration, logging and monitoring
Unikernel Security
THANKS

More Related Content

PPT
Introduction to Virtualization
PDF
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
ODP
Kvm virtualization platform
PPTX
Cloud computing
PPTX
Virtualization
PPT
PPT
Cluster Computing Seminar.
PPTX
Cluster Computing
Introduction to Virtualization
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Kvm virtualization platform
Cloud computing
Virtualization
Cluster Computing Seminar.
Cluster Computing

What's hot (20)

PPTX
Virtual Machine
ODP
Introduction to virtualization
PDF
Introduction to Docker Containers - Docker Captain
PDF
Introduction to virtualization
PDF
History of linux
PDF
Cloud computing
PDF
Cloud Computing Using OpenStack
PPTX
Research in Cloud Computing
PDF
Virtualization and cloud Computing
PDF
AKS backup with Velero and Workload Identities
PPTX
Third party cloud services cloud computing
PPTX
Introduction to Aneka, Aneka Model is explained
PDF
Virtualization with KVM (Kernel-based Virtual Machine)
PPTX
Virtualization
PPSX
Virtualization basics
PPTX
Virtualization and cloud computing
PPTX
PDF
Basic unix commands
PPT
Linux
PDF
Linux Introduction
Virtual Machine
Introduction to virtualization
Introduction to Docker Containers - Docker Captain
Introduction to virtualization
History of linux
Cloud computing
Cloud Computing Using OpenStack
Research in Cloud Computing
Virtualization and cloud Computing
AKS backup with Velero and Workload Identities
Third party cloud services cloud computing
Introduction to Aneka, Aneka Model is explained
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization
Virtualization basics
Virtualization and cloud computing
Basic unix commands
Linux
Linux Introduction
Ad

Viewers also liked (20)

PPTX
Unikernels
PDF
Docker Online Meetup #31: Unikernels
PDF
Présentation d'Unikernel
PPTX
Microservices in Unikernels
PPT
Microkernel-based operating system development
PPTX
Unik: Unikernel Backend to Cloud Foundry
PPTX
XPDS14: Unikernels: Who, What, Where, When, Why - Adam Wick, Galois
PDF
Unikernels Introduction
PDF
Unikernel Xebicon 2016
PDF
Unikernels at Polyconf!
PDF
Next Generation Cloud: Rise of the Unikernel V3 (UPDATED)
PDF
SpringPeople - Introduction to Cloud Computing
PDF
CIF16: Solo5: Building a Unikernel Base From Scratch (Dan Williams, IBM)
PDF
Making the Switch to Bare Metal and Open Networking
PDF
Immutable Service Delivery Shenzhen 2016
PDF
Unikernels: Rise of the Library Hypervisor
PPTX
Microkernel
PDF
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
PDF
CIF16: Unikernels, Meet Docker! Containing Unikernels (Richard Mortier, Anil ...
PDF
CIF16: Unikernel.org (Amir Chaudhry, Docker Inc)
Unikernels
Docker Online Meetup #31: Unikernels
Présentation d'Unikernel
Microservices in Unikernels
Microkernel-based operating system development
Unik: Unikernel Backend to Cloud Foundry
XPDS14: Unikernels: Who, What, Where, When, Why - Adam Wick, Galois
Unikernels Introduction
Unikernel Xebicon 2016
Unikernels at Polyconf!
Next Generation Cloud: Rise of the Unikernel V3 (UPDATED)
SpringPeople - Introduction to Cloud Computing
CIF16: Solo5: Building a Unikernel Base From Scratch (Dan Williams, IBM)
Making the Switch to Bare Metal and Open Networking
Immutable Service Delivery Shenzhen 2016
Unikernels: Rise of the Library Hypervisor
Microkernel
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
CIF16: Unikernels, Meet Docker! Containing Unikernels (Richard Mortier, Anil ...
CIF16: Unikernel.org (Amir Chaudhry, Docker Inc)
Ad

Similar to Unikernels and Cloud Computing (20)

PPTX
Cigna Innovation Summit
PPTX
Linux, Unikernel, LinuxKit: towards redefining the cloud stack.
PPTX
Craft april17
PPTX
comparaison des différents orchestrateur
PPTX
Игорь Леонтьев "Azure Container Service: not only Docker"
PPTX
Sna lab prj (1)
DOCX
Linux virtualization in a nutshell
PDF
Operating system Definition Structures
DOCX
In a monolithic kerne1
DOCX
In a monolithic kerne1
PPTX
Parth virt
PPTX
Virtualization: Force driving cloud computing
PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
PDF
VSS LEC5.pdf
PPTX
Virtualization 101
PDF
modern-guide-to-container-monitoring-and-orchestration.pdf
PPTX
Introduction to Cloud Computing
DOCX
Containerization Report
PPTX
Cloud Computing storage saas iaas paas.pptx
PPTX
lecture5-virtualization-190301171613.pptx
Cigna Innovation Summit
Linux, Unikernel, LinuxKit: towards redefining the cloud stack.
Craft april17
comparaison des différents orchestrateur
Игорь Леонтьев "Azure Container Service: not only Docker"
Sna lab prj (1)
Linux virtualization in a nutshell
Operating system Definition Structures
In a monolithic kerne1
In a monolithic kerne1
Parth virt
Virtualization: Force driving cloud computing
Welcome to International Journal of Engineering Research and Development (IJERD)
VSS LEC5.pdf
Virtualization 101
modern-guide-to-container-monitoring-and-orchestration.pdf
Introduction to Cloud Computing
Containerization Report
Cloud Computing storage saas iaas paas.pptx
lecture5-virtualization-190301171613.pptx

Recently uploaded (20)

PPTX
web development for engineering and engineering
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Construction Project Organization Group 2.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
additive manufacturing of ss316l using mig welding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Safety Seminar civil to be ensured for safe working.
PPT
introduction to datamining and warehousing
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Artificial Intelligence
PDF
composite construction of structures.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Current and future trends in Computer Vision.pptx
web development for engineering and engineering
Foundation to blockchain - A guide to Blockchain Tech
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CH1 Production IntroductoryConcepts.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Construction Project Organization Group 2.pptx
Sustainable Sites - Green Building Construction
additive manufacturing of ss316l using mig welding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Safety Seminar civil to be ensured for safe working.
introduction to datamining and warehousing
Operating System & Kernel Study Guide-1 - converted.pdf
Artificial Intelligence
composite construction of structures.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Current and future trends in Computer Vision.pptx

Unikernels and Cloud Computing

  • 2. AGENDA  Hypervisor  Container  What is Unikernel  How it works  Why & Why not  Different Approaches of Unikernels  Unikernel Security
  • 3.  in short terms we can define hypervisor as virtual machine manager  is a program that allows multiple operating systems to share a single hardware host. Each operating system appears to have the host's processor, memory, and other resources all to itself. However, the hypervisor is actually controlling the host processor and resources, allocating what is needed to each operating system in turn and making sure that the guest operating systems (called virtual machines) cannot disrupt each other. Hypervisor
  • 5.  Containers-as-a-service is a type of infrastructure-as-a-service specifically geared toward efficiently running a single application.  A container is a form of operating system virtualization that is more efficient than typical hardware virtualization. It provides the necessary computing resources to run an application as if it is the only application running in the operating system Container
  • 6.  A container is an isolated process. Thus, conceptually a container is like a VM in that it thinks that it’s the only show in town.  A container leverages the operating system of the host computer. Hence, there is no mixing and matching. You cannot have a Windows host computer running a Linux container. Container
  • 7. Hypervisor vs Container  Unlike a VM, in a container you are not running a complete instance or image of an operating system, with kernels, drivers, and shared libraries. Instead, an entire stack of containers, whether it be dozens or hundreds or even thousands are able to run on top of a single instance of the host operating system, in a tiny fraction of a footprint of a comparable VM running the same application.
  • 8.  in short terms we can define unikernel as library operating systems  Unikernels are single-purpose appliances that are compile-time specialised into standalone kernels and sealed against modification when deployed to a cloud platform. What is Unikernel  More layers tricky config  Duplicaiton inefficiency  Large sizes long boot times  More stuff larger attack surface
  • 9. Code you want to run + Operating System libraries = Standalone unikernel What is Unikernel A unikernel is a compiled binary that sists directly machine’s hypervisor Unikernel compiles your source code in a custom operationg system that includes only the functionality required by your application logic. That makes it small, fast and secure. How it works
  • 10.  unikernels provide all the advantages of virtual machines (VMs) and containers  unikernels are considerably lower overhead, which could lead to more agile and lower-cost cloud computing.  The small size of unikernels means that apps can be moved around faster and more cost effectively, considering that network bandwidth doesn’t come cheaply in the cloud. What is Unikernel
  • 11.  Extremely fast startup  More flexible infrastructure  Single-purpose appliances  Greater latitude to respond to the needs of the moment  There is just enough code to make the application run What is Unikernel
  • 12. Why & Why not ? WHY Unikernels offer significant reduction in image sizes, improved effiecency and security and should reduce operational costs  reduced memory footprint  Greatly reduced need for disk space  Faster load times lower latencies  reduced attack surface WHY NOT  If your application needs much disk space and processor , unikernels won't provide you much  There are a lot of softwares for other operating systems, but if you will use unikernels, you have to write your own libraries  “shared kernel” strategy has its weakest link in that “shared kernel” itself.
  • 13. DIFFERENT APPROACHES TO CONSTRUCT UNIKERNELS There are different approaches to constructing unikernels. Approach Name Focus on ClickOS Speed (boots under 30ms) (tiny agile virtual machines for network processing) HaLVM safety and security LING Speed (boots under 100ms) MirageOS safety and security Rump Kernels compatibility with legacy software OSv compatibility with legacy software
  • 14. Linux, as well as Linux containers and Docker images, rely on a fairly heavyweight core OS to provide critical services. Because of this, a vulnerability in the Linux kernel affects every Linux container unikernels only include the minimal functionality and systems needed to run an application or service, all of which makes writing an exploit to attack them much more difficult Unikernel Security
  • 15.  Benefit from the strong isolation guarantees of hardware virtualization and a trusted computing base that is orders of magnitude smaller than that of container technologies.  There is no shell, you cannot exec() a new process , you don’t even need to include a full TCP stack. So there is very little exploit code can do to gain a permanent foothold in the system Unikernel Security
  • 16.  Unikernels allow for the careful management of particularly critical portions of an organization’s data and processing needs. While it does take some extra work, it’s getting easier every day as more developers work on solving challenges with orchestration, logging and monitoring Unikernel Security