Code migration into cloud

Above code in AEM 6.5. How to convert it in AEM as a cloud service ?
a. Use Sling Event Listeners
b. Use Sling Scheduler jobs
c. Use Polling importer
d. Use Sling model exporter

Above code in AEM 6.5. How to convert it in AEM as a cloud service ?
a. Use Sling Event Listeners
b. Use Sling Scheduler jobs
c. Use Polling importer
d. Use Sling model exporter
@jakecham With AEM as a Cloud Service, now the application will be running on cluster nodes which means instances can go down and new ones can come up any time. The code must be resilient especially as an instance might be stopped at any point in time. Refer below article for implementation details.
https://sudeshaempodcast.wordpress.com/2021/07/04/aemaacs-slingjobs/
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.