Machine Application Containers



Similar documents
Type-C Ubuntu Product & Strategy Canonical Ltd.

Docker : devops, shared registries, HPC and emerging use cases. François Moreews & Olivier Sallou

How To Install Openstack On Ubuntu (Amd64)

Cloud Simulator for Scalability Testing

Virtualization & Cloud Computing (2W-VnCC)

Platform as a Service and Container Clouds

Building a Kubernetes Cluster with Ansible. Patrick Galbraith, ATG Cloud Computing Expo, NYC, May 2016

The Bro Network Security Monitor

Intro to Virtualization

Do Containers fully 'contain' security issues? A closer look at Docker and Warden. By Farshad Abasi,

Cloud Security with Stackato

STRATEGIC WHITE PAPER. The next step in server virtualization: How containers are changing the cloud and application landscape

OpenStack Introduction. November 4, 2015

Network Virtualization Tools in Linux PRESENTED BY: QUAMAR NIYAZ & AHMAD JAVAID

Cisco Application-Centric Infrastructure (ACI) and Linux Containers

WHITEPAPER INTRODUCTION TO CONTAINER SECURITY. Introduction to Container Security

An Analysis of Container-based Platforms for NFV

ISLET: Jon Schipp, Ohio Linux Fest An Attempt to Improve Linux-based Software Training

ovirt self-hosted engine seamless deployment

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

Virtualization: Know your options on Ubuntu. Nick Barcet. Ubuntu Server Product Manager

Operating Systems Virtualization mechanisms

Linstantiation of applications. Docker accelerate

HP SDN VM and Ubuntu Setup

Agenda. Begining Research Project. Our problems. λ The End is not near...

Unit two is about the components for cloud computing.

HTTP-FUSE PS3 Linux: an internet boot framework with kboot

CDH installation & Application Test Report

How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning

Cloud Server. Parallels. An Introduction to Operating System Virtualization and Parallels Cloud Server. White Paper.

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

Deploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015)

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Cloud n Service Presentation. NTT Communications Corporation Cloud Services

The Virtualization Practice

October Gluster Virtual Storage Appliance User Guide

2972 Linux Options and Best Practices for Scaleup Virtualization

Building Docker Cloud Services with Virtuozzo

Docker on OpenStack. August Author : Nitin Agarwal nitinagarwal3006@gmail.com. Supervisor(s) : Belmiro Moreira

Introduction to Virtualization & KVM

PARALLELS CLOUD SERVER

Solving the dev-ops dilemma: Deploying cloud workloads in minutes

Intro to Docker and Containers

Implementing Container-based Virtualization in a Hybrid Cloud

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Proposal for Virtual Private Server Provisioning

Local Caching Servers (LCS): User Manual

MADFW IaaS Program Review

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

Bitnami Packaging and Deployment Technology for Server Software

PARALLELS SERVER 4 BARE METAL README

Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud

IBM Bluemix, the digital innovation platform

VMware ESXi 3.5 update 2

Amazon Elastic Beanstalk

2) Xen Hypervisor 3) UEC

2015 Techstravaganza The Microsoft Cloud

Upgrading to Ubuntu Server Edition LTS

SEP Disaster Recovery and Backup Restore: Best

CloudCIX Bootcamp. The essential IaaS getting started guide.

Virtualization in Linux KVM + QEMU

Block Level Backups with EMC NetWorker

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

A technical whitepaper describing steps to setup a Private Cloud using the Eucalyptus Private Cloud Software and Xen hypervisor.

Cloud Computing for Control Systems CERN Openlab Summer Student Program 9/9/2011 ARSALAAN AHMED SHAIKH

Data Centers and Cloud Computing

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Performance Testing of an IAAS Cloud Software (A CloudStack Use Case)

Migration and Building of Data Centers in IBM SoftLayer with the RackWare Management Module

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

Lightweight Virtualization: LXC Best Practices

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE PRICING GUIDE

Comparison of Open Source Cloud System for Small and Medium Sized Enterprises

IBM Bluemix. The Digital Innovation Platform. Simon

In order to upload a VM you need to have a VM image in one of the following formats:

Install Guide for JunosV Wireless LAN Controller

Stackato PaaS Architecture: How it works and why.

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Lightweight Virtualization with Linux Containers (LXC)

How to Use? SKALICLOUD DEMO

About Parallels Desktop 10 for Mac

StorPool Distributed Storage Software Technical Overview

Nessus or Metasploit: Security Assessment of OpenStack Cloud

PARALLELS SERVER BARE METAL 5.0 README

Virtualization Technology (or how my Windows computer gave birth to a bunch of Linux computers)

Large-scale performance monitoring framework for cloud monitoring. Live Trace Reading and Processing

Use Cases for Docker in Enterprise Linux Environment CloudOpen North America, 2014 Linda Wang Sr. Software Engineering Manager Red Hat, Inc.

Linux Virtualization Nesting and Management

Backing Up Your System With rsnapshot

Mobile Cloud Computing T Open Source IaaS

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

Virtualization for Cloud Computing

FOR SERVERS 2.2: FEATURE matrix

How To Install Project Photon On Vsphere 5.5 & 6.0 (Vmware Vspher) With Docker (Virtual) On Linux (Amd64) On A Ubuntu Vspheon Vspheres 5.4

Virtualization with Windows

Linux System Administration on Red Hat

WebLogic on Oracle Database Appliance: Combining High Availability and Simplicity

Rally Installation Guide

Comparing Virtualization Technologies

Transcription:

Machine Application Containers Container World 17 February 2016 @dustinkirkland

Machine containers boot an operating system Application containers execute a binary

Application Containers (e.g. Docker, Rocket) Machine Containers (e.g. LXD, OpenVZ) What does it contain? A single running process, app, or service (e.g. /usr/sbin/apache2, /usr/sbin/mysqld) A functional, running operating system (e.g. Ubuntu, CentOS) What does it look like, inside of the container? Complete filesystem with a single running process Complete filesystem with all normal OS processes What problem does it solve? Basis for Micro Service Architecture solutions Cheaper, faster, more efficient virtual machines Density? Hundreds of containers per core Hundreds of containers per core Performance? Identical performance to bare metal Identical performance to bare metal Latency? Negligible latency Negligible latency How is it used at scale? PaaS -- hosted applications (e.g. Kubernetes, Mesos) IaaS -- hosted machines (e.g. OpenStack, Joyent) Size of code base? Docker: 374K lines of source code Rocket: 216K lines of source code LXD: 28K lines of source code Security? cgroups, (~namespaces, ~apparmor) cgroups, user namespaces, apparmor, seccomp

Virtual Machines Machine Containers Linux Containers Physical Machines

LXC 2.0 includes LXD

LXD provides machine containers

LXD is Ubuntu s container hypervisor lxc machine Ultra fast vm-lite guests (bare metal speed) Any lxc distribution of Linux lxc - e.g. Ubuntu, CentOS lxc machine Starts in less than machine 1 second machine 15x density of KVM or ESX for idle workloads lxc machine kernel lxd kernel lxd kernel lxd kernel lxd kernel lxd host A host B host C host D host... LXD REST API nova-lxd lxc cli other restful apps

LXD operates much like other hypervisors type 1 (paravirt) type 3 (container) type 2 (hw-accel) LXD

LXD exposes a REST API containers images snapshots aliases LXD profiles certificates events operations networks volumes utility/internal collections read-only collections

Ubuntu offers choice of cloud, containers, and everything in between LXD Application Containers Machine Containers Virtual Machines

let s try lxd

# Install lxd, and setup zfs sudo apt install lxd sudo lxd init # Create a machine container lxc image list lxc launch ubuntu demo1 lxc list lxc info demo1 lxc config show demo1

# Test the performance in the container lxc exec demo1 -- apt update lxc exec demo1 -- apt install -y sysbench lxc exec demo1 -- sysbench --test=cpu run # Compare the performance of the host system sudo apt install -y sysbench sysbench --test=cpu run

# Confirm the container behaves like a VM lxc exec demo1 -- bash ps -ef ls -alf / cat /proc/cpuinfo df -h free ifconfig ping -c 3 8.8.8.8 sudo apt install -y openssh-server ssh localhost

# Count the CPUs and Memory available lxc exec demo1 -- grep processor /proc/cpuinfo lxc exec demo1 -- free # Limit the container to 1 CPU and 1GB of Memory lxc config set demo1 limits.cpu 1 lxc config set demo1 limits.memory 128MB # Recount the CPUs and Memory available lxc exec demo1 -- grep processor /proc/cpuinfo lxc exec demo1 -- free

# Update and snapshot a container lxc exec demo1 -- apt update lxc exec demo1 -- apt dist-upgrade -y lxc snapshot demo1 upgraded # Cause some trouble lxc exec demo1 -- rm -rf /bin lxc exec demo1 bash # Repair the damage lxc restore demo1 upgraded lxc exec demo1 -- ls -alf /

lxc --help config copy delete exec file help image info launch list move profile publish remote restart restore snapshot start stop version - Manage configuration. - Copy containers within or in between lxd instances. - Delete containers or container snapshots. - Execute the specified command in a container. - Manage files on a container. - Presents details on how to use LXD. - Manipulate container images - List information on containers. - Launch a container from a particular image. - Lists the available resources. - Move containers within or in between lxd instances. - Manage configuration profiles. - Publish containers as images. - Manage remote LXD servers. - Changes one or more containers state to restart. - Reset the state of a resource back to a snapshot. - Create a read-only snapshot of a container. - Changes one or more containers state to start. - Changes one or more containers state to stop. - Prints the version number of LXD.

Ubuntu Advantage Commercial support for the host covers all of your LXD or Docker guests Unsupported Free UA Essential $150/node UA Standard $750/node UA Advanced $1500/node Download, Install, Run, with Bugfix & Security Updates, Docs, Manuals, AskUbuntu, Launchpad, NTP, Entropy Landscape Management & Monitoring Compliance Auditing, Kernel Live patching Free trial 8x5 web support (base packages), IP Indemnification, 24x7 KnowledgeBase 10x5 phone & web support (main packages), Hardening Guides 24x7 phone & web support (main packages + select backports)

ubuntu.com/lxd github.com/lxc/lxd linuxcontainers.org/lxd