As stated in the Introduction, assets created in enebular can be deployed to devices.
Data flows created with the Node-RED based flow editor can be deployed to devices via third party services.
While as shown in the image below it is possible to perform the "Deploy" operation within the flow editor started from enebular, note that the purpose of this is to just save the flow, and when doing this the flow execution will stop after a few minutes.
To have it run permanantly, it must be deployed to a device using a third party service.
As mentioned in the Introduction, when doing a deploy there are two concepts that should be kept in mind.
- Device: The device that will be the execution environment of the asset.
- Device Master: The managing role that accepts deploy requests from enebular and then deploys to the device, monitors the device and sends logs on to enebular.
For cloud services that deploy to edge devices like AWS IoT and Pelion Device Management, the edge device is the device and the cloud service is the device master.
If the execution environment exists in the cloud as with Heroku and AWS Lambda, then the cloud service takes on both the device and device master roles.
Flow size able to deploy
Maximum Size : 5kB
Maximum Size : 100kB
The actual methods of deploying are as follows. * When deployment fails, no retry applied.
The summary of all previous deployments is displayed inside the asset's
Following information is displayed:
- Target Count
- Connection Name
- Deployed By
- Requested Time
- Last Updated Time
The deployment result is displayed under
Status property and consists of following statuses:
Types of Status
|Successful||Asset deployed to all devices is successful|
|Failed||Asset deployment to some or all devices is failed|
|Processing||Asset deployment to some or all devices is ongoing|
Detailed information about each deployment can be displayed by individually clicking on a single Deployment History item. The Deployment History Detail page provides the following information:
- Device Name
- Deploy Status
- Requested Time
- Status Last Updated Time
Deployment can be repeated with
Redeploy feature by clicking
An opened dialog allows you to see all Deployment Targets and status of the previous deployment to this device.
You can change selected targets for new Deployment which would be performed after clicking
Redeploy button inside a dialog.