Windows Azure cloud computing Study Notes 3-deploying windows Azure applications

Source: Internet
Author: User

This section describes how to deploy cloud applications by using the Windows Azure portal or PowerShell Cmdlets.

The Windows Azure Portal

------------------------------------------------------

The Windows Azure Portal provides an entry to manage and publish windows Azure cloud applications. In addition to the account, the first thing you need is a Hosted Service.

Hosted Service is an initial release unit, which consists of two parts: package file and configuration file. The package file contains the application module, and the configuration file contains the configuration information that needs to be used during deployment.

The following figure shows the interface for creating the Hosted Server. You need to enter the service name and the URL to be released to the production environment, then upload the package file and configuration file.

You can use the Windows Azure portal to manage published services. Including starting or stopping services, upgrading, configuring or deleting services, and configuring server operating system information.

The following figure shows the deployment Update page.

And the current deployment configuration interface:

You can also switch the running example in the rehearsal and production status. This is called Swapping VIPs.

The Windows Azure portal can also configure server OS information. Currently, only windows server 2008 and windows server R2 are available.

Use PowerShell to deploy windows azure applications

----------------------------------------------------------------

PowerShell can execute some tasks by creating scripts to make these tasks faster, automated, and reusable. There are a lot of installation and deployment of windows Azure related eaglets in the msdn code library, you can download to the http://code.msdn.microsoft.com/azureCmdLets.

By using PowerShell scripts, you can create new deployments, stop and start deployed services, and switch between rehearsals and production statuses. For example, the following script creates a new deployment:

New-Deployment-serviceName <servicename>-subscriptionId

<Subscriptionid>-certificate <certificate>-slot staging-package

<Packagefile>-configuration <configfile>-label <servicelabel> | Get-

OperationStatus-WaitToComplete

Come here today and continue learning in the next section.

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.