Deploy Worker Role

In this article we can explore Deploying a Worker Role to Azure.

Deployment

There are multiple ways to Deploy your Web Role to Azure:

· Visual Studio Publish

· Azure Portal Upload

Visual studio

Let us start with Visual Studio deployment.

Open the project in Visual Studio & Choose the Cloud Service > Publish option.

image

You will get the prompt to choose the Azure Subscription.

image

Continue the wizard & choose a unique Name.

image

Continue the Wizard.

image

Click the Publish button in the final page of the wizard.

image

Wait for few minutes for the Deployment to be completed.

image

Once the deployment is over, you can click on the Web app URL from the Deployment window.

image

You can also use Azure Portal to upload Deployment Package.

Summary

In this article we have explored Deploying a Worker Role to Azure.

Cloud Service Roles

In this article we can explore about Cloud Service Roles.

Cloud Services

Cloud Services are highly available, scalable, n-tier cloud apps with more control of the OS.

Cloud Service Roles

There are 2 types of Roles in Cloud Services.

· Web Role

· Worker Role

image

Web Role

Web Role is for hosting your application through IIS.

Web Role is intended for Frontend UI applications.

Worker Role

Worker Role does not use IIS.

Worker Role runs the application Standalone.

Worker Role is intended for background processing.

References

https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-choose-me

Summary

In this article we have explored about Cloud Service Roles.