Gaufrette
The ImportExport bundle uses Gaufrette for the file storage.
The Gaufrette configuration is stored in Resources/config/oro/app.yml
.
By default, the ImportExport bundle configured to use the private File Storage.
Gaufrette Configuration for Amazon S3 Storage
This configuration allows to use Amazon S3 cloud service for the importing and exporting. It is applicable if consumers run on different servers.
Example
services:
aws_s3.client:
class: AmazonS3
arguments:
-
key: {your amazon s3 key}
secret: {your amazon s3 secret}
knp_gaufrette:
adapters:
importexport:
amazon_s3:
amazon_s3_id: aws_s3.client
bucket_name: {your bucket name}
options:
directory: 'import_export'
create: true
region: {your amazon s3 bucket region}
Hint
See also the official Gaufrette documentation.