<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h3&gt;Prerequisites&lt;/h3&gt;
&lt;p&gt;This requires that Poolparty has access to EC2. Find out how to set this up at [[Setting up ec2]].&lt;/p&gt;
&lt;h3&gt;1. Create the manifest&lt;/h3&gt;
&lt;p&gt;Create a clouds.rb so it looks like this, making sure to set your keypair correctly and save it in the current working directory (pwd):&lt;/p&gt;
&lt;script src=&quot;http://gist.github.com/100208.js&quot;&gt;&lt;/script&gt;&lt;h3&gt;2. Start the cloud&lt;/h3&gt;
&lt;p&gt;In the terminal, change into the static_apache_site directory and type &lt;code&gt;cloud start&lt;/code&gt; and press Enter. This will launch a new instance with Apache listening on port 80.&lt;/p&gt;
&lt;h3&gt;3. Test the instance&lt;/h3&gt;
&lt;p&gt;Once your new instance is provisioned, you&amp;#8217;ll see a message saying &amp;#8220;Your cloud has started&amp;#8221; followed by the instance&amp;#8217;s IP address. Copy and paste it into a browser and you should see the words &amp;#8220;Hello world!&amp;#8221;&lt;/p&gt;
&lt;p&gt;You&amp;#8217;re now running a simple Apache site on EC2 launched by Poolparty!&lt;/p&gt;
&lt;p&gt;Another example static site can be found &lt;a href=&quot;http://gist.github.com/25099&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Don&amp;#8217;t forget to shut down your instance with &lt;code&gt;cloud terminate&lt;/code&gt; when you&amp;#8217;re done testing!&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-21T21:31:19-08:00</created-at>
  <id type="integer">194010</id>
  <permalink>example-static-apache-site</permalink>
  <repository-id type="integer">29471</repository-id>
  <title>Example: Static Apache site</title>
  <updated-at type="datetime">2009-04-28T10:16:34-07:00</updated-at>
  <user-id type="integer">529</user-id>
</wiki>
