Edge Node first steps

Installing

  1. Generate a personal token to run the actions:
  1. Install the Edge Orchestrator agent on the devices.
  2. Authenticate the device after installation.

To begin the Edge Node installation process, you must download the Edge Orchestrator installation binary of your choice.

Download the Azion Edge Node option that matches your platform of use:

Operating SystemArchitectureFile
FreeBSDx86_64edge-orchestrator
FreeBSDARM64edge-orchestrator
Linuxx86_32edge-orchestrator
Linuxx86_64edge-orchestrator
LinuxARM32edge-orchestrator
LinuxARM64edge-orchestrator
MacOSx86_64edge-orchestrator

Alternatively, you can download it using the Command line. In the example, the download link refers to the Linux/x86_64 agent. If you want to download another version, just change the URL for the required operating system or architecture:

curl -O http://downloads.azion.com/linux/x86_64/edge-orchestrator

The root user is the one who has unrestricted access to all system components, whether files or processes. If you don’t have these privileges, you may experience installation failures when attempting to manage some operating system requirements that demand such privileges.

After downloading, follow the steps below to install the Edge Orchestrator agent to your device:

  1. Install the Edge Orchestrator agent:
    chmod +x edge-orchestrator
    ./edge-orchestrator install
  2. Enter the Token for the Edge Orchestrator agent.
  3. Start the Edge Orchestrator agent after installing it:
    edge-orchestrator start
    Note: if your operating system doesn’t have a service manager (such as systemd), you must run it in the foreground.
    edge-orchestrator start --foreground

Viewing your nodes

Whenever the installation code is run for any device and it has been authenticated by the Token, the edge nodes will be listed in your Azion account.

To view the list of edge nodes created for your account, follow the steps below:

  1. Go to Azion Console.
  2. On the upper-left corner of the page, open the Products menu, represented by three horizontal lines, and select Edge Nodes.

You can verify the listed items by checking the HashId column, as it contains the hash used to create and authenticate the edge node.


Authorizing

You must authorize your edge nodes to begin orchestrating them. To authorize an edge node, follow the steps below:

  1. Open the list of Edge Nodes in Console.
  2. Click on the key icon and accept the confirmation window.

After the authorization, the Edge Node can take up to 10 seconds before services can be orchestrated.

You can also authorize all the edge nodes you want at once. To start using this option, follow the steps below:

  1. Open the list of Edge Nodes in Console.
  2. Select the items you want to authorize or, if you prefer, select all items by checking the first check box on the left.
  3. On the top-right corner, click the Actions button and select Authorize.
  4. A message to confirm your action will be shown.
  5. Click the Confirm button to save your selection.
  6. You’ll see a confirmation message.

Services

You can provision the services registered in your library by following these steps:

  1. Open the list of Edge Nodes in Console.
  2. Select the Edge Node that you want to configure.
  3. Open the Services tab and click the + Service button.
  4. Link it to the service you want and, if necessary, you can configure the variables required by the service.

Services that are due to be orchestrated via Edge Node must be registered in Edge Libraries > Edge Services and marked as active.

Once the service is provided, Edge Node can begin orchestrating it based on resource priorities. You can monitor the service installation process via logs in the Edge Orchestrator agent.

Watch a video tutorial on how to work with Azion Edge Node on Azion’s YouTube channel:


Contributors