Installing AEM 6.5 with S3 connector and install Service Pack 4 too
Hi,
I'm trying to install AEM with AWS S3 as DataStorage and I cannot connect my instance with S3 bucket.
I'm following the installation guide at:
I tried to install the latest version of s3connector but there are activation problems on Oak Cloud Blob Store bundle so now I'm trying with s3connector v1.10.8:
I'm following this steps:
- Extract the contents of s3connector zip file into a temporary folder
- Go to AEM install dir and unpack the quickstart jar file
- Go to crx-quickstart folder and create an install folder inside
- Copy the s3connector files located at jcr_root/libs/system/install into the crx-quckstart/install folder
- Copy the s3connector config files located at jcr_root/libs/system/config into crx-quickstart/install folder.
At this point I only need these files:
org.apache.jackrabbit.oak.plugins.blob.datastore.S3DataStore.config
org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.config
At SegmentNodeStoreService.config we have this:
customBlobStore=B"true"
And at S3DataStore.config we have this:
accessKey="[bucket-access-key]"
secretKey="[bucket-secret-key]"
s3Bucket="[bucket-name]"
s3Region="eu-west-1"
s3EndPoint="s3-eu-west-1.amazonaws.com"
connectionTimeout="120000"
socketTimeout="120000"
maxConnections="40"
maxErrorRetry="10"
s3RenameKeys=B"false"
path="/opt/aem65/author/crx-quickstart/repository/datastore"
s3Encryption="SSE_S3"
uploadThreads=I"10"
stagingPurgeInterval=I"300"
stagingSplitPercentage=I"10"
stagingRetryInterval=I"600"
writeThreads="10"
cacheSize="21630578304"
secret="shareddatastore"
I start the installation using a script where runmodes are:
export CQ_RUNMODE='author,dev,nosamplecontent,crx3tar-nofds'
And at the end I use crx-quickstart/bin/start script.
The result is that I cannot connect with the s3 bucket. The bucket remains empty.
It’s suppose also that at datastore folder I should see only 3 folders:
- download
- tmp
- upload
But what I can see it’s a lot of folders. It’s like it’s not configuring the S3 connection and it’s installing AEM as usual (like we usually do when starting AEM locally by double clicking on the quickstart jar file).
My questions are these:
Am I doing something wrong? Are the parameters in the configuration files correct?
Am I following the steps in the correct order? What about installing Service Pack 4? Should I install it before installing S3 connector or after?
Am I using the correct s3connector version?
Please, if someone answer these questions it could be useful a brief step by step explanation.
Thank you.