[Windows Azure] How to Configure Cloud Services
How to Configure Cloud Services
To use this feature and other new Windows Azure capabilities, sign up for the free preview.
You can configure the most commonly used settings for a cloud service in the Windows Azure Management Portal. Or, if you like to update your configuration files directly, download a service configuration file to update, and then upload the updated file and update the cloud service with the configuration changes. Either way, the configuration updates are pushed out to all role instances.
You can also enable a Remote Desktop connection to one or all roles running in your cloud service. Remote Desktop allows you to access the desktop of your application while it is running and troubleshoot and diagnose problems. You can enable a Remote Desktop connection to your role even if you did not configure the service definition file (.csdef) for Remote Desktop during application development. There is no need to redeploy your application in order to enable a Remote Desktop connection.
Windows Azure can only ensure 99.95 percent service availability during the configuration updates if you have at least two role instances (virtual machines) for every role. That enables one virtual machine to process client requests while the other is being updated. For more information, see Service Level Agreements.
Table of Contents
How to: Update the cloud service configuration
In the Windows Azure Management Portal, click Cloud Services. Then click the name of the cloud service to open the dashboard.
Click Configure.
On the Configure page, you can configure monitoring, update role settings, and choose the guest operating system and family for role instances (virtual machines).

In monitoring settings, set the monitoring level to Verbose or Minimal, and configure the diagnostics connection strings that are required for verbose monitoring. For instructions, see How to Monitor Cloud Services.
For service roles (grouped by role), you can update the following settings:
Settings Modify the values of miscellaneous configuration settings that are specified in the ConfigurationSettings elements of the service configuration (.cscfg) file.
Certificates Change the certificate thumbprint that's being used in SSL encryption for a role. To change a certificate, you must first upload the new certificate (on the Certificates page). Then update the thumbprint in the certificate string displayed in the role settings.
In operating system settings, you can change the operating system family or version for role instances (virtual machines), or choose Automatic to resume automatic updates of the current operating system version. The operating system settings apply to web roles and worker roles, but do not affect VM roles that were added to hosted services in the previous Windows Azure Management Portal.
When you deploy a new cloud service, you can choose either the Windows Server 2008 R2, Windows Server 2008 with Service Pack 2 (SP2), or Windows Server 2012 operating system. During deployment, the most recent operating system version is installed on all role instances, and the operating systems are updated automatically by default.
If you need for your cloud service to run on a different operating system version because of compatibility requirements in your code, you can choose an operating system family and version. When you choose a specific operating system version, automatic operating system updates for the cloud service are suspended. You will need to ensure the operating systems receive updates.
If you resolve all compatibility issues that your apps have with the most recent operating system version, you can resume automatic operating system updates by setting the operating system version to Automatic.

To save your configuration settings, and push them to the role instances, click Save. (Click Discard to cancel the changes.) Save and Discard are added to the command bar after you change a setting.
To update a cloud service configuration file manually
Download a cloud service configuration file (.cscfg) with the current configuration. On the Configure page for the cloud service, click Download. Then click Save, or click Save As to save the file.
After you update the service configuration file, upload and apply the configuration updates:
a. On the Configure page, click Upload.
Upload a New Configuration File opens.

b. In Configuration file, use Browse to select the updated .cscfg file.
c. If your cloud service contains any roles that have only one instance, select the Apply configuration even if one or more roles contain a single instance check box to enable the configuration updates for the roles to proceed.
Unless you define at least two instances of every role, Windows Azure cannot guarantee at least 99.95 percent availability of your cloud service during service configuration updates. For more information, see Service Level Agreements.
d. Click OK (checkmark).
How to: Configure remote access to role instances
Remote Desktop enables you to access the desktop of a role running in Windows Azure. You can use a Remote Desktop connection to troubleshoot and diagnose problems with your application while it is running. You can enable a Remote Desktop connection in your role during application design or after you have deployed the application to Windows Azure (while the role is running). Enabling a Remote Desktop connection in a running role through the Management Portal does not require you to redeploy your application. To authenticate the Remote Desktop connection you can use a previously uploaded certificate or you can create a new certificate.
On the Configure page for your cloud service, you can enable Remote Desktop or change the local Administrator account or password used to connect to the virtual machines, the certificate used in authentication, or the expiration date.
Note If your cloud service consists of two or more connected Windows Server-based virtual machines, you don’t have to configure remote access, as these virtual machines are configured automatically for Remote Desktop.
To configure Remote Access in the service definition file
Add Import elements to the service definition file (.csdef) to import the RemoteAccess and RemoteForwarder modules into the service model. When those modules are present, Windows Azure adds the configuration settings for Remote Desktop to the service configuration file. To complete the Remote Desktop configuration, you will need to import a certificate to Windows Azure, and specify the certificate in the service configuration file. For more information, see Set Up a Remote Desktop Connection for a Role in Windows Azure.
To enable or modify Remote Access for role instances in the Management Portal
Log in to the Management Portal and click Cloud Services. Then click the name of the cloud service to open the dashboard.
Open the Configure page for the cloud service, and click Remote.
Configure Remote Desktop displays the settings (if any) that were added to the service configuration file when the cloud service was deployed, as shown below.

All role instances will be restarted when you first enable Remote Desktop and click OK (checkmark). To prevent a reboot, the certificate used to encrypt the password must be installed on the role. If no certificate is installed you will see this option:

To prevent a restart, install a certificate and then return to this dialog (see Using Remote Desktop with Windows Azure Roles for more information). If you choose an existing certificate, then a configuration update will be sent to all the instances in the role.
In Roles, select the service role you want to update or select All for all roles.
Make any of the following changes:
To enable Remote Desktop, select the Enable Remote Desktop check box. To disable Remote Desktop, clear the check box.
Create an account to use in Remote Desktop connections to the role instances.
Update the password for the existing account.
Select an uploaded certificate to use for authentication (upload the certificate using Upload on the Certificates page) or create a new certificate.
Change the expiration date for the Remote Desktop configuration.
When you finish your configuration updates, click OK (checkmark).
To connect to a role instance:
a. Click Instances to open the Instances page.
b. Select a role instance that has Remote Desktop configured.
c. Click Connect, and follow the instructions to open the desktop of the virtual machine.
d. Click Open and then Connect to start the Remote Desktop connection.
To disable Remote Access for role instances in the Management Portal
Log in to the Management Portal and click Cloud Services. Then click the name of the cloud service to open the dashboard.
Open the Configure page for the cloud service, and click Remote.
In Roles, select the service role you want to update or select All for all roles.
Un-check, or clear, the Enable Remote Desktop check box.
Click OK (checkmark).
[Windows Azure] How to Configure Cloud Services的更多相关文章
- [Windows Azure] How to Monitor Cloud Services
How to Monitor Cloud Services To use this feature and other new Windows Azure capabilities, sign up ...
- [Windows Azure] How to Manage Cloud Services
How to Manage Cloud Services To use this feature and other new Windows Azure capabilities, sign up f ...
- [Windows Azure] Walkthrough to Configure System Center Management Pack for Windows Azure Fabric Preview for SCOM 2012 SP1 (with a MetricsHub Bonus)
The wait is finally over. This is a huge update to the Azure Management Pack over the one that was r ...
- [Windows Azure] Virtual Machine and Cloud Service Sizes for Windows Azure
Virtual machine size CPU cores Memory OS disk space–cloud services OS disk space–virtual machines Ma ...
- [Windows Azure] What is a cloud service?
What is a cloud service? When you create an application and run it in Windows Azure, the code and co ...
- Windows Azure中WebSite 网站, Cloud Service 云服务,Virtual Machine 虚拟机的比较
在Windows Azure服务平台里,Web Site特点是: 在Windows Azure上构建高度可扩展的Web站点. 快速.轻松部署一个高度可扩展的云环境,并且可以从很小的规模开始. 使用您所 ...
- [Windows Azure] Configuring and Deploying the Windows Azure Email Service application - 2 of 5
Configuring and Deploying the Windows Azure Email Service application - 2 of 5 This is the second tu ...
- [Windows Azure] How to Create and Deploy a Cloud Service?
The Windows Azure Management Portal provides two ways for you to create and deploy a cloud service: ...
- Configuring a Windows Azure Project
A Windows Azure project includes two configuration files: ServiceDefinition.csdef and ServiceConfigu ...
随机推荐
- 如何查看 EBS 环境上的 INV RUP 版本号
select 'Application Environment: '|| i.instance_name || ', Host: '|| i.host_name ||', Application Re ...
- Uva10161 Ant on a Chessboard
Uva10161 Ant on a Chessboard 10161 Ant on a Chessboard One day, an ant called Alice came to an M*M c ...
- SpringBoot与Dubbo整合的三种方式
1. 使用默认application.properties和注解的方式 导入dubbo-starter,在application.properties配置属性,使用@Service注解来暴露服务,使用 ...
- uitextview根据内容算高度
UITextView根据内容自动改变frame 分类: iOS2013-03-08 07:27 190人阅读 评论(0) 收藏 举报 注意点: 在textview中计算string占据的高度不能使用[ ...
- ios实例开发精品文章推荐(8.12)11个处理触摸事件和多点触摸的JS库
11个处理触摸事件和多点触摸的JS库 触摸屏是现在所有智能手机的标配,还包括各种平板设备,而且很多桌面也慢慢在开始支持触摸操作.要开发支持触摸屏设备的Web应用,我们需要借助浏览器的触摸事件来实现. ...
- MYSQL 5.5.32的单机多实例部署
Centos6.6安装并配置单机多实例的MYSQL数据库 本文介绍安装单机多实例的MYSQL数据库的环境如下: 系统平台环境:Centos6.6 Mysql软件包:Mysql-5.5.32.tar.g ...
- linux 文件系统工作原理
转:<http://linuxperf.com/?p=153> 一.概述 文件系统要解决的一个关键问题是怎样防止掉电或系统崩溃造成数据损坏,在此类意外事件中,导致文件系统损坏的根本原因在于 ...
- 为什么说,长跑和爬山能锻炼意志?因为要不停的run,run,run......
长跑和爬山教会我们的是无论做什么都要坚持,教会我们的是生活的态度. 如果不能体会到这一点,那你长跑的意义就是纯粹的锻炼身体. 中国教育的最大败笔就是教会了人学习,却没教会人思考.
- jquery实现点击展开列表同时隐藏其他列表 js 对象操作 对象原型操作 把一个对象A赋值给另一个对象B 并且对象B 修改 不会影响 A对象
这篇文章主要介绍了jquery实现点击展开列表同时隐藏其他列表的方法,涉及jquery鼠标事件及节点的遍历与属性操作技巧,具有一定参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jquery实现点击 ...
- Java Nashorn--Part 3
jjs 的 -Scripting 选项 jjs shell 是一个不错的方法来测试一些基本的 JavaScript,或者于不太熟悉的 JavaScript包进行交互(主要是指 javax.script ...