怎样使用 OneAPM 监控微软 Azure Cloud Service ?
不知不觉微软 Azure 已经进入中国市场近两年的时间。那么 Azure 平台的性能到底怎样?资源载入的延迟、虚拟机的稳定性等问题是否切实满足客户期许。这些都是大家对微软 Azure 这个国外的云服务使者非常关注的问题。
市场对 IaaS 云服务商的对照评測报告数不胜数,非常难说谁家的评測报告准确可靠。
况且国内公网网络稳定情况与国外存在一定的差距。在这样一个相对不稳定的环境下。公有云服务的 SLA 对于客户的终于使用体验非常难全然保证。怎样可以帮助客户及时了解自己用户的真实体验。採用有效的工具实时监控才是必由之路。
通过这篇培训文章,将教会大家怎样在 Azure 上高速搭建一个博客,并使用国内性能监控的领军厂商 OneAPM 的产品,监測 Azure 云服务端到端的性能。
本文为了让大家可以高速上手,我们选择微软的 WINSR2012R2 系统和非常流行、性能强大的 Node.js 技术栈。整个过程基本是 Windows 环境的一键安装。另外採用 WINSR2012R2 是由于系统集成的 IIS 天生就实现了 NTLM 认证,server端不用写不论什么代码,这对于中小站点的后台权限管理提供了非常多便利。
我们使用 Node.js 的 Ghost 框架高速搭建博客站点,採用 OneAPM 的 Node.js 探针来监控这个站点前后端的全部服务。
以下我们開始吧:
1.部署 Azure Cloud Service
请參考关于怎样创建和部署云服务。唯一须要注意的是内部 IIS 设置完毕后。不要忘记加入 Web 服务终结点。

2.搭建 Ghost 博客
nodejs 官网下载64位 Windows 的 MSI 安装包

然后基本都是下一步

- 下载 Ghost 博客系统
推荐下载国内打包的完整版 Ghost 压缩包 。下载后直接按步骤安装。
- 打开 IIS 管理器
从 Web 平台安装程序安装两个模块

Application Request Route 实现请求路由

URLRewrite 实现重写

- 新建反向代理规则
选择 URLRewrite 模块

加入新的规则,类型是 反向代理

进站规则填 Ghost port

- 从命令行启动 Ghost 博客系统

一个 Azure + Ghost 框架的博客站点就部署成功了,然后打开浏览器就行直接訪问 Azure 分配的域名了…
http://msoapm01.chinacloudapp.cn

3.部署 OneAPM 监控服务
博客搭建成功,好的開始是成功的一半!查看一下微软 Azure 后台的控制台:

仅仅有 CPU、内存 等基本指标,是不是简陋了点。OK,我们继续伟大的旅程。
- 安装 Node.js 探针
注冊 OneAPM -> 登录控制台 -> 获取授权编号 -> 下载和安装 -> 配置 -> 重新启动服务

- 登录 Dashboard 监控后台应用
操作基本完毕,稍等片刻,登录 OneAPM 控制台…
An amazing world

前后台服务,网络拓扑。受訪页面,响应时间,关键事务…一应俱全。
先让大家感性的认识下这个易用强大的 SaaS 监控服务。
我们会在兴许的教程中,具体地解说 utm_source=Community&utm_medium=Article&utm_term=Azure&utm_campaign=AugSoftArti&from=matefiauaz">OneAPM
特别感谢 OneAPM 的 Node.js 高级开发project师王龑提供的技术咨询
本文系 utm_source=Common&utm_medium=Articles&utm_campaign=TechnicalArticles&from=matefiseco">OneAPM
OneAPM 是应用性能管理领域的新兴领军企业,能帮助企业用户和开发人员轻松实现:缓慢的程序代码和 SQL 语句的实时抓取。想阅读很多其它技术文章,请訪问 OneAPM 官方博客。
怎样使用 OneAPM 监控微软 Azure Cloud Service ?的更多相关文章
- 如何使用 OneAPM 监控微软 Azure Cloud Service ?
不知不觉微软 Azure 已经进入中国市场近两年的时间.那么 Azure 平台的性能究竟如何?资源加载的延迟.虚拟机的稳定性等问题是否切实满足客户期许.这些都是大家对微软 Azure 这个国外的云服务 ...
- Windows Azure Cloud Service (38) 微软IaaS与PaaS比较
<Windows Azure Platform 系列文章目录> 最近一直想总结Azure IaaS和PaaS的区别与比较,写个博文详细说明一下.建议读者在阅读之前,先熟悉微软PaaS和Ia ...
- Windows Azure Cloud Service (11) PaaS之Web Role, Worker Role(上)
<Windows Azure Platform 系列文章目录> 本文是对Windows Azure Platform (六) Windows Azure应用程序运行环境内容的补充. 我们知 ...
- Windows Azure Cloud Service (42) 使用Azure In-Role Cache缓存(1)Co-located Role
<Windows Azure Platform 系列文章目录> Update 2016-01-12 https://azure.microsoft.com/zh-cn/documentat ...
- Windows Azure Cloud Service (43) 使用Azure In-Role Cache缓存(2)Dedicated Role
<Windows Azure Platform 系列文章目录> Update 2016-01-12 https://azure.microsoft.com/zh-cn/documentat ...
- [SDK2.2]Windows Azure Cloud Service (35) 使用VS2013发布Azure Cloud Service
<Windows Azure Platform 系列文章目录> 好久没有更新BLOG了,今天我们继续Windows Azure相关的内容. 笔者最近把Visual Studio升级到了20 ...
- Windows Azure Cloud Service (36) 在Azure Cloud Service配置SSL证书
<Windows Azure Platform 系列文章目录> 在某些时候,我们需要在Azure PaaS Cloud Service配置HTTPS连接.本章将介绍如何在本地创建证书,然后 ...
- Windows Azure Cloud Service (39) 如何将现有Web应用迁移到Azure PaaS平台
<Windows Azure Platform 系列文章目录> 本文将简单介绍,如何将企业内现有的ASP.NET应用程序迁移到Azure PaaS平台. 因为在迁移过程中,可能需要对现有的 ...
- Windows Azure Cloud Service (44) 将Cloud Service加入Virtual Network Subnet,并固定Virtual IP Address(VIP)
<Windows Azure Platform 系列文章目录> 在之前的文章中,笔者已经详细介绍了如何将Virtual Machine加入Virtual Network,并且绑定固定的Pr ...
随机推荐
- perl模块
查看perl模块安装目录:find `perl -e ‘print “@INC”‘` -name ‘*.pm’ -print 为什么要写或要模块呢?简言之:代码重用,更多见于写一组工具集,有很多地方是 ...
- impala jdbc4的group by语句的bug,加上limit没错
这里用的ImpalaJDBC4.jar SELECT field1 alias1 FROM table1 where field1 ='xxxx' group by alias1 这句话impala会 ...
- shu_1171 十->二进制转换(输入输出控制)
cid=1079&pid=19">http://202.121.199.212/JudgeOnline/problem.php?cid=1079&pid=19 分析:主 ...
- js阻止默认事件与js阻止事件冒泡
e.stopPropagation(); //阻止事件冒泡 功能:停止事件冒泡 function stopBubble(e) { // 如果提供了事件对象,则这是一个非IE浏览器 if ( e &am ...
- Gym - 100625F Count Ways 快速幂+容斥原理
题意:n*m的格子,中间有若干点不能走,问从左上角到右下角有多少种走法. 思路:CountWay(i,j) 表示从 i 点到 j 点的种数.然后用容斥原理加加减减解决 #pragma comment( ...
- JWT Authentication Tutorial: An example using Spring Boot--转
原文地址:http://www.svlada.com/jwt-token-authentication-with-spring-boot/ Table of contents: Introductio ...
- XML之序列化C#实体类,DataTable,List
1. static void Main(string[] args) { #region 实体类 Request patientIn = new Request(); patientIn.System ...
- AIX 压缩与归档
.tar.Z 格式 压缩: compress filename.tar 解压: zcat filename.tar.Z tar -xvf - .tar.gz 格式 压缩:t ...
- poj2486--Apple Tree(树状dp)
Apple Tree Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7789 Accepted: 2606 Descri ...
- leetcode: Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the long ...