亲测,用 api
1
bin456789 2017-07-21 10:32:19 +08:00
/v1/plans/list
The sandbox ($2.50) plan is not available in the API. API 不提供 2.5 的啊 |
2
neosfung OP @bin456789 哦,创建的时候,VPSPLANID 填 200 就行了。https://api.vultr.com/v1/plans/list 中列出的最低的是 201,实测 200 (也就是 2.5 刀的)也可以创建
|
4
bin456789 2017-07-21 10:49:00 +08:00
|
5
xAx 2017-07-21 10:50:34 +08:00
+10086
|
6
Vicer 2017-07-21 10:52:48 +08:00 via Android
|
7
bilok 2017-07-21 10:55:49 +08:00
为什么创建的是 new jersey 的。。
|
8
Vicer 2017-07-21 10:57:10 +08:00 via Android
|
9
bilok 2017-07-21 10:57:42 +08:00
看到了。。
|
10
lany 2017-07-21 10:58:05 +08:00 1
实测成功了 curl -H 'API-Key:EXAMPLE' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=200' --data 'OSID=167'
|
11
xiaodongus 2017-07-21 11:00:11 +08:00
已成功!估计很快就会被发现的。。。
|
12
liuminghao233 2017-07-21 11:01:52 +08:00 via iPhone
感觉要被玩坏了
|
13
To5tE 2017-07-21 11:02:14 +08:00
@xiaodongus 怎么用啊 求教
|
14
pisser 2017-07-21 11:05:33 +08:00
哈哈,居然还有这出。。。
|
15
gam2046 2017-07-21 11:15:37 +08:00
感谢大佬
|
16
laucie 2017-07-21 11:15:49 +08:00
楼主能贴一下你的配置参数吗
|
17
debye 2017-07-21 11:19:17 +08:00
ko,真的可以,虽然我不用
|
18
meanmachine 2017-07-21 11:20:12 +08:00
搞了一台备用
|
19
jadecoder 2017-07-21 11:20:39 +08:00
成功了,蟹蟹~
|
20
zrj766 2017-07-21 11:24:05 +08:00 3
请在任何一台小鸡上装 curl 组件,推荐国外小鸡连通好些,省的国内小鸡出口抽风连不上。
debian/ubuntu:apt-get -y install curl centos:yum -y install curl 执行命令:curl -H 'API-Key:EXAMPLE' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=200' --data 'OSID=167' 请注意以下要点: 1.API-Key:EXAMPLE 请换成自己的 API,在 https://my.vultr.com/settings/#settingsapi 开通,在 Access Control 里允许所有 IPv4 和 IPv6 访问,或者放行自己电脑的本地 IP 2.DCID 代表的是数据中心,目前楼主在找 ID 号,25 是日本 3.OSID 是制定操作系统,下面列一下,其他的地方不用动了 使用官方的 windows 模板收费,不再列表 127|CentOS 6 x64 147|CentOS 6 i386 167|CentOS 7 x64 160|Ubuntu 14.04 x64 161|Ubuntu 14.04 i386 215|Ubuntu 16.04 x64 216|Ubuntu 16.04 i386 241|Ubuntu 17.04 x64 242|Ubuntu 17.04 i386 139|Debian 7 x64 (wheezy) 152|Debian 7 i386 (wheezy) 193|Debian 8 x64 (jessie) 194|Debian 8 i386 (jessie) 244|Debian 9 x64 (stretch) 140|FreeBSD 10 x64 230|FreeBSD 11 x64 234|OpenBSD 6 x64 179|CoreOS Stable 225|Fedora 24 x64 233|Fedora 25 x64 245|Fedora 26 x64 159|Custom 164|Snapshot 180|Backup 186|Application |
21
zrj766 2017-07-21 11:27:56 +08:00
机房 ID 号,loc 的 hobo6019 提供
|
22
zrj766 2017-07-21 11:28:45 +08:00 1
"1": "美国 - 纽约",
"2": "美国 - 芝加哥", "3": "美国 - 达拉斯", "4": "美国 - 西雅图", "5": "美国 - 洛杉矶", "6": "美国 - 亚特兰大", "7": "荷兰 - 阿姆斯特丹" "8": "英国 - 伦敦", "9": "德国 - 法兰克福", "12": "美国 - 硅谷", "19": "澳大利亚 - 悉尼", "24": "法国 - 巴黎", "39": "美国 - 迈阿密", "40": "新加坡 - 新加坡" |
23
laucie 2017-07-21 11:31:22 +08:00
成功了,楼主好人
|
24
EngineInHeart 2017-07-21 11:34:20 +08:00 via Android
感觉 vultr 要被玩坏。。。 。。。
|
26
renyi1986 2017-07-21 11:39:40 +08:00
不要发啊,我有强被迫症啊,手贱要买啊
Server add failed: Please fund your account to get started!% 是不是要先弄支付啊 2.5 是每月吗 |
27
huayixue 2017-07-21 11:40:07 +08:00
curl: (6) Could not resolve host: DCID=25
我的为什么创建不了日本区域 的? |
28
lenovo 2017-07-21 11:41:46 +08:00
多谢!
|
29
tsaohai 2017-07-21 11:42:51 +08:00
发现弄出来的 ping 大概一百出头,很意外。。。
以前都要 200+ 多谢楼主! |
30
etc0 2017-07-21 11:45:25 +08:00
成功了,感谢楼主。
|
31
mpco 2017-07-21 11:47:27 +08:00
干得漂亮
|
32
Quaintjade 2017-07-21 11:47:43 +08:00
用 Win10 的 Bash on Ubuntu on Windows 就能用 curl 了
|
33
lwbjing 2017-07-21 11:48:16 +08:00
paypal 弄不上去,有没有代充值的啊...
眼看着好东西弄不到手,心酸... 另感谢下楼上 dalao 们的操作... |
34
xyk2015 2017-07-21 11:49:51 +08:00
感谢!已创建!
|
35
itsme 2017-07-21 11:50:04 +08:00
不用尝试,已经有 bug 上报了。
|
36
wql 2017-07-21 11:51:04 +08:00 via Android
我宁愿用 NJS 的再反代,存储便宜毕竟。
|
38
Itanium 2017-07-21 11:55:01 +08:00
这算 BUG 吗,API 是合法的吧
|
39
Totoria 2017-07-21 11:55:11 +08:00
现在哪个首充多少送多少的活动是不是没有了?
|
40
lovestudykid 2017-07-21 12:01:33 +08:00
不行了啊...现在创建出来是 512 了,这反映还是蛮快的...
|
41
6IbA2bj5ip3tK49j 2017-07-21 12:05:14 +08:00
原来还想过用 API 去监控上架情况,Vultr 表示 API 不支持 2.5 刀,就放弃了。
没想到是支持的。 |
42
6IbA2bj5ip3tK49j 2017-07-21 12:07:00 +08:00
@lovestudykid 512 就是 2.5 刀啊。
|
43
lovestudykid 2017-07-21 12:08:15 +08:00
@xgfan 汗,今天忘了吃脑残粉了
|
44
imNull 2017-07-21 12:14:51 +08:00 via Android
已经不行了
|
45
owlsec 2017-07-21 12:16:44 +08:00
curl -H 'API-Key:EXAMPLE' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=200' --data 'OSID=167'
|
46
owlsec 2017-07-21 12:17:44 +08:00
DCID =25 是日本 。osid 系统是 ubuntu 16.04 x64
|
47
owlsec 2017-07-21 12:18:25 +08:00
{"6":{"DCID":"6","name":"Atlanta","country":"US","continent":"North America","state":"GA","ddos_protection":false,"block_storage":false,"regioncode":"ATL"},"2":{"DCID":"2","name":"Chicago","country":"US","continent":"North America","state":"IL","ddos_protection":true,"block_storage":false,"regioncode":"ORD"},"3":{"DCID":"3","name":"Dallas","country":"US","continent":"North America","state":"TX","ddos_protection":true,"block_storage":false,"regioncode":"DFW"},"5":{"DCID":"5","name":"Los Angeles","country":"US","continent":"North America","state":"CA","ddos_protection":true,"block_storage":false,"regioncode":"LAX"},"39":{"DCID":"39","name":"Miami","country":"US","continent":"North America","state":"FL","ddos_protection":true,"block_storage":false,"regioncode":"MIA"},"1":{"DCID":"1","name":"New Jersey","country":"US","continent":"North America","state":"NJ","ddos_protection":true,"block_storage":true,"regioncode":"EWR"},"4":{"DCID":"4","name":"Seattle","country":"US","continent":"North America","state":"WA","ddos_protection":true,"block_storage":false,"regioncode":"SEA"},"12":{"DCID":"12","name":"Silicon Valley","country":"US","continent":"North America","state":"CA","ddos_protection":true,"block_storage":false,"regioncode":"SJC"},"40":{"DCID":"40","name":"Singapore","country":"SG","continent":"Asia","state":"","ddos_protection":false,"block_storage":false,"regioncode":"SGP"},"7":{"DCID":"7","name":"Amsterdam","country":"NL","continent":"Europe","state":"","ddos_protection":true,"block_storage":false,"regioncode":"AMS"},"25":{"DCID":"25","name":"Tokyo","country":"JP","continent":"Asia","state":"","ddos_protection":false,"block_storage":false,"regioncode":"NRT"},"8":{"DCID":"8","name":"London","country":"GB","continent":"Europe","state":"","ddos_protection":true,"block_storage":false,"regioncode":"LHR"},"24":{"DCID":"24","name":"Paris","country":"FR","continent":"Europe","state":"","ddos_protection":true,"block_storage":false,"regioncode":"CDG"},"9":{"DCID":"9","name":"Frankfurt","country":"DE","continent":"Europe","state":"","ddos_protection":true,"block_storage":false,"regioncode":"FRA"},"19":{"DCID":"19","name":"Sydney","country":"AU","continent":"Australia","state":"","ddos_protection":false,"block_storage":false,"regioncode":"SYD"}}
{"127":{"OSID":127,"name":"CentOS 6 x64","arch":"x64","family":"centos","windows":false},"147":{"OSID":147,"name":"CentOS 6 i386","arch":"i386","family":"centos","windows":false},"167":{"OSID":167,"name":"CentOS 7 x64","arch":"x64","family":"centos","windows":false},"160":{"OSID":160,"name":"Ubuntu 14.04 x64","arch":"x64","family":"ubuntu","windows":false},"161":{"OSID":161,"name":"Ubuntu 14.04 i386","arch":"i386","family":"ubuntu","windows":false},"215":{"OSID":215,"name":"Ubuntu 16.04 x64","arch":"x64","family":"ubuntu","windows":false},"216":{"OSID":216,"name":"Ubuntu 16.04 i386","arch":"i386","family":"ubuntu","windows":false},"241":{"OSID":241,"name":"Ubuntu 17.04 x64","arch":"x64","family":"ubuntu","windows":false},"242":{"OSID":242,"name":"Ubuntu 17.04 i386","arch":"i386","family":"ubuntu","windows":false},"139":{"OSID":139,"name":"Debian 7 x64 (wheezy)","arch":"x64","family":"debian","windows":false},"152":{"OSID":152,"name":"Debian 7 i386 (wheezy)","arch":"i386","family":"debian","windows":false},"193":{"OSID":193,"name":"Debian 8 x64 (jessie)","arch":"x64","family":"debian","windows":false},"194":{"OSID":194,"name":"Debian 8 i386 (jessie)","arch":"i386","family":"debian","windows":false},"244":{"OSID":244,"name":"Debian 9 x64 (stretch)","arch":"x64","family":"debian","windows":false},"140":{"OSID":140,"name":"FreeBSD 10 x64","arch":"x64","family":"freebsd","windows":false},"230":{"OSID":230,"name":"FreeBSD 11 x64","arch":"x64","family":"freebsd","windows":false},"234":{"OSID":234,"name":"OpenBSD 6 x64","arch":"x64","family":"openbsd","windows":false},"179":{"OSID":179,"name":"CoreOS Stable","arch":"x64","family":"coreos","windows":false},"225":{"OSID":225,"name":"Fedora 24 x64","arch":"x64","family":"fedora","windows":false},"233":{"OSID":233,"name":"Fedora 25 x64","arch":"x64","family":"fedora","windows":false},"245":{"OSID":245,"name":"Fedora 26 x64","arch":"x64","family":"fedora","windows":false},"124":{"OSID":124,"name":"Windows 2012 R2 x64","arch":"x64","family":"windows","windows":true},"240":{"OSID":240,"name":"Windows 2016 x64","arch":"x64","family":"windows","windows":true},"159":{"OSID":159,"name":"Custom","arch":"x64","family":"iso","windows":false},"164":{"OSID":164,"name":"Snapshot","arch":"x64","family":"snapshot","windows":false},"180":{"OSID":180,"name":"Backup","arch":"x64","family":"backup","windows":false},"186":{"OSID":186,"name":"Application","arch":"x64","family":"application","windows":false}} |
48
zjw0617 2017-07-21 12:27:49 +08:00
已和谐 233333
|
50
darkradx 2017-07-21 12:33:18 +08:00 via Android
和谐太快了
|
51
powtop 2017-07-21 12:35:26 +08:00
是不是有奸细
|
52
yangxuan8282 2017-07-21 12:37:19 +08:00
vultr 我 2.5 刀 的实例上跑了 leanote, minio, ss, h5ai, fail2ban,还塞了个 drone ci,之前还有 owncloud,用的少就先停了,全部都是用 docker 安的,开了 bbr,电信连接延迟 160 左右,丢包也不多,当然线路抽风的时候就没那么舒服了,不过总体挺超值的
|
53
cat9life 2017-07-21 12:38:50 +08:00
这么快就河蟹了..
|
54
pwcong 2017-07-21 12:39:47 +08:00
依然可用(づ ̄ 3  ̄)づ
|
55
Shy07 2017-07-21 12:40:33 +08:00
测试可用,不说了,迁移去了
|
56
zywsss 2017-07-21 12:43:53 +08:00
Method requires authentication, no API key present
|
57
valkyrja 2017-07-21 12:44:33 +08:00
目前可用,感谢楼主~
|
58
Cabana 2017-07-21 12:45:32 +08:00
666 实测成功,已点感谢
|
59
Totoria 2017-07-21 12:46:49 +08:00
我输进去不返回任何内容 也没建立服务器。。什么情况
|
60
mchl 2017-07-21 12:47:38 +08:00
实测仍然可以,谢谢楼主
|
61
cosmarthon 2017-07-21 12:50:04 +08:00
api 怎么操作- -
萌新不懂啊 vultr 上开通 api key 了 然后怎么搞 |
63
Totoria 2017-07-21 12:52:52 +08:00
仔细一看是提示 Invalid OSID
我试了很多种 os 没有一种可用的 |
64
xuc 2017-07-21 12:55:21 +08:00
开出来了,但 ping 比洛杉矶还高啊
|
65
kosilence 2017-07-21 12:55:30 +08:00
我勒个去,这算不算漏洞?成功了竟然
|
66
xuc 2017-07-21 12:57:07 +08:00
福州电信
|
67
cosmarthon 2017-07-21 12:59:50 +08:00
@zrj766 感谢
|
68
weeka 2017-07-21 13:05:19 +08:00 via Android
成功创建,感谢
|
69
standin000 2017-07-21 13:05:45 +08:00
@wql 请教下 NJS 是什么
|
70
awthink 2017-07-21 13:06:04 +08:00
为啥你们都一窝蜂往上涌,看得我也想去注册一个账号。。。
|
71
realdannyw 2017-07-21 13:06:06 +08:00
亲测成功,感谢!
|
72
hzwjz 2017-07-21 13:08:27 +08:00
成功创建,感谢。
话说有朋友是只能买两个 2.5 刀的么? |
77
bg4czu 2017-07-21 13:17:14 +08:00 via Android
开了台,再去开一台,哈哈
|
78
gulangyu 2017-07-21 13:18:44 +08:00
This plan is not available via the API
|
79
Duluku 2017-07-21 13:20:43 +08:00
This plan is not available via the API 搭车同问
|
80
sfwn 2017-07-21 13:21:12 +08:00
已经不行了
|
81
firescorpio 2017-07-21 13:26:03 +08:00
已翻车!
|
82
Duluku 2017-07-21 13:26:16 +08:00
冲了钱,然后发现好像翻车了?
|
83
luyan 2017-07-21 13:26:43 +08:00 via iPhone
付不了款,谁能帮忙开一台?
|
84
ParadiseDS 2017-07-21 13:27:11 +08:00
确认翻车_(:з」∠)_
|
85
wuxc 2017-07-21 13:28:33 +08:00
已经不行了 现在回复的出错消息变成了
Server add failed: This plan is currently unavailable in this region. Please choose a different plan. |
86
sfwn 2017-07-21 13:29:17 +08:00
1 还可以创建,25 日本已经不行了
|
87
luckywulin 2017-07-21 13:29:25 +08:00
多谢
|
89
sfwn 2017-07-21 13:30:53 +08:00
美国节点延迟 500 爆炸
|
94
graysongs 2017-07-21 14:54:55 +08:00
亲测可用,我和朋友都有啦,谢谢楼楼的漏洞发布!٩(๑>◡<๑)۶
|
95
jazure 2017-07-21 16:58:54 +08:00
有些地区不行,地区 1 可以
|
97
wql 2017-07-21 17:23:53 +08:00 via Android
@standin000 就是 Vultr 所说的纽约节点,实际在新泽西州靠近纽约的地方,我一般以新泽西的缩略语称之。
|
98
dommyet 2017-07-21 21:11:23 +08:00
不行了 被河蟹了
|
99
dreamcountry 2017-07-22 10:41:09 +08:00
给新人留些后路吧,都玩坏了没的玩了。
顺便推下 vultr 新用户优惠 https://v.youhuima.cc |
100
chanssl 2017-07-24 12:21:13 +08:00
刚才试了一下新建了一台新泽西的 VPS,然后延迟太高想删除,删错了,把原有的日本 VPS 删了,这可以说是很鸡儿惨了
|