Impact of preview-scoped environment variables in AEM as a Cloud Service

Adding new configuration environment variables scoped to the Preview tier in AEM as a Cloud Service production environment causes only the Preview instance to briefly restart. This action does not cause downtime for Publish or Dispatcher tiers, which use rolling, no-downtime update patterns.

Description description

Environment

  • Product: Adobe Experience Manager as a Cloud Service - Sites
  • Instance: Production

Issue/Symptoms

  • When adding a preview-scoped environment variable in a production environment, the Preview tier briefly restarts. This behavior is expected and limited to the Preview instance.
  • Publish and Dispatcher tiers are not impacted and continue to serve traffic normally.

Resolution resolution

Note: Preview runs as a single instance, so it experiences a brief interruption during updates. Publish and Dispatcher tiers use rolling updates that maintain availability and avoid planned downtime for end-user traffic.

Follow these steps to implement the preview‑scoped environment variable change:

  1. Open Cloud Manager and go to Program > Environments > [ PROD] > Configuration.
  2. Add the required environment variable name and value.
  3. Set Step Applied to Preview, not All, Author, or Publish.
  4. Apply the change and verify the behavior in DEV first, then STAGE.
  5. After validation, apply the same preview-scoped environment variable in PROD.
  6. Schedule the PROD update during a low-traffic window.
  7. Inform internal users that the Preview instance will restart briefly.
  8. Monitor production and capture timestamps, URLs, and HTTP status codes if 5xx errors appear.
  9. Confirm that only the Preview tier restarts and that Publish and Dispatcher remain available.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f