amazon-s3

ASIS3request Amazon S3 XML format error

Dear Hepler, I am using ASIS3request to upload a photo from iphone to Amazon S3 service. Basically I followed the instruction on documentation. However I gets the following error. "The XML you provided was not well-formed or did not validate against our published schema". For your reference I attached a code below. ASIS3Request...

Amazon S3 - Posting form using html and PHP content-disposition problem

I am having trouble putting files onto my S3 account using http post. Everything is working great, but I want the key and filename to be different. I'm specifying the key just fine and my policy doc is working fine too. I include this line in my policy doc ["starts-with", "$Content-Disposition", ""] and this is the input for my Conten...

Amazon S3 and Thumbnail generation... help?

I'm stuck for ideas on this one. I'm working on a CMS that uses a file-browser to store all media file in an S3 bucket. I have 4 options for thumbnail sizes which generate new thumbnail images from original image. If I'm doing this server-side in PHP it's fine - I'm just at loss as to how to do this if all the original files are s...

Heroku: Serving Large Dynamically-Generated Assets Without a Local Filesystem

I have a question about hosting large dynamically-generated assets and Heroku. My app will offer bulk download of a subset of its underlying data, which will consist of a large file (>100 MB) generated once every 24 hours. If I were running on a server, I'd just write the file into the public directory. But as I understand it, this is ...

getting global s3 bucket name while using paperclip in rails

This is probably a silly question, but is there a way I can pull out the root bucket name out of the YML s3 file I have? Other tutorials I've seen just assume that the buckets are named development/test-(whatever). I just want to pull exactly what is in the amazon 3s yml out of there, or else I'll have to hard code it... I've tried like...

aws-s3 can't find xml-simple, but in gem list

I'm transitioning to heroku, and need to have AWS-s3 connections to deal with a variety of graphics. I've installed the aws-s3 gem, but one of its dependencies is not being found: xml-simple. My belief is that this is a standard part of RoR, and it is in the gem list. When I deploy to heroku, all is fine, but on my development server, i...

MIgrating data from EC2 to S3?

I am running a Rails app using Paperclip to take care of file attachments and image resizing, etc. The app is currently hosted on EngineYard cloud, and all attachments are stored in their EBS. Thinking about using S3 to handle all Paperclip attachments. Does anyone know of a good and safe way for this migration? many thanks! ...

Loading secret FLV files from Amazon S3

I'm starting a new project that involves users paying to see educational videos. These videos (FLV) are hosted with Amazon S3 while the site itself is hosted on a regular web host. I've tried to read up on securing the S3 files, and can't find any good solution for this. I don't want my users to download the videos directly. I read som...

What is the estimated S3 file loss percentage

I am trying to communicate to a client the likely-hood of losing files in S3. I would also like to know if it is possible to lose an entire bucket from S3. So, I would like to know the following: Is there a documented expected file loss percentage in S3? Is there a documented expected bucket loss percentage in S3? When I say "lo...

Using Uploadify to POST Directly to Amazon S3

Can anyone tell me how to use Uploadify to upload directly to Amazon S3? My code is as follows: $('#fileInput').uploadify({ 'fileDataName' : 'file', 'uploader' : 'uploadify.swf', 'script' : 'http://BUCKET-NAME-GOES-HERE.s3.amazonaws.com/', 'cancelImg' : 'cancel.png', 'method' : 'post', 'au...

Amazon Computing Cloud: what does it cost for personal use?

Basically what I want to do is this: get a cheap linux server make a little Ruby on Rails project, I plan to toy a bit with Sinatra as well store my AMI on S3 So I input the following data into the calculator: S3: Storage: 5 GB Data transfer in: 1 GB Data transfer out: 1 GB PUT/LIST Requests: 10000 Other Requests: 10000 EC2: S...

Should I be concerned with bit flips on Amazon S3?

I've got some data that I want to save on Amazon S3. Some of this data is encrypted and some is compressed. Should I be worried about single bit flips? I know of the MD5 hash header that can be added. This (from my experience) will prevent flips in the most unreliable portion of the deal (network communication), however I'm still wonde...

Automate deployment of files to Amazon S3?

I have a Rails project that I will be deploying to the spectacularly awesome Heroku. I would really like to be able to automate pushing my resources to Amazon S3 automatically, resources in this case being my images, stylesheets and javascript. Obviously I can write some sort of capistrano task to do this myself, but does anyone know ...

Amazon S3 POST upload (from iPhone)

A bit of background: I am building an iPhone app with a complementary server backend (written in Rails or possibly Sinatra, but probably not relevant for this discussion). Part of the functionality involves uploading pictures from the iPhone to the server. These ultimately get stored on S3, so in order to simplify the app and conserve ba...

Connection refused to s3 storage

Hello everybody, I m trying to upload a file through attachment fu to amazon s3 storage using the following code :- has_attachment :storage => :s3, :content_type => ['audio/mp3','audio/flac','audio/wav'], :path_prefix => '#####', :output_path => '######', :processor =>...

What's a good way to collect logs from Amazon EC2 instances?

My app is hosted on an Amazon EC2 cluster. Each instance writes events to log files. I need to collect (and data mine) over these logs at the end of each day. What's a recommended way to collect these logs in a central location? I have thought of several options, not sure which way to go: scp them to an instance using a cron job Log al...

Amazon S3 over VPN

Is it possible to establish VPN connectivity to Amazon S3 directly without utilizing Elastic cloud EC2? ...

Gettting error S3StatusConnectionFailed

Hi , I am writing amazon webservice but i am getting error S3StatusConnectionFailed when i use s3_put_object , I am able to create a bucket but when i want to upload file on bucket then i am getting error S3StatusConnectionFailed , what is this error i am not able to find solution pls help. my code const char filename[] = "c:\url_20...

Using a CDN like Amazon S3 to control access to media

Hi. I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql database. My problem is this... A high level member who has access to lots of flash files and content can simply find out the URL and the...

How to get the md5sum of a file on Amazon's S3

If I have existing files on Amazon's S3, what's the easiest way to get their md5sum without having to download the files? Thanks ...