Amazon AWS Sandbox

The sandbox is a Ubuntu 14.04 virtual machine image with a pre-configured OpenNebula 5.4.0 front-end, a virtualization host using QEMU ready to execute virtual machines, and prepared images to offer a complete and rich cloud experience. Users are able to log into an OpenNebula cloud, peer the managed resources, and launch instances of virtual machines without the hassle of configuring a physical infrastructure.

1. Requirements

  • An Amazon AWS account. Visit Amazon Web Services for more information.
  • An SSH Keypair. Read this guide for more information, in particular the How to Have AWS Create the Key Pair for You section.

2. Start the Amazon EC2 instance

EC2 Web Interface

In the AMIs tab, change the view filter to the public images and search for AMI ami-2e1e3d55 (US East). Right click on it and select “Launch Instance”. In this wizard, you will only need to choose a keypair, network/subnet, and security group. You need to have a security group configured to allow the inbound traffic to the following ports:

  • 22/tcp (SSH)
  • 9869/tcp (administration web GUI Sunstone)
  • 29876/tcp (VNC)

You will get the public IP as soon as the AMI is running.

Command Line Interface

There is the EC2 AMI with the software preinstalled and configured. To start using the CLI, you proceed with the command:

$ aws ec2 run-instances --image-id ami-2e1e3d55 --instance-type t2.micro \
    --key-name [NAME] --subnet-id [ID] \
    --security-group-id [ID] \
    --associate-public-ip-address

You need to provide a name of your imported SSH keypair and ID of your VPC subnet. You may need to create and specify a (non-default) security group, which allows the access to the following ports: 22/tcp, 9869/tcp, 29876/tcp.

Now, you get the public IP by running following command with the identifier given by the previous command:

$ aws ec2 describe-instances i-xxxxxxxx

3. Take a Test Drive

In the guide referenced by in this section you will need to use the IP obtained in section 2 as the IP.

Follow this guide in order to check out what OpenNebula can do.