Using the OpenFlightHPC Hub


Deploy the Hub

  • Login to your aws account and navigate to EC2 > AMIs
  • Change the filter to Public Images
  • Search for `openflight-hub` and launch a copy of the latest release
  • Select the instance type to use
  • Configure the instance details (ensuring that a public IP is assigned)
  • Configure storage space
  • Name the instance
  • Configure Security Group to include the following
  • Launch the instance

Coming soon...


Coming soon...



First Login and Cluster Configuration

  • Login to hub
    [user@myhost ~]$ ssh centos@HUB-IP
  • On first login, there will be some configuration questions
                                       __ _ _       _     _  ==>
       ==>                            / _| (_)     | |   | |  ==>
      ==>   ___   _ __    ___  _ __  | |_| |_  __ _| |__ | |_  ==>
     ==>   / _ \ | '_ \  / _ \| '_ \ |  _| | |/ _` | '_ \| __|  ==>
    ==>   | (_) || |_) ||  __/| | | || | | | | (_| | | | | |_    ==>
     ==>   \___/ | .__/  \___||_| |_||_| |_|_|\__, |_| |_|\__|  ==>
      ==>        |_|                           __/ |           ==>
       ==>                                    |___/           ==>
        ==>
    
    
    Deploying cloud resources requires either AWS or Azure access credentials.
    
    For information on locating your cloud credentials, see:
    
        https://github.com/openflighthpc/flight-cloud#configuring-cloud-authentication
    
    Continuing will remove the comments from the config file: /opt/flight/opt/cloud/etc/config.yaml
    Do you wish to continue (y/n)? y
    Configure aws (y/n)? y
    What is the access_key_id? MyAWSaccessKeyID
    What is the secret_access_key? MyAWSsecretAccessKey
    What is the default_region? eu-west-1
    Configure azure (y/n)? n
    
    
    Name for the default cluster: mycluster
    Finishing cluster configuration...
    Generating Templates
    aws: |================================================================================================================================|
    azure: |==============================================================================================================================|
    kickstart: |==========================================================================================================================|
    
    OpenFlight Hub Configuration Complete!
    
    To deploy your cluster:
    
    1. Select AWS or Azure cluster (replace PLATFORM with aws' or 'azure')
    
        flight cloud cluster switch mycluster-PLATFORM
    
    2. Deploy the domain
    
        flight cloud deploy domain
    
    3. Deploy the gateway
    
        flight cloud deploy gateway1 -p "securitygroup,network1SubnetID=*domain"
    
    4. Copy the SSH key to the gateway
    
        scp /root/.ssh/id_rsa root@GATEWAY-IP:/root/.ssh/
    
    5. Deploy the nodes (example given: node01)
    
        flight cloud deploy node01 -p "securitygroup,network1SubnetID=*mycluster-domain"
    
    
  • The default cluster has now been configured and is ready for deployment

Deploy Cluster

  • Select AWS cluster
    flight cloud cluster switch mycluster-aws
  • Deploy the domain
    flight cloud deploy domain
  • Deploy the gateway
    flight cloud deploy gateway1 -p "securitygroup,network1SubnetID=*domain"
  • Copy the SSH key to the gateway (GATEWAY-IP can be found via flight cloud aws list machines)
    scp /root/.ssh/id_rsa root@GATEWAY-IP:/root/.ssh/
  • Deploy the nodes (example given: node01)
    flight cloud deploy node01 -p "securitygroup,network1SubnetID=*domain"

Coming soon...


Coming soon...