Learn. Imagine. Build. .NET Conf

Slides:



Advertisements
Similar presentations
System Center 2012 R2 Overview
Advertisements

Microsoft Ignite /16/2017 2:42 PM
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Building micro-service based applications using Azure Service Fabric
Testing Azure Applications with Visual Studio 2010 Abhishek Agrawal Senior Program Manager Visual Studio Microsoft Corporation
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
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
Microservice Best Practices Lessons Learned from Azure Service Fabric Mark Russinovich CTO, Microsoft
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1/26/2018 Hosting Windows Desktops and Applications Using Remote Desktop Services and Azure Windows Server Azure Resource Manager © 2014 Microsoft.
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.
Building ARM IaaS Application Environment
Fundamentals Sunny Sharma Microsoft
Build /26/2018 6:17 AM Building Resilient, Scalable Services with Microsoft Azure Service Fabric Érsek © 2015 Microsoft Corporation.
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Windows Containers Taylor Brown Principal Lead Program Manager
Azure Service Fabric: A million containers and counting….
Microservices with Azure Service Fabric Building and Running Services at Scale
Docker Birthday #3.
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
6/24/ :43 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building Real World Node.JS Microservices on Azure
Building Applications with Windows Azure and SQL Azure
Windows Azure Pack : Express Installation
The Path to Containerization Transforming workloads into containers
Developing an app for SharePoint autohosted in Azure
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Building Microservices Applications on Azure Service Fabric
Microsoft Azure Service Fabric Overview
Service Fabric Patterns & Best Practices
Windows Server & Hyper-V Containers Vaggelis Kappas
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
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Explore web development with Microsoft ASP.NET Core 1.0
PaaS - Development Stefan Geiger Gerry
Azure Container Instances
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Introduction to Windows Azure Web Sites
The Challenges of moving Document Creation to the Cloud
Cloud? It's All about the App!
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Virtual Academy
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.
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Microsoft Virtual Academy
M318.
1/2/2019 5:18 PM THR3016 Customer stories: Plan and orchestrate large resource deployments on Azure infrastructure Igal Figlin Principal PM Manager – Azure.
Saranya Sriram Developer Evangelist | Microsoft
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
From Development to Production: Optimizing for Continuous Delivery
From Development to Production: Optimizing for Continuous Delivery
Windows Azure Overview
Windows Azure Hybrid Architectures and Patterns
Microsoft Virtual Academy
Day 2, Session 2 Connecting System Center to the Public Cloud
Making Windows Azure Relevant to IT Professionals
Microsoft Virtual Academy
Microsoft Virtual Academy
Johan Lindberg, inRiver
Containers and DevOps.
Containers on Azure Peter Lasne Sr. Software Development Engineer
9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Presentation transcript:

Learn. Imagine. Build. .NET Conf .NET Core Microservices on Azure Service Fabric Maxime Rouiller @MaximRouiller Learn. Imagine. Build. .NET Conf

Cloud Developer Advocate @MaximRouiller Hashtag: #azdev Hi!

What you will learn from this session What is a microservices architecture and why is it relevant? What is Service Fabric? How to get started with microservices using .NET Core and Azure Service Fabric? How to unleash the power of your microservices application? Where does containers fit in? And should I?

Why a microservices architecture? Provides long-term agility by Enabling better maintainability in complex, large, and highly-scalable systems. Letting you create applications based on many independently deployable services that each have granular and autonomous lifecycles.

Monolithic application approach Microservices application approach 12/7/2018 3:17 PM Monolithic application approach Microservices application approach A monolith app contains domain specific functionality and is normally divided by functional layers such as web, business and data App 1 App 1 App 2 A microservice application separates functionality into separate smaller services. Scales out by deploying each service independently creating instances of these services across servers/VMs/containers Scales by cloning the app on multiple servers/VMs/Containers © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

State in Monolithic approach State in Microservices approach 12/7/2018 3:17 PM State in Monolithic approach State in Microservices approach Single monolithic database Tiers of specific technologies Graph of interconnected microservices State typically scoped to the microservice Variety of technologies used stateless services with separate stores stateful services stateless presentation services stateless services © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service Fabric makes it easy Rolling Upgrades Availability Guarantees Scale Out Architecture Resource Governance Density Policy Enforcement Stateful Workloads Azure Service Fabric Integrated Solution Azure’s Microservices platform

Datacenter (Azure, On-Premises, Amazon) 12/7/2018 3:17 PM Service Fabric Cluster in Azure Cluster supports 1,000s of nodes is self repairing, and scales-in and out Datacenter (Azure, On-Premises, Amazon) PC/VM #2 Service Fabric PC/VM #3 Your code, etc. Service Fabric Your code, etc. (Port: 19080) Your code, etc. Service Fabric PC/VM #1 PC/VM #4 Load Balancer Your code, etc. Service Fabric Your code, etc. PC/VM #5 Web Request (Port: 80/443/?) Service Fabric Your code, etc. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Always On Availability Microsoft Build 2017 12/7/2018 3:17 PM Azure Service Fabric Any OS, Any Cloud containers and microservices Lifecycle Management Always On Availability Programming Models Health & Monitoring Dev & Ops Tooling Auto scaling Orchestration Runs on any OS and any cloud Service Fabric sites on your -dev machine -azure -On premise infra -other clouds Your application sits on top of that On Premise Infrastructure Dev Machine Azure Other Clouds © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Services Powered by Service Fabric IoT Hub Millions of messages Event Hubs 60bn events/day Cosmos DB Billions transactions/day SQL Database 2.1 million DBs Runs Azure This runs critical software. Skype Cortana Intune Dynamics Power BI

Demo: Getting Started with a simple application

Demo: Upgrading

Path to microservices Some options to consider: 12/7/2018 3:17 PM Path to microservices Some options to consider: Use a “monolith” if you can Start with a monolith and peel off services Start with a small number of coarse-grained services Go with containers and apply options 1-3 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Containers and Orchestration 12/7/2018 3:17 PM Containers and Orchestration © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Container images Image Contents My Website Application IIS Microsoft Build 2017 12/7/2018 3:17 PM Container images Image Contents Registry Folders and Files My Website Application inetpub HKLM mysite.html SOFTWARE/ mykey IIS Application Framework Image Contents Registry Folders and Files HKLM HKCU License.txt PerfLogs Program Files Base Image (OS) HKCR HKU Program Files (x86) Users Windows © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service Fabric and Containers Microsoft Build 2017 12/7/2018 3:17 PM Service Fabric and Containers Image deployment and activation Support for authenticating with private registry Environment variables to provide inputs to the container Volume driver support Mounting of persistent volumes drives Networking Bridge network: Mapping of container ports to dynamic ports on host machine Registration of container endpoints with the Naming Service for communicating between containers DNS service within cluster to resolve container endpoints Resource governance   Apply policy on containers for resource constraints and use them during placement. CPU, memory, I/O Process constraints: Extending constraints and governance to processes Support for Docker Compose New generation of D family Dv3 High memory Ev3 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

How does it look?

ASP.NET Core + Service Fabric Microsoft Build 2017 12/7/2018 3:17 PM ASP.NET Core + Service Fabric Service Fabric Web API back-end service MVC web application Web API back-end service Web API front-end service Web API back-end service © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Hosting ASP.NET Core in Service Fabric Microsoft Build 2017 12/7/2018 3:17 PM Hosting ASP.NET Core in Service Fabric In a Container As a Guest EXE Hosted in a Reliable Service © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Kestrel or WebListener Microsoft Build 2017 12/7/2018 3:17 PM ASP.NET Core WebHost WebHost in a single process, like a guest EXE Host process Server Kestrel or WebListener Program Main() ASP.NET Core WebHost Create Application MVC, etc © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ASP.NET Core WebHost in Service Fabric Microsoft Build 2017 12/7/2018 3:17 PM ASP.NET Core WebHost in Service Fabric WebHost in a Reliable Service Service host process Program Main() Service instance/replica (multiple) Register service type ASP.NET Core Service Fabric runtime Server Kestrel or WebListener Create ICommunication-Listener ASP.NET Core WebHost Create Application MVC, etc © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Try it! Service Fabric developer SDK https://aka.ms/ServiceFabricSDK Learn from samples, free clusters and labs https://aka.ms/ServiceFabricSamples https://aka.ms/TryAzureServiceFabric Questions? Comments? Issues? https://stackoverflow.com/questions/tagged/azure-service-fabric https://aka.ms/ServiceFabricForum https://github.com/azure/service-fabric-issues

Thank you! Twitter: @MaximRouiller Feedback: marouill@microsoft.com https://aka.ms/SFDocs