Overview

AEM as a Cloud Service offers the following advanced networking options:

This article describes each of these options in detail and why you might use them, before describing how they are configured using the Cloud Manager UI and by using the API. The article concludes with some advanced use cases.

CAUTION
If you are already provisioned with legacy dedicated egress technology and want to configure one of these advanced networking options, contact Adobe Client Care.
Attempting to configure advanced networking with legacy egress technology can impact site connectivity.

Requirements and Limitations

When configuring advanced networking features, the following restrictions apply.

  • A program can provision a single advanced networking option (flexible port egress, dedicated egress IP address, or VPN).

  • Advanced networking is not available for sandbox programs.

  • A user must have the Administrator role to add and configure network infrastructure in your program.

  • The production environment must be created before network infrastructure can be added in your program.

  • Your network infrastructure must be in the same region as your production environment’s primary region.

    • In the case where your production environment has extra publish regions, you may create another network infrastructure mirroring each additional region.
    • You are not allowed to create more network infrastructures than the maximum number of regions configured in your production environment.
    • You can define as many network infrastructures as available regions in your production environment, but the new infrastructure must be the same type as the previously created infrastructure.
    • When creating multiple infrastructures, you are permitted to select from only those regions in which advanced networking infrastructure has not been created.

Configuring and Enabling Advanced Networking

Using advanced networking features requires two steps:

  1. Configuration of the advanced networking option, whether flexible port egress, dedicated egress IP address, or VPN, must first be done at the program level.
  2. To be used, the advanced networking option must then be enabled at the environment level.

Both steps can be done either using the Cloud Manager UI or the Cloud Manager API.

  • When using the Cloud Manager UI, this means creating advanced network configurations using a wizard at the program level and then editing each environment where you want to enable the configuration.

  • When using the Cloud Manager API, the /networkInfrastructures API endpoint is invoked at the program level to declare the desired type of advanced networking. It is followed by a call to the /advancedNetworking endpoint for each environment to enable the infrastructure and configure environment-specific parameters.

Flexible Port Egress

This advanced networking feature lets you configure AEM as a Cloud Service to egress traffic through ports other than HTTP (port 80) and HTTPS (port 443), which are open by default.

TIP
When deciding between flexible port egress and dedicated egress IP address, it is recommended you choose flexible port egress if a specific IP address is not required. The reason is because Adobe can optimize the performance of flexible port egress traffic.
NOTE
After creation, flexible port egress infrastructure types cannot be edited. The only way to change configuration values is to delete and recreate them.

UI Configuration

  1. Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization.

  2. On the My Programs console, select the program.

  3. From the Program Overview page, navigate to the Environments tab and select Network Infrastructure in the left panel.

    Adding network infrastructure

  4. In the Add network infrastructure wizard, select Flexible port egress.

  5. From the Region drop-down menu, choose the desired region, then click Continue.

    Configuring flexible port egress

  6. The Confirmation tab summarizes your selection and the next steps. Click Save to create the infrastructure.

    Confirming configuration of flexible port egress

A new record appears below the Network Infrastructure heading in the side panel. It includes details such as the type of infrastructure, status, region, and the environments where it is enabled.

New entry under Network Infrastructure

NOTE
Creation of the infrastructure for flexible port egress can take up to an hour after which it can be configured at the environment level.

API Configuration

Once per program, the POST /program/<programId>/networkInfrastructures endpoint is invoked, simply passing the value of flexiblePortEgress for the kind parameter and region. The endpoint responds with the network_id, and other information including the status.

Once called, it typically takes approximately 15 minutes for the networking infrastructure to be provisioned. A call to the Cloud Manager’s network infrastructure GET endpoint would show a status of ready.

TIP
The full set of parameters, exact syntax, and important information like what parameters cannot be changed later, can be referenced in the API documentation.