Is there a way to prevent the local copy of the media files? I only want to have my media files saved/viewable from/on amazon, nothing on my local file system.
The reason this is needed: our site will be load balanced by amazon, so I don't want to be paying double/triple for all these media files when they will exist on S3.
I've just replied to your email, but for future viewers of this thread, my package will only work on Umbraco 6.1.2 upwards, as that was when my pull request was added to allow the editor to support full URLs which is required if the url is on S3
Way to not save a local copy of media files?
Is there a way to prevent the local copy of the media files? I only want to have my media files saved/viewable from/on amazon, nothing on my local file system.
The reason this is needed: our site will be load balanced by amazon, so I don't want to be paying double/triple for all these media files when they will exist on S3.
Thanks,
Robin
Hi Robin,
The current version of the package does not support that feature.
All the media files are first saved on the server then transferred to Amazon S3.
The next version of the package will support that feature but it is still in development phase.
In the meantime you check this package by Steve Temple, I've not tried that package.
Thanks
Ali
Hi Ali,
The package you suggested says it doesn't work on my version of umbraco. I will test it anyway.
Do you have a time frame for when your next version will come out? And if you would like, we can offer assistance with development.
We really need something soon.
Thanks again,
Robin
Hi,
I've just replied to your email, but for future viewers of this thread, my package will only work on Umbraco 6.1.2 upwards, as that was when my pull request was added to allow the editor to support full URLs which is required if the url is on S3
Cheers,
Steve
Hi Steve,
So if I download the package file from the umbraco site (http://our.umbraco.org/projects/website-utilities/amazon-s3-media) this is the one that will work on 6.1.2+. I don't need to download from bitbucket? (sorry for stupid question)
-Robin
Sure you can just download the package, and install it from our.umbraco.org, you don't need to compile from source,
Follow the readme:
This replaces the local file system provider for media with one that saves the files on Amazon S3.
For this to work you will need to make the following change in ~/config/FileSystemProviders.config
1. Remove the existing provider with the alias = "media"
2. Add the following:
<Provider alias="media" type="Gibe.Umbraco.AmazonFileSystemProvider.AmazonS3Provider, Gibe.Umbraco.AmazonFileSystemProvider">
<Parameters>
<add key="accessKeyId" value="** YOUR AWS ACCESS KEY HERE **" />
<add key="secretAccessKey" value="** YOUR AWS SECRET ACCESS KEY HERE **" />
<add key="bucketName" value="** YOUR BUCKET NAME HERE **" />
<add key="region" value="eu-west-1" />
</Parameters>
</Provider>
Let me know if you have any problems,
Steve
For Steve (do you have a separate thread I can post too?)
- edited to remove error code- so not to cludder poor Ali's thread.
Thanks Ali for your patience :)
For Steve,
And there are more issues. So I will email you the rest.
Thanks,
Robin
Steve I would suggest to open a discussion under your package.
Thanks
Ali
Hi Ali Sheikh,
Do you mind if our team make some changes and contribute to your package code?
We're looking to develop the delete feature after the upload has been succeeded.
Regards and thanks for the package :)
Hi Goncalo,
It's totally fine, you can contribute to this package here on my Github https://github.com/AliSheikhTaheri/AST-Amazon-S3
Thanks
Ali
is working on a reply...