会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hengzi
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
17
下一页
2024年8月17日
记录安装过程
摘要: apt install build-essential wget https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_
阅读全文
posted @ 2024-08-17 19:18 衡子
阅读(77)
评论(0)
推荐(0)
2023年11月7日
Azure CLI创建管理员用户
摘要: az ad user create --display-name ad --password xxxx --user-principal-name ad@abc.ink az role assignment create --assignee ad@abc.ink --role Owner --sc
阅读全文
posted @ 2023-11-07 14:19 衡子
阅读(38)
评论(0)
推荐(0)
2023年7月12日
创建VMSS中的instance
摘要: az vm create -n pdb-01 -g vmss -l eastus --image Ubuntu2204 --platform-fault-domain 1 --size Standard_B1s --ssh-key-values ~/.ssh/id_rsa.pub --vmss te
阅读全文
posted @ 2023-07-12 22:47 衡子
阅读(25)
评论(0)
推荐(0)
2023年5月30日
创建不带公网IP的VM
摘要: az vm create -n vm01 -g rg01 --public-ip-address ""
阅读全文
posted @ 2023-05-30 10:21 衡子
阅读(27)
评论(0)
推荐(0)
2022年8月16日
Azure LSv3系列VM 自动挂载NVMe本地磁盘
摘要: Azure 的Lsv3 系列虚拟机具有高吞吐量、低延迟、直接映射的本地 NVMe 存储。 这些 VM 采用第三代 Intel® Xeon® Platinum 8370C (Ice Lake) 处理器。Lsv3 系列 VM 的规格从 8 到 80 个 vCPU 不等。 每个 vCPU 分配了 8 Gi
阅读全文
posted @ 2022-08-16 20:03 衡子
阅读(349)
评论(0)
推荐(0)
2022年7月12日
Azure AD访问Azure Storage
摘要: 通过Azure AD的service Principal申请access token,可以不使用Azure的Storage Account Key来访问Azure的存储资源。 具体方法如下: name="whuser01" sa="hwst" sub_id=$(az account list --q
阅读全文
posted @ 2022-07-12 20:19 衡子
阅读(102)
评论(0)
推荐(0)
2022年5月27日
Azure Linux VM使用Managed Identity获取Key-vault的Secret
摘要: 在程序开发中,如何管理密码或Key,是一个开发人员都会碰到的问题。Azure的Managed Identity为基于Azure的开发提供了一种安全方便的方法。 Azure的Managed Identity为应用程序提供一个标识,可以在连接到支持 Azure Active Directory (Azu
阅读全文
posted @ 2022-05-27 23:48 衡子
阅读(429)
评论(0)
推荐(0)
2022年4月1日
Azure AD SSO with Google Cloud Identity
摘要: Microsoft AAD和Google Cloud Identity 都是企业常用的目录服务,之前探讨过AD作为Identity provider采用ADFS实现SSO的配置。这里介绍Google Cloud Identity 作为Identity provider,ADD通过SAML实现SSO的
阅读全文
posted @ 2022-04-01 23:06 衡子
阅读(340)
评论(0)
推荐(0)
2022年3月1日
通过VM SWAP OS DISK升级VM
摘要: Azure的VM提供交换OS Disk的方式,对VM进行升级、测试等。这里介绍如何通过Azure CLI实现此功能。 一 环境准备 1 创建两台VM 两台VM如下,分别安装Apache2和Nginx VM01: Ubuntu21.01 + Apache2 VM02: Ubuntu21.01 + Ng
阅读全文
posted @ 2022-03-01 17:25 衡子
阅读(86)
评论(0)
推荐(0)
2022年2月17日
通过API获取Azure KeyVault Securet
摘要: 在之前的文章中介绍了如何获取Azure的Access Token。本文将介绍,如何用获取的Access Token访问Azure的KeyVault的Secret。 一 创建Service Principal 通过Azure CLI创建全局Reader的用户,其中secret是创建SP时反显的PASS
阅读全文
posted @ 2022-02-17 22:25 衡子
阅读(468)
评论(0)
推荐(0)
1
2
3
4
5
···
17
下一页
公告