BRK1036 Building applications with Microsoft Azure Service Fabric on Windows and Linux Subramanian Ramaswamy (Mani) Sean McKenna (@seanmckmsft)

Slides:



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

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.
Mick Badran Using Microsoft Service Fabric to build your next Solution with zero downtime – Lvl 300 CLD32 5.
And scales by cloning the app on multiple servers/VMs/Containers Traditional architecture approach Microservices architecture approach A microservice.
Microsoft /3/2017 8:37 PM BRK2286 Manage Microsoft Azure Service Fabric Applications on Public and Private Cloud Chacko Daniel Principal.
C# and VB code-focused development with Visual Studio
BRK1017 Taking your hybrid management and security strategy to the cloud with Operations Management Suite Jeremy Winter and Srini Chandrasekar.
Microsoft Ignite /30/2018 9:28 PM BRK3174
Build /26/2018 6:17 AM Building Resilient, Scalable Services with Microsoft Azure Service Fabric Érsek © 2015 Microsoft Corporation.
Deliver business insights with Microsoft Dynamics AX and Power BI
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Examine information management in Cortana Intelligence
Microsoft Ignite /20/2018 3:40 PM BRK3068
Develop, debug and deploy containerized applications with Docker
Microservices with Azure Service Fabric Building and Running Services at Scale
Microsoft /2/2018 3:42 PM BRK3129 Query Big Data using the Expanded T-SQL footprint with PolyBase in SQL Server 2016 Casey Karst Program Manager.
BRK3288-Discover data-driven apps that learn and adapt
Windows Server* 2016 & Intel® Technologies
Configure and Manage Your Hybrid Cloud Environment at Scale
Conduct a successful pilot deployment of Microsoft Intune
Review the Nutanix Cloud Platform System Standard solution
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.
Microsoft Ignite /11/2018 1:18 AM BRK4017
Azure Cloud Shell Magic of Modern Command-line Management
Learning about Containers in the Real World
Microsoft /23/2018 1:11 AM BRK3180 Migrate CRM OnPremise organizations to CRM Online cloud using Dynamics Lifecycle Services (LCS) Aditya Varma Ganapathy.
Web development productivity with Visual Studio
Azure SDKs and Tools for You
Deep Dive into the Azure Container Service
Red Hat OpenShift on Microsoft Azure
Microsoft Ignite /17/ :54 PM BRK2092
Microsoft Ignite /22/2018 3:27 PM BRK2121
Secure Remote Access to on-premises Web Apps using Azure AD
BRK2264 Move 13,000+ global Dynamics CRM users from on-premises to Online at Caterpillar Inc. Todd Byrne & John Finney 1 Business Unit Name Here.
Master Modern PaaS for the Enterprise with Azure App Service
Get Started with Common Data Model (CDM) and PowerApps
Design Seamless Upgrades to SQL Server 2016 with Query Store
Learn about the community of templates for Azure Stack
Microsoft /8/2018 4:45 PM BRK3062 BRK3062- Build smarter and scalable applications using Microsoft Azure Database Services Moshe Gutman CEO, GeoSafe.
Bring new levels of visibility to your datacenter with Cisco Tetration
Service Fabric Patterns & Best Practices
Automate all things! Microsoft Azure continuous deployment
Microsoft Ignite /16/2018 2:39 PM BRK3307
Use server-based personal desktops in Windows Server 2016
Microsoft Azure Service Fabric Overview
Cloud Database Based on SQL Server 2012 Technologies
9/20/2018 2:30 PM BRK2279 Everything you need to know about the new Windows Server release cadence Chris Van Wesep, Director Product Marketing Jeff Woolsey,
Azure SQL Data Warehouse Scaling: Configuration and Guidance
Accelerate Your Transition from Traditional IT to the Cloud
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Dive deep into ASP.NET Core 1.0
Explore web development with Microsoft ASP.NET Core 1.0
Microsoft Ignite /14/ :21 AM BRK2101
Migrate to CRM Online - Tips and Tricks
Determine your role in a managed service
Dive into Predictive Maintenance using Cortana Intelligence Suite
Microsoft Ignite /22/2018 3:58 PM BRK2254
Automating Windows 10 and software deployments from the Cloud
Continuous Delivery with Visual Studio Team Services
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Task recorder in Dynamics AX
Developing for the cloud with Visual Studio
Build /2/ The future of Azure devops: Building and managing cloud applications lifecycle across your teams Bradley Millington Program.
Learn how to use and customize the Dynamics AX interactive help system
Learn. Imagine. Build. .NET Conf
Microsoft Virtual Academy
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Office 365 Development July 2014.
Microsoft Virtual Academy
Presentation transcript:

BRK1036 Building applications with Microsoft Azure Service Fabric on Windows and Linux Subramanian Ramaswamy (Mani) Sean McKenna (@seanmckmsft)

Service Fabric sessions at Ignite 2016 Date/Time Location Design modern microservice applications on Microsoft Azure Service Fabric Thursday @ 2:15pm A302 Explore microservices solutions and Microsoft Azure Service Fabric Time travel required Watch on-demand Manage Microsoft Azure Service Fabric applications on the public and private cloud Friday @ 9am

Agenda Microservices 101 Service Fabric intro for developers Build 2015 9/10/2018 2:44 PM Agenda Microservices 101 Service Fabric intro for developers Building Service Fabric apps for Windows Building Service Fabric apps for Linux © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Microservices 101 Microsoft Ignite 2016 9/10/2018 2:44 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

The trouble with monoliths…

The trouble with monoliths… Tightly coupled components All components updated together Not agile, time to market suffers

The trouble with monoliths… Tightly coupled components All components updated together Not agile, time to market suffers

The trouble with monoliths… Tightly coupled components All components updated together Not agile, time to market suffers Scale by cloning entire apps All components scaled similarly  expensive

The trouble with monoliths… Tightly coupled components All components updated together Not agile, time to market suffers Scale by cloning entire apps All components scaled similarly  expensive

Microservices… Do one thing well Manage independent code and state Build 2015 9/10/2018 2:44 PM Microservices… Do one thing well Manage independent code and state Are generally developed by a small cross-functional team Are built with task-appropriate languages/frameworks © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Microservices… Are loosely coupled Do one thing well Build 2015 9/10/2018 2:44 PM Microservices… Do one thing well Manage independent code and state Are generally developed by a small cross-functional team Are built with task-appropriate languages/frameworks Are loosely coupled Communicate over well-defined interfaces/protocols Have unique names (URI) that can be resolved Are independently updated Are independently scaled © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Monolithic application Microservices application 9/10/2018 2:44 PM Monolithic application Microservices application App 1 App 1 App 2 Scales by deploying each service independently Scales by cloning the app on multiple machines © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Monolithic application Microservices application Microsoft Ignite 2016 9/10/2018 2:44 PM Monolithic application Microservices application Graph of interconnected services State typically scoped to the service Variety of technologies used State: Single monolithic database Tiers of specific technologies stateless services stateless services with separate stores stateful services stateless presentation services © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Goodness… Increase agility through componentization 9/10/2018 2:44 PM Goodness… Increase agility through componentization Simplify upgrades through independent versioning Maximize productivity through heterogenous technologies Improve hardware utilization through granular resource balancing Limit the impact of failures through isolation © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

However, devs now need to code for… Service discovery State management Service lifecycle management Health reporting Resource usage reporting

However, devs now need to code for… Service discovery State management Service lifecycle management Health reporting Resource usage reporting Wouldn’t it be nice to have a microservices platform that takes care of all this?

9/10/2018 Microsoft Azure Service Fabric A platform for reliable, hyperscale, microservice-based applications Microservices Service Fabric High Availability Hyper-Scale Hybrid Operations High Density Rolling Upgrades Stateful services Low Latency Fast startup & shutdown Container Orchestration & lifecycle management Replication & Failover Simple programming models Resource balancing Self-healing Data Partitioning Automated Rollback Health Monitoring Placement Constraints Private cloud Azure Other clouds © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Service Fabric intro for developers Microsoft Ignite 2016 9/10/2018 2:44 PM Service Fabric intro for developers © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service Fabric Cluster Build 2015 9/10/2018 2:44 PM Node FD0/UD0 FD0/UD1 FD2/UD3 FD1/UD6 FD1/UD5 FD2/UD4 Service Fabric Cluster Machines stitched together Scales to 1000+ machines Laid out to limit impact of individual hardware failures Provides abstracted management endpoint © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service type Composed of code/config/data packages Code packages define an entry point (dll or exe) Config packages define service specific config information Data packages define static resources (eg. images) Packages can be independently versioned <ServiceManifest Name="QueueService" Version="1.0"> <ServiceTypes> <StatefulServiceType ServiceTypeName="QueueServiceType" HasPersistedState="true" /> </ServiceTypes> <CodePackage Name="Code" Version="1.0"> <EntryPoint> <ExeHost> <Program>ServiceHost.exe</Program> </ExeHost> </EntryPoint> </CodePackage> <ConfigPackage Name="Config" Version="1.0" /> <DataPackage Name="Data" Version="1.0" /> </ServiceManifest> Service Type 1 Code Config Data

Application type Declarative template for creating an application Based on a set of service types Used for packaging, deployment, and versioning Application Type A Service Type 1 Service Type 2 Service Type 3 Code Config Data Code Config Data Code Config Data

Categories of services Build 2015 9/10/2018 2:44 PM Categories of services Guest executables and guest containers Deploy and manage arbitrary services written in any framework Stateless Services State persisted to external storage, such as Azure DBs Existing web (ASP.NET) and worker role applications Stateful Services Reliability of state through replication and local persistence Lowers latency Reduces complexity in traditional three tier architectures © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service Fabric frameworks Build 2015 9/10/2018 2:44 PM Service Fabric frameworks Reliable Services Reliable Actors Simple API for service lifecycle events Pluggable communication model Familiar data structures for reliably storing state: dictionary and queue Independent unit of state and compute (large number in parallel) Prescriptive communication model based on async messaging Automatic state management and turn based concurrency For more details, please see: Design modern microservice applications on Microsoft Azure Service Fabric Jeffrey Richter and Vaclav Turecek Thursday @ 2:15pm A302 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo: Building Service Fabric apps for Windows with Visual Studio Microsoft Ignite 2016 9/10/2018 2:44 PM Demo: Building Service Fabric apps for Windows with Visual Studio © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Service Fabric on Linux Microsoft Ignite 2016 9/10/2018 2:44 PM Service Fabric on Linux © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

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

Demo: Building Service Fabric apps for Linux Microsoft Ignite 2016 9/10/2018 2:44 PM Demo: Building Service Fabric apps for Linux © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Build 2015 9/10/2018 2:44 PM Recap The microservices pattern offers agility, flexibility, and efficient use of resources Service Fabric makes it is easy to develop microservice-based apps Target Windows or Linux, your developer experience is natural Linux and Java/.NET Core APIs and are now available in preview © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

People are asking about… Build 2015 9/10/2018 2:44 PM People are asking about… Java and .NET Core APIs on Windows Windows containers Windows Server Nano Splitting services across VS solutions and repos Programming model support for other languages Cloud Services migration Other Linux distros © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Learn from samples and complete solutions Download the Service Fabric SDK & build applications http://aka.ms/servicefabricsdk Learn from samples and complete solutions http://aka.ms/servicefabricsamples Learn from the tutorials and videos http://aka.ms/servicefabricdocs http://aka.ms/servicefabriccourse Deploy samples out for free on Azure http://aka.ms/tryservicefabric Create Production Cluster http://aka.ms/sfportal

Service Fabric sessions at Ignite 2016 Date/Time Location Design modern microservice applications on Microsoft Azure Service Fabric Thursday @ 2:15pm A302 Explore microservices solutions and Microsoft Azure Service Fabric Time travel required Watch on-demand Manage Microsoft Azure Service Fabric applications on the public and private cloud Friday @ 9am

Thank you! Subramanian Ramaswamy Sean McKenna (@seanmckmsft)

Free IT Pro resources To advance your career in cloud technology Microsoft Ignite 2016 9/10/2018 2:44 PM Free IT Pro resources To advance your career in cloud technology Plan your career path Microsoft IT Pro Career Center www.microsoft.com/itprocareercenter Cloud role mapping Expert advice on skills needed Self-paced curriculum by cloud role $300 Azure credits and extended trials Pluralsight 3 month subscription (10 courses) Phone support incident Weekly short videos and insights from Microsoft’s leaders and engineers Connect with community of peers and Microsoft experts Get started with Azure Microsoft IT Pro Cloud Essentials www.microsoft.com/itprocloudessentials Demos and how-to videos Microsoft Mechanics www.microsoft.com/mechanics Connect with peers and experts Microsoft Tech Community https://techcommunity.microsoft.com © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Free IT Pro resources To advance your career in cloud technology Microsoft Ignite 2016 9/10/2018 2:44 PM Free IT Pro resources To advance your career in cloud technology Plan your career path IT Pro Career Center http://www.microsoft.com/itprocareercenter Get started with Azure IT Pro Cloud Essentials https://www.microsoft.com/itprocloudessentials Demos and how-to videos Microsoft Mechanics https://www.microsoft.com/mechanics Connect with peers and experts Ask questions, get answers, exchange ideas https://techcommunity.microsoft.com Azure Solutions Get started with Azure Solutions today http://azure.com/solutions Azure monthly webinar series Join live or watch on-demand http://aka.ms/AzureMonthlyWebinar © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session 9/10/2018 2:44 PM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at http://myignite.microsoft.com From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting https://aka.ms/ignite.mobileapp © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.