amazon-s3

is it good to use S3 for Rails "public/images" and there an easy way to do it?

I'm somewhat new to S3. I'm wondering if it's a good idea to put public/images in S3 bucket and if so is there an easy way to do the move? ...

What is Amazon S3's logging client-id?

Can anyone comment on how Amazon S3 tracks for its client-id that it logs via HTTP? Assume it sets cookies and matches to a surrogate numeric ID for reporting? http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/index.html?AccessLogs.html ...

Is is possible to read a file from S3 in Google App Engine using boto?

I want to manipulate a pickled python object stored in S3 in Google App Engine's sandbox. I use the suggestion in boto's documentation: from boto.s3.connection import S3Connection from boto.s3.key import Key conn = S3Connection(config.key, config.secret_key) bucket = conn.get_bucket('bucketname') key = bucket.get_key("picture.jpg") fp...

Cloud based server for PHP

Hello, I plan to open a subscription based website that will be video and image heavy. I have the video and image hosting sorted using Amazons S3 and CDN. now, I will still need a main server to host php/html files and the mysql database. My question is, is there a scalable solution (that has redundancy incase of spikes) to replace my ...

Do I need both cache-control and expires on my images hosted on amazon s3?

I've recently switched to hosting the images for my site onto s3, and when i upload images to s3 i add this metatag : "Cache-Control=public,max-age=2593000" when I run yslow, it tells me the images have no far-flung expiry date (Expires metatag). Do I have to add an Expires entry too ? I've searched quite a bit and it seems you real...

Which image hosting is better?

My website is having nearly 50 GB of images and growing gradually. I want to move these images to either S3 or another image hosting server. As an alternative solution, I want to keep these at another domain and want to serve images from there. In terms of performance and monthly server charges, which one will be good - S3 or dedicated...

Trying to upload large mp4 to amazon s3. All other files work, but the ones im uploading.

Hello all, I have built an s3 uploader to select a file and upload it via amazon's s3 class. I have it working and it uploads all other media except for these particular mp4 files that im am building this for. I have even tested it with larger sized files. It only seems to be these mp4 files. File: MP4 AVC/H.264 1280x764 (60M average ...

Enabling AWS IAM Users access to shared bucket/objects

Is it possible to expose Amazon S3 account bucket (shared by ACL setings) to the users setup using new Amazon AIM API under different account? I'm able to create working IAM policy when related to the users and objects belonging to a single account. But as it seems this no longer works when two different accounts are involved - despite ...

Using Paperclip with files already on Amazon s3

Hi guys, I am building a Rails application that works with videos. I am using an encoding service that encodes my video and places the encoded file along with some thumbnails in a specified location on my s3. I am able to access the video via AWS:S3 like so: AWS::S3::S3Object.find 'videos/36/base/video.mp4', 'my-bucket-name' -- or -...

Correct way to take a snapshot

I've asked this question before, but I am still confused. What's the correct and quickest way to take a snapshot (I only use EBS-backed Unix and Windows machines, so that's all my interest right now). Some ideas: Just take the snapshot... This seems to sometimes cause system corruption. Stop the machine, take the snapshot and then star...

Amazon S3 direct upload not recognizing file's content type

I have my Rails application set up where each user can upload an avatar. The image is uploaded directly to Amazon's S3 using HTTP Post. So far everything is working except that the user is able to upload any type of file. I'm using a fork of the d2s3 plugin by camelpunch. Here are the helpers: policy = Base64.encode64( "{'expirat...

Storing files (videos/images/music) in CouchDB/Cloudant vs CDN (CloudFront)?

I am new to CouchDB/Cloudant and CDN (CloudFront). I am about to build an application using CouchDB as database. This web application will handle a lot of files. I know that CouchDB can store files in the database as attachments. But then I have heard about leveraging CDN to store and distribute the files all over the world. My quest...

how to link a video from amazon s3 account into my website

Hello, I have an amazon s3 account. As i am expecting a large amount of traffic to my site i want to put the videos to be placed in my s3 account and stream it up to my website. How can i do that? Thanks Prady ...

Ruby on Rails - Clean up url parameters

I have a Rails app set up so that when a user uploads an image, it is sent directly to Amazon's S3. I have to specify a redirect address in the form code. After the image is finished uploading, Amazon redirects the user to www.redirect_address.com/?bucket=[BUCKET]&key=[KEY]&etag=[ETAG] I need the bucket and key info to process the image...

Short delay on first init

(AWSSDK 1.0.14.1) Hello! I (or better, "someone" ;-)) noticed that there is a small delay on the first call to any initialization prior to calling S3 methods. For example: GetObjectRequest request = new GetObjectRequest().WithThisAndThat()... On the first call this takes some time (around half a second, measured with simple DateTime...

S3 limit to objects in a bucket

Does anyone know if there is a limit to the number of objects I can put in an S3 bucket? can I put a million, 10 million etc.. all in a single bucket? ...

play s3 amazon video on facebook application

Hello , I have uploaded video on s3 amazonws and now I want to play these video on face book. I am using <fb:swf swfbgcolor="000000" swfsrc='player.swf?file=http://s3.amazonws.com/bucketname/key&amp;image=' imgsrc='' width='550' height='350'/> Does anybody know about this. ...

Error restoring postgres database backup

Hi everyone. I've setup a system to automatically download and store a db dump from my Heroku deployed rails app. Everything is working great but when I download the dump and restore it to my local postgres server then try and run my local app off that restored database I get this error ActiveRecord::StatementInvalid in HomeController#i...

Are there any bandwidth fees on Amazon S3?

Amazon's documentation is being somewhat vague with me ... if I host images on Amazon S3 do I pay for "Data Transfer Out" every time an image is loaded? Do I pay for a GET request on top of that? ...

How to create multiple keys for the same object in Amazon S3 OR CLOUDFRONT?

I am syndicating out my multi-media content (mp4 and images) to several clients. So I create one S3 object for every mp4 say "my_content_that_pays_my_bills.mp4" and let the client access the S3 URL for the objects and embed it wherever they want. What I want is for client A to access this MP4 as "A_my_content_that_pays_my_bills.mp4" ...