Select Hosted Services after you have signed in from the Azure portal, as Figure 9-7 shows.. Select the Hosted Services from the portal to deploy an application to the cloud... Enter a n
Trang 1303
Deploying Cloud Applications
Now let’s see how to deploy a cloud application
1 Select Hosted Services after you have signed in from the Azure portal, as Figure 9-7 shows
Figure 9-7 Select the Hosted Services from the portal to deploy an application to the cloud
Trang 2304
2 Enter a name for the application that will be hosted from the cloud The
maximum length of the name that can be entered is 20 characters, and the name should be unique, as Figure 9-8 shows
Characters more than
20 will be truncated
Figure 9-8 Verify the available name for the application name
Trang 3305
Staging Deployment
Staging deployment (shown in Figure 9-9) is the step where an application runs in pre-production In
this status the application should be fully functional This provides an opportunity for you to do testing and final tuning in the remote cloud environment If the application has never been deployed before,
then when the Deploy button is pressed the application will be given Staging status and should be fully functional Revisit this page after testing and deploy the application from Staging to Production as
Figure 9-13 shows
Figure 9-9 Staging deployment is one step before an application is hosted in production
Trang 4306
Select the Application Package and Configuration Package
At this step you need to provide the path for both the compiled package file and the configuration package file, as Figure 9-10 shows
Figure 9-10 Select the application package and configuration package file for deployment
Trang 5307
Running a Hosted Application
Figure 9-11 shows that a web role is running from the cloud Double-click on the URL to access the
service provided by that web role
Figure 9-11 An example of a web role hosted and run from the cloud