Create an application
What is an IOhub application
An IOhubTM Application consists of one or more Docker containers grouped together to execute an extensive and complex task.
As a result of the applications, IOhubTM executes specific tasks.
One or more applications may run and coexist within IOhubTM.
Please check the the introduction to IOhubTM section of this document for further details on IOhubTM’s architecture and philosophy.
In order to create an application, please access IOhubTM in the EZ BoxTM management interface (IOhubTM/EZ BoxTM name) and enable Edit Mode.
Check Edit Mode if you need further information.
Applications can be added to IOhubTM in the following ways:
- Choose an application from Catalog.
- Create a new application.
- Rebuild an application from a template.
Choose an application from the CatalogIOhubTM provides some ready-to-use applications that can be chosen from an internal catalog. These applications have been packaged and customized by EZ VPN to perform specific tasks like internal debugging or monitoring.
From the IOhubTM section in the EZ BoxTM management interface (IOhubTM/EZ BoxTM name):
Choose from Catalogbutton to access IOhubTM catalog and select the application.
+Addbutton to add the application to IOhubTM.
Repeat the above steps to add other applications from the catalog.
All configured applications will be shown in the IOhubTM
application list section.
Create a new application
Create a new application from the IOhubTM section of the EZ BoxTM management interface (IOhubTM/EZ BoxTM name) by following these steps:
- Type the application name.
- Tick Enable Global MQTT to enable the system MQTT that allow inter-application MQTT communication within the same IOhubTM instance.
- Tick Global MQTT is default to set Global MQTT as the default MQTT broker used by the application.
- Type additional notes.
Application name is required, it must be lowercase and cannot contain the following prefix:
The "Notes" field is optional and may contain any character.
When the application has been created you'll need to add the containers that will be part of the application.
Rebuild an application from a template
This is a fast way to replicate an application within IOhubTM. “Applications Templates” includes a list of preconfigured containers that users can save for future use. The saved Application Templates are available in all IOhubTM enabled devices. Templates are useful when the same application need to be configured on other devices. In scenarios where users need to replicate the same configuration on several devices, templates can save a lot of time.
In order to create an application from a template you need first to create a template.
Create an application template
When an application has been built within IOhubTM you can save it as a template to replicate on other devices.
In the IOhubTM section of the EZ BoxTM management interface (IOhubTM/EZ BoxTM name), locate the application you want to create the template from
- Type the new name for your template
Update Templatebutton to save the changes.
The Application templates list page will appear.
To access the templates list:
- Click IOhubTM menu.
- Click Templates menu.
Using a template to create an application
When a template has been created you may use it to rebuild new applications. From the IOhubTM section of the EZ BoxTM management interface (IOhubTM/EZ BoxTM name) you can create a new application:
- Type a name for your application.
Choose a Templatebutton
+Addbutton to add the template
The application has been configured using the template.