Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 90940 invoked from network); 5 Apr 2010 01:49:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 01:49:13 -0000 Received: (qmail 51608 invoked by uid 500); 5 Apr 2010 01:49:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 51592 invoked by uid 500); 5 Apr 2010 01:49:12 -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 51584 invoked by uid 99); 5 Apr 2010 01:49:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 01:49:12 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dan.dispaltro@gmail.com designates 209.85.222.190 as permitted sender) Received: from [209.85.222.190] (HELO mail-pz0-f190.google.com) (209.85.222.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 01:49:07 +0000 Received: by pzk28 with SMTP id 28so450477pzk.11 for ; Sun, 04 Apr 2010 18:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type :content-transfer-encoding; bh=xaO5dXIZUv2VMOg9NgiotXycMkrBPbZFpQg+7F8fRZE=; b=Am6HONBvCs0JKm8aaElQe2Ob9wrIi9xzsVKJeiY1t/IUZVjlYFQ/VjA3kdVb9GmdYW Q6YLrCax7II5Cl5mu1qlnciAKLI8y6VHV3rApDb5G7cAQ0t1cZAxVeYuqULIzq9Rgerm 5LW6VADoqnfsJbuEaFFQdBrfQPY13QttsIPYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=NiEVFHfGUHc6nl2jWHhTc19wqswxf4NIM+OXApmI6I+3PNSRv97WZWYmV+rr6XHUK7 gtCbCU0T3wBWlpPVk49XSduydtxPEKM0UIc/EZDnT49E8EkbER8b2gS8miXA1Tgxpend HZ0irJIevLexnEC19fMaBIZRvVdzOGwP86tZA= MIME-Version: 1.0 Received: by 10.141.42.20 with HTTP; Sun, 4 Apr 2010 18:48:27 -0700 (PDT) In-Reply-To: References: <94E21CEC-B84C-464C-AACA-A03B1FA4AA71@joestump.net> <3931BE59-7EF8-4F01-A80F-6B94B5CFB8C3@joestump.net> From: Dan Di Spaltro Date: Sun, 4 Apr 2010 18:48:27 -0700 Received: by 10.141.108.9 with SMTP id k9mr3296163rvm.59.1270432127162; Sun, 04 Apr 2010 18:48:47 -0700 (PDT) Message-ID: Subject: Re: Deployment on AWS To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable A little off-topic, but is an availability zone in a separate physical datacenter? On Sat, Apr 3, 2010 at 5:08 PM, Benjamin Black wrote: > Right, you determine AZ by looking at the metadata. =A0us-east-1a is a > different AZ from us-east-1b. =A0You can't infer anything beyond that, > either with the AWS API or guesses about IP addressing. =A0My EC2 snitch > recipe builds a config file for the property snitch that treats AZs > like racks (just breaking apart the AZ name, nothing magical), and the > rest is the normal rack aware placement strategy. =A0I am sure folks > _could_ do interesting things on EC2 with extra code, but I don't see > extra code as required for these basic features. > > > b > > On Sat, Apr 3, 2010 at 3:04 PM, Joe Stump wrote: >> >> On Apr 3, 2010, at 2:54 PM, Benjamin Black wrote: >> >>> I'm pretty familiar with EC2, hence the question. =A0I don't believe an= y >>> patches are required to do these things. =A0Regardless, as I noted in >>> that ticket, you definitely do NOT need AWS credentials to determine >>> your availability zone. =A0It is available through the metadata web >>> server for each instance as 'placement_availability_zone', avoiding >>> the need to speak the EC2 API or store credentials in the configs. >> >> Good point on the metadata web server. Though I'm unsure how Cassandra w= ould know anything about those AZ's without using code that's aware of such= things, such as the rack-aware strategy we made. >> >> Am I missing something further? I asked a friend on the EC2 networking t= eam if you could determine AZ by IP address and he said, "No." >> >> --Joe >> >> > --=20 Dan Di Spaltro