Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker...

32
www.container-solutions.com | [email protected] | @containersol @iandcrosby Going Cloud Native with Docker Ian Crosby @iandcrosby

Transcript of Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker...

Page 1: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Going Cloud Native with Docker

Ian Crosby @iandcrosby

Page 2: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

WTF is Cloud Native?

Page 3: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Actual Survey by Citrix

Page 5: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

“Cloud native computing uses an open source software stack to deploy applications as microservices, packaging each part into its own container, and dynamically orchestrating those containers to optimize resource utilization.”

- Cloud Native Computing Foundation

Page 9: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Monoliths suck.

Page 10: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

“Cloud native computing uses an open source software stack to deploy applications as microservices, packaging each part into its own container, and dynamically orchestrating those containers to optimize resource utilization.”

- Cloud Native Computing Foundation

Page 11: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Cloud Native is about Flexibility.

Page 12: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Scale.

Replace.

Optimise.

Page 14: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Containers are the building blocks of the cloud.

Page 15: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

“Cloud native computing uses an open source software stack to deploy applications as microservices, packaging each part into its own container, and dynamically orchestrating those containers to optimize resource utilization.”

- Cloud Native Computing Foundation

Page 16: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @michmueller_ @iandcrosby

Virtual Machines vs. Containers

Containers include the application and all of its dependencies --but share the kernel with other containers, running as isolated processes in user space on the host operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any infrastructure, and in any cloud.

Virtual machines include the application, the necessary binaries and libraries, and an entire guest operating system -- all of which can amount to tens of GBs.

Page 17: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @michmueller_ @iandcrosby

Page 18: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Cloud Native relies on automation

Page 19: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Build.

Page 20: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Test.

Page 21: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

API Testing

Page 22: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Deploy.

Page 24: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

“Cloud native computing uses an open source software stack to deploy applications as microservices, packaging each part into its own container, and dynamically orchestrating those containers to optimize resource utilization.”

- Cloud Native Computing Foundation

Page 26: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Cloud Native is platform agnostic

Page 27: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Mesos"id": "/weave-demo/service/payment",

"cpus": 0.5,

"mem": 128.0,

"Instances": 2

"container": {

"type": "DOCKER",

"docker": {

"image": "weaveworksdemos/payment:latest",

"portMappings":

[{

"containerPort": 80,

}]

"parameters": [

{

"key": "hostname",

"value": "payment.weave.local"

}

]

}

replicas: 1

template:

spec:

containers:

- name: payment

image: weaveworksdemos/payment:latest

resources:

requests:

cpu: 0.5

memory: 128.0

ports:

- containerPort: 80

env:

- name: hostname

value: payment.weave.local

Kubernetes

Page 29: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Containers != Docker

Page 30: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Cloud Native

● Relies on Automation

● ...is Flexibility

● ...is about Resiliency

● ...is Platform Agnostic

Page 31: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

https://microservices-demo.github.io/

Page 32: Native with Docker Going Cloud - YOW! Conferences · 2019-09-23 · operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any

www.container-solutions.com | [email protected] | @containersol @iandcrosby

Thanks.Ian Crosby @iandcrosby

https://github.com/microservices-demo