How to deploy a service
Edge Orchestrator allows you to manage and control edge resources in real time, including the deployment, update, and management of various services and resources.
Azion provides two ways to manage edge nodes, edge services, and resources:
- Via Azion API
- Via interface Azion Console or Azion Real-Time Manager (RTM)
Step 1: Create an edge service
To create an edge service, you need to give it an easy-to-remember name.
Go to how to create an edge serviceStep 2: Create a resource
To be able to orchestrate services on your device, you need to configure all the resources needed to install, uninstall, and reload your services.
To create a resource, you need to:
- Give the resource an easy-to-remember name.
- Choose the
content-type
of the resource. Example:text
andshell-script
. - Add the content of the resource.
Step 3: Generate a personal token
To be able to manage edge nodes, you must generate a personal token.
To do so:
- Add an easy-to-remember name.
- Add a description.
- Set the expiration date for the token.
Step 4: Install Edge Orchestrator Agent
With the personal token created, download and install the Edge Orchestrator agent:
Go to how to install Edge Orchestrator AgentStep 5: Authorize an edge node
With the Edge Orchestrator Agent installed on the device:
- Authorize the edge node.
Go to Edge Node reference documentation
Step 6: Bind an edge service to an edge node
Now, with the edge node created and authorized, you must bind it with an edge service to be deployed onto the edge node.
- Create a relation between edge service and edge node.
Once this relation is in place, when an update is triggered on the edge services, it’ll be deployed to all nodes related to this service in particular.