* Configuring radosgw to behave like Amazon S3
@ 2012-07-09 13:00 Florian Haas
2012-07-09 16:39 ` Yehuda Sadeh
0 siblings, 1 reply; 3+ messages in thread
From: Florian Haas @ 2012-07-09 13:00 UTC (permalink / raw)
To: ceph-devel
Hi,
I find it kind of neat that you can use radosgw to convince S3 clients
that they are in fact talking to the "real" Amazon S3, with just a bit
of config and DNS trickery, but haven't seen this documented anywhere.
So I decided to add a little page to the Hints & Kinks section on our
website, in the hope that it's useful. If anyone wants to share
comments, feedback or corrections, please do so either here on the
list, or on the page directly (scroll down to "add new comment";
leaving comments requires you to log in in an effort to combat comment
spam).
http://www.hastexo.com/resources/hints-and-kinks/configuring-radosgw-behave-amazon-s3
As a side note, I'm not 100% sure if the information listed in
http://ceph.com/docs/master/radosgw/s3/ with respect to S3 API
compatibility is entirely accurate. Specifically, it seems that the
"Bucket Website" feature *is* supported by way of "rgw dns name"
(unless I'm missing something, and Bucket Website refers to something
different). Thoughts on that would also be appreciated.
Cheers,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configuring radosgw to behave like Amazon S3
2012-07-09 13:00 Configuring radosgw to behave like Amazon S3 Florian Haas
@ 2012-07-09 16:39 ` Yehuda Sadeh
2012-07-09 19:50 ` Florian Haas
0 siblings, 1 reply; 3+ messages in thread
From: Yehuda Sadeh @ 2012-07-09 16:39 UTC (permalink / raw)
To: Florian Haas; +Cc: ceph-devel
On Mon, Jul 9, 2012 at 6:00 AM, Florian Haas <florian@hastexo.com> wrote:
> Hi,
>
> I find it kind of neat that you can use radosgw to convince S3 clients
> that they are in fact talking to the "real" Amazon S3, with just a bit
> of config and DNS trickery, but haven't seen this documented anywhere.
> So I decided to add a little page to the Hints & Kinks section on our
> website, in the hope that it's useful. If anyone wants to share
> comments, feedback or corrections, please do so either here on the
> list, or on the page directly (scroll down to "add new comment";
> leaving comments requires you to log in in an effort to combat comment
> spam).
>
> http://www.hastexo.com/resources/hints-and-kinks/configuring-radosgw-behave-amazon-s3
Note that for obvious reasons this method can't work when accessing
the RESTful api via https. It is useful as a workaround for handling
clients that are hard coded for amazon.
>
> As a side note, I'm not 100% sure if the information listed in
> http://ceph.com/docs/master/radosgw/s3/ with respect to S3 API
> compatibility is entirely accurate. Specifically, it seems that the
> "Bucket Website" feature *is* supported by way of "rgw dns name"
> (unless I'm missing something, and Bucket Website refers to something
> different). Thoughts on that would also be appreciated.
Yeah, you're missing something. Bucket website is a way to configure a
bucket to behave like a static website by providing default landing
page when accessing the bucket's root, and by providing default error
pages. You can read all about it here:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteHosting.html
Yehuda
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configuring radosgw to behave like Amazon S3
2012-07-09 16:39 ` Yehuda Sadeh
@ 2012-07-09 19:50 ` Florian Haas
0 siblings, 0 replies; 3+ messages in thread
From: Florian Haas @ 2012-07-09 19:50 UTC (permalink / raw)
To: Yehuda Sadeh; +Cc: ceph-devel
On 07/09/12 18:39, Yehuda Sadeh wrote:
> On Mon, Jul 9, 2012 at 6:00 AM, Florian Haas <florian@hastexo.com> wrote:
>> Hi,
>>
>> I find it kind of neat that you can use radosgw to convince S3 clients
>> that they are in fact talking to the "real" Amazon S3, with just a bit
>> of config and DNS trickery, but haven't seen this documented anywhere.
>> So I decided to add a little page to the Hints & Kinks section on our
>> website, in the hope that it's useful. If anyone wants to share
>> comments, feedback or corrections, please do so either here on the
>> list, or on the page directly (scroll down to "add new comment";
>> leaving comments requires you to log in in an effort to combat comment
>> spam).
>>
>> http://www.hastexo.com/resources/hints-and-kinks/configuring-radosgw-behave-amazon-s3
>
> Note that for obvious reasons this method can't work when accessing
> the RESTful api via https. It is useful as a workaround for handling
> clients that are hard coded for amazon.
Point taken, I've added a paragraph saying that while technically
feasible, such HTTPS hackery shouldn't be attempted.
>> As a side note, I'm not 100% sure if the information listed in
>> http://ceph.com/docs/master/radosgw/s3/ with respect to S3 API
>> compatibility is entirely accurate. Specifically, it seems that the
>> "Bucket Website" feature *is* supported by way of "rgw dns name"
>> (unless I'm missing something, and Bucket Website refers to something
>> different). Thoughts on that would also be appreciated.
>
> Yeah, you're missing something. Bucket website is a way to configure a
> bucket to behave like a static website by providing default landing
> page when accessing the bucket's root, and by providing default error
> pages. You can read all about it here:
>
> http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteHosting.html
Thanks.
Cheers,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-09 19:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 13:00 Configuring radosgw to behave like Amazon S3 Florian Haas
2012-07-09 16:39 ` Yehuda Sadeh
2012-07-09 19:50 ` Florian Haas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.