#解密时刻#利用Vutrl API 开通 2.5$的VPS , 随时可能失效
2017年7月21日13:45:45 更新:
Vutrl之前推出了每月2.5刀的廉价机器,很多被抢购一空。详细>>> Vultr重磅消息,最低配置只需要2.5$一个月
目前Vutrl 2.5美元的机器除了 纽约和迈阿密外,其他机房均不可购买。
不过经常有人卖含2.5刀机器的账号?他们的账号哪来的?
答案来了:利用Vutrl API
消息来源:https://www.v2ex.com/t/376899
注册账号
当然你需要有一个Vutrl账号!
点击链接注册 (貌似不送10刀了)
需要绑信用卡或者Paypal充值5美元。
以下内容可能对你有帮助!
详细步骤
1)账号注册好之后,需要访问 https://my.vultr.com/settings/#settingsapi 激活API功能。
2)激活后,看见自己的API KEY ,点击 【Allow All IPv4】允许所有IPV4访问。
如果你有独立IP的VPS或者电脑,可以直接添加你的IP地址。
3)然后看Vutrl 关于新建Server的说明 https://www.vultr.com/api/#server_create
以下是调用示例,替换相关参数即可。
curl -H 'API-Key:yourkey' https://api.vultr.com/v1/server/create --data 'DCID=yourdcid' --data 'VPSPLANID=yourplanid' --data 'OSID=yourosid'
yourkey 就是上面生成的API KEY
yourdcid 就是所在的数据中心的ID数字 (日本:25,洛杉矶:5,新加坡:40)
yourplanid 就是什么价位的VPS的ID数字 (512M套餐ID: 200)
yourosid 就是安装操作系统ID数字 (CentOS x64 ID : 127)
直接替换下面代码中的 yourkey 就是创建一台 日本2.5刀的 Centos系统的VPS。
curl -H 'API-Key:yourkey' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=200' --data 'OSID=127'
4)没有自己的VPS?没关系。推荐使用一个Chrome 应用 POST MAN。
如图设置 API KEY
如图设置请求内容
5)弄完后,建议将API关闭掉。
DCID集合
{ "1": { "DCID": "1", "name": "New Jersey", "country": "US", "continent": "North America", "state": "NJ", "ddos_protection": true, "block_storage": true, "regioncode": "EWR" }, "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" }, "4": { "DCID": "4", "name": "Seattle", "country": "US", "continent": "North America", "state": "WA", "ddos_protection": true, "block_storage": false, "regioncode": "SEA" }, "5": { "DCID": "5", "name": "Los Angeles", "country": "US", "continent": "North America", "state": "CA", "ddos_protection": true, "block_storage": false, "regioncode": "LAX" }, "6": { "DCID": "6", "name": "Atlanta", "country": "US", "continent": "North America", "state": "GA", "ddos_protection": false, "block_storage": false, "regioncode": "ATL" }, "7": { "DCID": "7", "name": "Amsterdam", "country": "NL", "continent": "Europe", "state": "", "ddos_protection": true, "block_storage": false, "regioncode": "AMS" }, "8": { "DCID": "8", "name": "London", "country": "GB", "continent": "Europe", "state": "", "ddos_protection": true, "block_storage": false, "regioncode": "LHR" }, "9": { "DCID": "9", "name": "Frankfurt", "country": "DE", "continent": "Europe", "state": "", "ddos_protection": true, "block_storage": false, "regioncode": "FRA" }, "12": { "DCID": "12", "name": "Silicon Valley", "country": "US", "continent": "North America", "state": "CA", "ddos_protection": true, "block_storage": false, "regioncode": "SJC" }, "19": { "DCID": "19", "name": "Sydney", "country": "AU", "continent": "Australia", "state": "", "ddos_protection": false, "block_storage": false, "regioncode": "SYD" }, "24": { "DCID": "24", "name": "Paris", "country": "FR", "continent": "Europe", "state": "", "ddos_protection": true, "block_storage": false, "regioncode": "CDG" }, "25": { "DCID": "25", "name": "Tokyo", "country": "JP", "continent": "Asia", "state": "", "ddos_protection": false, "block_storage": false, "regioncode": "NRT" }, "39": { "DCID": "39", "name": "Miami", "country": "US", "continent": "North America", "state": "FL", "ddos_protection": true, "block_storage": false, "regioncode": "MIA" }, "40": { "DCID": "40", "name": "Singapore", "country": "SG", "continent": "Asia", "state": "", "ddos_protection": false, "block_storage": false, "regioncode": "SGP" } }
PlanID集合
2.5刀套餐ID 是 200
{ "87": { "VPSPLANID": "87", "name": "512 MB RAM,125 GB SATA,1.00 TB BW", "vcpu_count": "1", "ram": "512", "disk": "125", "bandwidth": "1.00", "bandwidth_gb": "1024", "price_per_month": "5.00", "plan_type": "SATA", "windows": false, "available_locations": [] }, "88": { "VPSPLANID": "88", "name": "1024 MB RAM,250 GB SATA,2.00 TB BW", "vcpu_count": "1", "ram": "1024", "disk": "250", "bandwidth": "2.00", "bandwidth_gb": "2048", "price_per_month": "10.00", "plan_type": "SATA", "windows": false, "available_locations": [] }, "89": { "VPSPLANID": "89", "name": "2048 MB RAM,500 GB SATA,3.00 TB BW", "vcpu_count": "1", "ram": "2048", "disk": "500", "bandwidth": "3.00", "bandwidth_gb": "3072", "price_per_month": "20.00", "plan_type": "SATA", "windows": false, "available_locations": [] }, "90": { "VPSPLANID": "90", "name": "3072 MB RAM,750 GB SATA,4.00 TB BW", "vcpu_count": "2", "ram": "3072", "disk": "750", "bandwidth": "4.00", "bandwidth_gb": "4096", "price_per_month": "30.00", "plan_type": "SATA", "windows": false, "available_locations": [] }, "91": { "VPSPLANID": "91", "name": "4096 MB RAM,1000 GB SATA,5.00 TB BW", "vcpu_count": "2", "ram": "4096", "disk": "1000", "bandwidth": "5.00", "bandwidth_gb": "5120", "price_per_month": "40.00", "plan_type": "SATA", "windows": false, "available_locations": [] }, "115": { "VPSPLANID": "115", "name": "8192 MB RAM,110 GB SSD,10.00 TB BW", "vcpu_count": "2", "ram": "8192", "disk": "110", "bandwidth": "10.00", "bandwidth_gb": "10240", "price_per_month": "60.00", "plan_type": "DEDICATED", "windows": false, "available_locations": [ 1, 2, 25 ] }, "116": { "VPSPLANID": "116", "name": "16384 MB RAM,110 GB SSD,20.00 TB BW", "vcpu_count": "4", "ram": "16384", "disk": "110", "bandwidth": "20.00", "bandwidth_gb": "20480", "price_per_month": "120.00", "plan_type": "DEDICATED", "windows": false, "available_locations": [ 1 ] }, "117": { "VPSPLANID": "117", "name": "24576 MB RAM,110 GB SSD,30.00 TB BW", "vcpu_count": "6", "ram": "24576", "disk": "110", "bandwidth": "30.00", "bandwidth_gb": "30720", "price_per_month": "180.00", "plan_type": "DEDICATED", "windows": false, "available_locations": [ 1 ] }, "118": { "VPSPLANID": "118", "name": "32768 MB RAM,110 GB SSD,40.00 TB BW", "vcpu_count": "8", "ram": "32768", "disk": "110", "bandwidth": "40.00", "bandwidth_gb": "40960", "price_per_month": "240.00", "plan_type": "DEDICATED", "windows": false, "available_locations": [ 1 ] }, "201": { "VPSPLANID": "201", "name": "1024 MB RAM,25 GB SSD,1.00 TB BW", "vcpu_count": "1", "ram": "1024", "disk": "25", "bandwidth": "1.00", "bandwidth_gb": "1024", "price_per_month": "5.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "202": { "VPSPLANID": "202", "name": "2048 MB RAM,40 GB SSD,2.00 TB BW", "vcpu_count": "1", "ram": "2048", "disk": "40", "bandwidth": "2.00", "bandwidth_gb": "2048", "price_per_month": "10.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "203": { "VPSPLANID": "203", "name": "4096 MB RAM,60 GB SSD,3.00 TB BW", "vcpu_count": "2", "ram": "4096", "disk": "60", "bandwidth": "3.00", "bandwidth_gb": "3072", "price_per_month": "20.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "204": { "VPSPLANID": "204", "name": "8192 MB RAM,100 GB SSD,4.00 TB BW", "vcpu_count": "4", "ram": "8192", "disk": "100", "bandwidth": "4.00", "bandwidth_gb": "4096", "price_per_month": "40.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "205": { "VPSPLANID": "205", "name": "16384 MB RAM,200 GB SSD,5.00 TB BW", "vcpu_count": "6", "ram": "16384", "disk": "200", "bandwidth": "5.00", "bandwidth_gb": "5120", "price_per_month": "80.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "206": { "VPSPLANID": "206", "name": "32768 MB RAM,300 GB SSD,6.00 TB BW", "vcpu_count": "8", "ram": "32768", "disk": "300", "bandwidth": "6.00", "bandwidth_gb": "6144", "price_per_month": "160.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 25, 39, 40 ] }, "207": { "VPSPLANID": "207", "name": "65536 MB RAM,400 GB SSD,10.00 TB BW", "vcpu_count": "16", "ram": "65536", "disk": "400", "bandwidth": "10.00", "bandwidth_gb": "10240", "price_per_month": "320.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 19, 24, 39, 40 ] }, "208": { "VPSPLANID": "208", "name": "98304 MB RAM,800 GB SSD,15.00 TB BW", "vcpu_count": "24", "ram": "98304", "disk": "800", "bandwidth": "15.00", "bandwidth_gb": "15360", "price_per_month": "640.00", "plan_type": "SSD", "windows": false, "available_locations": [ 1, 2, 3, 4, 5, 6, 9, 19, 39 ] } }
OSID集合
{ "124": { "OSID": 124, "name": "Windows 2012 R2 x64", "arch": "x64", "family": "windows", "windows": true }, "127": { "OSID": 127, "name": "CentOS 6 x64", "arch": "x64", "family": "centos", "windows": false }, "139": { "OSID": 139, "name": "Debian 7 x64 (wheezy)", "arch": "x64", "family": "debian", "windows": false }, "140": { "OSID": 140, "name": "FreeBSD 10 x64", "arch": "x64", "family": "freebsd", "windows": false }, "147": { "OSID": 147, "name": "CentOS 6 i386", "arch": "i386", "family": "centos", "windows": false }, "152": { "OSID": 152, "name": "Debian 7 i386 (wheezy)", "arch": "i386", "family": "debian", "windows": false }, "159": { "OSID": 159, "name": "Custom", "arch": "x64", "family": "iso", "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 }, "164": { "OSID": 164, "name": "Snapshot", "arch": "x64", "family": "snapshot", "windows": false }, "167": { "OSID": 167, "name": "CentOS 7 x64", "arch": "x64", "family": "centos", "windows": false }, "179": { "OSID": 179, "name": "CoreOS Stable", "arch": "x64", "family": "coreos", "windows": false }, "180": { "OSID": 180, "name": "Backup", "arch": "x64", "family": "backup", "windows": false }, "186": { "OSID": 186, "name": "Application", "arch": "x64", "family": "application", "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 }, "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 }, "225": { "OSID": 225, "name": "Fedora 24 x64", "arch": "x64", "family": "fedora", "windows": false }, "230": { "OSID": 230, "name": "FreeBSD 11 x64", "arch": "x64", "family": "freebsd", "windows": false }, "233": { "OSID": 233, "name": "Fedora 25 x64", "arch": "x64", "family": "fedora", "windows": false }, "234": { "OSID": 234, "name": "OpenBSD 6 x64", "arch": "x64", "family": "openbsd", "windows": false }, "240": { "OSID": 240, "name": "Windows 2016 x64", "arch": "x64", "family": "windows", "windows": true }, "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 }, "244": { "OSID": 244, "name": "Debian 9 x64 (stretch)", "arch": "x64", "family": "debian", "windows": false }, "245": { "OSID": 245, "name": "Fedora 26 x64", "arch": "x64", "family": "fedora", "windows": false } }
版权声明:
作者:我是小马甲~
链接:https://fandai.gezi.workers.dev/4715.html
来源:如有乐享
文章版权归作者所有,未经允许请勿转载。
Zom.Mr
admin@Zom.Mr
Zom.Mr
admin@Zom.Mr
Zom.Mr@admin
admin@Zom.Mr
Zom.Mr@admin
可乐@admin
niu12503
刺猬
admin@刺猬
若所思
zhenhappy
admin@zhenhappy
可乐
zhenhappy@可乐
admin@可乐