Fly.io简介
Fly is a platform for applications that need to run globally. It runs your code close to users and scales compute in cities where your app is busiest. Write your code, package it into a Docker image, deploy it to Fly’s platform and let that do all the work to keep your app snappy.
Fly.io文档地址:https://fly.io/docs/
注册流程
参考官方安装文档:https://fly.io/docs/hands-on/installing/
1.win+s搜索PowerShell并打开,输入以下命令:
iwr https://fly.io/install.ps1 | iex
如下图则安装成功.C:\Users\DELL就是安装的目录
如果出现以下错误:
iwr : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer’s first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
以上步骤主要是下载flyctl.exe这个文件,也可以打开fly.io网页后拉到底部,找到“github”,在github上下载对应的版本,下载后使用cd命令进行目录,运行flyctl.exe这个程序,显示如下,有其功能介绍。
2.注册账号
还是在PowerShell里,输入
flyctl auth signup
,然后浏览器会打开一个注册界面.可以用邮箱或者GitHub注册
3.登陆账号,登陆后要求使用信息卡验证,会扣费,然后返还。
运行:
flyctl auth login,
创建和部署APP
创建v2ray程序,将以下两个文件同时放在flyctl.exe同一目录,运行
flyctl.exe launch
创新服务器名称,随便取名。选择服务地址,北美那边是每月100G,亚洲是30G每月,按自己要求配置。点开刚才的文件夹,会多出fly.toml文件,问是否部署时选择no。
再运行
flyctl.exe deploy
选择部署,部署过程可以在网页内部查看进度。最后根据v2ray.sh配置文件配置V2RAY软件,地址是网站给出的域名,端口443,协议ws,底层选择tls即可。
本文所用附件FLy_v2ray
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END