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

View more information about virtualization types at Amazon.


Configure the Instance

  1. Select the IAM role and policy to use to launch the instance. 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. When launching the instance, choose an accessible key pair.

    ../_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, enter the Host Name or IP Address. For Ubuntu users, the default is ubuntu@<ip-address>. 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. 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. 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://h2o-release.s3.amazonaws.com/h2o/noether/4/h2o-2.8.4.4.zip
    unzip h2o-2.8.4.4.zip
    cd h2o-2.8.4.4
    java -Xmx1g -jar h2o.jar
    
  3. From your browser, navigate to <private_ip_address>:54321 or <public DNS>:54321 to use H2O’s web interface.