changing riak-cs server hostname

Kelly McLaughlin kelly at basho.com
Tue Jul 9 15:46:01 EDT 2013


Guy,

First, in your riak_cs config file you'll want to change the value of
cs_root_host to "s3.bksv.com". Then in the riak_cs_control config file
change the value of cs_hostname to also be "s3.bksv.com". That should be
all you need to do as long as *.s3.bksv.com resolves to your RiakCS machine.

Kelly


On Mon, Jul 8, 2013 at 11:59 PM, Guy Morton <Guy.Morton at bksv.com> wrote:

> Let me be more specific...
>
>        %% Instance of Riak CS you wish to talk to.
>        {cs_hostname, "s3.amazonaws.com" },
>        {cs_port, 8080 },
>        {cs_protocol, "http" },
>
>        %% Proxy information; necessary if you are using s3.amazonaws.comas
>        %% your hostname.
>        {cs_proxy_host, "s3.bksv.com" },
>        {cs_proxy_port, 8080 },
>
> Now, if I address the machine as s3.amazonaws.com from my local machine
> (using a hosts file to map that to the RiakCS machine's IP) it works fine.
>
> If I try and access it as s3.bksv.com I can list buckets but attempting
> to open them gets me an access denied response.
>
> So I'm a bit confused.
>
> --
> Guy Morton
> Web Development Manager
> Brüel & Kjær EMS
>
> ________________________________________
> From: riak-users [riak-users-bounces at lists.basho.com] on behalf of Guy
> Morton [Guy.Morton at bksv.com]
> Sent: Tuesday, 9 July 2013 3:54 PM
> To: riak-users [riak-users at lists.basho.com]
> Subject: changing riak-cs server hostname
>
> Hi guys
>
> I have a riak-cs server I've successfully got working using
> s3.amazonaws.com as the hostname. I'm using host files to access it form
> my local machine. What do I need to do to change the hostname?
>
> I want to be able to use both Amazon S3 and RiakCS, you see.
>
> regards
>
> --
> Guy Morton
> Web Development Manager
> Brüel & Kjær EMS
>
> This e-mail is confidential and may be read, copied and used only by the
> intended recipient. If you have received it in error, please contact the
> sender immediately by return e-mail. Please then delete the e-mail and do
> not disclose its contents to any other person.
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
> This e-mail is confidential and may be read, copied and used only by the
> intended recipient. If you have received it in error, please contact the
> sender immediately by return e-mail. Please then delete the e-mail and do
> not disclose its contents to any other person.
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130709/1d1f1f3c/attachment.html>


More information about the riak-users mailing list