摘要: 外网能访问部署在虚机的NodeJs网站需注意如下: 在管理门户上配置端点(Http 80->80) 在虚机中的防火墙入站规则中增加应用程序Node.exe的允许规则 启动NodeJs的侦听进程时,需要侦听所有IP(0.0.0.0) 示例代码如下: var http = require('http')... 阅读全文
posted @ 2014-05-07 22:28 EricWen 阅读(4479) 评论(0) 推荐(0) 编辑
摘要: This section lists some of the common causes of deployment problems, and offers troubleshooting tips to help you resolve the problems. An indication that a problem exists with an application is whe... 阅读全文
posted @ 2014-05-07 22:24 EricWen 阅读(373) 评论(0) 推荐(0) 编辑
摘要: Foreword Need to remove a batch of VMs, which named with same prefix or belong to same Cloud Service. After remove VMs, should automatically remove related disk (OS disk & Data Disk) and related VHD ... 阅读全文
posted @ 2014-05-07 22:19 EricWen 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Foreword When we do some test that need several VMs, we can use PowerShell script or CmdLets to implement what we want. Keywords PowerShell, New-AzureVMConfig, New-AzureProvisioningConfig, New-Azur... 阅读全文
posted @ 2014-05-07 22:18 EricWen 阅读(374) 评论(0) 推荐(0) 编辑
摘要: Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk-tools/releases Downdload Wix ToolSet from http://wix.codeplex.com/releases/view/115492... 阅读全文
posted @ 2014-05-07 19:30 EricWen 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 当您有两个Storage Account的时候,怎样快速做到从一个账号拷贝到另一个账号呢。当拷贝的文件比较,例如100多G(VHD文件)。 http://code.msdn.microsoft.com/Windows-Azure-VHD-blob-5e40d0d4/sourcecode?fileId=67604&pathId=443692726 提供C#代码实现,实现原理是先下载,再上传。 如果使... 阅读全文
posted @ 2014-03-07 17:06 EricWen 阅读(784) 评论(2) 推荐(0) 编辑
摘要: Windows Azure提供了几个部署web应用程序的方法,比如Windows Azure网站、云服务和虚拟机。你可能无法确定哪一个最适合您的需要,或者你可能清楚的概念,比如IaaS vs PaaS。本文将帮助您了解您的选择,并帮助你做出正确的选择为您的web场景。尽管所有三个选项允许您运行在Windows Azure高度可伸缩的web应用程序,有差异,可以帮助指导你的决定。 阅读全文
posted @ 2014-03-05 23:50 EricWen 阅读(2177) 评论(0) 推荐(1) 编辑
摘要: 当我们使用VS发布一个Cloud Service或者在Portal上上传发布包后,就能启动和运行一个云服务,可以保护WebRole,WorkerRole的一个或者多个实例。 Windows Azure是怎么实现这一个过程的呢?要了解这个过程,需要首先了解Windows Azure 的云服务角色架构。 总的来说可以用下面一张图来概括,非常经典的一张图,很多问题都可以在这张图上得到答案。Windo... 阅读全文
posted @ 2014-03-04 18:22 EricWen 阅读(4111) 评论(0) 推荐(1) 编辑
摘要: 可以通过运行附件中PowerShell脚本文件RemoveVMandDisk.ps1批量删除VM和Disk,详细代码如下:param($serviceName)echo "Starting remove all vms of service $serviceName"#$serviceName="erictest"echo "Get all DiskNames of all VMs of service $serviceName."$azureDiskNames= Get-AzureDisk| where{$_.AttachedTo 阅读全文
posted @ 2014-02-24 14:24 EricWen 阅读(1508) 评论(0) 推荐(0) 编辑
摘要: Since I need to deploy, start, stop and remove many virtual machines created from a common image I created (you know, Tabular is not part of the standard images provided by Microsoft…), I wanted to mi... 阅读全文
posted @ 2014-02-24 13:54 EricWen 阅读(477) 评论(0) 推荐(0) 编辑