AEM cloud: how to see what env (prod/dev/stage) is set? | Community
Skip to main content
Level 8
September 13, 2021
Solved

AEM cloud: how to see what env (prod/dev/stage) is set?

  • September 13, 2021
  • 5 replies
  • 3702 views

We have several AEM cloud environments, including prod and stage as setup by adobe, and several dev envs we use for UAT/Test/Dev etc.

 

The problem is the prod env seems to be pulling in dev osgi configs. 

 

Is there any way to query or determine the environment setting of a running cloud instance?  There doesn't seem to be anything in the admin console, cloud manager, author instance or developers console.

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 aanchal-sikka

@tb3dock 

 

We do not have a view of Sling Settings from CM.

A view like this would be available on Environment Details in CM

 

In case of doubt, please raise support ticket.

5 replies

jetate
Level 4
September 13, 2021

You can view your run modes on each instance by appending /system/console/status-slingsettings on your domain URL ie localhost:4502/system/console/status-slingsettings

TB3dockAuthor
Level 8
September 13, 2021

Unfortunately, with AEM cloud, this gives 403 on publish and author instance.

jetate
Level 4
September 13, 2021

I didn't catch the cloud mention, sorry. I usually only check my author instance as it should theoretically match my publish. 

Kishore_Kumar_
Level 9
September 13, 2021

Hi @tb3dock ,

 

Are you not able to check with developer console whether OSGi configuration is picking the right values set for the specific environment.

TB3dockAuthor
Level 8
September 13, 2021

There is nothing I can see in developer console to help with this.

Kishore_Kumar_
Level 9
September 13, 2021

Hi @tb3dock ,

 

Just trying to understand how developer console is not helping for this. Using developer console we can download all the environment specific OSGi Configs in text or json format. and you can search and find your OSGi configuration to see whether is picking the right value or not.

Vijayalakshmi_S
Level 10
September 13, 2021

Hi @tb3dock,

Could you please confirm if the PROD specific OSGi configs are created/available within one of these config folders

  • config.prod (PROD Service in general, applies to both author and publish)
  • config.author.prod (PROD author)
  • config.publish.prod (PROD publish)

and dev resides in its respective config folders. 

 

Supported list of runmode configurations for DEV, Stage and PROD cloud service instances is mentioned here - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/deploying/overview.html?lang=en

 

Unlike classic versions of AEM (where we can check the run mode in Sling Settings in Felix console), we don't have option to view the run mode of specific instance from Developer console. 

For DEV, Stage and PROD, it is implied(and it is the same name) per the above mention from the docs. Not sure about the other sandbox instances that you are referring to as UAT/Test.

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 4, 2023

@tb3dock 

 

We do not have a view of Sling Settings from CM.

A view like this would be available on Environment Details in CM

 

In case of doubt, please raise support ticket.

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
December 4, 2023

@tb3dock Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni