Start Edge Orchestrator Installation Environment#

Before provisioning AWS* cloud resources and installing the Edge Orchestrator, you must set up the installation environment.

This includes downloading the installer container image, setting up the AWS cloud login, and starting the installation environment.

Prerequisites#

Verify Docker* Software Version#

Check your locally installed version of Docker* software.

docker --version

The installed version must be the same or newer than the release listed as “Stable” in the Docker Engine Release Notes. This guide was tested with version 25.0.4.

If Docker software is not installed or is out of date, install or upgrade the software using Install Docker Engine from the Docker software documentation website.

Verify Docker Software Access for User Account#

  1. Check your current group listing.

    groups
    

    If docker is not listed in the groups listing, use the following command to add your user account to the docker group.

    sudo usermod -aG docker [username]
    
  2. Log out and reconnect after making this change, for it to take effect.

Verify ORAS CLI Installation#

Check your locally installed version of ORAS CLI.

oras version

The installed version must be 1.1.0 or newer. This guide was tested with version 1.1.0.

If ``oras`` is not installed or is out of date, install or upgrade the software using the following command. You will
be prompted for your sudo password to install ORAS CLI into a local binary directory.
curl -LO "https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_amd64.tar.gz" && \
  mkdir -p oras-install/ && \
  tar -zxf oras_1.1.0_*.tar.gz -C oras-install/ && \
  sudo mv oras-install/oras /usr/local/bin/ && \
  rm -rf oras_1.1.0_*.tar.gz oras-install/

Verify jq Installation#

Check your locally installed version of jq:

jq --version

The installed version must be the 1.6 or newer. This guide was tested with version 1.6.

If jq is not installed or is out of date, install or upgrade the software using the following command:

sudo apt-get install -y jq

Download the Installer Container Image#

Note

EMF is released on a weekly basis. To use a weekly build, refer to the latest weekly tag available here. In the command below, replace v3.0.0 with the appropriate weekly tag. Weekly tags follow the format: v3.1.0-nYYYYMMDD.

  1. Download the installer container image:

    oras pull registry-rs.edgeorchestration.intel.com/edge-orch/common/files/cloud-orchestrator-installer:v3.0.0
    

    This will download the cloud-orchestrator-installer.tgz release artifact to the _build directory.

  2. Extract the cloud-orchestrator-installer.tgz release artifact. This extracts the deployment scripts and configuration to a directory of the same name:

    tar -xzf _build/cloud-orchestrator-installer.tgz
    

Set up the AWS Cloud Login#

Note

The AWS user must have the right permission access in AWS cloud, See Required AWS IAM Permissions for more information.

Option 1 - Connect with AWS SSO#

Set the AWS IAM using SSO. This uses temporary credentials, and permits SSO login and user management.

Choose this option for more secure connections and SSO login support in Edge Orchestrator. This is a good option for long-term installation.

See Configure your profile with the aws configure sso wizard for more information.

aws configure sso
# Follow the SSO configure prompts to log in to your SSO profile
# Select your cluster's AWS region and a profile with Administrator access
export AWS_PROFILE="[The AWS profile selected in SSO login]"

Option 2 - Connect with Access Key ID and Secret Access Key#

Set an Access Key ID and Secret Access Key in Edge Orchestrator.

Choose this option for testing Edge Orchestrator, and permitting automation and services to run with less user intervention:

export AWS_ACCESS_KEY_ID="[AWS Access Key ID from AWS SSO interface or IAM Administration]"
export AWS_SECRET_ACCESS_KEY="[AWS Secret Access Key from AWS SSO interface or IAM Administration]"
export AWS_SESSION_TOKEN="[Session Token from AWS SSO interface]"

Start the Installation Environment#

  1. Start the Edge Orchestrator installer. In the cloud-orchestrator-installer dir, run:

    ./start-orchestrator-install.sh
    
  2. Type 1 and press Enter to install a full version of Edge Orchestrator.

  3. Type in cluster details, including cluster name and the AWS region.

  4. Specify a location to store the installer settings. These settings are stored in an AWS S3 bucket. This copy supports archival or recovery options.

The script starts the orchestrator-admin container that provides the tools, runtime environment, and product configuration required to complete your selected operation.

Verify Installer Environment Container#

After the installer environment is successfully started, the command prompt changes. See the following example:

orchestrator-admin:~$