Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Microservices at Scale - Operate and scale containerized apps using Azure

Microservices at Scale - Operate and scale containerized apps using Azure

Slides from my talk about ACR, Azure Web Apps for Containers, ACI and AKS at DotNet-Day-Franken 2018 #ddf2018

Thorsten Hans

April 28, 2018
Tweet

More Decks by Thorsten Hans

Other Decks in Technology

Transcript

  1. • What you’ll see • Docker • Azure Container Instances

    • Azure Container Services • Azure Container Registry • Azure Web Apps
  2. ACR § Private Docker registry based on Docker Registry 2.0

    § Fully managed Azure Service § Seamless integration with Docker CLI § Available in three SKUs (Basic, Standard Premium) § Provides webhooks for further automation like Continuous Deployment (CD) Azure Container Registry
  3. Feature Comparison Basic Standard Premium Storage 10 GB 100 GB

    500 GB Max read Ops. per Minute 1.000 300.000 10.000.000 Max write Ops. per Minute 100 500 2.000 Max download bandwidth 30 MBps 60 MBps 100 MBps Max upload bandwidth 10 MBps 20 MBps 50 MBps Webhooks 2 10 100 Geo Replication Not supported Not supported In Preview ACR SKUs
  4. Get access to your Azure Container Registry § Azure AD-based

    login mechanism for regular usage § Tokens requested by Azure CLI will be used to authenticate with ACR § Headless Authentication using Azure AD Service Principals § Used by Orchestrators or other Services § Admin Account § Designed for Single User scenarios § Should be disabled on all (pre)-production ACRs Authentication
  5. For Containers § Execute Web Apps based on Docker Images

    § Interaction with public and private Docker Registries § Frictionless Continuous Deployment § Port Forwarding configured automatically § Dockerfile EXPOSE Azure Web Apps
  6. ACI § Run Docker images with a single command §

    No orchestration or administration required § Consume Docker images from Docker Hub or Azure Container Registry § Public IP connectivity § Persistent storage using Azure Files shares § Support for Windows and Linux Containers Azure Container Instances
  7. How much is ACI ACI Pricing § Azure Container Instances

    § Payed per second and per created instance § Create requests + memory duration + core duration = total cost § Prices are shown for Azure region West Europe Price Create Container Instance 0,0022 € Container Instance duration Per CPU Core and second 0,0000102 € Per GB Memory and second 0,0000102 €
  8. AKS § Fully managed Kubernetes cluster § Frictionless operation of

    containerized apps § Easy to scale-out, upgrade, replicate § Seamless integration with other Azure resources § Self healing for k8s Masters § Cost efficient – you pay for your Nodes Azure Container Services
  9. AKS § Currently in technical preview (April 2018) § Preview

    is only available in the following Regions § East US, West Europe, Central US, Canada Central, Canada East § Service quotas and limits* § Max 100 nodes per cluster § Max 110 pods per node § Max 20 clusters per subscription * Due to preview, can be increased by creating an Azure Service Request Azure Container Services
  10. Azure AKS § K8s Load Balancer will spin up an

    Azure Load Balancer § Easily mount Azure Files Shares and Disks as Volumes § Consume Docker Images from Azure Container Registry § Communicate with other Azure Resources like Redis, SQL Azure § Traffic inside the same region is always free AKS Azure Integration
  11. When to use § Dynamic and isolated Workload § Single

    and atomic execution § No need for upgrades § No need for static IP addresses § Short execution times Azure Container Instances
  12. When to use § Complex Applications § Orchestration requirements §

    Scale Out § No-Downtime upgrades Azure Container Services
  13. When to use § No or few management / orchestration

    requirements § Great for simple (stateless) Web Applications § Applications that consist of a few artefacts § Use them when scale-out capabilities fit your requirements Azure Web Apps for Containers