AEM Cloud | Does AEM Cloud supports preview runmode ( config.preview), | Community
Skip to main content
Level 2
March 21, 2024
Solved

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

  • March 21, 2024
  • 2 replies
  • 1349 views

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

 

 

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 somen-sarkar

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/deploying/overview#runmodes

 

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.html

 

Thanks,

Somen

2 replies

somen-sarkar
Community Advisor
somen-sarkarCommunity AdvisorAccepted solution
Community Advisor
March 21, 2024

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/deploying/overview#runmodes

 

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.html

 

Thanks,

Somen

Level 2
March 21, 2024

Thanks Somen , 

 

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

 

Regards

MAdhu

AMANATH_ULLAH
Community Advisor
Community Advisor
March 21, 2024

@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