Microsoft Azure Service Fabric standalone
Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers.
To build and run Azure Service Fabric applications on your Windows development machine, install the Service Fabric runtime, SDK, and tools. You also need to enable execution of the Windows PowerShell scripts included in the SDK.
I have installed the latest version :
- Service Fabric SDK and Tools 4.1.409
- Service Fabric runtime 7.1.409
here you find more information about installing Azure Service Fabric Standalone version for testing
I have installed the Azure Service Fabric Cluster on my Windows10 Machine for testing only.
When you want to great your own Azure Service Fabric Cluster for Production, you have to prepare your self and making a plan before you build.
When you have your Azure Service Fabric Standalone Cluster running, you want to deploy your microservices, apps or containers on it and test your solution. In the following steps I deploy with Visual Studio a Web App to Azure Service Fabric Cluster Standalone version 7.1.409
Here is a Github Sample for Azure Service Fabric.
git clone https://github.com/Azure-Samples/service-fabric-dotnet-quickstart
Here you have your Clone from Github.
To deploy this App to the Azure Service Fabric Cluster we use Microsoft Visual Studio
Once the application is downloaded, you can deploy it to a cluster directly from Visual Studio.
- Open Visual Studio
- Select File > Open
- Navigate to the folder you cloned the git repository to, and select Voting.sln
- Right-click on the
Voting
application project in the Solution Explorer and choose Publish
Click on Publish.
Select connection Endpoint Local Cluster and click on Publish.
The Web App is Published to the Azure Service Fabric Standalone Cluster.
When you open the Azure Service Fabric Explorer you will see your App Running
This sample is for testing only and is not secure for production, just to learn how it works
Of course you can also deploy Containers with Visual Studio to your Azure Service Fabric Standalone Cluster.
No comments:
Post a Comment