The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft...

Preview:

Citation preview

Microsoft Azure

Where containers came from?

Microsoft Azure 6

Microsoft Azure 7

Microsoft Azure

Cargo transport pre-1960

8

Multiplicity of

goods

Do I worry about

how goods

interact?

Multiplicity of

methods for

transporting &

storing

Can I transport

quickly and

smoothly?

Microsoft Azure

Cargo transport pre-1960

9

Microsoft Azure

The Shipping Container analogy brings a solution

10

Multiplicity of

goods

Do I worry about

how goods

interact?

Multiplicity of

methods for

transporting &

storing

Can I transport

quickly and

smoothly?

Microsoft Azure

Microsoft Azure 12

Microsoft Azure

Microsoft Azure

containers for code

Microsoft Azure

Containers for code

staging

dev production

test

Microsoft Azure

density & efficiency

Microsoft Azure

Data center without containers

Microsoft Azure

Data center with containers

Microsoft Azure

build once

run anywhere

Microsoft Azure

micro services

Microsoft Azure

A canonical PaaS platformauthor run share

Microsoft Azure 22

Microsoft Azure

What Docker resolves?

Microsoft Azure

The Shipping Container analogy brings a solution

24

Multiplicity of

Stacks

Do services and

apps interact

appropriately?

Multiplicity of

hardware

environments

Can I migrate

smoothly and

quickly

User

DB

QA

server

Development

VM

Contributor’s

laptop

Customer

Data CenterProduction Cluster

Public

Cloud

Static

websitenginx 1.5 + modsecurity + openssl + bootstrap 2

Web

frontend Ruby + Rails + sass + Unicorn

Queue

Redis + redis-sentinel

Analytics

DBhadoop + hive + thrift +

OpenJDK

Microsoft Azure

Static website ? ? ? ? ? ? ?

Web frontend ? ? ? ? ? ? ?

Background workers ? ? ? ? ? ? ?

User DB ? ? ? ? ? ? ?

Analytics DB ? ? ? ? ? ? ?

Queue ? ? ? ? ? ? ?

Dev VM QA ServerSingle Prod

Server

Onsite

ClusterPublic Cloud

Contributor’s

laptop

Customer

Servers

Heterogeneity turns deployment into a nightmare

Microsoft Azure

The Shipping Container analogy brings a solution

27

Multiplicity of Stacks

Do services and apps interact

appropriately?

Multiplicity of hardware

environments

Can I migrate smoothly and

quickly

User

DB

Analytics

DB

QueueWeb

frontend

Static

website

QA

serverDevelopment

VM Contributor’s

laptop

Customer

Data Center Production ClusterPublic

Cloud

Microsoft Azure

Heterogeneity turns deployment into a nightmare

Static website ? ? ? ? ? ? ?

Web frontend ? ? ? ? ? ? ?

Background workers ? ? ? ? ? ? ?

User DB ? ? ? ? ? ? ?

Analytics DB ? ? ? ? ? ? ?

Queue ? ? ? ? ? ? ?

Dev VM QA ServerSingle Prod

Server

Onsite

ClusterPublic Cloud

Contributor’s

laptop

Customer

Servers

Microsoft Azure

Comparison: Containers vs. VMs

Host OS

Server

Ap

p A

’Bins/Libs

Ap

p A

Bins/Libs

Ap

p B

Ap

p B

Ap

p B

Ap

p B

’Container

Containers are isolated,but share OS kernel and, where appropriate, bins/libraries

…result is significantly faster deployment, much less overhead, easier migration, faster restart

VM

Hypervisor (Type 2)

Host OS

Server

GuestOS

Bins/Libs

AppA

GuestOS

Bins/Libs

AppA

GuestOS

Bins/Libs

AppB

Container ImagesContainer Run-Time Image Repository

Win

do

ws

Quotas

and limits

Process

State

isolation

Hostile

Multi-tenant Isolation

Hardware

virtualization

Job

Objects

Windows

Server

Containers

Hyper-V

Containers

Hyper-V

Virtual

Machines

Faster and more efficient More isolated and more secure

New

Recommended