[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694035: JSON based API to query available AMIs



Nice.

Only question - with marketplace not available in ap-southeast-2 (Sydney), do we want ot put in the AMIs for the 32 and 64 bit AMIs that sit inside our Debian AWS  Account?

  James

James Bromberger | Solution Architect | Amazon Web Services
E: jameseb@amazon.com   P: +61 422 166 708



-----Original Message-----
From: Charles Plessy [mailto:plessy@debian.org] 
Sent: Sunday, 6 January 2013 9:59 AM
To: 694035@bugs.debian.org
Subject: Bug#694035: JSON based API to query available AMIs

Le Sun, Nov 25, 2012 at 09:31:28PM +0800, James Bromberger a écrit :
> 
> Any AMI list could be done as a CloudFront template - see the example 
> on http://wiki.debian.org/Cloud/AmazonEC2Image/Squeeze. This example 
> can be put into an AWS Bucket for public distribution. We could also 
> chose to publish the "mappings" section similarly for inclusion into other templates.

Hi James and everybody,

in order to experience myself with parsing remote JSON data, I have copied the mapping of image identifiers of Cloud/AmazonEC2Image/Squeeze to Cloud/AmazonEC2Image/Squeeze/JSON.

Here is what I added to the Cloud/AmazonEC2Image/Squeeze page.

    It is planned to provide a machine-readable version of the above list of
    images. For the sake of the brainstorm, a JSON version is temporarly placed at
    Cloud/AmazonEC2Image/Squeeze/JSON. However, the structure is very likely to
    change, see #694035 for details. Here is a naive example on how to query the
    list. euca-describe-images $(curl --silent
    http://wiki.debian.org/Cloud/AmazonEC2Image/Squeeze/JSON?action=raw | jsonpipe
    | awk '/Debian606.ap-northeast-1.64/ {print $2}' | sed 's/"//g')

Have a nice week-end,

--
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20130106015915.GA21877@plessy.org">http://lists.debian.org/[🔎] 20130106015915.GA21877@plessy.org


Reply to: