Skip to content

AcrossTheCloud/iot-button-hpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iot-button-hpc

HPC at the push of an IoT button.

Travis CI status: Build Status

Requirements:

  1. An AWS IoT buttons.
  2. node.js 6.10 or later
  3. serverless, once node.js is installed run npm install -g serverless to install.
  4. Copy of the Alces Flight template: download from the template URL in the AWS marketplace under Alces Flight Solo -> Personal HPC compute cluster, and save in an s3 bucket in your desired region (see notes).

Notes:

  • Everything (IoT, s3, lambdas) must be located in the same region and you need to specify the region in serverless.yml on the region: line.

Steps:

  1. Use the configuration wizard at https://aws.amazon.com/iotbutton/getting-started/ to set up your button (if you haven't already).
  2. Optionally create and subscribe to an SNS topic for notifications about the HPC cluster startup (and uncomment code in serverless.yml)
  3. Edit policy.json and fill in the bucket in which you have the CLoudFormation template for Alces Flight Solo, and assign that policy in AWS IAM to a role called lambda-cloudformation (or if different, modify serverless.yml)
  4. Copy env.yml.sample to env.yml and edit, specifying full s3 path to that template and the other required details as required.
  5. Run serverless deploy to deploy the lambda functions required
  6. Press your start button.
  7. Grab a coffee.
  8. Check outputs in the AWS CloudFormation console under the "MYHPC" stack (unless you changed the name in serverless.yml) to find the IP address, the key and username are as you specified in env.yml.
  9. Enjoy your Alces Flight High Performance Computing cluster.
  10. When done, press your stop button.

Video

Video

About

HPC at the push of a button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published