Merge lp:~ahasenack/awstrial/show-commands into lp:awstrial

Proposed by Andreas Hasenack
Status: Needs review
Proposed branch: lp:~ahasenack/awstrial/show-commands
Merge into: lp:awstrial
Diff against target: 24 lines (+13/-1)
1 file modified
awstrial/templates/instance.html (+13/-1)
To merge this branch: bzr merge lp:~ahasenack/awstrial/show-commands
Reviewer Review Type Date Requested Status
Development of awstrial Pending
Review via email: mp+38019@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

177. By Andreas Hasenack

Added sample ec2-run-instances line to repeat the experiment later on.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'awstrial/templates/instance.html'
2--- awstrial/templates/instance.html 2010-10-07 19:39:26 +0000
3+++ awstrial/templates/instance.html 2010-10-08 20:55:56 +0000
4@@ -144,7 +144,19 @@
5 border: none;
6 }
7 </style>
8- <p>Your instance was launched with cloud-config content in the user-data field. To launch one on your own configured similarly, use the same cloud-config.</p>
9+ <p>Your instance was launched with a cloud-config configuration. You can do this again later on, on your own,
10+ by using the same cloud-config file and basic Ubuntu instance. Here is a sample command line:</p>
11+ <pre>
12+ ec2-run-instances -g &lt;ssh&gt; -k &lt;ssh_key&gt; {{ instance.ami_id }} -f cloud-init
13+ </pre>
14+ <p>Where:</p>
15+ <ul>
16+ <li><strong>cloud-init</strong>: a file containing the cloud-init configuration file which you can display below.</li>
17+ <li><strong>ssh</strong>: the name of a security group which will allow you ssh access, and possibly more depending
18+ on the type of services you are running. For example, you might need to allow http as well.</li>
19+ <li><strong>ssh_key</strong>: the name of an ssh key stored in EC2. You can create it with the
20+ ec2-add-keypair command.</li>
21+ </ul>
22 <p><a onclick="toggleLayer('cloudconfig');" title="View Cloud Config">View Cloud-Config</a></p>
23 <div class="code" id="cloudconfig"><pre class="cc"><code>{{ cloudconfig }}</code></pre></div>
24 {% endif %}

Subscribers

People subscribed via source and target branches