Return-Path: Delivered-To: apmail-incubator-libcloud-archive@minotaur.apache.org Received: (qmail 68251 invoked from network); 15 Jun 2010 19:39:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 19:39:18 -0000 Received: (qmail 10192 invoked by uid 500); 15 Jun 2010 19:39:18 -0000 Delivered-To: apmail-incubator-libcloud-archive@incubator.apache.org Received: (qmail 10137 invoked by uid 500); 15 Jun 2010 19:39:17 -0000 Mailing-List: contact libcloud-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: libcloud@incubator.apache.org Delivered-To: mailing list libcloud@incubator.apache.org Received: (qmail 10129 invoked by uid 99); 15 Jun 2010 19:39:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 19:39:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul@querna.org designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-px0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 19:39:09 +0000 Received: by pxi3 with SMTP id 3so2491074pxi.6 for ; Tue, 15 Jun 2010 12:38:48 -0700 (PDT) Received: by 10.114.90.3 with SMTP id n3mr1942405wab.149.1276630728325; Tue, 15 Jun 2010 12:38:48 -0700 (PDT) Received: from [10.7.167.127] ([32.173.1.173]) by mx.google.com with ESMTPS id a23sm71795259wam.14.2010.06.15.12.38.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 12:38:47 -0700 (PDT) References: <4C17C5D2.5050001@gmail.com> <4C17C80D.5000306@gmail.com> Message-Id: <92D817E8-ECC1-41D8-955B-44182AAC36FA@querna.org> From: Paul Querna To: "libcloud@incubator.apache.org" In-Reply-To: <4C17C80D.5000306@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7A400) Mime-Version: 1.0 (iPhone Mail 7A400) Date: Tue, 15 Jun 2010 12:38:21 -0700 Cc: "libcloud@incubator.apache.org" Subject: Re: [libcloud] retrieving images With ec2 you can stuff an AMI ID into a raw NodeImage object, letting you avoid a list images if you already have the Ami Id . On Jun 15, 2010, at 11:35 AM, Brian Martin wrote: > On 06/15/2010 02:29 PM, Alex Polvi wrote: >> On Tue, Jun 15, 2010 at 11:26 AM, Brian >> Martin wrote: >> >>> First of all, Libcloud is great, thanks to all devs and >>> contributors. >>> >>> I am wondering if there is a way to retrieve just one image (by >>> id) if it >>> exists rather than getting the whole list (specifically with ec2 >>> the list of >>> images is very large), and if not, maybe this could be considered >>> a feature >>> request (?). >>> >> Does the EC2 API support this natively? Or are you just looking for a >> convenience function that filters everything else out? >> >> -Alex >> >> > > I'm not sure if it's supported in EC2 API, I was just asking. > > A convenience function is not what I'm looking for. My main concern > is just the time that it takes to get the list then find the image > then create an instance. I thought if possible skipping the list > retrieval would be good, but if EC2 API doesn't support this then I > can of course deal with it. > > Brian