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

Post on 22-May-2020

5 views 0 download

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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Going Cloud Native with Docker

Ian Crosby @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

WTF is Cloud Native?

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Actual Survey by Citrix

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Monoliths suck.

www.container-solutions.com | info@container-solutions.com | @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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Cloud Native is about Flexibility.

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Scale.

Replace.

Optimise.

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Containers are the building blocks of the cloud.

www.container-solutions.com | info@container-solutions.com | @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

www.container-solutions.com | info@container-solutions.com | @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.

www.container-solutions.com | info@container-solutions.com | @containersol @michmueller_ @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Cloud Native relies on automation

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Build.

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Test.

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

API Testing

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Deploy.

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Cloud Native is platform agnostic

www.container-solutions.com | info@container-solutions.com | @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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Containers != Docker

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Cloud Native

● Relies on Automation

● ...is Flexibility

● ...is about Resiliency

● ...is Platform Agnostic

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

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

www.container-solutions.com | info@container-solutions.com | @containersol @iandcrosby

Thanks.Ian Crosby @iandcrosby

https://github.com/microservices-demo