the next-generation azure compute platform...microsoft azure data center with containers microsoft...

34

Upload: others

Post on 29-May-2020

31 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 2: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 3: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 4: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 5: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Where containers came from?

Page 6: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure 6

Page 7: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure 7

Page 8: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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?

Page 9: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Cargo transport pre-1960

9

Page 10: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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?

Page 11: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Page 12: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure 12

Page 13: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Page 14: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

containers for code

Page 15: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Containers for code

staging

dev production

test

Page 16: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

density & efficiency

Page 17: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Data center without containers

Page 18: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

Data center with containers

Page 19: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

build once

run anywhere

Page 20: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

micro services

Page 21: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

A canonical PaaS platformauthor run share

Page 22: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure 22

Page 23: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Microsoft Azure

What Docker resolves?

Page 24: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 25: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 26: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 27: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 28: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 29: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 30: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

Container ImagesContainer Run-Time Image Repository

Page 31: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 32: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical

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

Page 33: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical
Page 34: The Next-Generation Azure Compute Platform...Microsoft Azure Data center with containers Microsoft Azure build once run anywhere Microsoft Azure micro services Microsoft Azure A canonical