English 中文(简体)
What s the best way to serve images across an EC2 cluster on AWS?
原标题:

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 with Amazon Web Services (AWS)? Amazon S3? Amazon Elastic Block Store (EBS)? Amazon Cloudfront?

EDIT: Answer no longer needed...thanks.

问题回答

I m not sure what your main goal is or if you have read about the services you ask about. But I will try to explain it as far as I ve understood AWS and your choices:

  1. S3 is a STORAGE (with buckets and objects, a sort of folder structure with meta access)
  2. EBS is a VOLUME (these are attached to an EC2 instance as extra drive you can access as a local harddrive)
  3. CloudFront is a WEB-CACHE (you select which datacenter you want them in, and then you point at a S3 bucket and Amazon will replicate the content for you)

So we only need to figure out what you mean by "securely" as there are two options as I see it:

  1. You can protect buckets in the S3 or make access levels with accounts, for "administrator access" only and PUBLIC READABLE...

  2. You can store the data in a EBS volume and keep them there, then they are very secure and NOT public, but shareable (I believe) among the servers (I ve planned to check out this myself within the next week)

  3. You cannot protect "cloudfront" data as it s controlled by the Bucket permissions from S3...

Hope you can use this a little. I ve not stated anything regarding SPEED nor COST, thats for you to benchmark/test with your data requirements. :o)





相关问题
Mount windows shared drive to MWAA in bootscript

In MWAA startup script sudo yum install samba-client cifs-utils -y sudo mount.cifs //dev/test/drop /mnt/dev/test-o username=testuser,password= pwd ,domain=XX Executing above commonds giving error - ...

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can t seem to figure out how to go about it. Their documentation is barely there. There is: ...

Using a CDN like Amazon S3 to control access to media

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 ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

热门标签