-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with s3fs to upload to S3 bucket ... #79
Comments
I have tried that myself, but s3fs seems to be a bit laggy when you mount a bucket with a huge load of images. I wondered that it might affect server boot time and general performance. That's why i chose to just do manual AWS S3 API upload inside the Controller. It works fast and not too many issues. |
@sunandang @antonskv |
With requirement of "aws/aws-sdk-php" in composer, you can do this inside upload controller. Obviously inside TRY and CATCH block to see if the upload went through. S3 Client will throw an error on putObject if something is wrong.
Why i commenting with a sample code response, is cause i never actually done a real code contribution to somebody elses' repo in github.... I wouldn't know how. I know it's kind of sad =) LOL |
Hi @antonskv |
Hi -
This is not working if I want to upload images directly into an S3 bucket mounted on my EC2 instance using s3fs.
Have you tested it?
The text was updated successfully, but these errors were encountered: