Diff for /wikisrc/amazon_ec2.mdwn between versions 1.14 and 1.15

version 1.14, 2011/02/18 02:46:16 version 1.15, 2011/02/18 03:38:27
Line 270  The list of AKIs that suits our situatio Line 270  The list of AKIs that suits our situatio
 # Obtain all kernel images (AKI) for region US East, for which manifest location contains pv-grub (for PyGrub)  # Obtain all kernel images (AKI) for region US East, for which manifest location contains pv-grub (for PyGrub)
 # ec2-describe-images -a --region=us-east-1 -F image-type=kernel -F manifest-location=*pv-grub*  # ec2-describe-images -a --region=us-east-1 -F image-type=kernel -F manifest-location=*pv-grub*
 IMAGE   aki-407d9529    ec2-public-images/pv-grub-hd0-V1.01-i386.gz.manifest.xml        amazon  available       public          i386    kernel                          instance-store  paravirtual     xen  IMAGE   aki-407d9529    ec2-public-images/pv-grub-hd0-V1.01-i386.gz.manifest.xml        amazon  available       public          i386    kernel                          instance-store  paravirtual     xen
 IMAGE   aki-427d952b    ec2-public-images/pv-grub-hd0-V1.01-x86_64.gz.manifest.xml      amazon  available       public          x86_64  kernel                          instance-store  paravirtual     xen  <strong>IMAGE   aki-427d952b    ec2-public-images/pv-grub-hd0-V1.01-x86_64.gz.manifest.xml      amazon  available       public          x86_64  kernel                          instance-store  paravirtual     xen</strong>
 IMAGE   aki-4c7d9525    ec2-public-images/pv-grub-hd00-V1.01-i386.gz.manifest.xml       amazon  available       public          i386    kernel                          instance-store  paravirtual     xen  IMAGE   aki-4c7d9525    ec2-public-images/pv-grub-hd00-V1.01-i386.gz.manifest.xml       amazon  available       public          i386    kernel                          instance-store  paravirtual     xen
 <strong>IMAGE   aki-4e7d9527    ec2-public-images/pv-grub-hd00-V1.01-x86_64.gz.manifest.xml     amazon  available       public          x86_64  kernel                          instance-store  paravirtual     xen</strong>  IMAGE   aki-4e7d9527    ec2-public-images/pv-grub-hd00-V1.01-x86_64.gz.manifest.xml     amazon  available       public          x86_64  kernel                          instance-store  paravirtual     xen
 """]]  """]]
   
 We pick the one with the correct architecture (x86_64). **hd00** are for EBS backed images, while **hd0** are for S3 backed ones. Chose **hd00** AKIs. In our case, its ID is **aki-4e7d9527**.  Pick the one with the correct architecture (x86_64 here). **hd0** are for AMIs where the snapshot contains no partition (where the volume is itself the whole partition), while **hd00** are for snapshots partitioned in a classical way (via MBR). Choose **hd0** AKIs. In this case, that will be **aki-427d952b**.
   
 We can proceed to the creation of our AMI, with:  We can proceed to the creation of our AMI, with:
   
Line 300  INSTANCE        <strong>i-953d72f9</stro Line 300  INSTANCE        <strong>i-953d72f9</stro
 *** Wait a few minutes, micro instances take time to start ***  *** Wait a few minutes, micro instances take time to start ***
 # Query console output for your new instance  # Query console output for your new instance
 $ ec2-get-console-output i-953d72f9  $ ec2-get-console-output i-953d72f9
   Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
       2006, 2007, 2008, 2009, 2010, 2011
       The NetBSD Foundation, Inc.  All rights reserved.
   Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California.  All rights reserved.
   
   NetBSD 5.99.45 (XEN3_DOMU) #9: Wed Feb 16 21:14:49 CET 2011
           jym@paris:/home/jym/cvs/obj/sys/arch/amd64/compile/XEN3_DOMU
 [...]  [...]
 """]]  """]]
   
 ## Connect to it  ## Connect to your NetBSD instance
   
 ## And now?  ## And now?

Removed from v.1.14  
changed lines
  Added in v.1.15


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb