Global Azure Bootcamp#GlobalAzure #MUGLyon #AZUGFR LYON - FRANCE
Benjamin Talmard - @Benjiiim
Microsoft Azure Technical Evangelist
Votre architecture applicative à base de
conteneurs dans le Cloud Microsoft
1
Global Azure Bootcamp#GlobalAzure #MUGLyon #AZUGFR LYON - FRANCE
GAB 2016 LYON ORAGANIZER
LOCAL SPONSORS
www.iot-world.fr
Prochaine édition
21 et 22 mars 2016 à Paris
2
Votre architecture applicative
à base de conteneurs dans le
Cloud Microsoft
Services orientés plateforme
App
Service
Cloud
Services
Service
Fabric
Services d’infrastructure
Batch
Services applicatifs
SQL
Database
Redis
Cache
DocumentDB
Search
HDInsight
Stream
Analytics
Machine
Learning
Event
Hubs
Mobile
Engagement
Marketplace
Active
Directory
...
Application
Architecture exemple
Architecture en services
Quelques chiffres sur Docker
• Docker image downloads from 67 million in 2014 to 1.2 billion in 20151
• 40% of organizations using Docker have it in production1
• Docker-related job listings went up to 43,000 in 2015, an increase of
1,720%2
• 50% of the companies in the Docker Hub beta are Fortune 100 companies3
• Docker secures $95M Series D funding in April 20154
• 60,000 projects on Github containing “docker” (Up 226%)2
• 5.6M Docker Hub pulls per day2
Virtual Machine vs Containers
Host OS
Hypervisor
Host OS
Container Engine
Guest
OS
Guest
OS
Guest
OS
App
Framework
App C
App
Framework
App
Framework
AppA
AppA’
AppB
AppB’
AppC
AppC’
AppC’’
App
Framework
App B
App
Framework
App A
Docker
Build Ship Run
Anywhere
Distributed Applications
API DBWeb
WebWeb Web
API
API
DB
Démo
Developer Workstation
Container
Container
Container
Container
Container
Container
Container
Container
Container
Démo
Service FabricHigh Availability
Hyper-Scale
Hybrid Operations
High Density
Microservices
Rolling Upgrades
Stateful Services
Low Latency
Fast Startup &
Shutdown
Code Orchestration &
Lifecycle Management
Replication &
Failover
Simple
programming
models
Resource Management
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
Azure Private cloud Other clouds
Kernel
Mode utilisateur
Mode Kernel
Système hôte
Container
Management
stack
Docker
PS
WMI
Mode utilisateur
Mode Kernel
Hyperviseur (Hyper-V)
Kernel Kernel
partition(s) Hyper-V
Container
Management
stack
Docker
PS
WMI
Système hôte
Kernel
Services orientés plateforme
App
Service
Cloud
Services
Service
Fabric
Services d’infrastructure
Batch
Services applicatifs
SQL
Database
Redis
Cache
DocumentDB
Search
HDInsight
Stream
Analytics
Machine
Learning
Event
Hubs
Mobile
Engagement
Marketplace
Active
Directory
...
Application
Global Azure Bootcamp#GlobalAzure #MUGLyon #AZUGFR LYON - FRANCE
GAB 2016 LYON ORAGANIZER
LOCAL SPONSORS
www.iot-world.fr
Prochaine édition
21 et 22 mars 2016 à Paris
28

GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Containers Docker

Editor's Notes

  • #13 https://virtualizationreview.com/articles/2015/12/01/what-will-2016-bring-for-containers.aspx http://venturebeat.com/2015/06/25/this-could-be-the-year-that-docker-hits-the-big-time/ https://blog.docker.com/2015/04/dockers-new-funding-keeps-us-focused-on-our-priorities-and-commitments/
  • #14 Virtual Machines Each VM has independent, full OS Full isolation Separate app frameworks Support features such as live migration Containers Shared Host OS Near instant start-up Processes in containers are isolated Dependent app services and libraries are tied to container (layers) All containers on a host will share the OS version
  • #15 Tagline de Docker en ce moment : Build, Ship, Run, Any App, Anywhere
  • #18 Part 0 : - Sur le portail, je montre une VM Linux existante avec son extension Docker Part 1 : Je pars du code node.js existant J’ajoute un Docker File qui va bien FROM node:latest EXPOSE 3000 CMD ["node", "/src/index.js"] Je publie sur GitHub depuis VSO Je vais sur une machine Ubuntu en SSH via Putty Je montre docker info Je récupère mon code via git clone https://github.com/Benjiiim/HelloParisTech.git Je build mon image via docker build –t helloparistech . Je crée un conteneur via docker run --name helloparistechapp -p80:3000 helloparistech Test dans le navigateur Part 2 (facultatif) : Je publie sur Docker Hub Je crée un container en parlant de ça
  • #23 Aller sur la documentation Azure Container Service sur azure.com pour trouver le Get Started Trouver le template ACS qui correspond au déploiement que l’on souhaite puis Deploy to Azure Expliquer quelques uns des paramètres nécessaires pour la création du template Aller montrer un déploiement existant Connexion en SSH au master ssh -i /c/Users/benjat/.ssh/benjatswarm benjat@benjatswarmmgmt.northeurope.cloudapp.azure.com -A -p 2200 docker ps pour voir le swarm manage docker -H 10.0.0.5:2375 pour aller voir le swarm join