50
what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord National National Harbor 10 & 11 August 20, 2018 11 am-12 pm #containers #G008

transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

what are they, why you should care and how to

prepare

transformation and innovation with

containers

ILTACON 2018 Gaylord National

National Harbor 10 & 11

August 20, 2018 11 am-12 pm

#containers

#G008

Page 2: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

SPEAKERS

Koundinya Srinivasarao

Senior Platform Architect

Pivotalwww.linkedin.com/in/koundinyas

Page 3: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

AGENDA

• from transformation to containers

• containers

• container as a service - kubernetes

• higher level abstractions (that use containers under the covers)

Page 4: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

transfomation | ˌtran(t)sfərˈmāsh(ə)n |

a thorough or dramatic change in form or appearance

Page 5: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

DAVID CHANG I don’t even think that Domino’s is

a food company anymore. I think of

you as technology company.

UGLY DELICIOUS, S1:E1

Page 6: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

transformation

• is becoming a software defined business

• is customer centric

• promises competitive differentiation

• isn’t purely a change in technology strategy

• isn’t just for startups

• involves drastic change … but in rapid, small iterations

Page 7: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea users

Page 8: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea to product(ion)

Page 9: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea to product(ion)

Page 10: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea to production - goals

𝝙 t

1. decrease 𝝙 t

Page 11: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea to production - goals

𝝙 t

1. decrease 𝝙 t

2. increase 𝝙 f

Page 12: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

idea to production - goals

𝝙 t

1. decrease 𝝙 t

2. increase 𝝙 f

3. build the right thing

Page 13: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

source code

+

process

app

Page 14: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

source code

+

process

app

app

+

dependencies

/ ops tools (scanners…)

runnable s/w

Page 15: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

source code

+

process

app

app

+

dependencies

/ ops tools (scanners…)

runnable s/w

runnable s/w

+

credentials

/ compute / networking

running

Page 16: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

apprunnable s/w running

developers ops

Page 17: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

apprunnable s/w running

developers ops

different same

Page 18: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

building enterprise software

build runwrite

apprunnable s/w running

developers ops

different same

Page 19: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

CONTAINERS

provide consistency of deployment

provide consistency of execution

ease the developer-to-operator handoff

Page 20: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

so what exactly are containers?

Page 21: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

KEY CONCEPTS

• isolation (from a historical perspective)

• container

• container image

• container runtime

• container orchestrator

Page 22: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

isolation

1

3

2

1

3

2

Page 23: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

no isolation

hardware

p1 p3p2

circa 1980s

apps aware of target hardware

no/limited portability

Page 24: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

operating system offers some isolation

operating system

p1 p3p2

apps agnostic of target hardware

limited portability

hardware

Page 25: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

CPU

apps

1

2

nightly billing batch job

tabulate results

3 siphon off money to secret bank account

that isn’t sufficient though

Page 26: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

CPU

that isn’t sufficient though

$$

better networking

cheaper hardware

smaller, cheaper data

centers

Page 27: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

virtualization

A B

B B

C C

D

apps

A virtualization layer makes one sharable resource

look like many exclusive resources

Page 28: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

lots of resources

to virtualize!

compute

disk

networking

graphics

Page 29: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

virtual machinesA more sophisticated virtualization layer knows how to

virtualize everything

application

Page 30: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

virtual machinesan early hypervisor

application

Page 31: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

isolation with virtual machines

hypervisor

hardware

VM1

OS

p1

VM2

OS

p2

VM3

OS

p3

But …

• OS is duplicated

• additional resources

• penalty while

implementing

microservices

Page 32: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

VM

OS

A

your app

A

isolation with containers

Page 33: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

containers

operating systemBoth OS and hardware needed

change to support containers

hardware

A1A2

A3

Page 34: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

how do containers work?

Page 35: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

your app your app’s

dependencies

resource

request+ +

container

image

A

A

Page 36: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

your app your app’s

dependencies

resource

request+ +

container

image+

container

runtimecontainer

A

A A

docker, rocket, runC etc…

Page 37: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

container

image +container

runtimecontainer

A A

A

A

but how do you scale the

runtimes across multiple

hosts

Page 38: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

BA C

BA C

container orchestrator

view data center as

a computer

pets cattle

versus

immutable

infrastructure

Page 39: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

container orchestrator

kubernetes docker swarm mesosphere

Page 40: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

container orchestrator

kubernetes docker swarm mesosphere

kubernetes has pretty much

won the war!

Page 41: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

kubernetes is a portable, extensible

open-source platform for managing

containerized workloads and services,

that facilitates both declarative

configuration and automation

https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/

kubernetes

k8s

Page 42: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

> kubectl

storage networkingcompute

Kubernetes Dashboard

Dev / Apps IT / Ops

App User

kubernetes

Page 43: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

> kubectl

storage networkingcompute

Kubernetes Dashboard

Dev / Apps IT / Ops

App User

kubernetes

Load Balancing / Routing

Container ImageRegistry

App Monitoring

App Logging

OS Updates

OS Images

K8S Updates

K8S Images

Log & Monitor

Recover & Restart

Backup & Restore

ExternalData Services

Cluster Provisioning

Provision & Scale

not provided by K8s (buy or build these)

Page 44: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

do we use containers for everything?

Page 45: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

there are many ways to package and run

workloads in the cloud

containersdata services

microservicesmonolithic apps

event-driven functions

Page 46: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

choose the right runtime for each workload

containers data services

microservicesmonolithic apps

event-driven

functions

IaaS

container

orchestrator

(CaaS)

application

platform (PaaS)

Serverless

functions

(FaaS)

Page 47: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

choose the right runtime for each workload

IaaS

CaaS

PaaS

FaaS

• lower development

complexity

• higher operational

efficiency

• higher flexibility

• less enforcement

of standards

Page 48: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

implementations

IaaS

CaaS

PaaS

FaaS

AWS, Azure, GCP, VMware

Pivotal Container Service (PKS)

RedHat Openshift

Pivotal Application Service

project riff

(Knative)

specific to public

cloud stack

• AWS EKS

• Azure AKS

• Google GKE

• AWS Elastic Bean Stalk

• Azure PaaS

• Google App Engine

• AWS Lambda

• Azure Functions

• Google Cloud Functions

multi-cloud

Page 49: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

key takeaways

• containers are a key ingredient for innovation/transformation

• people/process/culture change are equally import

• kubernetes has won the container war

• choose the right abstraction (CaaS/PaaS/FaaS) for each

workload

• start soon, start small – avoid analysis paralysis!

• special thanks to John Feminella (@jxxf / http://jxf.me/)

Page 50: transformation and innovation with containers - Innovation... · what are they, why you should care and how to prepare transformation and innovation with containers ILTACON 2018 Gaylord

references

• Kubernetes Overview

• Transformation at Boeing (talk by Nikki Allen)

• Migrating to Cloud-Native Application Architectures by Matt

Stine

• The Twelve-Factor App