gabc - containers on azurezigmax.net/wp-content/uploads/2018/05/gabc-containers-on-azure.… ·...

28
Containers on Azure

Upload: others

Post on 22-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Containers on Azure

Page 2: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

# Speakers

Maxime Coquerel

Cloud Architect @Logibec

Email : [email protected]

Blog : zigmax.net (Since 2012)

Github : https://github.com/zigmax

Twitter : @zig_max

Open Source Contributor (VSCode / ...).

Julien Maitrehenry

Cloud Developper @Ingeno

Email : [email protected]

Blog : jmaitrehenry.ca

Github : https://github.com/jmiatrehenry

Twitter : @jmaitrehenry

Docker Community Leader, MVP Azure

Page 3: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Disclaimer

“This opinions express in this presentation are our own and not necessary those of our employers or customers.“

Page 4: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Agenda

! Overview on containers! Container is only half the business! Unmanaged Docker cluster with Swarm! Managed cluster with Azure Container Service (managed

Kubernetes)

Page 5: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Overview on container

What and why?

Page 6: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

What is a container?

Page 7: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Why should I use containers?

Page 8: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Why should I use containers?

! Simple ! Dependency management! Portable

! Moving faster! Optimize infrastructure ressources

Page 9: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Container is only half of business

How to handle it at scale

Page 10: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Cache

DB

AppApp App

Host HostHost

App

??

?

Page 11: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Container orchestrator jobs

! Start containers on host! Rescheduling failing containers! Networking

! Containers on the same host! Containers on different hosts! Containers and the outside world

! And more...

Page 12: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Unmanaged Docker cluster with Swarm

The hard way

Page 13: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Infrastructure

Page 14: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker
Page 15: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker
Page 16: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker
Page 17: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Demo

Page 18: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Managed Docker cluster with Azure Container

Service (AKS)

Page 19: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Whats is Kubernetes ?

Open source container orchestrator that automates deployment, scaling, and management of applications

● Automatic bin-packing

● Self-Healing

● Horizontal scaling

● Service discovery and load balancing

● Automated rollouts and rollbacks

● Secret and configuration management

● Storage orchestration

● Batch execution

Page 20: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Kubernetes Architecture

Page 21: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Azure Container Service (AKS)

Your Kubernetes cluster, managed by Azure

Page 22: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Why AKS ?

! Easy to use○ Fastest path to Kubernetes on Azure○ Up and running with 3 simple commands

! Easy to manage○ Automated upgrades and patching○ Easily scale the cluster up and down○ Self-healing control plan

! Use Open APIs○ 100% upstream Kubernetes

Page 23: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Kubernetes without AKS

Page 24: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Kubernetes with AKS

Page 25: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker
Page 26: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Limitations● Windows containers are not supported yet in AKS, but it is in their road-

map.

Page 27: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker
Page 28: GABC - Containers on Azurezigmax.net/wp-content/uploads/2018/05/GABC-Containers-on-Azure.… · Agenda! Overview on containers! Container is only half the business! Unmanaged Docker

Questions / Talks