SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Azure
Introducing:
Service Fabric and
Azure Service Fabric Mesh
Mikkel Mork Hegnhoj
Program Manager – Azure Compute – Application Services
Tallinn – November 2018
What is Service Fabric?
Open Sourced technology from Microsoft
http://github.com/Microsoft/service-fabric
The platform that is used to run a lot of Azure
Resource providers to CosmosDB or Intune
Distributed systems platform
cluster technology
Data-aware platform
enables stateful distributed application without any central data store in the platform
Microservices platform
what it’s good at
Programming
Models
Dev & Ops
Tooling
Orchestration Lifecycle
Management
Health &
Monitoring
Always On
Availability
Auto
Scaling
AzureOn-premises infrastructureAny cloudDev machine
Service Fabric: Microservices platform
Build OperateDeploy
Service Fabric
The platform that runs any application anywhere
</>
.NET
</>
IIS
COM
ASP.NET
Core
Go
C++
NGINX
Deploy anything and everything in a container
Bring your own network to connect to other systems
No code changes required
No servers or VMs to manage with Service Fabric Mesh
Modernize
</>
NGINX
IIS
COM
Service Fabric
Service Fabric
Cloud-native
.NET
ASP.NET
Core
Go
Any language, any framework
Service Fabric Libraries for multiple languages
Easy H/A state storage with Reliable Collections
Intelligent traffic routing and connectivity
C++
When should you care about Service Fabric?
Key things to listen for which points to Service Fabric
Global service (ISVs, SaaS
providers)
Microservices architecture
IoT
Co-located data, persisted cache,
low-latency data access
Virtual Actor frameworks
Windows containers
.Net core services / Java services
Large scale orchestration of legacy
applications
Gaming
Inspiration -
https://customers.microsoft.com/
Virtual machines
OS patching
Runtime upgrades
Capacity planning
Network and storage
Micro-billing
App deployment
You
Azure
Responsibility
Cluster capacity
Network and storage
App deployment
Virtual machines
OS patching
Runtime upgrades
Hardware
OS patching
Runtime upgrades
Cluster capacity
Network and storage
App deployment
Shapes and Forms of Service Fabric services
Bring your own infrastructure
Service Fabric
Standalone
On-premisesAny cloud
Dev machine
Dedicated Azure clusters
Azure
Service Fabric
Azure
Service Fabric Mesh
Serverless microservices
Service Fabric
Full Control Fully managed
Serverless
infrastructure
Lifecycle
management
Pay only for
what you use
Scale on
demand
Intelligent
traffic routing
Microservice
and container
orchestration
Security &
compliance
Health &
monitoring
</>
Azure Service Fabric Mesh
A fully-managed microservices platform for business critical applications
.NET
</>
Microservices
development
Infrastructure
Cluster
Applications and
Services
Azure, On-Premises or
another datacenters
The federation ring
Cluster map
System services
Orchestration
Reliable Services and
Collections
Guest executables
Containers
Classified as Microsoft Confidential
Hello World
How you write your applications
Service Fabric Native applications
• Low-level control of Service Fabric platform primitives
• .NET and Java frameworks tightly integrated with runtime lifecycle
• Several different programming models
• Allows processes or containers
Service Fabric Resources
• Loosely coupled individually deployable resources
• Decoupled from runtime lifecycle
• Universal model for any language, framework, or arbitrary application
• Everything runs in containers
• Run Docker Compose workloads on Service Fabric
• Limited Service Fabric integration
• Portability for existing applications described by Docker Compose
• Everything runs in containers
Docker Compose
Simplicity
Portability
Control
Integration
On-premAny cloudLocal Azure
On-premAny cloudLocal Azure
On-premAny cloudLocal MeshAzure
Build & Deploy SF Native applications
Build OperateDeploy
Describe ManagePackage
Build & Deploy SF Mesh applications
Build OperateDeploy
Package Describe Manage
Classified as Microsoft Confidential
Let’s create an application
Part I
Service Fabric Resources
Applications and Services
Networks and Gateways
Volumes
Routing rules
Auto-scale rules
A deployment model composed of individual resources.
Anything that can be deployed to Service Fabric is a resource.
Secrets
Service Fabric Resources
Applications and Services
Networks and Gateways
Volumes
Routing rules
Auto-scale rules
Resources are described declaratively in YAML or JSON files.
Resources can be deployed anywhere Service Fabric runs.
Secrets
Service Fabric Resources
Any language, any framework
• No Service Fabric frameworks or base classes. Just containers.
• Service Fabric libraries provide integration with the Service Fabric environment.
Container
Service Fabric Libraries
• Reliable Collections
• Local H/A storage for ASP.NET Core
• SF API Client
.NET Core
Java
Node.js
Python
Ruby
Go
C++
Tomcat/IIS/NGINX
SomeOldCOMThing.exe
Ada95
Application and Service Resources
Services describe how a set of containers run
• Container image, environment variables, CPU/Memory requirements, endpoints, etc.
• References to other resources, such as networks, volumes, and secrets.
• Applications are a group of services.
Service
Application
Container
Container
Service
Container
Container
Open Network
(Internet)
Gateway and networks
Gateway connects two networks and routes traffic
• L4 routing: TCP
• L7 routing: HTTP(S)
Service A
Service C
Service BGateway
Isolated Network
Classified as Microsoft Confidential
Let’s create an application
Part II
Reliable Collections
Co-located H/A storage available to your applications
Partitioning for horizontal scaling
Replaces external low-latency distributed key value stores
Reliable Collections
Data provider services
• High-value data
• Databases
• Volume stores
• Message buses
• Event stores
Applications
• Data that can be rehydrated
• Queues
• Caches
• Session state
• Checkpoints, snapshots, aggregates
Classified as Microsoft Confidential
Reliable Collections “for .NET”
Not your usual Reliable Collections…
Open Network
(Internet)
Gateway and networks
Gateway connects two networks and routes traffic
• L4 routing: TCP
• L7 routing: HTTP(S)
Service A
Service C
Service BGateway
Isolated Network
Volume Resource
Service Fabric
Volume disk
General-purpose file storage
• Read and write files using normal disk I/O file APIs.
• Backed by Azure File storage or Service Fabric Volume disk
Azure File storage
Replicated local disk Network storage
Service
Volume
To be
released
Secrets Resource
Inline or stored in Azure Key Vault
• Applications and service resources have Managed Service Identity (MSI) with AAD to be
able to access secrets in Azure Key Vault
• Secrets and certificates can be auto-rolled over with policies
Secret
Service
Routing Rule Resource - Intelligent traffic routing
Service package
service 1
Service package
service 3
Service package
service 2
Advanced HTTP/HTTPS traffic routing with load balancing
Proxy handles partition resolution and key hashing
Routing Rule resource
Network
Envoy proxy Envoy proxyEnvoy proxyEnvoy proxy
Diagnostics and Monitoring
Containers write stdout/stderr logs to volumes
Azure Application Insights integration for .NET
Azure Monitor for platform events and container metrics
Container
Service
.NET
Service Fabric
Azure Application Insights
Azure Monitor
Volume
stdout/stderr
AppInsights SDK
Platform events & metrics
Classified as Microsoft Confidential
Azure Resources
More Resources - @mikkelhegn
Service Fabric developer SDK​
• http://aka.ms/ServiceFabricSDK
• https://docs.microsoft.com/en-us/azure/service-fabric-mesh/
Learn from samples, free clusters, and labs
• https://github.com/Azure-Samples/service-fabric-mesh/
• http://aka.ms/ServiceFabricSamples
• http://aka.ms/tryservicefabric
• https://blogs.msdn.microsoft.com/azureservicefabric/2016/07/06/introduction-to-service-fabric-lab-part-1/
Questions? Comments? Issues?​
• https://stackoverflow.com/questions/tagged/azure-service-fabric
• http://aka.ms/ServiceFabricForum
• https://github.com/azure/service-fabric-issues
• http://aka.ms/ServiceFabricSlack (request invite here)​
• Monthly Q&A – Announcements on the Team Blog here

Weitere ähnliche Inhalte

Was ist angesagt?

Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
Lucas Jellema
 

Was ist angesagt? (20)

Kubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning ControllerKubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning Controller
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
 
OpenStack + Nano Server + Hyper-V + S2D
OpenStack + Nano Server + Hyper-V + S2DOpenStack + Nano Server + Hyper-V + S2D
OpenStack + Nano Server + Hyper-V + S2D
 
AliCloud Object Storage Service (OSS) Core Features
AliCloud Object Storage Service (OSS) Core FeaturesAliCloud Object Storage Service (OSS) Core Features
AliCloud Object Storage Service (OSS) Core Features
 
Banking and Docker Datacenter - How Containers Drive Agility
Banking and Docker Datacenter - How Containers Drive AgilityBanking and Docker Datacenter - How Containers Drive Agility
Banking and Docker Datacenter - How Containers Drive Agility
 
Building a modern end-to-end open source Big Data reference application
Building a modern end-to-end open source Big Data reference applicationBuilding a modern end-to-end open source Big Data reference application
Building a modern end-to-end open source Big Data reference application
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Autopilot : Securing Cloud Native Storage
Autopilot : Securing Cloud Native StorageAutopilot : Securing Cloud Native Storage
Autopilot : Securing Cloud Native Storage
 
Micro services
Micro servicesMicro services
Micro services
 
Multi-Containers Orchestration with Live Migration and High-Availability for ...
Multi-Containers Orchestration with Live Migration and High-Availability for ...Multi-Containers Orchestration with Live Migration and High-Availability for ...
Multi-Containers Orchestration with Live Migration and High-Availability for ...
 
Advanced dev ops governance with terraform
Advanced dev ops governance with terraformAdvanced dev ops governance with terraform
Advanced dev ops governance with terraform
 
Cache-Aside Cloud Design Pattern
Cache-Aside Cloud Design PatternCache-Aside Cloud Design Pattern
Cache-Aside Cloud Design Pattern
 
Microservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service FabricMicroservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service Fabric
 
Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017
 
Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18
 
Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
Event Bus as Backbone for Decoupled Microservice Choreography (JFall 2017)
 
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
 
Tokyo azure meetup #12 service fabric internals
Tokyo azure meetup #12   service fabric internalsTokyo azure meetup #12   service fabric internals
Tokyo azure meetup #12 service fabric internals
 
Intro - Cloud Native
Intro - Cloud NativeIntro - Cloud Native
Intro - Cloud Native
 
Responding to Digital Transformation With RDS Database Technology
Responding to Digital Transformation With RDS Database TechnologyResponding to Digital Transformation With RDS Database Technology
Responding to Digital Transformation With RDS Database Technology
 

Ähnlich wie Service fabric and azure service fabric mesh

Ähnlich wie Service fabric and azure service fabric mesh (20)

Service Fabric and Azure Service Fabric Mesh introduction
Service Fabric and Azure Service Fabric Mesh introductionService Fabric and Azure Service Fabric Mesh introduction
Service Fabric and Azure Service Fabric Mesh introduction
 
Azure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservicesAzure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservices
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
 
Azure Service Fabric Overview
Azure Service Fabric OverviewAzure Service Fabric Overview
Azure Service Fabric Overview
 
{code} and Containers - Open Source Infrastructure within Dell Technologies
{code} and Containers - Open Source Infrastructure within Dell Technologies{code} and Containers - Open Source Infrastructure within Dell Technologies
{code} and Containers - Open Source Infrastructure within Dell Technologies
 
Hybridní cloud s F5 v prostředí kontejnerů
Hybridní cloud s F5 v prostředí kontejnerůHybridní cloud s F5 v prostředí kontejnerů
Hybridní cloud s F5 v prostředí kontejnerů
 
{code} and containers
{code} and containers{code} and containers
{code} and containers
 
Introduction to Windows Azure
Introduction to Windows AzureIntroduction to Windows Azure
Introduction to Windows Azure
 
Jelastic for Hosting & MSP
Jelastic for Hosting & MSPJelastic for Hosting & MSP
Jelastic for Hosting & MSP
 
Amazon AWS vs Azure Cloud vs Kubernetes
Amazon AWS vs Azure Cloud vs KubernetesAmazon AWS vs Azure Cloud vs Kubernetes
Amazon AWS vs Azure Cloud vs Kubernetes
 
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
Open shift and docker - october,2014
Open shift and docker - october,2014Open shift and docker - october,2014
Open shift and docker - october,2014
 
Mobility and federation of Cloud computing
Mobility and federation of Cloud computingMobility and federation of Cloud computing
Mobility and federation of Cloud computing
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Designing Microservices
Designing MicroservicesDesigning Microservices
Designing Microservices
 
Microsoft Azure News - Oct 2016
Microsoft Azure News - Oct 2016Microsoft Azure News - Oct 2016
Microsoft Azure News - Oct 2016
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Service fabric and azure service fabric mesh

  • 1. Azure Introducing: Service Fabric and Azure Service Fabric Mesh Mikkel Mork Hegnhoj Program Manager – Azure Compute – Application Services Tallinn – November 2018
  • 2. What is Service Fabric? Open Sourced technology from Microsoft http://github.com/Microsoft/service-fabric The platform that is used to run a lot of Azure Resource providers to CosmosDB or Intune Distributed systems platform cluster technology Data-aware platform enables stateful distributed application without any central data store in the platform Microservices platform what it’s good at
  • 3. Programming Models Dev & Ops Tooling Orchestration Lifecycle Management Health & Monitoring Always On Availability Auto Scaling AzureOn-premises infrastructureAny cloudDev machine Service Fabric: Microservices platform Build OperateDeploy
  • 4. Service Fabric The platform that runs any application anywhere </> .NET </> IIS COM ASP.NET Core Go C++ NGINX
  • 5. Deploy anything and everything in a container Bring your own network to connect to other systems No code changes required No servers or VMs to manage with Service Fabric Mesh Modernize </> NGINX IIS COM Service Fabric
  • 6. Service Fabric Cloud-native .NET ASP.NET Core Go Any language, any framework Service Fabric Libraries for multiple languages Easy H/A state storage with Reliable Collections Intelligent traffic routing and connectivity C++
  • 7. When should you care about Service Fabric? Key things to listen for which points to Service Fabric Global service (ISVs, SaaS providers) Microservices architecture IoT Co-located data, persisted cache, low-latency data access Virtual Actor frameworks Windows containers .Net core services / Java services Large scale orchestration of legacy applications Gaming Inspiration - https://customers.microsoft.com/
  • 8. Virtual machines OS patching Runtime upgrades Capacity planning Network and storage Micro-billing App deployment You Azure Responsibility Cluster capacity Network and storage App deployment Virtual machines OS patching Runtime upgrades Hardware OS patching Runtime upgrades Cluster capacity Network and storage App deployment Shapes and Forms of Service Fabric services Bring your own infrastructure Service Fabric Standalone On-premisesAny cloud Dev machine Dedicated Azure clusters Azure Service Fabric Azure Service Fabric Mesh Serverless microservices Service Fabric Full Control Fully managed
  • 9. Serverless infrastructure Lifecycle management Pay only for what you use Scale on demand Intelligent traffic routing Microservice and container orchestration Security & compliance Health & monitoring </> Azure Service Fabric Mesh A fully-managed microservices platform for business critical applications .NET </> Microservices development
  • 10. Infrastructure Cluster Applications and Services Azure, On-Premises or another datacenters The federation ring Cluster map System services Orchestration Reliable Services and Collections Guest executables Containers
  • 11. Classified as Microsoft Confidential Hello World
  • 12. How you write your applications Service Fabric Native applications • Low-level control of Service Fabric platform primitives • .NET and Java frameworks tightly integrated with runtime lifecycle • Several different programming models • Allows processes or containers Service Fabric Resources • Loosely coupled individually deployable resources • Decoupled from runtime lifecycle • Universal model for any language, framework, or arbitrary application • Everything runs in containers • Run Docker Compose workloads on Service Fabric • Limited Service Fabric integration • Portability for existing applications described by Docker Compose • Everything runs in containers Docker Compose Simplicity Portability Control Integration On-premAny cloudLocal Azure On-premAny cloudLocal Azure On-premAny cloudLocal MeshAzure
  • 13. Build & Deploy SF Native applications Build OperateDeploy Describe ManagePackage
  • 14. Build & Deploy SF Mesh applications Build OperateDeploy Package Describe Manage
  • 15. Classified as Microsoft Confidential Let’s create an application Part I
  • 16. Service Fabric Resources Applications and Services Networks and Gateways Volumes Routing rules Auto-scale rules A deployment model composed of individual resources. Anything that can be deployed to Service Fabric is a resource. Secrets
  • 17. Service Fabric Resources Applications and Services Networks and Gateways Volumes Routing rules Auto-scale rules Resources are described declaratively in YAML or JSON files. Resources can be deployed anywhere Service Fabric runs. Secrets
  • 18. Service Fabric Resources Any language, any framework • No Service Fabric frameworks or base classes. Just containers. • Service Fabric libraries provide integration with the Service Fabric environment. Container Service Fabric Libraries • Reliable Collections • Local H/A storage for ASP.NET Core • SF API Client .NET Core Java Node.js Python Ruby Go C++ Tomcat/IIS/NGINX SomeOldCOMThing.exe Ada95
  • 19. Application and Service Resources Services describe how a set of containers run • Container image, environment variables, CPU/Memory requirements, endpoints, etc. • References to other resources, such as networks, volumes, and secrets. • Applications are a group of services. Service Application Container Container Service Container Container
  • 20. Open Network (Internet) Gateway and networks Gateway connects two networks and routes traffic • L4 routing: TCP • L7 routing: HTTP(S) Service A Service C Service BGateway Isolated Network
  • 21. Classified as Microsoft Confidential Let’s create an application Part II
  • 22. Reliable Collections Co-located H/A storage available to your applications Partitioning for horizontal scaling Replaces external low-latency distributed key value stores
  • 23. Reliable Collections Data provider services • High-value data • Databases • Volume stores • Message buses • Event stores Applications • Data that can be rehydrated • Queues • Caches • Session state • Checkpoints, snapshots, aggregates
  • 24. Classified as Microsoft Confidential Reliable Collections “for .NET” Not your usual Reliable Collections…
  • 25. Open Network (Internet) Gateway and networks Gateway connects two networks and routes traffic • L4 routing: TCP • L7 routing: HTTP(S) Service A Service C Service BGateway Isolated Network
  • 26. Volume Resource Service Fabric Volume disk General-purpose file storage • Read and write files using normal disk I/O file APIs. • Backed by Azure File storage or Service Fabric Volume disk Azure File storage Replicated local disk Network storage Service Volume To be released
  • 27. Secrets Resource Inline or stored in Azure Key Vault • Applications and service resources have Managed Service Identity (MSI) with AAD to be able to access secrets in Azure Key Vault • Secrets and certificates can be auto-rolled over with policies Secret Service
  • 28. Routing Rule Resource - Intelligent traffic routing Service package service 1 Service package service 3 Service package service 2 Advanced HTTP/HTTPS traffic routing with load balancing Proxy handles partition resolution and key hashing Routing Rule resource Network Envoy proxy Envoy proxyEnvoy proxyEnvoy proxy
  • 29. Diagnostics and Monitoring Containers write stdout/stderr logs to volumes Azure Application Insights integration for .NET Azure Monitor for platform events and container metrics Container Service .NET Service Fabric Azure Application Insights Azure Monitor Volume stdout/stderr AppInsights SDK Platform events & metrics
  • 30. Classified as Microsoft Confidential Azure Resources
  • 31. More Resources - @mikkelhegn Service Fabric developer SDK​ • http://aka.ms/ServiceFabricSDK • https://docs.microsoft.com/en-us/azure/service-fabric-mesh/ Learn from samples, free clusters, and labs • https://github.com/Azure-Samples/service-fabric-mesh/ • http://aka.ms/ServiceFabricSamples • http://aka.ms/tryservicefabric • https://blogs.msdn.microsoft.com/azureservicefabric/2016/07/06/introduction-to-service-fabric-lab-part-1/ Questions? Comments? Issues?​ • https://stackoverflow.com/questions/tagged/azure-service-fabric • http://aka.ms/ServiceFabricForum • https://github.com/azure/service-fabric-issues • http://aka.ms/ServiceFabricSlack (request invite here)​ • Monthly Q&A – Announcements on the Team Blog here