Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implement microservices patterns with .NET Core and Docker containers

Similar presentations


Presentation on theme: "Implement microservices patterns with .NET Core and Docker containers"— Presentation transcript:

1 Implement microservices patterns with .NET Core and Docker containers
6/8/2018 5:22 PM BRK3317 Implement microservices patterns with .NET Core and Docker containers Cesar de la Torre Sr. Program Manager .NET Product Team Microsoft Corp. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 .NET microservice and container guidance
Microsoft Build 2017 6/8/2018 5:22 PM .NET microservice and container guidance #2 or #3 monthly trending Since May 2017 Trending C# Github Repositories Free eBook (250+ page) aka.ms/MicroservicesEbook Reference application aka.ms/MicroservicesArchitecture Github © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 New patterns and new technologies
Microsoft Build 2017 6/8/2018 5:22 PM New patterns and new technologies Microservices Docker Containers Bounded Context Autonomous Linux Containers Docker Image Nomad & addressable services Docker Host Isolated Docker Registry API Gateway Windows Containers Decoupled Docker Hub Async. communication RabbitMQ Hyper-V Containers Events Event Bus Message Brokers Azure Container Registry Azure Service Bus Health Checks NServiceBus Orchestrators Service Discovery Transient Failures Handling MassTransit Azure Service Fabric Stateful Services Resiliency Brighter Commands Actors Retries with Exponential Backoff Polly Azure Container Service Domain-Driven Design Circuit Breakers CQRS simplified Kubernetes Aggregates Domain Entity Docker Swarm Domain Events Mesos DC/OS Mediator © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Microservices != Containers
Microsoft Build 2017 6/8/2018 5:22 PM Microservices != Containers But they are a great fit…  © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Docker Containers 6/8/2018 5:22 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 TechReady 23 6/8/2018 5:22 PM Docker Containers Docker improves the deployment of applications with portable, self-sufficient containers, Linux or Windows, that can run on any cloud or on-premises. No more: “It works in my dev machine!... Why not in production?” Now it is: “If it works in Docker, it works in production” Keywords about WHY Docker? Dependencies (self-sufficient) Deployment © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Docker and .NET .NET Core Docker images
TechReady 23 6/8/2018 5:22 PM Docker and .NET .NET Core Docker images xPlat. (Linux & Windows Nano Server) .NET Framework images Windows Server Core See at Docker Hub © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Infrastructure-Ready
Existing .NET Application Modernization: Maturity Models Existing Apps .NET Web apps (on-prem.) Cloud Infrastructure-Ready Monolithic Architecture IaaS Azure Cloud DevOps-Ready Monolithic Architecture + Managed Services Azure Cloud-Optimized & Cloud-Native Full PaaS and Cloud-Native Microservices and Monolithic Architectures PaaS + Managed Services Azure This session Monolithic Architecture Relational Database Session BRK3189 Modernizing existing .NET applications On-Premises LIFT & SHIFT: No re-architect, no code changes Architected for the cloud (Needs new code)

9 Microservices Architecture
6/8/2018 5:22 PM Microservices Architecture © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Traditional application approach Microservices application approach
TechReady 23 6/8/2018 5:22 PM Traditional application approach Microservices application approach A traditional application has most of its functionality within a few processes that are componentized with layers and libraries. Scales by cloning the app on multiple servers/VMs App 1 A microservice application segregates functionality into separate smaller services. Scales out by deploying each service independently with multiple instances across servers/VMs App 1 App 2 Independent deployment of microservice Coarse-grained density of apps/services Fine-grained density of services Need to deploy the full application © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Data in Traditional approach Data in Microservices approach
TechReady 23 6/8/2018 5:22 PM Data in Traditional approach Data in Microservices approach Single monolithic database Tiers of specific technologies Graph of interconnected microservices State typically scoped to the microservice Remote Storage for cold data Web Tier Services Tier Cache doesn’t help much for massive data ingress (Events, IoT, etc.) Mobile apps Web presentation services Cache Tier Database servers are usually the bottleneck Stateless services SQL DB or No-SQL Stateful services Data Tier SQL […] Monolithic Databases are shared across services. Stateless services with separate stores Each microservice owns its model/data! © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 eShopOnContainers Reference Application - Architecture
TechReady 23 6/8/2018 5:22 PM eShopOnContainers Reference Application - Architecture Client apps Docker Host Identity microservice (STS+users) eShop mobile app SQL Server db Xamarin.Forms C# xPlat. OS: iOS Android Windows Catalog microservice SQL Server db Ordering microservice eShop traditional Web app eShop WebApp MVC Ordering.API SQL Server db ASP.NET Core MVC GracePeriod worker Svc. Basket microservice HTML Redis cache eShop SPA Web app Marketing microservice MongoDB / CosmosDB SQL Server DB Location microservice TypeScript/Angular 4 MongoDB / CosmosDB © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Demo eShopOnContainers Microservices and Docker Containers
6/8/2018 5:22 PM (1) Demo eShopOnContainers Microservices and Docker Containers End-to-end solution overview in Visual Studio VS 2017: Solution’s projects Docker-compose.yml © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Key patterns for microservices
6/8/2018 5:22 PM Key patterns for microservices © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Key Patterns for Microservices
6/8/2018 5:22 PM Key Patterns for Microservices Direct communication vs. API Gateway Health checks Resilient cloud applications: Retries with exponential backoff plus Circuit breaker Async. pub/subs communication (Event Bus) Scale-out with Orchestrators © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Health Checks API /health HealthChecks WatchDog app /health
6/8/2018 5:22 PM Health Checks API Microservice 1 /health HealthChecks WatchDog app Microservice 2 /health © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Health Checks API API Gateway Consumer A /health Router Consumer B
6/8/2018 5:22 PM Health Checks API Usually Provided by the Orchestrator (i.e. Service Fabric, Kubernetes, etc.) API Gateway Microservice 1 Consumer A /health Router Microservice 2 Consumer B query /health Service Registry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Building resilient cloud applications
TechReady 23 6/8/2018 5:22 PM Building resilient cloud applications Client Mobile App Back end With Retries w/ exponential backoff & Circuit-Breakers Microservice 1 Web API JSON Container Client SPA WebApp API Gateway Microservice 2 Web API ASP.NET Core Web API HTTP Container JSON Container Request/Response HTTP Request/Response JavaScript / Angular.js Microservice 3 Web API Traditional WebApp Browser Client WebApp MVC Container ASP.NET Core MVC Container Implement resilient communication HTML HTML © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Retries with Exponential Backoff
TechReady 23 6/8/2018 5:22 PM Retries with Exponential Backoff Back end Retry 3 Success! Microservice 1 Web API Retry 2 Retry 1 API Gateway Microservice 2 HTTP Web API ASP.NET Core Web API HTTP Request/Response Microservice 3 Web API Client WebApp MVC ASP.NET Core MVC Container © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Retries with Exponential Backoff
TechReady 23 6/8/2018 5:22 PM Retries with Exponential Backoff + Circuit Breaker Back end Retry 4! Open Circuit! Microservice 1 Retry 3 Web API Retry 2 Retry 1 API Gateway Microservice 2 HTTP Web API ASP.NET Core Web API HTTP Request/Response Respond with Exception Microservice 3 Web API Client WebApp MVC ASP.NET Core MVC Container © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Components for Retries, Circuit-Breaker, etc.
6/8/2018 5:22 PM Components for Retries, Circuit-Breaker, etc. Netflix Hystrix © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Demo eShopOnContainers HealthChecks
6/8/2018 5:22 PM (2) Demo eShopOnContainers HealthChecks Retries with Exponential Backoff and Circuit Breaker with Polly library © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Risk of Partial Failure Amplified by Microservices
TechReady 23 6/8/2018 5:22 PM Risk of Partial Failure Amplified by Microservices HTTP request/response communication Backend / Orchestrator Multiple Customers Dependency 1 Dependency 2 Browser Web App Dependency 6 Multiple HTTP requests Dependency 3 Dependency 5 Submit Order page Dependency 7 Dependency 4 Dependency 8 Anti-patterns © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 How to minimize exponential failures in microservices
TechReady 23 6/8/2018 5:22 PM How to minimize exponential failures in microservices Circuit-Breakers (i.e. Polly’s policies, etc.) Avoid long Http call chains within the same request/response cycle © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Synchronous vs. Async communication across Microservices
Microsoft Build 2017 6/8/2018 5:22 PM Synchronous vs. Async communication across Microservices Anti-pattern Http sync. request Synchronous all req./resp. cycle Client Basket Ordering Catalog Other Http sync. response i.e. MVC app, API Gateway, etc. Same Http Request/Response cycle! Asynchronous Comm. across internal microservices (EventBus: i.e. AMPQ) Http sync. request Client Basket Ordering Catalog Other Http sync. response i.e. MVC app, API Gateway, etc. “Asynchronous” Comm. across internal microservices (Polling: Http) Http sync. request Http Polling Http Polling Http Polling Client Basket Ordering Catalog Other Http sync. response Http Polling i.e. MVC app, API Gateway, etc. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 Asynchronous Event-Driven communication with an Event Bus
TechReady 23 6/8/2018 5:22 PM Asynchronous Event-Driven communication with an Event Bus Backend Basket Microservice Database as Cache User-Profile Microservice Service 1 Web API Service 3 UserUpdated event  Buyer info Event Bus (Publish/Subscribe Channel) UpdateUser command 4 UserUpdated event (Publish Action) UserUpdated event  Buyer info 2 DB update Event Bus Abstractions/Interface Ordering Microservice Database Event Bus Implementations Other: NServiceBus MassTransit etc. Database Azure Service Bus RabbitMQ Service Eventual consistency across microservices’ data based on event-driven async communication © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Demo eShopOnContainers Async communication between microservices
6/8/2018 5:22 PM (3) Demo eShopOnContainers Async communication between microservices with and Event Bus © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 eShopOnContainers with NServiceBus

29 Scaling-out microservices with Orchestrators and Azure
6/8/2018 5:22 PM Scaling-out microservices with Orchestrators and Azure © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 + Foundational Cloud infrastructure and Development technologies
TechReady 23 6/8/2018 5:22 PM Dev environment Cloud infrastructure and Specific Orchestrators Production-Ready Microservices Service Bus SQL Database Cosmos DB Redis Cache BLOB Storage Azure Service Fabric Azure Container Service Mesos DC/OS Kubernetes Docker Swarm Key Vault Other Cloud Infrastructure Orchestrators Decisions eShopOnServiceFabric, eShopOnKubernetes eShopOnSwarm , eShopOnDCOS, etc. Forks/Flavors + Production environment Foundational Development technologies .NET Core .NET Framework Development Linux Containers Windows Containers Deployment Exploring Microservices Architecture/Design/Development © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 Scaling out eShopOncontainers
TechReady 23 6/8/2018 5:22 PM Scaling out eShopOncontainers Client apps Docker Host Identity microservice (STS+users) eShop mobile app Web API SQL Server database Xamarin.Forms C# xPlat. OS: iOS Android Windows container Catalog microservice Web API SQL Server database eShop traditional Web app container eShop WebApp MVC ASP.NET Core MVC Ordering microservice Container Web API SQL Server database HTML container eShop SPA Web app Basket microservice Web API Redis cache TypeScript/Angular 2 container © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32 Orchestrator’s Cluster managing microservices/containers
TechReady 23 6/8/2018 5:22 PM Orchestrator’s Cluster managing microservices/containers App 1 App 2 My ASP.NET Core Services My Docker Images Clusters provide: High scalability Automatic High Availability and resiliency High services density per host Official Docker Images Cluster of Nodes/Hosts VM or © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 Getting started with Orchestrators in Azure
TechReady 23 6/8/2018 5:22 PM Getting started with Orchestrators in Azure Azure Product Orchestrator Description Good for Common workloads Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices Stateful svc & Actors Microservices based on plain processes Microservices based on containers Docker Swarm is a clustering and scheduling tool for Docker containers. With Swarm, IT administrators and developers can establish and manage a cluster of Docker nodes as a single virtual system Kubernetes is an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts As a datacenter operating system, DC/OS is itself a distributed system, a cluster manager and a container platform Microservices based on containers (Including other Linux containers, not just Docker) Azure Service Fabric Service Fabric Production-ready & Microsoft ecosystem More mature: Less mature: Azure Container Service Easy to get started Dev/Test and Production Docker Swarm More mature: Less mature: Production-ready & Linux ecosystem Kubernetes More mature: Less mature: Production-ready & Linux ecosystem Mesosphere DC/OS More mature: Less mature: © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34 Demo Scaling out with Orchestrators
6/8/2018 5:22 PM (5) Demo Scaling out with Orchestrators ACS-Kubernetes Overview Scaling out © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

35 .NET microservice and container guidance
Microsoft Build 2017 6/8/2018 5:22 PM .NET microservice and container guidance Additional subjects covered in the eBook Domain Driven Design Patterns Domain Models (Aggregates, Entity, VO, etc.) Simplified CQRS Dapper MicroORM for queries Commands and Mediator patter Domain Events (within the same microservice) Microservices Integration Events (across microservices) Multi-container docker-compose.yml Swagger w/ Swashbuckle Security (Authentication/Authorization) with tokens from IdentityServer4 wrapping ASP.NET Identity Guide/eBook Reference application aka.ms/MicroservicesArchitecture Github eBook .PDF: Online pages: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

36 .NET Architecture Guidance
Microsoft Build 2017 6/8/2018 5:22 PM .NET Architecture Guidance © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

37 Key takeaways Docker Containers solve many deployment issues
Tech Ready 15 6/8/2018 Key takeaways Docker Containers solve many deployment issues Docker Containers will be ubiquitous (For any server app) Microservices allow to evolve, deploy and scale parts of the application independently Microservices offer great benefits but also new challenges (distributed software challenges) Microservices are not suitable for all apps, but for large, scalable and long-term evolving applications with typically multiple autonomous development teams But you can start extending your existing monolithic apps with new microservices, step-by-step © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

38 Tech Ready 15 6/8/2018 Related content Breakout Sessions (Related to microservices and containers) Implement microservices patterns with .NET Core and Docker containers - Cesar De La Torre Modernizing existing .NET apps with Windows Containers and Azure cloud - Cesar De La Torre, Ankit Asthana Modern .NET: Cloud, Containers, Microservices and Mobile all in VS Scott Hunter, Kasey Uhlenhuth Monitor your microservices with Application Insights - Esteban Garcia WCF and .NET Framework microservices in containers - Jeffrey Fritz Orchestrating one million containers with Azure Service Fabric - Mani Ramaswamy Deploying and scaling Windows and Linux containers on Azure Service Fabric Azure Service Fabric overview and the road ahead - Mark Fussell Managing, securing, and scaling Azure Service Fabric clusters and applications - Chacko Daniel Hands on with .NET Core - Daniel Roth Tips and tricks: Build, deploy, and manage web apps powered by containers - Ahmed Elnably Containers: From infrastructure to applications - Gabe Monroy, Jeff Murr ASP.NET in Linux and Windows containers - Rob Richardson © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

39 Cesar de la Torre Sr. Program Manager .NET Product Team
6/8/2018 5:22 PM Cesar de la Torre Sr. Program Manager .NET Product Team Microsoft Corp. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40 Please evaluate this session
Tech Ready 15 6/8/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

41 6/8/2018 5:22 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

42 Tech Ready 15 6/8/2018 Session objectives At the end of this session, you should be better able to… Know about why Docker Containers are fundamental Know the fundamental patterns of Microservices Architecture Position technologies and cloud infrastructure suitable for microservices © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

43 Virtual Machines Docker Containers compared to Hypervisor
+ Network isolation at container level + Resources constraints at container level App 1 App 2 App 3 Bins/Libs Bins/Libs Bins/Libs Guest OS Guest OS Guest OS App/Svc 1 App/Svc 2 App/Svc 3 Bins/Libs Bins/Libs Bins/Libs Hypervisor Container Engine Host Operating System Operating System Infrastructure Infrastructure

44 Docker Engine for Linux and Windows


Download ppt "Implement microservices patterns with .NET Core and Docker containers"

Similar presentations


Ads by Google