Launch H2O from AWS Console

Choose Operating System and Virtualization Type

Choose the operating system you’re comfortable running and the virtualization type of the prebuilt AMI on Amazon. Keep in mind if your operating system is a Windows you will need to use a Hardware-assisted Virtual Machine (or HVM) but working on a linux allows you to choose between Para-virtulaization (PV) and HVM. This option will at the very least change the type of instances you can launch.

../_images/ec2_system.png

For more information about virtualization types at Amazon.

Configure the Instance

  1. Select the IAM role and policy you want to launch the instance with. H2O’s Lagrange release is able to detect the temporary access keys associated with the instance so there’s no need to copy your AWS credentials to the instances.

    ../_images/ec2_config.png
  2. Lastly when launching the instance, choose a key pair you have access to.

    ../_images/ec2_key_pair.png

[For Windows Users] Tunnel into Instance

For Windows users without the capability to use ssh from their terminal either download Cygwin or a Git Bash that has the capability to run:

ssh -i amy_account.pem ec2-user@54.165.25.98

Otherwise download PuTTY and run through the following steps:

  1. Start up PuTTY Key Generator.

  2. Load your downloaded AWS pem key file (remember to change the type of file in the browser to all to see the file).

  3. Save the private key as .ppk file.

    ../_images/ec2_putty_key.png
  4. Start up the PuTTY client.

  5. Under Session input the Host Name or IP Address. For Ubuntu users the default is ubuntu@<ip-address> and for other linux users the default host name is ec2-user@<ip-address>.

    ../_images/ec2_putty_connect_1.png
  6. Under SSH > Auth browse for your private key file for authentication.

    ../_images/ec2_putty_connect_2.png
  7. Submit to open the new session and agree to cache the server’s rsa2 key fingerprint to continue connecting.

    ../_images/ec2_putty_alert.png

Download Java and H2O

  1. Download Java (jdk1.7+) if it is not already available on the instance.

  2. In order to download H2O run the wget command with the link to the zip file available on our website by copying the link associated with the download button:

    wget http://s3.amazonaws.com/h2o-release/h2o/master/1485/h2o-2.7.0.1485.zip
    unzip h2o-2.7.0.1485.zip
    cd h2o-2.7.0.1485
    java -Xmx1g -jar h2o.jar
  3. Go to a browser and navigate to <private_ip_address>:54321 or <public DNS>:54321 to use H2O’s web interface.