Expand my Community achievements bar.

Adobe Developers Live 2021, Session | Get ready for Cloud Service - migration best practices (Andreea)

Avatar

Administrator

BlogImage.jpg

Session Details

Adapting your codebase to make it cloud-friendly and bulletproof against future upgrades handled under the hood is key to maximize AEM Cloud Service benefits.

Session Schedule

9-Feb, 10:45 AM - 11:15 AM PST

Speaker(s)

Andreea Miruna Moise

Full Schedule

Check Here

Q&A

Please use this thread to ask the question related to this Session.

Session FAQs

Q. if replication agents are not supported. can we use dispatcher flush agents and akamai agents? 
A. The concept of any custom replication agent is invalid in aem |  dispatcher invalidation is OOTB. https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...
From code (event handlers) only dispatcher flush agent can be invoked, there are no CDN flush agents. 
Q. Is it necessary to have maven archetypes only? Or lazybones project will work well too? 
A. there is no lazybones for CS project. Lazybones used the archetype in the background anyways 
q. Where will we add Service users? mutable or immutable block 
A. the service users go into a repo init script. You shouldn’t be committing home/users node in code anymore. But, if you do have it, it will mutable the content package. Only /apps and /libs are immutable 
Q. Will we have Prod Real-time logs access in Cloud manager? 
A. On Cloud environments, developers can download logs through Cloud Manager or use a command-line tool to tail the logs. 
Q. How local development is handled? 
A. There is a local SDK for development purposes https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem... an article on runmodes, please see https://medium.com/adobetech/custom-runmodes-on-aem-as-a-cloud-service-79b757f51a6b | you should also look at using environment variables to change the code behavior instead of run modes 
Q. Can we add customer-specific sonar rules in Cloud Manager? 
A. The public sonar rules are available on Adobe docs, there are some Adobe ip sonar rules that are private and not available. 
Q. Does these rules from sonarqube are available for all AEM developments? 
A.The public ones yes 
Q. how do we support dispatcher cache agents or akamai cdn purge - any documentation you suggest here 
A.dispatcher cache is handled customizing the default provided cloud service configuration. Cdn purge is based on ttl 
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...
Q. Is it possible to update OSGI configs directly in Prod Publisher? in case of any security issue for third party api keys 
A. It is not recommended since it will be volatile and can be done via port-forward only. It's not something a customer can do, but only AEM engineering 
Q. How frequently are thread dumps taken? 
A. Thread dumps on Cloud environments are collected on an ongoing basis, but cannot be downloaded in a self-serve manner at this time. In the meanwhile, please contact AEM support if thread dumps are needed for debugging an issue, specifying the exact time window. 
Q. Where would translation dictionary data go? 
A. The repository has been divided into immutable and mutable content. Immutable content can't be accessed at runtime. For example, going forward, i18n dictionary translations can't be performed at runtime. Any such change needs to be pushed via a configured CI/CD pipeline using Cloud Manager. 
Q. What is the best option to handle different behaviors in aem author and publish instances based on the run modes? 
A. Via OSGI configurations see https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/deploying/conf...
Or you can also use environment variables  
Q. Is there an option to add a custom log file in Publisher at runtime, to debug something? 
A. Only if you deploy OSGi configurations for the Sling LogManager factory see https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/log...
Q. Is there any way to deploy code to stage servers without doing performance and security tests. Testing takes a lot of time 
A. The only way is the Cloud Manager execution pipeline that can be configured as described in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/using-cloud-ma...
Q. Is Experience Audit customizable? 
A. no 
Q. What's the best way to convert foundation components into core components if I cannot use the modernization tool? Can I convert a foundation component that is used inside a static template? 
A. you can but doing it manually is error-prone and takes time 
Q. if Run modes are removed as CS, is there an alternative? 
A. Only OOTB run modes are available: author, publish, prod, stage, dev, and the combination between them. So the code has to be adapted to use only these 

Don't forget to register yourself for this session using the registration link shared above. 



Kautuk Sahni
0 Replies