How to deploy applications in Windows azure

Source: Internet
Author: User

In the pastArticleWe have discussed how to create a "hello World" Application in azure.Program. In this article, we mainly discuss how to deploy applications to Windows azure. To deploy an application in azure, two files are required-one package file and one configuration file. The configuration file is named serviceconfiguration. cscfg in cloudservice1. To create a package file, right-click the cloudservice project and click "publish ".

Then, it will ask you whether to create a package file or publish it to azure.

If you select the first option, it will create a package file and open the browser.

With the package file (. cspkg) and the configuration file (. cscfg), we can deploy it through the Management Portal, azure Service Management cmdlets, cerebrata's cloudstoragestudio, or cerebrata's azure management cmdlets. If we select the second option in the release dialog box, we can also directly upload it Through Visual Studio. It requires a subscriptionid and an X509 V3 certificate, as shown below:

Then, we must provide the deployment environment and storage account.

No matter which option we choose, we need:

1. A Windows azure subscription-when we register Azure, a subscribe will be associated with our live ID.

2. A Windows azure hosted service -- we need to create a hosted service for the deployment. It provides two deployment environments: production environment and test environment.

3. A Windows azure storage account-when we deploy it Through Visual Studio, the package file will be first uploaded to the Blob storage of this storage account, and then deployed through blob service.

Summarize the following steps to deploy an application through the Management Portal:

1. to deploy an application, we need a package file and configuration file.

2. To create a package file, click "publish" and select the option to create only the package file.

3. log on to the Management Portal.

4. If you want to deploy an application in a new service, create a new hosted service.

5. Then, in terms of the deployment environment, we can either deploy to the production environment or to the test environment.

6. Then start deployment.

7. On the Management Portal, you can view the deployment progress.

8. To delete a deployment, click "Stop" and delete it after it is stopped.

 

(This article is reproduced from Zhou Xuefeng, 51cto translator)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.