Trouble with Creating Dedicated Egress IP Address
I am trying to set up a dedicated egress IP address, following the instructions on https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/networking/dedicated-egress-ip-address .
I am having trouble and I need help. I execute the CURL commands, but they fail (due to authentication, I think).
Here is the full setup:
In the developer console, I created a project to work with. It has the Products & Services with Cloud Manager API with the Product profiles:
- Business Owner - Cloud Service
- Deployment Manager - Cloud Service
- Developer - Cloud Service
That is linked to the credentials OAuth Server-to-Server, with the Scopes: openid, AdobeID, read_organizations, additional_info.projectedProductContext, read_pc.dma_aem_ams
I am an Administrator with the Admin roles of Product and User Group. My products are Adobe Experience Manager as a Cloud Service - Cloud Manager, with four profiles:
- Developer - Cloud Service
- Program Manager - Cloud Service
- Integrations - Cloud Service
- Deployment Manager - Cloud Service.
I have Developer access with four profiles:
- Developer- Cloud Service
- Business Owner - Cloud Service
- Integrations - Cloud Service
- Deployment Manager - Cloud Service.
And I am in the user group WCM Development.
I have enabled the dedicated egress IP address on the program.
I have the Organization ID, the project's API key (client ID) and Access Token, the Cloud Manager Program ID and Environment IDs.
Then I get the Cloud Manager API curl commands, and it fails. I do the curl command for the Advanced Networking
curl -X GET https://cloudmanager.adobe.io/api/program/{programId}/regions \
-H 'x-gw-ims-org-id: <ORGANIZATION_ID>' \
-H 'x-api-key: <CLIENT_ID>' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json'And I get {"error_code":"403025", "message":"Profile is not valid"}
But I know I'm in the East US, so I can use va7, and I try to enable the dedicated IP address using createNetworkInfrastructure:
curl -X POST https://cloudmanager.adobe.io/api/program/{programId}/networkInfrastructures \
-H 'x-gw-ims-org-id: <ORGANIZATION_ID>' \
-H 'x-api-key: <CLIENT_ID>' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{ "kind": "dedicatedEgressIp", "region": "va7" }'And I get {"reason":"Validation error Request id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.","message":"Bad Request"}
I have triple checked my credentials and IDs. I have (or should have) the prerequisite roles and access.
How can I fix this? How can I troubleshoot this? What should I check or where should I go for assistance?
(Thank you in advance.)