Migrating /etc/map from AMS to AEMaaCS | Community
Skip to main content
Level 3
April 24, 2024
Solved

Migrating /etc/map from AMS to AEMaaCS

  • April 24, 2024
  • 2 replies
  • 1493 views

Hi,

 

We are migrating client website from AEM 6.5 (AMS) to AEMaaCS. As part of the migration, we noticed that existing 6.5 codebase has etc mappings defined under /etc/map like below:

 

Do we need to make any changes to these for cloud migration and for them to work as expected. 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

I am not aware that AEM supports this runmode-based mappings directly. You have to configure the ResourceResolverFactory per runmode and specify the different paths there.

 

 

2 replies

sravs
Community Advisor
Community Advisor
April 24, 2024
Level 3
April 24, 2024

What about the runmode based mappings defined using the folders like map.publish.prod  OR map.publish.stage ? Will these also be supported as-is ?

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
April 26, 2024

I am not aware that AEM supports this runmode-based mappings directly. You have to configure the ResourceResolverFactory per runmode and specify the different paths there.

 

 

Community Advisor
April 30, 2024

Considering that AEM does not inherently support run mode-specific ETC map folders, this functionality can be achieved through a run mode-specific JCR resolver pointing to an environment-specific ETC map path. This approach is also applicable in AEM as a Cloud. However, a challenge arises as AEM as a Cloud enables the 'dev' run mode for all environments except for stage and prod. To support environment-specific ETC maps, the aforementioned solution must be combined with a Cloud Manager Variable. For more details, please refer to How to Configure Environment-Specific ETC Maps for AEM as a Cloud Service. Feel free to contact me if you have any questions.

Regards,

Albin

My Profile