@rob_rich

Choosing from the many ways to Docker in Azure

by Rob Richardson

  @rob_rich

https://robrich.org/

About Me

Rob Richardson

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He's a frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.

What is Docker?

Docker is an ecosystem around Container Virtualization

What are Containers?

Light-weight kernel virtualization

What is Docker?

A suite of command-line tools for creating, running, and managing containers

Containers vs VMs

vm vs container

Source: http://www.zdnet.com/article/what-is-docker-and-why-is-it-so-darn-popular/

Containers

Containers virtualize and share the host kernel

Containers must run on the kernel for which they were built:

  • Linux containers run on a Linux host
  • Windows containers run on a Windows Server host

Development: Docker in a VM

docker nested in a vm

Cross-platform Docker in a VM
Not for production

Orchestrator

What is an Orchestration Engine?

Given a cluster of machine(s)
We specify containers' desired state
The engine makes it happen

We don't specify which machine does what

Docker Ecosystem

docker ecosystem

Download: https://robrich.org/slides/welcome-to-docker/docker-ecosystem.pdf

Demo

Dockerfile & Docker Container

Docker Registry

Demo

Azure Container Registry

Docker in Azure

Azure Container Service

* Legacy

Azure Container Service

Outsourced Owned
  • Provisioning
  • Initial Configuration
  • Product updates
  • VM upgrades
  • Windows updates
  • Node Scaling

Service Fabric

* Legacy

Service Fabric

Outsourced Owned
  • Cluster management
  • VM updates
  • Node Scaling
  • Container restarts
  • Container process

Azure Kubernetes Service (AKS)

Demo

Azure Kubernetes Service (AKS)

Azure Kubernetes Service (AKS)

Outsourced Owned
  • Control plane
  • Container restarts
  • Node scaling (preview)
  • Container process
  • Kubernetes version
  • Node scaling

Azure Container Instance (ACI)

Demo

Azure Container Instance (ACI)

Azure Container Instance (ACI)

Outsourced Owned
  • Host infrastructure
  • VM patching
  • Container process
  • Container health and restarts
  • Container scaling

Azure App Service (web app)

Demo

Azure App Service (web app)

Azure App Service (web app)

Outsourced Owned
  • Host infrastructure
  • VM patching
  • Container health / restarts
  • Container scaling
  • Container process

Install Docker in VMs

Install Docker in VMs

Outsourced Owned
  • Buying hardware
  • Installation
  • Configuration
  • Patching
  • Container health
  • Cluster health
  • Scaling

Docker in Azure

Docker in Azure

Azure will meet you where you are
and power your container workloads.