9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.

Slides:



Advertisements
Similar presentations
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Advertisements

12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Business Continuity & Disaster Recovery
Microsoft Ignite /16/2018 3:12 PM BRK2119
Develop, debug and deploy containerized applications with Docker
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Azure Machine Learning Deploying and Managing Models in production
Azure File Sync Setup, configuration and management
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.
Elastic database patterns for SaaS applications in Azure
Availability Zones: Design Highly Available Applications on Azure
Master Modern PaaS for the Enterprise with Azure App Service
Get Started with Common Data Model (CDM) and PowerApps
Modernizing Application Delivery with Containers & Kubernetes
Building Applications with Windows Azure and SQL Azure
Microsoft Ignite /8/2018 6:39 PM
Microsoft Azure Service Fabric Overview
Service Fabric Patterns & Best Practices
Monitor your Microservices with Application Insights
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Business Continuity & Disaster Recovery
Deploy Windows 10 Mobile for the mobile workforce
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Moving Cloud Services to Service Fabric
Azure Container Service - the most open container orchestration service yet Saurya Das Program Manager.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Using docker containers
Azure Container Instances
CloudSimplified.IO.
Continuous Delivery for Microsoft Azure
What I Learned Making a Global Web App
Explore web development with Microsoft ASP.NET Core 1.0
Windows Azure 講師: 李智樺, Ruddy Lee
Intro to Docker Containers and Orchestration in the Cloud
Kubernetes on Windows Jim Zimmerman Patrick Lang BRK3147
Azure Event Grid with Custom Events
11/23/2018 3:03 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Run Bash scripts from Windows 10
Agile App Development with Azure API Management
Developing for the cloud with Visual Studio
11/29/ :53 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Docker Workflows with Visual Studio
Learn. Imagine. Build. .NET Conf
Introduction to Building Applications with Windows Azure
M318.
12/25/2018 5:11 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/29/ :48 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
System Center Application Management
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.
Jim Nakashima Program Manager Cloud Tools
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Azure Container Registry
Saranya Sriram Developer Evangelist | Microsoft
2/16/2019 9:42 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Meetup User Experience Design for SharePoint
Last.Backend is a Continuous Delivery Platform for Developers and Dev Teams, Allowing Them to Manage and Deploy Applications Easier and Faster MICROSOFT.
Microsoft Connect /24/ :10 PM
From Development to Production: Optimizing for Continuous Delivery
Microsoft Connect /25/2019 1:20 PM
4/8/2019 3:56 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
4/5/2019 2:30 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Building global and highly-available services using Windows Azure
WCF and .NET Framework Microservices in Containers
5/30/2019 1:59 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Sessions about to start – Get your rig on!
Deploying machine learning models at scale
Containers on Azure Peter Lasne Sr. Software Development Engineer
Presentation transcript:

9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9/16/2019 6:55 PM Session code here Building Resilient Microservices with .NET Core and Azure Kubernetes Services (AKS) Steve Lasker Program Manager – Azure Developer Experiences @stevelasker SteveLasker.blog Shayne Boyer Cloud Developer Advocate @spboyer Abstract: Microservices are highly scalable, resilient, and composable units of deployment for modern applications. But building them is hard. There are a lot of development and deployment considerations to take into account. In this session we'll show you how we're making .NET Core microservices easier to build with new application patterns in .NET Core 2.1 as well as how to deploy and manage them with Kubernetes and Helm © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What Makes a System Reliable? Are individual components 100% reliable? Is power 100% reliable? Is network connectivity 100% reliable? Is the OS and/or Framework 100% reliable? Is your code 100% reliable? Does it need to be 100% reliable?

Failure Is A Thing “If you assume things will fail, you’re prepared for reality” “It’s not a matter of avoiding failure, it’s preparing for what to do when things fail” “Building reliable systems, embraces failure and provides for alternative paths”

Balancing the “Cost” of Reliability What are “costs”? How much code are you willing to write How many redundant instances will you pay for? How many regions should you deploy to , test , maintain? , and pay for?

As Yourself These Questions: What if that that service didn’t work for _____ amount of time? Would your customer be able to complete the important task? Should the whole system fail because one minor piece failed?

What’s the most basic fault-tolerant feature of HTML? HTTP 404 - Broken Image What’s the “important” info? HTTP 404 - Broken Image

What has changed, in this wave of technology? Microservices: Smaller, isolated, idempotent units of capability Container Orchestration: designed with failure as a design principal

Resource Pool Release Management Orchestration Container Builder Microsoft 2016 9/16/2019 6:55 PM Resource Pool Release Management Orchestration HOST-A Image Cache web:1 digest: 91e web:1 digest: 91e 3 Deploy: web:1 x3 quotes:1 x3 important:1 x4 Foo: web:1 x3 quotes:1 x3 important:1 x4 web:1 digest: 91e quotes:1 digest: u82 important:1 digest: 2re important:1 digest: 2re Container Builder Container Registry HOST-B Image Cache quotes:1 digest: u82 quotes:1 digest: u82 7 5 6 important:1 digest: 2re web:1 digest: 91e quotes:1 digest: u82 quotes:1 digest: u82 important:1 digest: 2re quotes:1 digest: u82 important:1 digest: 2re 1 important:1 digest: 2re important:1 digest: 2re docker build –t web:1 docker build –t quotes:1 docker build –t important:1 docker push web:1 docker push quotes:1 docker push important:1 Image web:1 quotes:1 important:1 2 Digests 91e u82 2re Orchestrator icon from: http://cdn.marketplaceimages.windowsphone.com/v8/images/f58edb21-b20c-4315- b837-6cee21n442cd?imageType=ws_icon_large https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging HOST-C web:1 digest: 91e quotes:1 digest: u82 4 8 important:1 digest: 2re Image Cache quotes:1 digest: u82 quotes:1 digest: u82 important:1 digest: 2re important:1 digest: 2re © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Reference Architecture web web East US quotes -api queue- worker /Demo ACR ACR Tasks ACR Tasks quotes -api queue- worker Important System web quotes-api important-api Important System

Demo .NET Core 2.1 Coding for Failure 9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Architecture web /Demo ACR Tasks ACR ACR Tasks East US quotes-api queue- worker /Demo ACR ACR Tasks ACR Tasks quotes -api queue- worker Important System web quotes-api important-api Important System

Demo Architecture web web web web /Demo ACR Tasks ACR Tasks East US ACR demo42.azurecr.io Geo-replicated web web East US quotes -api queue- worker /Demo ACR Tasks ACR Tasks quotes -api queue- worker Important System web web web web web web West Europe quotes -api queue- worker quotes-api queue-worker ACR Tasks quotes -api queue- worker Important System Important Storage

Coming into port… Building 100% reliability is like chasing chickens 9/16/2019 6:55 PM Coming into port… Building 100% reliability is like chasing chickens “Just when you think you’ve got one, 4 more show up” Accept failure as the norm; you’ll sleep well at night Use the modern tools and technologies “Containers are the unreliable service packaging format” Orchestrators (Kubernetes) are your nighttime managers Take the time to fully adapt to container first programming – this is a paradigm shift .NET Core 2.1 provides coding for the “unreliable pattern” © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Specifics We’ve Demo’d Retries – .NET Core HttpPolicyExtensions (RetryExtensions) Timeouts – as it may take longer than your users will wait Circuit Breakers – CircuitBreakerAsync Message Queues – Azure Storage Queue - .9999 SLA Extract Configuration – config.AddKeyPerFile(configPath, true) Kubernetes Secrets – keep your secrets… secret, but fast State Management – support multiple nodes services.AddDataProtection() .PersistKeysToAzureBlobStorage(GetBlobContainer(), "keys");

Info Demo: github.com/demo42 ACR: aka.ms/acr ACR Tasks: aka.ms/acr/tasks ACR Geo-Replication: aka.ms/acr/geo-replication Azure Kubernetes Service: aka.ms/kubernetes Helm: aka.ms/helm-repos ACR Presentations: aka.ms/acr/presentations Blog: SteveLasker.blog Twitter: @SteveLasker Email: SteveLas@Microsoft.com

Please evaluate this session Your feedback is important to us! 9/16/2019 6:55 PM Please evaluate this session Your feedback is important to us! Please evaluate this session through MyEvaluations on the mobile app or website. Download the app: https://aka.ms/ignite.mobileApp Go to the website: https://myignite.techcommunity.microsoft.com/evaluations © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.