Tuesday, 1 October 2024

Configuring Dedicated Egress IP for AEM Websites: A Step-by-Step Guide to Finding Your Public IP

 What is an Egress IP?

An egress IP is an IP address used for outbound traffic from a network or a specific set of devices within a network. Here are some key points about egress IPs:

- Consistent Source IP: Egress IPs ensure that traffic leaving a network appears to come from a consistent IP address, which is useful for maintaining security policies and access controls.
- Network Address Translation (NAT): They are often used in Network Address Translation (NAT) to map internal IP addresses to a single external IP address.
- Use in Cloud and Container Environments: In cloud and container environments, egress IPs can be assigned to specific namespaces or pods to control and monitor outbound traffic.

Use of Egress IP in AEM?

Typically, we require Adobe's public IP when an AEM service needs to interact with a third-party service, such as a client's internal service. In such cases, we create a public IP for the AEM service, which the client then whitelists, allowing us to directly call their service.

How to Configure Egress in AEM? Here is the detailed article which talks about the configuration.

How to retrieve the public IP after configuring Egress in AEM As Cloud

a) Obtain the dedicated egress IP address by using a DNS Resolver 

(such as DNSChecker.org) on the host: p{programId}.external.adobeaemcloud.com.

For example, if your program id is '12345' 

12345.external.adobeaemcloud.com, open dnschecker website and paste your adobe cloud external program id detail and hit search button. You will be able to see the public ip in response.

 

b) Running 'dig' from the command line.

An example AEM Cloud program given blow and its dig command

 

Execute below dig command on your command prompt.



Note: Please be aware that the dedicated egress IP address is utilized by all AEM as a Cloud Service environments within the program.