Azure Service Fabric 概要

Embed Size (px)

Text of Azure Service Fabric 概要

Azure Service Fabric

https://www.facebook.com/dahatake/https://twitter.com/dahatake/

https://github.com/dahatake/https://daiyuhatakeyama.wordpress.com/

#azurejp

#azurejp

1

#azurejp

2016/02 https://www.oreilly.co.jp/books/9784873117607/

#azurejpAzure Service Fabric

Azure Service Fabric

#azurejp

#azurejp?

Plan1Monitor + LearnReleaseDevelop + Test2DevelopmentProduction43

#azurejp Feedback

!

The OLD way

#azurejp

2012 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.11/20/20167

#azurejp

2013 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.11/20/2016 10:39 PM8

Development

Development

Development

Development

DEV

#azurejp

Development

Development

Development

Development

DEV

QA

OPS

#azurejpDevOps

AgileInfrastructure

DevOps

Agile

AgileWebOperation

Agile Infrastructure

#azurejp

?

#azurejp

EC/App

/

CRM

5?3?

#azurejpCustomer #1SaaSIaaSVersion 1.0Customer #2Version 1.0Customer #3Version 2.0

Version 1.0Version 2.0

#azurejp

#azurejpThumbnailServiceThumbnailServicePhoto ShareServicePhoto ShareServicePhoto ShareServicePhoto ShareServiceThumbnailServicePhoto Share ServiceThumbnailSharedLib-v7Photo ShareServiceSharedLib-v1Photo ShareServicenode.jsThumbnailService.NETPhoto ShareServiceV1ThumbnailServiceV1ThumbnailServiceSharedLib-v7ThumbnailServiceV2SharedLib-v1

#azurejp

Microsoft Ignite 201611/20/2016 10:39 PM16

stateless Service

stateless Service with separate storesstateful Service

stateless presentation Service

#azurejpCompute

Container / Service Fabric VM 1 //DR ()

VM /

#azurejp Service FabricContainer ServiceVM Scale Sets

#azurejpProcessContainerMore isolatedMore efficientNot sharedSharedSharedSharedNot sharedNot sharedShared*Shared (ex: File System)Not sharedNot sharedNot sharedShared

* Windows Hyper-V

#azurejp

2016 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.11/20/201620

Service Fabric

#azurejp Platform Rolling UpgradesAvailability GuaranteesScale Out ArchitectureResource GovernanceDensityPackaging & DeploymentPolicy EnforcementGranular VersioningStateful WorkloadsLeader ElectionMesosKubernetesZookeeperRedisRavenYarnFleetContainers

?

#azurejp

22

PlatformRolling UpgradesAvailability GuaranteesScale Out ArchitectureResource GovernanceDensityPackaging & DeploymentPolicy EnforcementGranular VersioningStateful WorkloadsLeader Election

Service Fabric

#azurejp

23

Azure Service Fabric / / Windows ServerLinuxDocker ().NETJava APIAzureAzure StackVMwareOpenStackAWS

#azurejpService Fabric for Linux () Azure Service Fabric ExplorerLinux Azure CLIEclipseYoemanJenkinsapt-get LTTng MacLinuxJavaC# (.NET Core) Azure LinuxMac (Vagrant/VirtualBox Linux VM)AzureWindowsGAGAGALinux-Mac--(Linux VM)

#azurejpService Fabric Azure

Power BIIntune

80 AzureSQL Database

140 Bing Cortana

5 /AzureDocumenDB

/Skypefor Business

AzureEvent Hubs

200 /IoT Suite6

#azurejp

#azurejp

Microsoft Ignite 201611/20/2016 10:39 PM27

https://azure.microsoft.com/ja-jp/solutions/microservice-applications/

Service Fabric Team Bloghttps://blogs.msdn.microsoft.com/azureservicefabric/tag/case-study/

#azurejp

Microsoft Ignite 201611/20/2016 10:39 PM28

Your ApplicationApplication ModelDeclarative Application DescriptionNative and Managed APIsManagement SubsystemDeploy, Upgrade and MonitoringCommunication SubsystemService discoveryReliability SubsystemReliability, Availability, Replication, Service OrchestrationHosting & ActivationApplication LifecycleTestability SubsystemFault inject, Test in ProductionFederation SubsystemFederation a set of nodes to from a consistent scalable fabricTransport SubsystemSecure Point-to-point communication

#azurejpAzure Consistent Private CloudAzure Public CloudVMs and VM Scale SetsVM Extensions

Mesosphere/SwarmMarathon/Chronos/Swarm

Cluster ManagementFederation and Reliability:Failover managerCluster managerNamingImage store serviceLeader Election

Container/Service schedulingHostingContainer activation and MonitoringBalancing and SchedulingResource Balancing & Placement

ZooKeaperApplication Programming ModelsStateful/Stateless ServiceReliable ActorsReliable ServiceHealth MonitoringCommunication Subsystem Service/Service CommunicationSessions/Streams

Health management and diagnosticsTestability framework

Service Fabric Azure Container Service

#azurejp

2016 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.11/20/201630

App1App2

Orchestration - DeploymentsApp Type PackagesService Fabric Cluster VMs

#azurejp

App1App2

Orchestration - FailuresApp Type PackagesService Fabric Cluster VMs

#FAIL

#azurejpPurple NodesGreen Nodes

App1App2

Orchestration - ConstraintsApp Type PackagesService Fabric Cluster VMs

#azurejp

App1App2

Orchestration - CapacityApp Type PackagesService Fabric Cluster VMs

#azurejp

App1App2

Orchestration - BalancingApp Type PackagesService Fabric Cluster VMs

#azurejp

App1App2

Orchestration Scale-out ServiceApp Type PackagesService Fabric Cluster VMs

#azurejp

App1App2

Orchestration Scale-out ClusterApp Type PackagesService Fabric Cluster VMs

#azurejpUD3UD2UD1

App1App2

Orchestration - UpgradeApp Type PackagesService Fabric Cluster VMs

App2.1

#azurejpService Fabric Orchestration (topology awareness) -> () -> ex: (HasGPU == True)Node Capacity

#azurejpService Fabric Orchestration Default MetricsCustom MetricsMetric Metric ex: Service Fabric

#azurejpAzure Service Fabric

#azurejpAzure Service Fabric VM Public IP addressVM () Storage Account

RDP VMOS

#azurejp

Primary: DBService Fabric Core SystemFrontVMGold: DS3 / 2@1Bronze: D2_V2 / Platinum: 9 9Bronze: 5 3

P

S

S

S

S

S

S

S

S

P

S

S

VM

#azurejpCluster Resource Manager/

#azurejpYoemanEclipse

#azurejpService Fabric CI/CDSource ControlBuild

Test

DEVOPS

OPS

PPL

PROD

Inner Dev LoopMocks

#azurejp

Microsoft 2016 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.11/20/2016 10:39 PM46

Service Fabric

#azurejpService Fabric Programming Models

Guest Executables() EXE / //Reliable Service()/Reliable Collection Reliable Actors()/ IoT /

Platform :

#azurejp

48

Windows.NET.NET.NETWindowsWindows()Linux()Java.NET()Java.NETLinuxLinux

#azurejp

Service Fabric infrastructureReliabl