Install the new Edge UI

This document describes how to install the Edge UI for Apigee Edge for Private Cloud. The Edge UI is the next generation of UI for Edge.


To try out the new Edge UI in an Apigee Edge for Private Cloud installation, you must:

  • Install the Edge UI on its own node. You cannot install it on a node that contains other Edge components, including the node on which the existing Classic UI resides. Doing so will cause users to be unable to log in to the Classic UI.

    The Edge UI's node must meet the following requirements:

    • JAVA 1.8
    • 4 GBytes of RAM
    • 2-core
    • 60GB disk space
    • You must first install the 4.50.00 version of the apigee-setup utility on the node as described at Install the Edge apigee-setup utility.
    • Port 3001 must be open. This is the default port used for requests to the Edge UI. If you change the port by using the properties described in New UE configuration file, make sure that port is open.
  • Enable an external IDP on Edge. The Edge UI supports SAML or LDAP as the authentication mechanism.
  • (SAML IDP only) The Edge UIonly supports TLS v1.2. Because you connect to the SAML IDP over TLS, if you use SAML, your IDP must therefore support TLS v1.2.

For more on the Edge UI, see The new Edge UI for Private Cloud.

Installation overview

At a high level, the process for installing the Edge UI for Apigee Edge for Private Cloud is as follows:

  • Add a new node to your cluster
  • Log in to the new node
  • Download the apigee-setup utility
  • Create a configuration file and modify it with your settings
  • Execute the apigee-setup utility
  • Log in and test to new UE

When executed on the new node, the apigee-setup utility:

  • Installs the base Classic UI, called shoehorn, and configures the Classic UI to use an external IDP to authenticate with Edge.
  • Installs the new Edge UI, and configures the Edge UI to use your external IDP to authenticate with Edge.

Considerations before installing the new Edge UI

As described above in the prerequisites, the Edge UI requires that you enable an external IDP on Edge. That means user authentication is controlled by the IDP, where you configure it to use email addresses as the user ID. All Edge UI users must therefore be registered in the IDP.

The Classic UI, the default UI you installed with Apigee Edge for Private Cloud, does not require an external IDP. It can use either an IDP or Basic authentication. That means you can either:

  • Enable external IDP support on Edge and on both the Classic UI and the Edge UI.

    In this scenario, all Classic UI and Edge UI users are registered in the IDP. For information on adding new users to the IDP, see Register new Edge users.

  • Enable external IDP support on Edge, but leave Basic authentication enabled. The Edge UI uses the IDP and the Classic UI still uses Basic authentication.

    In this scenario, all Classic UI users log in with Basic authentication credentials, where their credentials are stored in the Edge OpenLDAP database. Edge UI users are registered in the IDP and log in by using either SAML or LDAP.

    However, a Classic UI user cannot log in to the Edge UI until you have added that user to the IDP as described in Register new Edge users.

Installation configuration changes from previous releases

Be aware of the following changes to the installation procedure from the Beta releases of the Edge UI.

New Edge UI configuration file

The following configuration file contains all the information necessary to install and configure the new Edge UI. You can use the same configuration file to install and configure both the shoehorn/Classic UI and the Edge UI.

# IP of the Edge Management Server.
# This node also hosts the Apigee SSO module and the current, or Classic, UI.

# IP of the Edge UI node.

# Edge sys admin credentials.
APIGEE_ADMINPW=your_password    # If omitted, you are prompted for it.

# Edge Management Server information.

# Edge UI configuration.

# Enable the Edge UI.
# Specify IP and port for the Edge UI.
# The management UI port must be open for requests to the Edge UI
# Set to 'OPDK' to specify a Private Cloud deployment.
# Disable TLS on the Edge UI.

# Location of Edge UI.
# Duration of CSRF token.
# Defaults to 8760 hours, or 365 days.

## SSO configuration for the Edge UI.

# Only required if MANAGEMENT_UI_SSO_ENABLED is 'y'


# Shoehorn UI configuration
# Set to http even if you enable TLS on the Edge UI.

# Edge Classic UI configuration.
# Some settings are for the Classic UI, but are still required to configure the Edge UI.

# These settings assume that Classic UI is installed on the Management Server.

# Information about publicly accessible URL for Classic UI.

# Enable SSO

# The name of the OAuth client used to connect to apigee-sso.
# The default client name is 'edgeui'.
# Apigee recommends that you use the same settings as you used
# when enabling your IDP on the Classic UI.
# Oauth client password using uppercase, lowercase, number, and special chars.
# If set, existing EDGEUI client will deleted and new one will be created.

# Apigee SSO Component configuration
# Externally accessible IP or DNS of Edge SSO module.
# Default is http. Set to https if you enabled TLS on the Apigee SSO module.
# If Apigee SSO uses a self-signed cert, you must also set MANAGEMENT_UI_SKIP_VERIFY to "y".
# SSO admin credentials as set when you installed Apigee SSO module.

##      SSO Configuration (define external IDP)           #
# Use one of the following configuration blocks to        #
# define your IDP settings:                               #
#  - SAML configuration properties                        #
#  - LDAP Direct Binding configuration properties         #
#  - LDAP Indirect Binding configuration properties       #


## SMTP Configuration (required)
SKIP_SMTP=n       # Skip now and configure later by specifying "y".
SMTPPORT=465      # If no SSL, use a different port, such as 25.

Install the Edge UI

After you create and modify the configuration file, you can install the new Edge UI on that new node.

To install the Edge UI:

  1. Add a new node to your cluster.
  2. Log in to the new node as an administrator.
  3. Install the 4.50.00 version of the apigee-setup utility on the node, as described at Install the Edge apigee-setup utility.
  4. Clean all cached information with Yum by executing the following command:
    sudo yum clean all
  5. Create the configuration file as described in New Edge UI configuration file and ensure that it is owned by the "apigee" user:
    chown apigee:apigee configFile

    Be sure that you make the following edits to the configuration file:

    • Change the value of the MANAGEMENT_UI_SSO_CSRF_SECRET property in the configuration file to your CSRF secret.
    • Configure Edge to use one of the following (the new Edge UI requires an external IDP):
      • SAML
      • LDAP

      For more information, see Overview of external IDPs authentication.

  6. Configure your external IDP with the users that you want to have access to the Edge UI. For more information, see Register new Edge users.
  7. On the new node, execute the following command:
    /opt/apigee/apigee-setup/bin/ -p ue -f configFile

    The apigee-setup utility installs the Classic UI. On top of the Classic UI, the installer then installs the Edge UI.

  8. Log in to the Edge UI by opening the following URL in a browser:

    Where new_edge_UI_IP is the IP address of the node hosting the new Edge UI.

    Edge prompts you for your external IDP credentials.

  9. Enter your credentials.

    The new Edge UI appears. For information on using the Edge UI, see The new Edge UI for Private Cloud.

    If the Edge UI does not display, then be sure that port 3001 is open for external connections.

Uninstall the New UI

To uninstall the New UI from its node, you must uninstall both the new Edge UI and the base Classic UI (shoehorn) that was installed on the node during the UI installation process.

To uninstall the new Edge UI:

/opt/apigee/apigee-service/bin/apigee-service edge-management-ui uninstall

To uninstall the base Classic UI (shoehorn):

/opt/apigee/apigee-service/bin/apigee-service edge-ui uninstall

To remove all Edge components from the node:

  1. Stop all Edge services running on the machine:
    /opt/apigee/apigee-service/bin/apigee-all stop
  2. Clear the yum cache:
    sudo yum clean all
  3. Remove all the Apigee RPMs:
    sudo rpm -e $(rpm -qa | egrep "(apigee-|edge-)")
  4. Remove the installation root directory:
    sudo rm -rf /opt/apigee