Skip to main content

Creating an Edge Computing Application in the Panel

With Arvancloud Edge Computing, you can build and run serverless functions, sites, and applications. Arvancloud Edge Computing is an environment for running serverless applications that lets you create your serverless applications in a few clicks, without complex technical configuration, and deploy them on Arvancloud's global network of 40 PoP sites.

You can create a new Edge Computing application both via the CLI and in the Arvancloud panel. Ready-made templates are also available to help you understand the product better and use it easily. In addition, you can upload your own built file in the panel and run it directly.

Ready-Made Templates​

Templates are ready-made samples designed to help you get started with Arvancloud Edge Computing. The following table lists the name and description of each template:

TemplateDescription
A/B TestingSample code for creating a cookie-based A/B testing service
Hello WorldA sample that displays the text "Hello World"
Round Robin Load BalancerSample code that creates 4 upstream servers and distributes the load with the Round Robin algorithm
Hotlink ProtectionA script that restricts unauthorized access to image files by checking the domain Referrer; if the request is sent from an allowed domain, it is forwarded to the upstream server, otherwise a response with code 401 is returned.
Basic AuthSample code that checks the sent headers to authenticate the request
SSR HTMXA script for setting up a simple To Do list

By clicking a template or uploading new code, you can set the name and description of your new Edge Computing application and then create it.

After the Edge Computing application is created, its management dashboard becomes available to you.

On this page, you can see the routes created for each Edge Computing application and the details of its changes.

Actions​

In the actions section of each Edge Computing application, you can edit its details, test it by opening its default address, or delete it if you no longer need it.

Routes​

By defining a new route, you can connect the Edge Computing application to domains that are active on the Arvancloud CDN. By creating a page rule, you direct the traffic of a specific path of a domain you have already registered in the Arvancloud CDN to this Edge Computing application.

The Routes in Edge Computing guide helps you with these settings.

History​

In the history section, you can see the ID and creation date of each Edge Computing application's deployments. Each deployment in Edge Computing creates a version and generates a deployment ID. This ID helps you troubleshoot and manage each version better.