How to bind an edge service to an edge node
Edge Services allows orchestrated services to be managed on your own edge nodes. To do so, you must have an edge service created and to bind it to an edge node.
Go to how to create an edge serviceYou can create a relation between an edge node and an edge service using:
- Access Azion Console.
- On the upper-left corner of the page, open the Products menu, represented by three horizontal lines, and then select Edge Nodes.
- Select the edge node you want to bind to a service.
- In the Main Settings tab, look for the option Add-On Services under Orchestration Modules and activate it.
- Go to the Services tab and click the + Service button.
- Choose the service you want to bind and add the variables if needed.
- Click the Save button.
- Access Real-Time Manager (RTM).
- On the upper-left corner of the page, open the Products menu, represented by three horizontal lines, and then select Edge Nodes.
- Select the edge node you want to bind to a service.
- In the Main Settings tab, look for the option Add-On Services under Orchestration Modules and activate it.
- Go to the Services tab and click on the + Service button..
- Choose the service you want to bind and add the variables if needed.
- Click the Save button.
- Run the following
GET
request in your terminal, replacing[TOKEN VALUE]
with your personal token and retrieve the edge node ID you wish to bind to an edge service:
- Run the following
GET
request in your terminal, replacing[TOKEN VALUE]
with your personal token and retrieve the edge service ID you wish to bind to an edge node:
- Run the following
POST
request in your terminal:
Replace [TOKEN VALUE]
with your personal token, :id
with the ID of the edge node informing the edge node ID and inform the following properties in the request body:
Property | Description | Required |
---|---|---|
service_id | ID of the edge service being bound to the edge node | Yes |
variables | Variables to be replaced during the processing on the edge node | No (requires checking) |
Now, your edge node and your edge service have a relation between them and are ready to be orchestrated.