Azure Lei Zhang的博客

weibo: LeiZhang的微博/QQ: 185165016/QQ群:319036205/邮箱:leizhang1984@outlook.com/TeL:139-161-22926

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2024年3月18日

摘要: 《Windows Azure Platform 系列文章目录》 我们在使用Azure Service Principle,通过应用程序开发API方式部署或修改Azure资源的时候,默认的Client Secret过期时间为2年。 很多客户希望Client Secret过期时间大于2年。 我们可以通过 阅读全文
posted @ 2024-03-18 17:27 Lei Zhang的博客 阅读(62) 评论(0) 推荐(0) 编辑

2024年3月15日

摘要: 《Windows Azure Platform 系列文章目录》 1.之前接触一些客户,使用Prometheus Cloud Watch Exporter,把AWS监控指标,与Prometheus整合 https://github.com/prometheus/cloudwatch_exporter 阅读全文
posted @ 2024-03-15 17:47 Lei Zhang的博客 阅读(78) 评论(0) 推荐(0) 编辑

2023年12月25日

摘要: 《Windows Azure Platform 系列文章目录》 本文介绍如何使用Azure Linux设置unbound本地转发和转发域。 1.我们可以通过下面的命令,安装unbound yum install unbound -y 2.启动unbound systemctl start unbou 阅读全文
posted @ 2023-12-25 15:21 Lei Zhang的博客 阅读(74) 评论(0) 推荐(0) 编辑

2023年10月21日

摘要: 《Windows Azure Platform 系列文章目录》 在默认情况下,Azure Linux VM 会安装waagent,而waagent会依赖于Network Manager服务。 当我们修改了resolve.conf的时候,如果重启Network Manager或者重启了Linux VM 阅读全文
posted @ 2023-10-21 10:48 Lei Zhang的博客 阅读(186) 评论(0) 推荐(1) 编辑

2023年8月23日

摘要: 有如下的表格: ModifyDate| ModifiedBy | TaskID |2018-02-05| Bob | 55444 |2018-02-06| Lily | 55444 |2018-02-08| Sarah | 55444 | 对于每一行,我需要计算每个TaskID在Modifydate 阅读全文
posted @ 2023-08-23 21:39 Lei Zhang的博客 阅读(84) 评论(0) 推荐(1) 编辑

2023年7月27日

摘要: 《Windows Azure Platform 系列文章目录》 在Azure ER专线启动Fast Path,具体的区别如下: 禁用Fast Path 启用Fast Path Azure VM访问本地VM流量,流量不经过ER网关 Azure VM访问本地VM流量,流量不经过ER网关 本地VM流量访问 阅读全文
posted @ 2023-07-27 13:35 Lei Zhang的博客 阅读(27) 评论(0) 推荐(0) 编辑

2023年7月20日

摘要: 《Windows Azure Platform 系列文章目录》 本文主要介绍Azure Linux VM时钟同步问题 在CentOS 8.x上,默认采用chrony配置为使用PTP源同步。Chrony所选时间来源是可以配置的,你可以选择让他从Azure物理机进行时间同步(也就是通过PTP时钟)。 具 阅读全文
posted @ 2023-07-20 13:39 Lei Zhang的博客 阅读(28) 评论(0) 推荐(0) 编辑

2023年5月25日

摘要: 《Windows Azure Platform 系列文章目录》 #先格式化磁盘 sudo su - fdisk -l mkfs.xfs /dev/sdb blkid vi /etc/fstab UUID=4329a75b-ac40-4145-b0d5-1007e298b7ef /datadisk x 阅读全文
posted @ 2023-05-25 14:45 Lei Zhang的博客 阅读(20) 评论(0) 推荐(0) 编辑

2023年5月23日

摘要: 《Windows Azure Platform 系列文章目录》 本文介绍的是,资源在同一个tenant下,跨订阅迁移。但是不跨Azure数据中心。 环境搭建 Azure VNet 1和VNet 2,并打通VNet Peering 仅移动Azure VNet 1和相关资源。VNet 2还保留在老的订阅 阅读全文
posted @ 2023-05-23 21:59 Lei Zhang的博客 阅读(21) 评论(0) 推荐(0) 编辑

2023年1月18日

摘要: 《Windows Azure Platform 系列文章目录》 用户这里有个新的需求,自定义Role,只能创建MySQL Flexible Server资源和Private DNS Zone,不能创建资源资源。 可以使用下面的Custom Role { "properties": { "roleNa 阅读全文
posted @ 2023-01-18 12:03 Lei Zhang的博客 阅读(25) 评论(0) 推荐(0) 编辑