Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Google Cloud Storage Integration

CQ_learner
Level 4
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
kautuk_sahni
Correct answer by
Community Manager
Community Manager

AEM only supports Amazone s3 and Azure data Store.

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

-Kautuk

View solution in original post

9 Replies
kautuk_sahni
Correct answer by
Community Manager
Community Manager

AEM only supports Amazone s3 and Azure data Store.

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

-Kautuk

View solution in original post

Jörg_Hoh
Employee
Employee

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

CQ_learner
Level 4
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?

Jörg_Hoh
Employee
Employee

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

Jörg

CQ_learner
Level 4
Level 4

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

Jörg_Hoh
Employee
Employee

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

CQ_learner
Level 4
Level 4

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

CQ_learner
Level 4
Level 4

Hi Jorg,

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

Jörg_Hoh
Employee
Employee

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