amazon-s3

Amazon S3 - S3sync full TCP buffer

Sending files via a cron to S3, the files send but the TCP buffer fills up and does not clear/empty which causes chaos with the server services. this is the line in plesk panel (like in the other post): tcpsndbuf 2,712,477 2,867,477 bytes Total size of buffers used to send data over TCP network connections in the plesk help...

Uploading files to S3 using paperclip, IOError (closed stream) error

Hey Guys, I am currently having issues uploading files to amazon S3 while using paperclip. It uploads half the files, and then chokes, with the error: IOError (closed stream) I have no idea what's causing this, any help would be really appreciated. Here's the stack trace: /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/conne...

Heroku and Refinerycms: Application failed to start ~ attachment_fu problem

Ok so I'm trying to get Refinerycms working with Heroku, and I'm new at all of this. I've set up an amazon s3 account and added keys and ids to the amazon_s3.yml files. When launched on Heroku at gart.heroku.com I get the following error: App failed to start /disk1/home/slugs/141557_e8490b3_d5eb/mnt/vendor/plugins/attachment_fu/lib/t...

lighttpd in Amazon s3

Im planning to host my site in Amazon s3. Is it possible to stream videos using lighttpd streaming server? ...

Is it possible to monitor Amazon S3 resource usage via a Ruby on Rails app?

Let say, I have a web application that allows users to upload images and documents and my application stores all those assets on S3, is there a way I can monitor resource usage PER user account? For example, if a user account has a 1GB storage limit, how can I monitor how much of that allowance any individual is using? Furthermore (but...

Saving Python Complex Data Types to Amazon S3

Can Python class data be saved to S3 without marshalling? I am trying to cut down of I/O operations until necessary. ...

Web service connection timeout on Amazon S3

Hi there, Im using the follow code to connect to Amazon S3 to list contents of a bucket: ThreeSharpWrapper wrapper = new ThreeSharpWrapper(AccessKeyID, SecretAccessKey); Response.Write( wrapper.ListBucket(strBucket)); And I get the following error: A connection attempt failed because the connected party did not properly respond afte...

Disaster recovery for files on Amazon S3?

We outgrew the disc space on our server some time ago, so I made the decision to move the majority of our user generated content onto Amazon S3. Obvious benefits in saving space, reducing bandwidth cost and spreading requests away from our server which also deals with Apache and MySQL. We have about 150GB of images all in three sizes, s...

What's the best way to serve images across a cluster in Amazon Cloud?

We want to be able to have a folder that can securely serve images across a cluster of web servers. What's the best way to handle this in the Amazon Cloud? S3? EBS? Cloudfront? ...

Alternative to Amazon’s S3 service?

Just wondering if there is good alternative to Amazon's S3 service? I like S3 but the bandwidth cost is high. I looked at CouldFiles from Rackspace but the cost is even higher. I don't mind prepaying or having monthly payment in order to reduce the bandwidth cost greatly. Thank you for any help ...

Filesize with SWFUpload and Amazon S3

Hello all, I'm currently using SWFUpload to upload files to my S3 bucket. And it's working great. I'm using the script from a website here: http://www.anedix.com/news/article/50 Again, the upload to my S3 works fine, however, I've been running into an issue when attempting to upload larger files. It seems that I cannot upload any...

Amazon S3 and swfaddress

I recently migrated a large AS3 site (lots of swfs, lots of flvs) to Amazon S3. Pretty much everything but HTML and JS files is being stored/served from Amazon, and it's working well. The only problem I'm having is that I built the site using SWFaddress (actually, via the Gaia framework which uses SWFaddress), and for some reason, SWFa...

Data Structure Behind Amazon S3s Keys (Filtering Data Structure)

I'd like to implement a data structure similar to the lookup functionality of Amazon S3. For those of you who don't know what I'm taking about, Amazon S3 stores all files at the root, but allows you to look up groups of files by common prefixes in their names, therefore replicating the power of a directory tree without the complexity of...

MPMoviePlayerController S3 authentication

I'm trying to stream a video that is stored on Amazom S3 services. I've tried passing the url with authentication using MPMoviePlayerController but with no success. Like this: http://theusername:[email protected]/path/to/the/video Have anyone done this before? I would like some advices, thanks. ...

Serving images from Amazon S3 in PHP application

So it just occurred to me that once I upload profile pics to S3, I have to figure out a way to keep track of the files. For example, if "susan" uploads 3 profile pics, I need to recall those 3 pictures and display it on her profile page if someone views her page. With that said, would the following work? User uploads picture from form ...

How do I parse this json with php and upload some elements to Amazon S3?

Hello All, I have to import from an api http://somegoodrecipe.com/recipes/?format=json. It has 5 components: recipe_id recipe_title recipe_thumbnail (image) recipe_swf_url (flash) recipe_description I can use this to print it out: $json = file_get_contents("http://somegoodrecipe.com/recipes/?format=json", true); $decode = json_dec...

EC2 - taking an EBS snapshot, saving to S3, and then launching instances from S3

I like the convenience of taking an AMI snapshot - but ideally I do no want to pay for the volume to be attached to my running instance. Is there a way to save a snapshot instance to S3 and then launch from S3 without attaching a volume to the running instance - gaining the convenience of snapshots - without the running costs? ...

How to offer large audio files for download after payment

Hi, I want to offer audio files for download on my site, after a user has completed a PayPal transaction. The commerce side of it is already written and working - the site is built in PHP with Zend Framework. So that I don't incur large charges for storage and bandwidth, I'd like to host the files on a service like Amazon S3. However, ...

Retrieve binary data from S3 storage through AWS.NET in C#

I've tested most of the included samples in the AWS SDK for .NET and they all works fine. I can PUT objects, LIST objects and DELETE objects in a bucket, but... lets say I delete the original and want to sync those files missing locally? I would like to make a GET object (by key/name and bucket ofcause). I can find the object, but how ...

Automated incremental backups from Plesk on Centos to Amazon S3

Hi, I've done a far bit of research on this via Google and there seems to be quite a few ways of possibly doing this. I'm looking to incrementally backup new and updated files in two directories on my Plesk run Centos 5.2 server: /backups and /var/www/vhosts (preferable only httdocs within each vhost) Has anyone got some great feedback...