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, resources, and credentials:
go to Install Edge Orchestrator agentStep 1: Create an edge service
Section titled Step 1: Create an edge serviceTo 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
Section titled Step 2: Create a resourceTo 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 credential
Section titled Step 3: Generate a credentialTo be able to manage edge nodes, you must generate the credentials used by the Azion Orchestrator Agent.
To do so:
- Choose a description.
- Add an easy-to-remember name.
- Set the credential as active.
Step 4: Install Edge Orchestrator Agent
Section titled Step 4: Install Edge Orchestrator AgentWith the credentials created:
- Download and install the Edge Orchestrator agent with the recently created credentials.
Step 5: Authorize an edge node
Section titled Step 5: Authorize an edge nodeWith 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
Section titled Step 6: Bind an edge service to an edge nodeNow, 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.