AEM as a Cloud Service: Increased deployment duration after splitting combined pipeline
This article explains the reasons for increased deployment duration when splitting a combined pipeline into separate non-production and Production pipelines in Adobe Experience Manager as a Cloud Service, and provides guidance on managing deployment timing.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) (all versions)
Symptoms
After splitting a single combined deployment pipeline into two separate pipelines—one for non-production and one for Production—the total end-to-end release duration increases. For example, a combined pipeline may have taken approximately 1 hour 30 minutes to 2 hours 20 minutes per release, while the sum of the two separate pipelines typically exceeds 2 hours.
Cause
The increase in deployment duration is due to duplicated deployment overhead, environment update serialization, and potential index processing time. Each pipeline runs its own deployment steps against its target environment, and Cloud Manager serializes environment updates to prevent conflicting changes. Additional time may be spent on index updates, if index definitions have changed.
Resolution resolution
Follow the steps below to resolve the issue:
- Review your pipeline configuration to confirm that non-production and Production deployments are handled by separate pipelines.
- Schedule pipeline executions so that the non-production pipeline completes before starting the Production pipeline. This avoids unnecessary waiting due to environment update serialization.
- Monitor the Deploy to Production step for substeps, such as Waiting – Other Update in Progress, Update Indexes, Update Services, and Install Mutable Content.
- If you observe significant time spent in Update Indexes, review recent changes to custom index definitions. A full reindex is triggered when existing custom index definitions are modified.
- To avoid unnecessary reindexing, deploy new index versions instead of modifying active ones directly, and test index changes in non-production before deploying to Production.
- Understand that the Production pipeline may skip the build phase if the artifact is reused, but must still perform Deployment, service updates, mutable content installation, index processing, and readiness checks.
- There’s no supported configuration to bypass these deployment steps or reduce the warm-up period.
- After making adjustments, verify pipeline execution times to confirm improvements or expected behavior.