[docs] add run-it-in-the-cloud and test-your-image
authorArthur Lutz <arthur.lutz@logilab.fr>
Fri, 31 May 2013 17:57:03 +0200
changeset 150 cd599c842067
parent 149 eba16c8899d4
child 151 75fa5b2db338
[docs] add run-it-in-the-cloud and test-your-image
docs/index.rst
docs/run-it-in-the-cloud.rst
docs/test-your-image.rst
--- a/docs/index.rst	Fri May 31 17:20:12 2013 +0200
+++ b/docs/index.rst	Fri May 31 17:57:03 2013 +0200
@@ -8,4 +8,5 @@
 * main-files
 * how-it-works
 * how-to-build-an-ami
+* test-your-image
 * upload-images
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/run-it-in-the-cloud.rst	Fri May 31 17:57:03 2013 +0200
@@ -0,0 +1,12 @@
+
+Run salt-ami-cloud-builder in a cloud image
+-------------------------------------------
+
+The AMI creator tool can be run in a properly configured AMI to be
+instanciated with proper parameters passed as user data. This instance
+by default can update itself from the base configuration repository (stored in
+the following Mercurial_ repository):
+
+  http://hg.logilab.org/master/salt-ami-cloud-builder/
+
+.. _Mercurial: http://mercurial.selenic.com/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/test-your-image.rst	Fri May 31 17:57:03 2013 +0200
@@ -0,0 +1,22 @@
+Test your AMI
+-------------
+
+Using KVM
+`````````
+
+Launch image using kvm :: 
+ 
+  kvm -kernel /mnt/output/kernel_variation -initrd /mnt/output/ramdisk_variation -m 512 -append "root=/dev/vda console=ttyS0" -drive file=/mnt/output/variation.img
+
+Using AWS
+`````````
+
+* upload using ec2-ami-tools (cf `upload-images`)
+* create instance of uploaded AMI
+
+Using OpenStack
+```````````````
+
+* upload using glance (cf `upload-images`)
+* create instance of uploaded AMI
+