Skip to content
Device portion of balena/AWS integration
HTML JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
static update req Nov 24, 2016
.gitignore init May 6, 2016
Dockerfile.template update req Nov 24, 2016 Fixed broken link in Apr 16, 2019
index.js update req Nov 24, 2016
package.json Rename process Oct 15, 2018
server.js update req Nov 24, 2016 update req Nov 24, 2016

Device boilerplate for balena

This is device code for the AWS and balena integration.

To Run

Sign up with balena and connect a device

Add a few balena app environment variables

AWS_REGION = "us-east-1"
LAMBDA = "your lambda endpoint responsible for provisioning devices"
  • Clone this repository
  • Add your balena application endpoint
git remote add balena <username><username>/<appName>.git
  • Push your code
git push balena master

Once your code downloads to the device it will automatically run your app. If the certificates needed to communicate with AWS aren't present it will post it's RESIN_DEVICE_UUID to LAMBDA for the provisioning process if the certificates do exist it will run the demo app.

You can’t perform that action at this time.