Database Reference
In-Depth Information
11.6 Deploy Applications to Windows Azure
In the previous activities, the local storage is used to emulate the Table storage, Blob storage,
and Queue storage. To run the application StudentClub in a true cloud environment, we need to
deploy the application to Windows Azure. In the following, you will conigure some of the services
so that they will be ready for the deployment. he application package will be uploaded to the
staging area for further coniguration. It will also be tested in the staging area. If everything works
as expected, the application package will be promoted to production.
ACTIVITY 11.4
DEPLOYING APPLICATION TO WINDOWS AZURE
During this activity, you will accomplish the following tasks:
Task 1: Prepare Compute and Storage Services : his task veriies the cloud service
and storage account on Windows Azure.
Task 2: Publish the Application to Windows Azure : his task irst packages the
StudentClub application. hen, it publishes the application to Windows Azure.
Task 3: Test the Application in the Staging Environment : Once published, the
application will be tested for remote access through the public endpoint.
TASK 1: PREPARE COMPUTE AND STOR AGE SERVICES
Assume that you have created a Windows Azure account in the previous lab activities. he
irst task is to verify that the storage account and the cloud service are created for the Table
storage, Blog storage, and Queue storage. Follow the steps below to get started:
1. Log on to your Windows Azure account at the website https://windows.azure.com.
2. Click the STOR AGE link on the left-hand side of the screen. Select your storage and
click MANAGE KEYS .
3. Click the Copy to Clipboard button next to the Primary access key. Save the key in a
ile on the desktop of your computer. Do the same to copy the Secondary access key.
You may also want to save the name of the storage account as shown in Figure 11.34.
4. To create a new cloud service, click the CLOUD SERVICE link on the left-hand side
of the screen. Click NEW on the left pane and then click CUSTOM SERVICE . Click
QUICK CREATE and enter service63xx as URL, specify West US as the ainity
group, and your subscription is shown in Figure 11.35.
TASK 2: PUBLISH THE APPLICATION TO WINDOWS AZURE
In this task, you will irst generate a service package in Visual Studio. hen, you will publish
the StudentClub application to the staging environment.
1. In the Windows Azure Management Portal, to log on to the virtual machine, click
V IRTUAL MACHINES . Select the server myserver that is created in Chapter 1
and click Connect . hen, log on to the virtual machine with your user name and
password.
 
Search WWH ::




Custom Search