如何在Azion上创建Edge应用程序?
我想使用Azion的边缘服务将我的项目上传到React(下图) 单击以查看附件,
但我不知道热使用plataform,有人可以帮忙吗?
I want to use the azion's edge service to upload my project in react (image below)
Click to see attachment
But i don't know hot to use the plataform, can somebody help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先:您需要在“产品”菜单(左侧)中创建一个边缘应用程序,这将是您的中心应用程序,并且所有以后的设置(CDN,WAF,EDGE功能...)将被应用对此。当然,您需要为此边缘应用程序配置域(平台自定义或自动生成)。
第二:您无法创建边缘功能在边缘功能面板中直接反应,这是因为需要构建项目以在Azion的边缘服务上运行。为此,您需要使用此链接中找到的Azion CLI: https:// https:// https:/// www.azion.com/en/documentation/products/cli
此CLI允许您通过命令行在边缘上创建,构建和发布React Project(next.js和FlareAct)。
您可以在此处查看next。 /www.azion.com/en/documentation/use-cases/nextjs-on-azion-platform 和flareactct(jamstack)在这里 https://www.azion.com/en/documentation/documentation/use-cases/use-cases/jamstack-using-flareactct
之后您只需要要配置边缘应用程序以执行您刚创建的功能...并欢迎来到边缘。
First: You need to create an Edge Application in the products menu (on the left), this will be your central application and all later settings (cdn, waf, edge functions...) will be applied to it. Of course, you will need to configure a domain for this edge application (custom or automatically generated by the platform).
Second: You can't create an edge function react directly in the edge functions panel, that's because the project needs to be built to run on Azion's edge service. For that you will need to use the Azion CLI, found in this link: https://www.azion.com/en/documentation/products/CLI
This CLI allows you to create, build and publish React project (next.js and flareact are currently available) on the edge via command line.
You can see the next.js documentation here https://www.azion.com/en/documentation/use-cases/nextjs-on-azion-platform and flareact (jamstack) here https://www.azion.com/en/documentation/use-cases/jamstack-using-flareact
After that you just need to configure your edge application to execute the function you just created... and welcome to the edge.