Skip to content
Device portion of balena/AWS integration
Branch: master
Clone or download
Permalink
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
README.md Fixed broken link in README.md Apr 16, 2019
index.js update req Nov 24, 2016
package.json Rename process Oct 15, 2018
server.js update req Nov 24, 2016
start.sh update req Nov 24, 2016

README.md

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
https://github.com/balena-projects/balena-aws-device
  • Add your balena application endpoint
git remote add balena <username>@git.balena-cloud.com:<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.