Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM Cloud | Does AEM Cloud supports preview runmode ( config.preview),

Avatar

Level 2

Hi ,

 

I have a use case were specific OSGI configuration should work in preview environment.

When I try creating the runmode config folder like config.preview it does not work.

 

Do we have any solution for this.

 

Regards

Madhu

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @madhukumari ,

AEMaaCS has specific list of run modes available . Below is the list :- 

The supported run mode configurations are:

  • config (The default, applies to all AEM services)
  • config.author (Applies to all AEM Author service)
  • config.author.dev (Applies to AEM Dev Author service)
  • config.author.rde (Applies to AEM RDE Author service)
  • config.author.stage (Applies to AEM Staging Author service)
  • config.author.prod (Applies to AEM Production Author service)
  • config.publish (Applies to AEM Publish service)
  • config.publish.dev (Applies to AEM Dev Publish service)
  • config.publish.rde (Applies to AEM RDE Publish service)
  • config.publish.stage (Applies to AEM Staging Publish service)
  • config.publish.prod (Applies to AEM Production Publish service)
  • config.dev (Applies to AEM Dev services)
  • config.rde (Applies to RDE services)
  • config.stage (Applies to AEM Staging services)
  • config.prod (Applies to AEM Production services)

 

Ref :- https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dep...

 

Fir custom run modes pls check the following link :- https://www.albinsblog.com/2023/09/support-custom-run-modes-in-aem-as-a-cloud-env-specific-values.ht...

 

Thanks,

Somen

View solution in original post

3 Replies

Avatar

Correct answer by
Level 6

Hi @madhukumari ,

AEMaaCS has specific list of run modes available . Below is the list :- 

The supported run mode configurations are:

  • config (The default, applies to all AEM services)
  • config.author (Applies to all AEM Author service)
  • config.author.dev (Applies to AEM Dev Author service)
  • config.author.rde (Applies to AEM RDE Author service)
  • config.author.stage (Applies to AEM Staging Author service)
  • config.author.prod (Applies to AEM Production Author service)
  • config.publish (Applies to AEM Publish service)
  • config.publish.dev (Applies to AEM Dev Publish service)
  • config.publish.rde (Applies to AEM RDE Publish service)
  • config.publish.stage (Applies to AEM Staging Publish service)
  • config.publish.prod (Applies to AEM Production Publish service)
  • config.dev (Applies to AEM Dev services)
  • config.rde (Applies to RDE services)
  • config.stage (Applies to AEM Staging services)
  • config.prod (Applies to AEM Production services)

 

Ref :- https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dep...

 

Fir custom run modes pls check the following link :- https://www.albinsblog.com/2023/09/support-custom-run-modes-in-aem-as-a-cloud-env-specific-values.ht...

 

Thanks,

Somen

Avatar

Level 2

Thanks Somen , 

 

If we have to refer a specific config just in preview server . Is there any way to implement this.

 

Regards

MAdhu

Avatar

Level 5

@madhukumari 

A config.preview OSGi configuration folder cannot be declared in the same way a as config.publish . Instead, the preview tier inherits its OSGi configuration from the publish tier’s values.

However, You can explicitly define configuration values in environment variables in cloud manager for preview tier and those values will be picked up at runtime

AMANATH_ULLAH_0-1711020938157.png