Containers on Azure Peter Lasne Sr. Software Development Engineer

Slides:



Advertisements
Similar presentations
Microsoft Ignite /16/2017 2:42 PM
Advertisements

Building Resilient, Scalable Services with Microsoft Azure Service Fabric Mark Fussell Principal Program Manager Vipul Modi Principal Software.
Windows Azure Conference 2014 Running Docker on Windows Azure.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
Creating highly available and resilient Microservices on Microsoft Azure Service Fabric
Features Scalability Manage Services Deliver Features Faster Create Business Value Availability Latency Lifecycle Data Integrity Portability.
And scales by cloning the app on multiple servers/VMs/Containers Traditional architecture approach Microservices architecture approach A microservice.
Docker for Ops: Operationalize Your Apps in Production Vivek Saraswat Sr. Product Evan Hazlett Sr. Software
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Run Azure Services in your datacenter
4/12/2018 1:12 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Global Azure Bootcamp 2017 Linz, Austria
Building ARM IaaS Application Environment
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Fundamentals Sunny Sharma Microsoft
Build /26/2018 6:17 AM Building Resilient, Scalable Services with Microsoft Azure Service Fabric Érsek © 2015 Microsoft Corporation.
5/5/ :05 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Windows Containers Taylor Brown Principal Lead Program Manager
Microsoft /26/2018 4:12 AM BRK3189 Modernizing existing .NET web apps with Azure Cloud and Windows containers Cesar De La Torre.
Tulika Chaudharie / Harikharan Krishnaraju
Docker and Azure Container Service
Microservices with Azure Service Fabric Building and Running Services at Scale
Working With Azure Batch AI
Docker Birthday #3.
Microsoft Virtual Academy
In-Depth Introduction to Docker
Red Hat OpenShift on Microsoft Azure
Microservices, Docker, .NET, Windows, Linux, Azure. Oh, My!
Building Real World Node.JS Microservices on Azure
Service Fabric Patterns & Best Practices
Microsoft Azure Service Fabric Overview
Service Fabric Patterns & Best Practices
Windows Server & Hyper-V Containers Vaggelis Kappas
Microsoft Connect /18/ :32 PM
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
2017 Real Questions
Kubernetes Container Orchestration
Azure Container Service - the most open container orchestration service yet Saurya Das Program Manager.
Using docker containers
Azure Container Instances
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Connect /17/ :34 AM
Intro to Docker Containers and Orchestration in the Cloud
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Kubernetes on Windows Jim Zimmerman Patrick Lang BRK3147
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
11/27/2018 4:20 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Developing for the cloud with Visual Studio
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Virtual Academy
12/7/2018 2:05 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Learn. Imagine. Build. .NET Conf
Microsoft Virtual Academy
From Source to Production: The Latest in Container Dev
1/2/2019 5:18 PM THR3016 Customer stories: Plan and orchestrate large resource deployments on Azure infrastructure Igal Figlin Principal PM Manager – Azure.
Container cluster management solutions
5 Azure Services Every .NET Developer Needs to Know
Day 2, Session 2 Connecting System Center to the Public Cloud
Azure Container Service
Microsoft Virtual Academy
Deploying machine learning models at scale
Johan Lindberg, inRiver
Azure App Service Web App for Containers
Productive + Hybrid + Intelligent + Trusted
Containers and DevOps.
9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
SQL Server on Containers
Presentation transcript:

Containers on Azure Peter Lasne Sr. Software Development Engineer Commercial Software Engineering Microsoft © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Images WFE Service A Service B Service C Application Node.js + Express LAMP LAMP Application Stack Alpine Ubuntu Operating System Containers Containers WFE WFE A A B B C C Container Engine Docker Engine Guest OS Ubuntu Hypervisor / Host OS Hyper-V Hardware Physical Server

microservices architecture is a design pattern, containers are an implementation detail

Density Agility Polyglot Deployment 10/28/2019 10:36 PM Density more workloads on the same hardware Agility rapidly adjust service mix based on demand Polyglot each service can have its own OS, app stack, etc. Deployment no downtime; roll in and out services independently © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Things it makes easier: Things it makes harder: scalability portability continuous improvement application design performance security management

Windows Server vs. Hyper-V containers It is a deployment decision; not a design decision Web tier LOB app (+Binaries) Container A App tier LOB app (+Binaries) Container B DB tier LOB app (+Binaries) Container C Windows Guest OS Optimized for Hyper-V container Hyper-V container App A Bins/Libraries Windows Guest OS Optimized for Hyper-V container Hyper-V container App B Bins/Libraries Libraries (Shared across containers) Libraries Host OS with container support Hypervisor Server (Physical or Virtual) Server

Azure Container Service Virtual Machines Docker for Azure Bonus: Functions are deployable in containers

Azure Container Instance (ACI) Best for: Job processing Automation Serverless Container Groups Restart Policy Volumes (Azure Files, ephemeral, secrets) Expensive but /GB/s and /core/s Can be orchestrated from Kubernetes (proof-of-concept) SNAT App Ops Container Group

Azure Container Service (ACS) Best for: Applications ACS ACS Engine AKS Microsoft Involvement Deployment Tooling Platform Service Patching VMSS + orchestrator Managed Orchestrators Swarm, DCOS, Kubernetes Kubernetes Custom VNET? No; use peering Yes Customizable? Low High Swarm, DCOS, Kubernetes Docker Docker Docker Docker VM VM VM VM VMSS - Master VMSS - Worker Azure Container Service Use this if you can Azure Resource Manager

Azure Resource Manager Service Fabric Best for: Greenfield microservices applications Stateful services with replication! Reliable Actor API Reliable Service API Linux and Windows HA, Health Monitoring, Self-Healing Rolling Upgrades, Load Balancing DNS, Service Discovery, Rollback Placement Constraints, Containers microservices Azure Service Fabric VM VM VM Scale Set Azure Resource Manager

Azure Resource Manager Docker for Azure Best for: Simple container orchestration Best practice installation Prescriptive update path Self-cleaning / Self-healing Logging to Storage Account Persistent Volume Driver – Azure Files Swarm Docker Docker Docker Docker VM VM VM VM VMSS - Manager VMSS - Worker Azure Resource Manager

Web App for Containers (App Service) Best for: Simple, inexpensive web applications Uniform distribution – no orchestrator Prepackaged and BYOC Some App Service functionality: slots, CI/CD, etc. No VNET integration, no AAD auth, no site extensions, etc. SNAT C1 C2 C1 C2 Docker Docker VM Worker VM Worker App Service Resource Manager

Azure Batch Large-scale parallel compute Task Task Azure Batch Best for: Batch processing Large-scale parallel compute Task Task Docker Docker VM Worker VM Worker Azure Batch Resource Manager

Azure Container Registry Containers for Docker, ACS, App Service, Batch, Service Fabric, etc. Manages both Windows and Linux images Managed service (no need to manage patching, updates, etc.) Works with standard open source tools, like Docker login, push, and pull Credentials managed in AAD, including Service Principals

Best Practice Default to Linux Default to Kubernetes Leverage the ecosystem Patch/Re-deploy VMs; Re-deploy containers Slim containers (Alpine; no tooling; build container) No root; no write Use keep-alive + connection pooling Cattle; not pets

Kubernetes Production-Grade Container Orchestration (deployment, scaling, and management) Planet-Scale: Google runs billions of containers a week on Kubernetes Automatic binpacking Horizontal scaling Automated rollout/rollback Storage orchestration Self-healing Service discovery and load balancing Secret and configuration management Batch execution Master etcd scheduler API Server Controller Manager Proxy Container Runtime Kubelet Deployment ReplicaSet Pod App (Container) Sidecar Node Service Load Balancer