Top Banner
Adrien Blind DevOps Coach @adrienblind Ludovic Piot, Oxalide Conseil, architecture, DevOps Usecase: cloud hybridation leveraging on Docker 1.12
18

Cloud hybridation leveraging on Docker 1.12

Apr 15, 2017

Download

Technology

Ludovic Piot
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cloud hybridation leveraging on Docker 1.12

Adrien BlindDevOps Coach@adrienblind

Ludovic Piot, OxalideConseil, architecture, DevOps@lpiot

Usecase: cloud hybridationleveraging on Docker 1.12

Page 2: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

On-demand & pay-per-use

DevOps compliant : easy automation, Infra-as-code, versionnable, reproductible

Leads to new usecases: elastic applications, ephemeral environments…

The cloud is sexy

Page 3: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Versatile resources Fail-over through distributed architecture Rebuild vs. restore Frequency of reinstall

Pay per-use but… low perf/cost ratio load-balancing network-based architecture : asynchronous

architecture

A cloudy picture

Page 4: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Security No network peripheral security New organisation-based security model

Managed services very appealing but… vendor lock-in consequences on project/prod collaboration

Keep a decent ROI on recent on-premise assets

A cloudy picture

Page 5: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Docker benefits‘’A universal, self-sufficient and standard artifact embedding an app module,

and its subsequent infrastructure configuration’’

Docker provides both the artifact and the ecosystem to handle it!

Immutable

Portable Lightweight

Incremental

Versionned/taggedDisposable

Page 6: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Topology & orchestration

App 3

App 2

App 1

X64/WIN X64/LINUX ARM/LINUX

An app is made of several atomic containers

Compose, Bundle & Service enable to manage topologies of containers accross a single cluster of nodes

Docker should support ARM & Windows enabling to describe various types of assets in the topology

Third-part assets may be handled artificially through abassador containers

Page 7: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Span a cluster over providers

Extend your network up to cloud vendors platform (VPN, dedicated connections…)

Set up an hybrid docker swarm cluster on top of this various commodites

NETWORK

Host

Page 8: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Scale the application through docker services

Scale the swarm cluster capacity

Scale up, scale down

BEWARE OFAPP ARCHI !

Page 9: Cloud hybridation leveraging on Docker 1.12

Adrien BlindDevOps Coach@adrienblind

Ludovic Piot, OxalideConseil, architecture, DevOps@lpiot

Demo

Page 10: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Architecture

Raspberry(ARM)

Win 2016SWARMCLUSTER

Load injector (Apache AB) IIS Website MySQL Backend Overlay network

LinuxX86_64

LinuxX86_64

LinuxX86_64

LinuxX86_64

LinuxX86_64

INTERNET (arg!)

REDIS

Page 11: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Have a look on the running cluster

Scale the cluster with docker-machine

Scale the app with docker service

Focuses

Page 12: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

A real, hybrid clusterARM/Linux

x86_64/Linux

x86_64/Winx86_64/Linux

Page 13: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Spawning docker services

Page 14: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Scale up & down

Page 15: Cloud hybridation leveraging on Docker 1.12

Adrien BlindDevOps Coach@adrienblind

Ludovic Piot, OxalideConseil, architecture, DevOps@lpiot

Conclusion

Page 16: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Docker offers a nice opportunity to create an abstraction layer to facilitate transition to the cloud

Hybridation facilitates composite orchestration… when it’ll be fully operational

Conclusion

Page 17: Cloud hybridation leveraging on Docker 1.12

@adrienblind @lpiotPlease twit us on #experiences !

Step 1 Shift to docker packaging pardigmes Start deploying your apps through docker (trough CD pipelines

for instance) Step 2

Shift to dynamic orchestration: swarm cluster handles container deployments over the cluster, ensures desired instances are up, etc.

Step 3 Extend your local own cluster to third-part vendors

Step 4 Shift to self-healing clusters (autoscaling nodes for instance)

Plan your migration

Page 18: Cloud hybridation leveraging on Docker 1.12

Adrien BlindDevOps Coach@adrienblind

Ludovic Piot, OxalideConseil, architecture, DevOps@lpiot

Thank you!