3 title: EC2 Demo Creation
6 [Bundling]: http://support.rightscale.com/12-Guides/01-RightScale_Dashboard_User_Guide/02-Clouds/01-EC2/08-EC2_Image_Locator/Register_an_AMI#Step_2.3a_Bundle_the_Instance
7 [Console]: https://console.aws.amazon.com/ec2
9 Things to improve in next build:
11 * set _plugin.urltest.syslocation_ to the availability zone the AMI is running on to improve mc-urltest output
14 Start up ami _ami-efe4cf9b_ or a newer RightScale EC2 image
17 Install the following RPMs:
19 {% highlight console %}
45 Gram and install _passmakr-1.0.0.gem_ from _http://passmakr.googlecode.com/_
48 Most of the files needed are in SVN in the _ext/ec2demo_ directory.
50 {% highlight console %}
54 | | `-- activemq.xml.templ
56 | | |-- client.cfg.templ
57 | | `-- server.cfg.templ
59 | | |-- command-plugins.cfg
62 | | |-- check_disks.cfg
63 | | |-- check_load.cfg
64 | | |-- check_swap.cfg
65 | | |-- check_totalprocs.cfg
66 | | `-- check_zombieprocs.cfg
86 | `-- start-mcollective-demo.rb
88 `-- mcollective-node.motd
92 Bundling up is based on [RightScale docs][bundling].
94 You need to copy your key, cert and have your credentials all into _/mnt_:
96 {% highlight console %}
97 % cp /dev/null /root/.bash_history
98 % rm -rf /var/tmp/mcollective/
100 % ec2-bundle-vol -d /mnt -k pk-xx.pem -c cert-xx.pem -u 481328239245 -r i386
101 % ec2-upload-bundle -b mcollective-041-demo -m image.manifest.xml -a xx -s xxx
104 Now register the AMI in the [AWS console][Console] then make public after testing