Service Fabric Patterns & Best Practices

Slides:



Advertisements
Similar presentations
Windows Azure Conference 2014 Running Docker on Windows Azure.
Advertisements

Top ways to deliver your Java code to the cloud
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft /3/2017 8:37 PM BRK2286 Manage Microsoft Azure Service Fabric Applications on Public and Private Cloud Chacko Daniel Principal.
IT Operations Management
1/27/2018 5:13 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:04 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/12/2018 1:12 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
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
BRK1036 Building applications with Microsoft Azure Service Fabric on Windows and Linux Subramanian Ramaswamy (Mani) Sean McKenna
Accelerate your DevOps with OpenShift by Red Hat
Accelerate application delivery and deployment: Red Hat OpenShift
An Overview of Web App for Containers on Linux
Azure Service Fabric: A million containers and counting….
Microservices with Azure Service Fabric Building and Running Services at Scale
Microsoft Virtual Academy
Introduction to .NET Core
Learning about Containers in the Real World
In-Depth Introduction to Docker
Jenkins and Azure OPEN322 Michael Friedrich.
Virtual Machine Diagnostics in Microsoft Azure
Building Real World Node.JS Microservices on Azure
IT Operations Management
ASP.NET in Linux and Windows containers
Serverless Architecture in Azure
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.
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Azure Container Instances
Continuous Delivery for Microsoft Azure
Introduction to Windows Azure Web Sites
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Build /16/2018 8:43 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Connect /17/ :34 AM
Intro to Docker Containers and Orchestration in the Cloud
Microsoft Virtual Academy
Kubernetes on Windows Jim Zimmerman Patrick Lang BRK3147
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Cloud Foundry on Azure and Azure Stack
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Developing for the cloud with Visual Studio
Docker Workflows with Visual Studio
Continuous Integration & Deployment to Azure Container Service
Microsoft Connect /1/2018 2:36 AM
Application Insights Diagnostics Preview
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
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
12/8/ :07 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.
From Source to Production: The Latest in Container Dev
1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Azure Container Registry
Serverless Architecture in the Cloud
2/22/2019 1:12 PM The Journey To Provision and Manage a Thousand Machine Cluster for Machine Learning Neil Sant Gat © Microsoft Corporation. All rights.
Microsoft Connect /22/2019 9:54 PM
Microsoft Connect /25/2019 1:20 PM
5 Azure Services Every .NET Developer Needs to Know
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
5/7/2019 5:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Day 2, Session 2 Connecting System Center to the Public Cloud
SCCM in hybrid world Predrag Jelesijević Microsoft 7/6/ :17 AM
Azure App Service Web App for Containers
Containers on Azure Peter Lasne Sr. Software Development Engineer
Presentation transcript:

Service Fabric Patterns & Best Practices

SF on Linux, Containers Subramanian Ramaswamy (Mani)

Service Fabric on Linux: Principles Don’t change what’s unnecessary Runtime behavior & concepts remain the same, same portal experience, SFX Change what’s necessary Provide a dev experience tuned for Linux Azure CLI, Eclipse, Yeoman, Jenkins, apt-get install, LTTng for tracing… One-box on Mac and on Linux Java, C# integrated as first class languages Support orchestrating containers

Tracing application events Use EventSource for .NET Core apps Plugged into LTTNg for Linux (similar to ETW for Windows) Use Java logging libraries for Java apps Plug into Azure LAD for tracing code running on Azure clusters

CI/CD on Linux Use Service Fabric Jenkins Plugin for CI/CD on Linux Jenkins provides a set of “Best Practices” https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Best+Practices

Demos Tracing a c# app locally with EventSource Tracing a Java app locally with Java.Logging.Util Sending traces from the C# and Java app to a storage account with LAD An E2E Jenkins Demo showing an update in Eclipse (to a git repo)

Containers – What, Why, and How?

Containers versus VMs VMs virtualize hardware (using a hypervisor) More isolation & security Containers virtualizes the OS Share the OS Kernel Faster to boot, light-weight resource requirements

Virtualization and Isolation Levels

Why Containers? Mitigate “noisy neighbors” Lift and shift of existing container images IIS lift and shift (Windows) Portability & agility

Best Practices Use resource constraints Use placement constraints Limits noisy neighbors, especially when mixing and matching containers Use placement constraints Two containers with heavy interaction are better placed on the same node Health & Load reporting watchdog Applicable to single-tenant and non-hostile multi-tenant scenarios

Best Practices: Deployment Deployment just like any other Service Fabric app Use environment variables to communicate between containers Use resource constraints Limits noisy neighbors, especially when mixing and matching containers

Best Practices: Performance & Monitoring Use placement constraints Two containers with heavy interaction are better placed on the same node Health & load reporting watchdog Applicable to single-tenant and non-hostile multi-tenant scenarios

Best Practices: Security & Secrets Front-ends & back-ends on separate nodes Always good to do for more security Use a private repository for IP sensitive images Encrypt credentials for accessing private registry Manage secrets by using Invoke-EncryptText

Demos Cluster running Windows containers Code behind resolving containers Show placement constraints @ work Show resource governance @ work

Crystal ball says… Preview of Windows containers support coming soon 9/12/2018 10:06 AM Crystal ball says… Preview of Windows containers support coming soon Better diagnostics Jenkins plugin and docs Reliable collections on Java/C# for Linux Resource governance & constraints on service fabric apps/services © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Tracing C# apps Tracing Java apps More on containers 9/12/2018 10:06 AM Resources Tracing C# apps Tracing Java apps More on containers © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.