Publication: Evaluation of Infrastructure as Code (IaC) Approaches for Automated Provisioning and Configuring of IoT Devices in Smart Factory Environments
DOI
Type:
Thesis
Date
2024-12
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
SLIIT
Abstract
The Internet of Things (IoT) area is gaining with time and predictions are showing that Industrial
IoT (IIoT) will gain more and more in the future. Here this research was done to find out the best
Infrastructure as Code (IaC) tool from model-driven, Terraform and code-centric Ansible for
automatic configuring and provisioning IoT devices in large-scale IIoT systems such as automated
factory environments.
This research has shown the use of IaC within IIoT to automatically provision and configure
components of the IIoT system alongside improving productivity, less human involvement in
provisioning and configuring components, minimising the errors in device provisioning, costeffectiveness with increased portability and maintainability of the large scale IIoT system with the
benefit of the IaC. Furthermore, the research assessed Terraform and Ansible by analysing the
elapsed time, resource utilisation, scalability, and error rate, in provisioning and configuring as
well as reconfiguring using a prototyped simulated environment for a factory. Also, the research
is contributing to the design and development of a cross-platform IaC script generation and
execution application including the monitoring capabilities. This tool is named “KFactory Device
Provisioner and Configurator”. This application allows to generation of IaC provisioning scripts
and executes those with monitoring capabilities as users’ need via a Graphical User Interface
(GUI). The tool also has a system monitoring tool that is very helpful to view the variation of CPU
usage, Memory usage and inbound-outbound Network usages in a GUI.
Furthermore, the tool also collects the provision data to create a Machine Learning (ML) model to
predict and show the expected provisioning time, reconfiguring time, CPU, Memory and Network
inbound and outbound usages according to the scale of the provisioning tasks based on the host
system’s capabilities.
Moreover, with the conclusion of this research, the researchers are encouraged to come up with a
fine-tuned, production-grade IaC solution for automatic provisioning and configuring IoT devices
in large-scale IIoT systems with reduced deployment time, optimized resource utilizations, having
scalability, having low error rate, and reduced reconfiguring time.
Description
Keywords
Evaluation, Infrastructure, Code (IaC) Approaches, Automated Provisioning, Configuring, IoT Devices, Smart Factory Environments
