I have a Image Hosting Site that is using Amazon S3 as a main source for bandwith and storage.
I have a few option here to prevent other sources from stealing my bandwith, but I am hoping there are more or other alternatives.
Query String Authentication
Url Rewrite
Are there better ways to prevent thieves from hot-linking to my Amaz...
Hi.
I have made use of the jQuery uploadify example with Amazon S3 and seem to be getting an error 404. Where is this error coming from...
In the example it states that all you need to do is change the details and obviously replace it with your credentials, (AWS key, AWS Secret and bucket name) which has been done, but for some reason ...
If I make an Amazon s3 MP4 resource publically availible and then throw the Html5 Video tag around the resource's URL will it stream? Is it really that simple. There are a lot of "encoding" api's out there such as pandastream and zencoder and I'm not sure exactly what these companies do. Do they just manage bandwidth allocation(upgrading...
Hi
I'm moving an application onto Heroku and subsequently realised I'll need to set up an S3 bucket in the states where currently it's in the EU. This is to avoid having to pay for transfers.
What isn't clear to me is which US S3 bucket I should choose. I'm presented with Northern California and US Standard Regions but cannot find any...
Hello,
Can someone please show me how to determine if a certain file/object exists in a S3 bucket and display a message if it exists or if it does not exist.
Basically I want it to:
1) Check a bucket on my S3 account such as testbucket
2) Inside of that bucket, look to see if there is a file with the prefix test_ (test_file.txt or t...
Im getting this error when I try and make an object. Here is my routine:
service = S3::Service.new(
:access_key_id => S3_ACCESS_KEY,
:secret_access_key => S3_SECRET
)
puts "connection established with s3"
puts "finding bucket"
bucket = service.buckets.find("test")
puts "building object"
object = bucket.objects.build("jso...
this is coming up on my save, not when I try and sign in. Here is my code:
service = S3::Service.new(
:access_key_id => S3_ACCESS_KEY,
:secret_access_key => S3_SECRET
)
puts "connection established with s3"
puts "finding bucket"
bucket = service.buckets.find("")
puts "building object"
object = bucket.objects.build("#{RAIL...
Hi,
I'd like to host my photo galleries on Amazon S3. Some would be public, some password-protected. What is the best way to achieve this? As far as I know S3 doesn't supports .htaccess files.
Thanks,
Istvan
...
Hi.
How would I go about uploading files to S3 from a Google Web Toolkit page? Ideally, it would all be done asynchronously, allowing me to display a progress bar.
...
I'm migrating my rails app to Heroku and need to change my file upload functionality to use Amazon S3 instead of local storage. I am using the aws-s3 gem and have this working but just want to make sure that I'm doing things right and not creating problems for myself.
In my uploading code I have the following;
AWS::S3::Base.establish_c...
I routinely upload large bzipped sql files to S3 and have been noticing it crashing lately with this error. What might be causing this? Its always the same files that crash, but I am able to upload larger ones without a problem so it doesnt seem to be a size limit.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has oc...
I have a site on example.com that loads all its static components from s.example.com (an amazon cloudfront distribution).
Now i would like to make some pages of example.com to use https so i thought i'd buy a ssl certificate for example.com, but since the pages loads images and other stuff from s.example.com the https will break since s...
I am trying to save an image attachment sent to my rails app to s3 using paperclip however I am hitting these problems:
Its getting to the attachment loop and failing with a
NoMethodError (undefined method `size' for #<Mail::Part:
0x2b62856e8030>):
app/mailers/user_mailer.rb:23:in `receive'
app/mailers/user_mailer.rb:14:in `eac...
I'm looking for examples of large websites that are hosted on Amazon EC2/S3/Cloudfront/etc.
I worked at a company where we ran a site that did 500k unique visitors per month on EC2 running 10 instances but that's still relatively small potatoes compared to some larger sites. I know smug mug and foursquare are also hosted on EC2. What ot...
Setting up paperclip to use S3 on my local dev system was a snap. However, I am not able to get it to work on Heroku.
The file uploads successfully:
[paperclip] Saving attachments.
[paperclip] saving photos/2/small.jpg
[paperclip] saving photos/2/original.jpg
However, views that try to link to the upload get a routing error:
Action...
Why would that happen?
Its ACL permissions are identical to all the other photos.
These photos are hosted via an S3 bucket, but again, there's nothing different than any of the others.
Here is the file URL:
http://s3.amazonaws.com/hq-photo/root/system/images/340/resized_thumb/Osseo-Endo_System.png?1272485279
It's occurring with two...
References:
http://www.grails.org/plugin/amazon-s3
http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/services/org/grails/s3/S3AssetService.groovy
http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/domain/org/grails/s3/S3Asset.groovy
By "happy" names, I mean the real name of the file I'm up...
I have been trying for a month and a half now to transfer files and update ACL permissions.
My bucket in question is 28gigs, and has over 45,000 objects in it.
It generally takes three days to do it. I've tried the following :
Bucket Explorer
CloudBerry
s3sync
s3cmd
s3 organizer
s3fox
And quite frankly, none of them can handle it. ...
Hi All,
I'm performing streaming reads of an object using BufferedReader.
I need to do two things with this object:
Pass it to a SuperCSV csv reader
Obtain the raw lines and keep them in a (Clojure) lazy sequence
Currently, I am having to use two different BufferedReaders: one as an argument to a SuperCSV CSV reader class and one t...
Setting up paperclip with S3 in my linux dev environment was a snap -- everything works out of the box. However, I can't get it to work on Heroku.
When I try to do an upload, the log shows:
Processing ItemsController#create (for 72.177.97.9 at 2010-08-26 16:35:14) [POST]
Parameters: {"commit"=>"Create", "authenticity_token"=>"0Hy3...