Amazon’s simple storage service (S3) is a cloud-based storage solution that you can use with Documents and Media. All you need is an account, and you can store your documents to the cloud from all nodes, seamlessly.
When you sign up for the service, Amazon assigns you unique keys that link you to your account. In Amazon’s interface, you can create “buckets” of data optimized by region.
Here are the steps for configuring Liferay DXP to use your S3 account for file storage:
Amazon S3 requires a
SAXParserfrom the application server to operate. If you are using an app server like Apache Tomcat that have one, you must include this property in a
system-ext.propertiesfile in a folder that resides in your Liferay DXP installation’s class path (e.g.,
Set the following property in a
portal-ext.propertiesfile in your Liferay Home folder:
Restart Liferay DXP.
In the Control Panel, navigate to Configuration → System Settings → File Storage.
In the S3 Store Configuration screen, configure the store your way.
Your Liferay DXP instance is using the Amazon S3 store.
To use the S3 store in a cluster, follow these steps:
Export the configuration from the S3 Store Configuration screen to a
.configfile to each node’s
portal-ext.propertiesto each node’s Liferay Home folder.
system-ext.properties(if you’re using one) to a folder in the app server class path on each node.
Restart Liferay DXP on the nodes.
Liferay DXP is using the Amazon S3 store throughout your cluster.
Consult the Amazon Simple Storage documentation for additional details on using Amazon’s service.