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

Google Cloud Storage Integration

Avatar

Level 4

Hi Community,

I have a requirement to use google cloud storage (CDN) to store the AEM pages when ever the page is published to publisher environment. How can i achieve this? Whenever the page is published the already exisiting page must be updated and if a new page is published this page has to be added to the google bucket storage. We have a simple workflow to publish pages , so after page is published, this page has to be updated/added to Google cloud Storage.

Can someone please give me any pointers how i can start this with.

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Administrator

AEM only supports Amazone s3 and Azure data Store.

Documentation:- Configuring node stores and data stores in AEM 6

-Kautuk



Kautuk Sahni

View solution in original post

9 Replies

Avatar

Correct answer by
Administrator

AEM only supports Amazone s3 and Azure data Store.

Documentation:- Configuring node stores and data stores in AEM 6

-Kautuk



Kautuk Sahni

Avatar

Employee Advisor

Hi,

So do I understand you correctly: You want to store copies of rendered pages (created right after publication of the pages) in Google Cloud Storage. And if a copy of a page already exists at Google Cloud Storage, this existing should be moved to Google Bucket Storage and then be overwritten by the latest copy of that page.

Is that correct?

kind regards,

Jörg

Avatar

Level 4

Hi Jorg,

To Clarify - We have a Bucket created specifically for our project in Google Cloud Storage, So the pages has to be added/updated onto this Bucket. Does that makes sense?

Avatar

Employee Advisor

Makes sense. And does that mean, that my understanding of your usecase is correct?

Jörg

Avatar

Level 4

Yes, your understanding is correct, is there a solution for this?

Avatar

Employee Advisor

There is no out-of-the-box solution available for this, you would need to implement it on your own. There is a static file exporter available as replication transport, which renders the page to a local file. When you already use a workflow, you could trigger this functionality via workflow and then pick up the files and upload them to the Google Cloud Storage. Or you code it all by yourself (which might be required when you need to export CSS/JS/referenced assets as well to store them in the cloud.

Jörg

Avatar

Level 4

Alright Jorg, thanks for your reply, will update this thread if I find the solution for this.

Avatar

Level 4

Hi Jorg,

How can we configure Google Cloud as CDN (Similar to Akamai CDN) -  with AEM dispatcher? Is this possible?

Avatar

Employee Advisor

Hi,

I am not familiar with Google Cloud as a CDN, therefor I cannot tell you how to do it. But when you base you caching strategy on TTL-based expiration (as I always recommend for any CDN, including Akamai), it shoulnd't be to hard to configure Google CDN to respect these headers.

Jörg