前言

今天拿学生邮箱认证了Azure学生教育许可,看看有哪些地区可以开服务器,结果看了好几个地区都没法开Standard_B1s,明明老号是可以的。

问了客服,客服说要用azure-cli看:

1
2
3
4
5
az vm list-skus --resource-type virtualMachines --all --query "[?name=='Standard_B1s'].{
Name: name,
Locations: locations,
Restrictions: restrictions
}" --output json

测试了三个有资格免费试用服务的VM型号:Standard_B1sStandard_B2ats_v2Standard_B2pts_v2。第一个是x64arm都可以,第二个是x64,第三个是arm

可用性

展开

可开机地区

地区 Standard_B1s Standard_B2ats_v2 Standard_B2pts_v2
australiaeast
australiasoutheast
AustriaEast
BelgiumCentral
CanadaCentral
CanadaEast
CentralIndia
centralus
CentralUSEUAP
ChileCentral
DenmarkEast
eastasia
EastUS2EUAP
EastUS3
EastUSSLV
EastUSSTG
IndiaSouthCentral
IndonesiaCentral
IsraelCentral
IsraelNorthwest
japaneast
japanwest
KoreaCentral
KoreaSouth
MalaysiaWest
MexicoCentral
NewZealandNorth
northcentralus
NortheastUS5
northeurope
NorwayEast
PolandCentral
SouthAfricaNorth
southcentralus
SouthCentralUS2
SouthCentralUSSTG
southeastasia
SoutheastUS
SoutheastUS3
SoutheastUS5
SouthIndia
SouthwestUS
SpainCentral
SwedenCentral
SwitzerlandNorth
TaiwanNorth
UAENorth
ukwest
westcentralus
westus
westus2

不可开机地区

地区
AustraliaCentral
AustraliaCentral2
brazilsouth
BrazilSoutheast
eastus
eastus2
FranceCentral
FranceSouth
GermanyNorth
GermanyWestCentral
ItalyNorth
JioIndiaCentral
JioIndiaWest
MalaysiaSouth
NorwayWest
QatarCentral
SouthAfricaWest
SwedenSouth
SwitzerlandWest
TaiwanNorthwest
UAECentral
uksouth
westeurope
WestIndia
WestUS3

实测

根本开不出来。

1
2
3
4
5
6
7
Resource 'CA' was disallowed by Azure: 
This policy maintains a set of best available regions
where your subscription can deploy resources.
The objective of this policy is to ensure
that your subscription has full access to Azure services with optimal performance.
Should you need additional or different regions, contact support..
(Code: RequestDisallowedByAzure,Target: CA)

搜索一通,新号的限制更加严格,要用下面的命令查看允许的区域:

1
az policy assignment list --query "[?policyDefinitionId=='/providers/Microsoft.Authorization/policyDefinitions/b86dabb9-b578-4d7b-b842-3b45e95769a1']"

我的是:

1
2
3
4
5
6
7
8
9
"listOfAllowedLocations": {
"value": [
"centralindia",
"indonesiacentral",
"malaysiawest",
"japaneast",
"koreacentral"
]
}

没给美西,但是有日区的鸡,还行吧。

测试

开了个韩国的,实测三网走日本绕道。那我为啥不直接开日机?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
上海电信 - ICMP v4 - traceroute to 202.96.209.133, 30 hops max, 52 byte packets
*
38.62 ms AS8075 * 韩国, 首尔特别市, 首尔, microsoft.com
32.89 ms AS8075 * 韩国, 首尔特别市, 首尔, microsoft.com
30.78 ms AS8075 * 韩国, 首尔, microsoft.com
30.52 ms AS8075 * 日本, 大阪府, 大阪, microsoft.com
41.44 ms AS8075 * 日本, 东京都, 东京, microsoft.com
28.23 ms AS8075 [MSFT] 日本, 东京都, 东京, microsoft.com
54.36 ms AS8075 [MSFT] 日本, 东京都, 东京, microsoft.com
28.95 ms AS4134 [CHINANET-FJ] 日本, 东京都, 东京, chinatelecom.com.cn 电信
96.49 ms AS4134 [CHINANET-BB] 中国, 香港, chinatelecom.com.cn
76.37 ms AS4134 [CHINANET-BB] 中国, 上海, chinatelecom.com.cn 电信
95.97 ms AS4134 [CHINANET-BB] 中国, 上海, chinatelecom.com.cn
78.54 ms AS4812 [CHINANET-SH] 中国, 上海, chinatelecom.cn 电信
99.53 ms AS4812 [CHINANET-SH] 中国, 上海, chinatelecom.cn
76.22 ms AS4812 [CHINANET-SH] 中国, 上海, chinatelecom.cn 电信
上海联通 - ICMP v4 - traceroute to 210.22.97.1, 30 hops max, 52 byte packets
*
28.84 ms AS8075 * 日本, 东京都, 东京, microsoft.com
29.02 ms AS8075 [MSFT] 日本, 东京都, 东京, microsoft.com
29.05 ms AS4837 [CU169-BACKBONE] 日本, 东京都, 东京, chinaunicom.cn 联通
58.10 ms AS4837 [CU169-BACKBONE] 中国, 上海, chinaunicom.cn 联通
57.86 ms AS4837 [CU169-BACKBONE] 中国, 上海, chinaunicom.cn 联通
*
64.27 ms AS17621 [APNIC-AP] 中国, 上海, chinaunicom.cn 联通
63.42 ms AS17621 [CNCNET-SH] 中国, 上海, chinaunicom.cn 联通
上海移动 - ICMP v4 - traceroute to 211.136.112.200, 30 hops max, 52 byte packets
*
35.64 ms AS8075 * 日本, 东京都, 东京, microsoft.com
28.63 ms AS8075 [MSFT] 日本, 东京都, 东京, microsoft.com
29.34 ms AS58453 [CMI-INT] 日本, 东京都, 东京, cmi.chinamobile.com 移动
29.77 ms AS58453 [CMI-INT] 日本, 东京都, 东京, cmi.chinamobile.com 移动
95.95 ms AS58453 [CMI-INT] 中国, 上海, cmi.chinamobile.com 移动
96.09 ms AS9808 [CMNET] 中国, 上海, chinamobileltd.com 移动
98.95 ms AS9808 [CMNET] 中国, 上海, chinamobileltd.com 移动
103.42 ms AS9808 [CMNET] 中国, 上海, chinamobileltd.com 移动