Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Copy assets from DAM to S3 bucket programmatically

Avatar

Level 4

I have a folder in DAM, say /content/dam/documents and whenever an asset is added to this path, this should be copied to Amazon S3. 

The approach I planned was to have an event listener which will be triggered whenever a node is created in this path.

However, I'm not sure how this asset could be copied to S3 when this event is triggered. 

I would like to know how this connectivity could be established between S3 and AEM and if there are any technical documentations available on this topic

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @pixislinger ,

One out of may ways is to implement Workflow Launcher and use Java S3 Java API as mentioned here: https://stackoverflow.com/questions/66063565/aem-adobe-experience-manager-upload-only-some-assets-to...

Additionally, I would consider AssetSync - as It uses an incremental approach so only the files that have changed will be moved.

for more details please visit: https://github.com/dmitrybelyakov/dam-sync 

Hope that helps!

Regards,

Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @pixislinger ,

One out of may ways is to implement Workflow Launcher and use Java S3 Java API as mentioned here: https://stackoverflow.com/questions/66063565/aem-adobe-experience-manager-upload-only-some-assets-to...

Additionally, I would consider AssetSync - as It uses an incremental approach so only the files that have changed will be moved.

for more details please visit: https://github.com/dmitrybelyakov/dam-sync 

Hope that helps!

Regards,

Santosh