amazon-s3

Trying to set up Amazon S3 filesystem in Apache Commons VFS in java

I'm trying to use VFS S3 a plugin for the Apache Commons VFS for Amazon S3. I've included the jar and it's recognising the s3 schema. However when I try to open a file (which is public, I can open it on my web browser), I get this error: Could not create a file system manager of class "org.apache.commons.vfs.impl.StandardFileSystemMan...

Ruby on Rails / Paperclip / AWS::S3::NoSuchBucket error

Hello; I installed the paperclip plugin and was able to use it locally. When I configured it to work with amazon S3 I keep getting the NoSuchBucket (The specified bucket does not exist) error. Paperclip documentation states that the bucket will be created if it doesn't exist but clearly something is going wrong in my case. I first insa...

Cloudfront dist on top level domain

Is it possible to point a top level domain like http://example.com to a amazon cloudfront distribution? I know it's possible with CNAME's but as far as i know i need to set a A-name record for the top level domain in the DNS settings. ...

ClickOnce and Amazon S3

Hi, I testing the deployment of my project using clickonce. Boy was I in for a surprise. I am using quite a few 3 party dlls and my clickonce payload is 24MB. This obviously takes a while to get down to my users, especially those on VPN. Has anyone used clickonce with Amazon S3? Can this even be done? I am thinking on publishing my depl...

Can I retrieve my Flex .swf and images from different Amazon S3 buckets?

I have a Flex 3 SWF in one Amazon S3 bucket, which dynamically loads images for buttons which are stored in another S3 bucket. I have set a completely open crossdomain.xml file in each bucket, but when I call the SWF from my web site, only a few button images load - and they're just the 'up' or 'normal' state button images (i.e. not 'do...

All of a sudden, my Amazon S3 HTTP requests aren't working. Signature Does Not Match error. Help?

My code was working just fine a couple days ago. Then, all of a sudden, BAM: it stopped working. My PUTs stopped going through, with a SignatureDoesNotMatch error. Help? require_once 'Crypt/HMAC.php'; require_once 'HTTP/Request.php'; function uploadFile($path_to_file, $store_file_as, $bucket, $debugmode = false) { $S3_URL = "...

Advantages of creating .ram, .wvx, .m3u files for hosting and streaming audio/video files?

We will be soon hosting a large number of audio and video files that have been historically saved in 3 various formats. (.rm, .wmv, .mp3) Should we create pointer files (.ram, .wvx, .m3u) for Web site visitors and search engines to consume them? If I create links to the actual media files directly, what are the implications? Are the p...

amazon s3 developer free account for testing purposes

i m suppose to use amazon s3 in my application to upload/download files, can anyone guide me if i can have developer test or sandbox account (free) for development time testing only... any reliable library to ease operations using .net? and what would be if i m transferring file on amazon s3 server and for any reason connection breaks...

Upload image using Amazon S3

Hi, I need to upload a given image using Amazon S3 I have this PHP: <? $uploaddir = 'images/'; $file = basename($_FILES['userfile']['name']); $uploadfile = $uploaddir . $file; if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { echo "Data Uploaded Successfully"; } else { echo "ERROR"; } ?> but it gives me...

Serving files over HTTPS dynamically based on request.ssl? with Attachment_fu

I see there is a :user_ssl option in attachment_fu which checks the amazon_s3.yml file in order to serve files via https:// In the s3_backend.rb you have this method: def self.protocol @protocol ||= s3_config[:use_ssl] ? 'https://' : 'http://' end But this then makes it serve ALL s3 attachments with SSL. I'd like to mak...

Tutorial On Deploying Rails Apps to the Amazon Cloud?

I'm looking for a solid beginning-to-end type tutorial for deploying a Rails application to the Amazon Cloud. Hopefully such a tutorial would include guidance on how, if at all, S3 should be used as well as managing all your persisted data collected in your database of choice. ...

Amazon S3 Redirect on Access Denied

Is there some way to redirect a user that reaches gets the AccessDenied-error on a bucket? Some bucket-config maybe? Are there any sort of redirect features at all for s3/cloudfront? I thought it might be a way to solve the problem with not being able to have zero-keys so that you can show your users something usable if they go to the "...

What Amazon S3 .NET Library is most useful and efficient?

There are two main open source .net Amazon S3 libraries. Three Sharp LitS3 I am currently using LitS3 in our MVC demo project, but there is some criticism about it. Has anyone here used both libraries so they can give an objective point of view. Below some sample calls using LitS3: On demo controller: private S3Service s3 = n...

Creating an Amazon EC2 Backup solution to Amazon S3

I currently use Amazon S3 as a backup location for my local machines - Primarily using JungleDisk to backup nightly all my local files to my S3 account. I have been looking at creating a more intelligent backup solution for remote files - Websites on Windows and Linux boxes, along with SQL Server and MySQL databases. I have been ponder...

How do i fix my S3/memcache latency problem?

We have SERIOUS latency issues SOMETIMES on our server. We store 3 things of interest in S3 and stuff them into memcache as well. User avatars averaging ~25k text ~1.5k xml ~1.5k we have dedicated 128meg of ram for memcached as of right now... as of right now it is riding 74 meg of it doing some basic math we should easily be able ...

Help understanding Amazon Web Services pricing

Hi I am trying to understand Amazon's pricing for regional data transfer... I have an EC2 instance in a us-east region and an S3 bucket in the EU. I am also using a 3rd party service that uses an EC2 instance that is only available in the US. Can someone help to clarify what I am charged and where. Data can take one of 2 routes: 1GB...

How to clone a key in Amazon S3 using Python (and boto)?

I have a file contained in a key in my S3 bucket. I want to create a new key, which will contain the same file. Is it possible to do without downloading that file? I'm looking for a solution in Python (and preferably boto library). ...

Does anyone have experience using the Affirma ThreeSharp library on a 64 bit machine?

I have been developing and testing the ThreeSharp library on a 32bit Vista machine with no problems. However, when I deploy to a 64 bit machine the application will start ok then dramatically slow down after about 1 minute and terminate without any message. When I look into the logs I see "Application Error, faulting module KERNEL32.dll"...

can Amazon be used to offload server of static files for a Ruby on Rails app, but still support the app's authentication & authorization?

Hi, Can one of the Amazon services (their S3 data service, or otherwise) be used to offload server of static files for a Ruby on Rails app, but still support the app's authentication & authorization? That is such that when the user browser downloaded the initial HTML for one page of the Ruby on Rails application, when it went back fo...

how to use a private yum repo on amazon-s3 to provision amazon-ec2 instances?

My fantasy is to be able to spin up a standard AMI, load a tiny script and end up with a properly configured server instance. Part of this is that I would like to have a PRIVATE yum repo in S3 that would contain some proprietary code. It seems that S3 wants you to either be public or use AMZN's own special flavor of authentication. Is...