[不限流量] 甲骨文新加坡终于开到ARM了 只看楼主

这个脚本跑了9000多次,平均每次3分钟,运行了快20天,加上之前有几次手动中断了的,差不多24天才抢到一台2x12的

  1. [2021-12-01 04:50:37]start the [9293] time try
  2. {
  3.   "data": {
  4.     "agent-config": {
  5.       "are-all-plugins-disabled": false,
  6.       "is-management-disabled": false,
  7.       "is-monitoring-disabled": false,
  8.       "plugins-config": null
  9.     },
  10.     "availability-config": {
  11.       "is-live-migration-preferred": null,
  12.       "recovery-action": "RESTORE_INSTANCE"
  13.     },
  14.     "availability-domain": "pplh:AP-SINGAPORE-1-AD-1",
  15.     "capacity-reservation-id": null,


再附上简单的脚本,官方API,没有被封的风险
  1. for i in `seq 1 10000`; do
  2. echo "[`date '+%Y-%m-%d %H:%M:%S'`]start the [$i] time try"
  3. oci compute instance launch \
  4. --availability-domain pplh:AP-SINGAPORE-1-AD-1 \
  5. --display-name instance-20211109-1023 \
  6. --image-id ocid1.image.oc1.ap-singapore-1.xxxxxx \
  7. --subnet-id ocid1.subnet.oc1.ap-singapore-1.xxxxxx \
  8. --shape VM.Standard.A1.Flex \
  9. --assign-public-ip true \
  10. --metadata '{"ssh_authorized_keys": "xxxxxx"}' \
  11. --shape-config '{"ocpus": 2, "memoryInGbs": 12}' \
  12. --compartment-id ocid1.tenancy.oc1..xxxxxx

  13.   if [ "$?" -ne 0 ]; then
  14.     sleep 60s
  15.   else
  16.     echo "created successfully, exit"
  17.     break
  18.   fi

  19. done
  • 推荐 rajame
  • 2021-12-1 09:56:56
引用: yanqing001 发表于 2021-12-1 09:51
楼主说说这脚本咋用!


这儿比较详细http://vpsqk.com/post/1872.html
  恭喜恭喜                                                                                                                                                              ——来自CC的路由器
  • 3# ORM
  • 2021-12-1 09:21:06
多谢分享,刚发了帖子就看到大佬分享了
  • 4# netcat
  • 2021-12-1 09:22:23
60天还要重开
我想开个日本,一直没开出来
楼主说说这脚本咋用!
仰视大佬
还有三十三天就被删鸡的悄咪咪路过
感谢分享
1234下一页