Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52312F6CF for ; Wed, 17 Apr 2013 19:44:09 +0000 (UTC) Received: (qmail 69909 invoked by uid 500); 17 Apr 2013 19:44:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 69874 invoked by uid 500); 17 Apr 2013 19:44:06 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 69866 invoked by uid 99); 17 Apr 2013 19:44:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 19:44:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcoli@eventbrite.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 19:44:01 +0000 Received: by mail-qc0-f173.google.com with SMTP id b12so888123qca.4 for ; Wed, 17 Apr 2013 12:43:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=af0I2O0weFfJbNvMpcs5PdO1qrt2wReWjm93DasoIGI=; b=nvdbz1RKs8D4VDyINlg+4EClhSy3NiKnDeTAxulSKogdnWb/q0/boUrtyIGLO7d8ag ECGBEtpuVdo7PDluM4V2EU7UQrOZNvl+0eQrYmjh9jzF1zWy6MG9xkZWyA8PSiTm2xV/ F0FSXNPaEOdpdls9Oa6QT8bHSS4/3NCKmKmaXCU2jNQ3f3vnDLku40w1uWx/K8Em36KB Rva5/9L6e8zRhKKwdBwPg5SbyXXW3JQo6teF/M4Hrcd1LpPfiQGdSZ+tvBDPf2lMRqIO IQ4fxPByy5sLX509OU49/sNpHQKR9IM2sNxbGz2sKEBUTcy3jq8/4CJO1aXphzWa4/f+ /iAA== MIME-Version: 1.0 X-Received: by 10.224.184.20 with SMTP id ci20mr7751552qab.43.1366227820606; Wed, 17 Apr 2013 12:43:40 -0700 (PDT) Received: by 10.49.29.129 with HTTP; Wed, 17 Apr 2013 12:43:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Apr 2013 12:43:40 -0700 Message-ID: Subject: Re: Using an EC2 cluster from the outside. From: Robert Coli To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf303b38ebee0d1304da93b304 X-Gm-Message-State: ALoCoQmAa6r8XIwqkT4yaDFlE9qkaXGMPppF/CYzopaxR4hhyxaqFCJ/Tn/5qU8asWQ9EowwbUd+ X-Virus-Checked: Checked by ClamAV on apache.org --20cf303b38ebee0d1304da93b304 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 17, 2013 at 12:07 PM, wrote: > I have a working 3 node cluster in a single ec2 region and I need to hit > it from our datacenter. As you'd expect, the client gets the internal > addresses of the nodes back. > > Someone on irc mentioned using the public IP for rpc and binding that > address to the box. I see that mentioned in an old list mail but I don't > get exactly how this is supposed to work. I could really use either a link > to something with explicit directions or a detailed explanation. > > Should cassandra use the public IPs for everything -- listen, b'cast, and > rpc? What should cassandra.yaml look like? Is the idea to use the public > addresses for cassandra but route the requests between nodes over the lan > using nat? > > Any help or suggestion is appreciated. > Google "EC2MultiRegionSnitch". =Rob --20cf303b38ebee0d1304da93b304 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Wed, Apr 17, 2013 at 12:07 PM, <<= a href=3D"mailto:maillists0@gmail.com" target=3D"_blank">maillists0@gmail.c= om> wrote:
I have a working 3 node cluster in a single ec2 = region and I need to hit it from our datacenter. As you'd expect, the c= lient gets the internal addresses of the nodes back.

Someone = on irc mentioned using the public IP for rpc and binding that address to th= e box. I see that mentioned in an old list mail but I don't get exactly= how this is supposed to work. I could really use either a link to somethin= g with explicit directions or a detailed explanation.

Should cassandra use the public IPs for everything -- listen, b'cas= t, and rpc? What should cassandra.yaml look like? Is the idea to use the pu= blic addresses for cassandra but route the requests between nodes over the = lan using nat?

Any help or suggestion is appreciated.

Google "= EC2MultiRegionSnitch".

=3DRob
--20cf303b38ebee0d1304da93b304--