How to Create an Amazon EC2 Sandbox Instance

Start the instance

  • Click the CONTINUE button
  • In the EC2 Instance Type section we recommend you choose t1.micro
  • In the Firwall Settings section choose allopen
  • Choose valid a valid key in the Key Pair section
  • Review the pricing cost in the Pricing Details section. Note that this appliance is free, you will only be charged for the Amazon AWS services.
  • Click the Launch with 1-Click button.
  • Follow the AWS Management Console link in the next page
  • In the lower panel of the EC2 Console, look for the Public DNS field, which will look similar to: ec2-aa-bb-cc-dd.compute-1.amazonaws.com. That will be the IP of the Virtual Machine

Log in into the instance

Using the IP obtained in the previous section, you will be able to log in into the virtual machine by doing:

<xterm> ssh -i <yourkey.pem> root@<IP> </xterm>

Bootstrap the instance

Run the following code in the instance and wait for a couple of minutes until it says it's ready to start the test-drive:

<xterm> curl http://dev.opennebula.org/attachments/download/636/aws.sh|bash </xterm>