IBM Bluemix Setup - langanjp/PI-Alexa-NodeRED GitHub Wiki

Initial Bluemix Setup

  • Navigate to https://www.ibm.com/cloud-computing/bluemix/pricing
  • Select Trial
    • Note:
      • Trial will give you access to 2 gb memory and many services for 30 days. If you wish to continue after 30 days, you will need to give a credit card number and switch to a Pay As You Go
      • Pay As You Go will remain "free" as long as you use only one container, stay at 512 mb of memory and do not go above any predefined limits of any of the additional services. You can click on the link that says "Estimate your costs with our calulator" to verify.
      • You can also select Pay As You Go instead of Trial, but the instructions below assume you have selected Trial
    • Click "Start your free trial"
    • Enter the information required (email, etc.) and click "Create Account"
    • You should get an email shortly from IBM that you will need to verify
    • Navigate to https://console.ng.bluemix.net
    • Agree to terms and conditions
    • Create an org name - pick any name you want (e.g. your bluemix id)
    • Create a space - pick any name you want for your instance (e.g. nodered)
    • Click "I'm Ready"
    • On the Apps screen, select "Take advantage of IoT"
      • Enter a unique app name
      • Enter a host name (you will access your NodeRED from thishostname.mybluemix.net)
      • Leave all others as default (SDK for Node.js = Default; Cloudant NoSQL DB = Lite; Internet of Things Platform = Lite)
    • You will need to wait about 5-10 minutes as it creates your instance
    • Once your instance is "Running" (with a green light), select the Runtime menu item on the Dashboard
    • Click on "Environment Variables" (or scroll to the bottom of the page)
    • Add the following Name Value pairs and click Save when finished (see screen shot below)
      • NODE_RED_USERNAME [pick a user name]
      • NODE_RED_PASSWORD [pick a password]
      • If your PI Web API server does not have a certificate from a trusted authority:
        • NODE_TLS_REJECT_UNAUTHORIZED 0
    • Restart your application by clicking on the restart button
    • You can now open your NodeRED instance