What happens behind the scenes when an application is deployed in azure service fabric?

Sritharini Radhakrishnan 66 Reputation points
2021-07-18T16:46:07.287+00:00

I am trying to learn about what happens when we deploy an application is azure service fabric. All i know is

  1. I select the version of my microservices
  2. Select the publish profile
  3. Click publish
    Then after a while my application is deployed and i can use it. But i would like to know the process that happens after i hit publish button.

I have few doubts as well.

  1. When i develop, build and debug my application in Visual studio, i have .NET runtime installed in my machine so it can pick up assembly files but what happens to the deployed application?
  2. is .NET runtime is installed by azure service fabric in the node in which my application is running?
    Thankyou so much for answering my question!
Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
267 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,780 questions
0 comments No comments
{count} votes

Accepted answer
  1. SRIJIT-BOSE-MSFT 4,336 Reputation points Microsoft Employee
    2021-07-19T14:26:08.793+00:00

    @Sritharini Radhakrishnan , Thank you for your question.

    I am trying to learn about what happens when we deploy an application is azure service fabric. All i know is

    1. I select the version of my microservices
    2. Select the publish profile
    3. Click publish
      Then after a while my application is deployed and i can use it. But i would like to know the process that happens after i hit publish button.

    You tailor the application type to a specific application to be deployed to a Service Fabric cluster by specifying the appropriate parameters of the ApplicationType element in the application manifest.

    When you hit publish a series of actions follow:

    1. The application package is uploaded to the cluster image store by using the CopyApplicationPackage method . The application package contains the application manifest and the collection of service packages. Service Fabric deploys applications from the application package stored in the image store, which can be an Azure blob store or the Service Fabric system service.
    2. The application type is then provisioned in the target cluster from the uploaded application package using the Provision an Application REST operation.
    3. After provisioning the application, s the application is started with the parameters supplied by the application administrator using the Create Application REST operation.
    4. After the application has been deployed, the Create Service REST operation is used to create new service instances for the application based on available service types.
    5. The application is now running in the Service Fabric cluster.

    Please refer to this article for application deployment steps in Azure Service Fabric Cluster.

    ----------

    I have few doubts as well.

    1. When i develop, build and debug my application in Visual studio, i have .NET runtime installed in my machine so it can pick up assembly files but what happens to the deployed application?
    2. is .NET runtime is installed by azure service fabric in the node in which my application is running?

    You can run any type of code, such as Node.js, Java, or C++ in Azure Service Fabric as a service. Service Fabric refers to these types of services as guest executables.

    Guest executables are treated by Service Fabric like stateless services. As a result, they are placed on nodes in a cluster, based on availability and other metrics.
    For more information please refer to this article.

    ----------

    Hope this helps.

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.