Docker as a hosting target

21
19 LUGLIO 2016 Docker as a hosting target Roberto Messora

Transcript of Docker as a hosting target

Page 1: Docker as a hosting target

19 LUGLIO 2016

Docker as a hosting target

Roberto Messora

Page 2: Docker as a hosting target

About me

Roberto MessoraSpecialist @ Value Lab Spa• GIS / Geospatial expert• Sofwtare engineer• Cloud architect

Page 3: Docker as a hosting target

Follow me live

Githubhttps://github.com/robymes/ugidotnet15

Slidesharehttp://www.slideshare.net/RobertoMessora/docker-as-a-hosting-target

Page 4: Docker as a hosting target

Agenda

• “It works on my machine”•Consolidare il deploy: Virtual vs Container•Docker Container e dintorni• Scalare Docker: Docker Swarm (et al.)•Docker Swarm “in da” cloud: Azure & AWS•Q&A

Page 5: Docker as a hosting target
Page 6: Docker as a hosting target
Page 7: Docker as a hosting target

Docker Survey 2016

Page 8: Docker as a hosting target

Consolidare il deploy: Virtual vs Container

Page 9: Docker as a hosting target

Cos’è un Container

“Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code,

runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will

always run the same, regardless of its environment.”

https://www.docker.com/what-docker

Page 10: Docker as a hosting target

1 - demoDocker Container: un semplice servizio REST basato su Node.JS

Page 11: Docker as a hosting target

Docker Container: uno stack di immagini

Page 12: Docker as a hosting target

Docker Survey 2016

Page 13: Docker as a hosting target

Docker Survey 2016

Page 14: Docker as a hosting target

Docker Container e dintorni

• L’ecosistema Docker è composto da una serie di elementi• Docker Container• Docker Compose• Docker Machine• Docker Swarm• Docker Hub

Page 15: Docker as a hosting target

2 - demoDocker Compose: proxy/load balancer + servizio REST Node.JS + MongoDB

Page 16: Docker as a hosting target

Scalare Docker: Docker Swarm

• Tempo di andare in produzione:• Scalabilità• Affidabilità• Facilità di deploy• Dev once run everywhere

Page 17: Docker as a hosting target

3 - demoDocker Swarm: Azure & AWS

Page 18: Docker as a hosting target

Scalare container: non solo Docker Swarm• Apache Mesos• Marathon• Mesosphere DC/OS• Kubernetes• …

Page 19: Docker as a hosting target

Reference

• https://github.com/jwilder/nginx-proxy

• https://github.com/rafabene/devops-demo

• https://youtu.be/JgUyI-MIKZ0

Page 20: Docker as a hosting target

Thank you! Questions?https://twitter.com/ugidotnet

Page 21: Docker as a hosting target

Roberto Messora

robymes

[email protected]

robymes