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 <[email protected]> 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 [[email protected]] on behalf of Guy > Morton [[email protected]] > Sent: Tuesday, 9 July 2013 3:54 PM > To: riak-users [[email protected]] > 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 > [email protected] > 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 > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
