How to install to Windows Azure

The Planning Poker is deployable as a cloud service on Windows Azure platform. The only requirement is that you have active subscription to Windows Azure services. Planning Poker uses 3 services of Windows Azure platform:

How to create Azure Storage for planning poker

  1. Open Windows Azure management portal at https://windows.azure.com/
  2. Open Hosted Services, Storage Accounts & CDN
  3. Then select Storage Accounts
  4. In the toolbar click New Storage Account
  5. Type name of your storage and select region, where it will be created. The region should be same as region of the Planning Poker service. It is recommended to select region closest to the target audience.
  6. When storage account is created, select it from the list and click View Access Keys in toolbar. Secret access keys are displayed. This will be needed when configuring cloud service.

CreateStorage.png

How to create Service Bus

  1. Open Windows Azure management portal at https://windows.azure.com/
  2. Open Service Bus, Access Control & Caching
  3. Then select Service Bus
  4. In the toolbar click New
  5. Check Service Bus
  6. Type the service bus namespace and select region, where it will be created. The region should be same as region of the Planning Poker service. It is recommended to select region closest to the target audience.
  7. When service bus namespace is created, select it from the list and in the Properties panel click View in Default Key field. Secret access key is displayed. This will be needed when configuring cloud service.

CreateServiceBus.png

How to create cloud service

  1. Open Windows Azure management portal at https://windows.azure.com/
  2. Open Hosted Services, Storage Accounts & CDN
  3. Then select Hosted Services
  4. In the toolbar click New Hosted Service
  5. Enter the service name and service URL prefix.
  6. Select region, where the service will be hosted. It is recommended to select region closest to the target audience.
  7. Select option Do not deploy and click OK.

CreateHostedService.png

How to deploy Planning Poker to cloud service

When hosted service, storage account and service bus are created in Windows Azure, then deployment is done in following steps:
  1. Download PlanningPoker_Azure.zip from the latest release.
  2. Unzip the file.
  3. Open file ServiceConfiguration.Cloud.cscfg in any text editor (Notepad or Visual Studio).
  4. In Instances element specify count of instances of Planning Poker web role. Check price of instances in Windows Azure price calculator.
  5. Change Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString setting to point to Storage Account you created.
    1. Change AccountName to storage account name you selected.
    2. Change AccountKey to primary secret key you obtained in last step of creating storage account.
  6. Change Microsoft.ServiceBus.ConnectionString to point to service bus you created.
    1. Change Endpoint to correct service bus namespace.
    2. Change SharedSecretIssuer and ShareSecretValue to values obtained in last step of creating service bus namespace.
  7. If you use both production and staging deployments, then make sure that Microsoft.ServiceBus.TopicPath setting is unique for each deployment.
  8. Save the file.
  9. Open Windows Azure management portal at https://windows.azure.com/
  10. Open Hosted Services, Storage Accounts & CDN
  11. Then select Hosted Services
  12. Select Planning Poker service you created.
  13. In the toolbar click New Production Deployment
  14. Enter deployment name. For example: Planning Poker - current date
  15. In Package location browse for Duracellko.PlanningPoker.AzureService.cspkg file.
  16. In Configuration file browse for ServiceConfiguration.Cloud.cscfg.
  17. Click OK and wait for uploading the package and creating the service.

DeployCloudService.png

Now Planning Poker application is accessible at URL you specified, when creating the hosted service.

Last edited Oct 8, 2012 at 1:25 PM by Duracellko, version 3

Comments

No comments yet.