Perfect AEM deploy to PRD ?
Our current deploy to Production takes around 3 hours, I would like to get some feedback on how we can improve this to reduce it to less than 1 hour.
We have 16 AEM publish instances in 2 data centers. We install AEM packages using http requests. We use Akamai to cache the static pages. Here are the steps to our deployment
- Route all traffic to DC1 (data center 1).
- Deploy AEM packages to publish instances (8). Deployment is done all at once. We have multiple code packages.
- Restart all AEM publish instances.
- Clear dispatcher cache.
- Testing is done.
- Bring up AEM publish instances in DC2 and route all traffic to DC2.
- Repeat Step 2 - 5.
- Bring up DC1.
- Clear Akamai cache.
Some challenges we run into
- Some of the AEM instances are unresponsive sometimes and we have to restart them.
- Some of the packages does not get installed. AEM is still using the older version.
Questions
- Since AEM restart the bundles after each package install, we thought of combining all of the code packages into 1 large package. Anyone has success doing this ?
- What is the perfect way to install AEM package to ensure that it's 100% successful and the AEM instance is stable and responsive ?
- From your experience, can you see any way for us to improve our deployment process so we can do it under 1 hour ?