星尘是什么VPS
Scaleway家的(原来的Online.net),如果不要IPv4,一台机器(1C1G10G SSD)可以做到0.5欧元/月以内,所以性价比还是很高的。
Scaleway的API
Github: scaleway/scaleway-cli
在Release下,下载你日常用的平台的二进制文件。
比如我使用Linux,下载好之后运行:
./scw init
会需要你使用网站上生成的API Key和Secret以及Organization ID进行初始化,过程中会询问你是否允许收集信息以及是否将当前机器的SSH key添加到信任列表,可以按需要添加。
调用API创建机器
直接提供命令:
./scw instance server create type=STARDUST1-S zone=nl-ams-1 image=debian_bookworm root-volume=l:10G name=scw-stardust-ams ip=none ipv6=true project-id=xxxx # 荷兰-Amsterdam-1区
./scw instance server create type=STARDUST1-S zone=fr-par-1 image=debian_bookworm root-volume=l:10G name=scw-stardust-par ip=none ipv6=true project-id=xxxx # 法国-Paris-1区
./scw instance server create type=STARDUST1-S zone=pl-waw-2 image=debian_bookworm root-volume=l:10G name=scw-stardust-par ip=none ipv6=true project-id=xxxx # 波兰-华沙-2区,未验证
上述命令创建的即IPv6 Only的机器。