@rob_rich

Azure Container Instances

by Rob Richardson

@rob_rich

https://robrich.org/

About Me

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, Angular and React. 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 his blog at https://robrich.org/presentations and follow him on twitter at @rob_rich.

Why Docker

Docker is Kernel Virtualization

Docker:
Ephemeral, Isomorphic Hardware

  • Each copy is identical
  • Don't upgrade, replace
  • Many instances from one file

Dockerfile: Configuration as Code

FROM microsoft/aspnetcore:2.0

WORKDIR /app
COPY . .
RUN nuget install

EXPOSE 80
CMD ["dotnet", "run"]

Small text file produces identical results

Can cache previous results to speed builds

Docker: Dev & Ops Communication

Inside the Container:

  • A machine
  • Unique IP, hostname
  • Build your perfect snowflake
 

Outside the Container:

  • A process
  • Plug in power and internet
  • Restart quickly
  • Scale by launching more

Docker on Azure

Docker Products in Azure

Azure Container Service (ACS)

Azure Container Service (AKS)

source: wikipedia.org/wiki/Kubernetes

Service Fabric Cluster Service

WebApps for Linux

Azure Container Registry

Docker in Azure

If you're looking for this... Use This
Scale and orchestrate containers using Kubernetes Azure Container Service (AKS)
Easily run containers on Azure with a single command Container Instances
Store and manage container images across all types of Azure deployments Container Registry
Develop microservices and orchestrate containers on Windows or Linux Service Fabric
Deploy web applications on Linux using containers App Service
Run repetitive compute jobs using containers Batch

source: azure.microsoft.com/en-us/services/container-instances

Azure Container Instance

DEMO: Azure Portal

Azure Container Instance

source: argonsys.com/...

Azure Container Registry

source: argonsys.com/...

Azure Container Registry

source: argonsys.com/...

DEMO: Azure CLI

Azure Container Instances is the primitive
we'll use to build cool things

-Me ... right now