Enabling Diagnostics in Windows Azure Windows Azure Diagnostics enables you to collect diagnostic data from a worker role or web role running in Windows Azure. You can use diagnostic data for debugging and troubleshooting, measuring performance, moni…
Terraform(全称:Hashicorp Terraform )是一种开源工具,用于预配和管理云基础结构. 它将基础结构编入描述云资源拓扑的配置文件中. 这些资源包括虚拟机.存储帐户和网络接口等. 本文介绍在Windows系统中,如何安装Terraform,并且根据Azure的示例模板创建,在中国区创建一个虚拟机(VM)的入门级教程. 安装Terraform Terraform的Windows版本为一个.exe文件,下载后把放置在自定义的文件夹中,最后配置号系统的PATH即可. 下载Terr…
<Windows Azure Platform 系列文章目录> 请读者在参考本文之前,预习相关背景知识:Windows Azure Storage (1) Windows Azure Storage Service存储服务 最近被一些客户问到,什么场景下需要用到Azure Block Blob和Azure Page Blob?这里我简单总结一下. 一.Azure Block Blob (1)Azure Block Blob概念类似网盘,可以直接存放图片.文件.照片等二进制文件,并且可以直接被客…
<Windows Azure Platform 系列文章目录> 2015年3月5日-6日,参加了上海的Azure University活动.作为桌长与微软合作伙伴交流了Azure相关的技术,同时通过课程案例,学习了很多的Azure相关知识. 现在就课程中的一个案例,分析一下Azure安全性方面的内容. Azure安全性一直是一个被经常问到的问题,把虚拟机.网站和数据库等都部署到Azure平台,如何保证应用程序的安全,如何保证企业级客户的数据不被泄漏,一直是客户经常询问到的问题. 总的来说,Az…
<Windows Azure Platform 系列文章目录> 本文是对笔者之前的文章Windows Azure Cloud Service (13) 多个VM Instance场景下如何处理ASP.NET Session的补充. 这里笔者将同时介绍IaaS和PaaS平台. 我们知道,在Windows Azure平台,Session是需要小心处理的.对于IaaS平台和PaaS平台,我们处理Session的方法如下: 一.创建额外的虚拟机,安装Nginx或者IIS ARR保留Session (1…
<Windows Azure Platform 系列文章目录> 我们知道,Azure Web Site (改名为Azure Web App)默认是可以保留Session的.Azure Web App的架构图如下图: 上图中,我们可以观察到,Internet请求在发送到Azure Web App之前,会经过Frontend Server,也就是IIS ARR Server.IIS ARR基于Affinity Cookie,可以把请求发送到对应的某一台Azure Web App Server上.通…
<Windows Azure Platform 系列文章目录> Update 2016-01-12 https://azure.microsoft.com/zh-cn/documentation/articles/cache-dotnet-how-to-use-in-role/ 微软宣布Azure Managed Cache Service和Azure In-Role Cache会在2016年11月30日下线,建议所有的用户采用Redis Cache. 有关Redis Cache的内容,请参考…
<Windows Azure Platform 系列文章目录> Update 2016-01-12 https://azure.microsoft.com/zh-cn/documentation/articles/cache-dotnet-how-to-use-in-role/ 微软宣布Azure Managed Cache Service和Azure In-Role Cache会在2016年11月30日下线,建议所有的用户采用Redis Cache. 有关Redis Cache的内容,请参考…
<Windows Azure Platform 系列文章目录> 注:本章内容和之前的[New Portal]Windows Azure Virtual Machine (12) 在本地制作操作系统VHD并上传至Azure (2) 类似,建议读者先预习相关的内容. Update 2015-09-01 发现一个新的命令.可以不需要导入PublishSetting文件. 如果你使用的是国内由世纪互联运维的Azure China,请在PowerShell输入命令: Add-AzureAccount -…
<Windows Azure Platform 系列文章目录> 默认情况下,通过Azure Management Portal创建的Public IP和Private IP都是随机分配的. 用户可以通过Azure PowerShell来设置固定Public IP和Private IP,请参考笔者的文档: Windows Azure Virtual Network (5) 设置Azure Virtual Machine固定Private IP Windows Azure Virtual Netw…