-
Notifications
You must be signed in to change notification settings - Fork 54
Example: Static Apache site
This requires that Poolparty has access to EC2. Find out how to set this up at Setting up ec2.
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):
In the terminal, change into the static_apache_site directory and type cloud start
and press Enter. This will launch a new instance with Apache listening on port 80.
Once your new instance is provisioned, you’ll see a message saying “Your cloud has started” followed by the instance’s IP address. Copy and paste it into a browser and you should see the words “Hello world!”
You’re now running a simple Apache site on EC2 launched by Poolparty!
Another example static site can be found here.
Note: Don’t forget to shut down your instance with cloud terminate
when you’re done testing!