How to create an edge service
You can create an edge service by using:
Via Azion Console
Section titled Via Azion ConsoleTo create an edge service, proceed as follows:
- Go to Azion Console > Edge Libraries > Edge Services.
- Click on the Add Service button.
- Your service will be created automatically.
- You can change the name of the service by clicking on My New Service in the name field.
- Go to the Resources tab and click Add Resource.
- Configure the resources you need for your service, using the triggers: Install, Reload, or Uninstall.
- Optional: where you’ve used variables in the content of one or more resources, you can set the default values for them in the Environment tab.
- The variables must be in the format
Variable = Value
, whereVariable
has been used in the content of resources that are already registered.
- Activate the service by enabling the switch in the bottom-left corner in the Environment tab.
- Click on the Save button.
Via API
Section titled Via API- Run the following
POST
request in your terminal, replacing[TOKEN VALUE]
with your personal token and informing the name of the service being created:
Now, the service is available and able to be deployed onto the edge nodes.
Watch a video tutorial on how to create an edge service on Azion’s YouTube channel:
Contributors