views:

181

answers:

1

I'm hoping to reach someone with some experience using a service like Amazon's S3 with this question. On my site we have a dedicated image server. And on this server, we have an automatic 404 redirect through Apapche so that, if a user tries to access an image that doesn't exist, they'll see a snazzy "Image Not Available" image.

We're looking to move the hosting of these images to a cloud storage solution (S3 or Rackspace's CloudFiles), and I'm wondering if anyone's had any success replicating this behavior on a cloud storage service and if so how they did it.

A: 

THe Amazon instances are just like normal hosted server instances once they are up and running so your Apache configuration could assumedly be identical to what you currently have.

Your only issue will be where to store the images. The new Amazon Elastic Block Store makes it easy to mount a drive based on S3 backed data. You could store all your images on such a volume and use it with your Apache instance.

sipwiz
I'm not currently using a cloud server, just the storage solution (S3, not EC2). While that would certainly get the result I want, I'm wondering if there's something more native to S3 that doesn't use EC2.
Jeremy DeGroot
Ok gotcha. Have you seen the way you can use S3 as a virtual web host for files http://docs.amazonwebservices.com/AmazonS3/latest/index.html?VirtualHosting.html. Could you store your images on S3 and access them using that approach?
sipwiz