Penerapan DevOps pada Sistem Tertanam dengan ESP8266 menggunakan Mekanisme Over The Air

AZIS WISNU WIDHI NUGRAHA, IMRON ROSYADI, FAHMI KHOERULLATIF

Sari


ABSTRAK

DevOps mendorong percepatan pengembangan sistem. Namun bukti nyata penerapannya pada sistem tertanam belum mencukupi. Salah satu penyebabnya adalah kesulitan proses deployment pada perangkat. Konsep IoT menghubungkan sistem tertanam dengan jaringan yang memungkinkan proses pembaharuan firmware menggunakan mekanisme Over The Air (OTA). Tulisan ini mengusulkan infrastruktur DevOps untuk pengembangan sistem tertanam. Perangkat keras yang digunakan adalah microcontroller ESP8266. Sedangkan lingkungan DevOps menggunakan perangkat lunak PlatformIO, GitHub dan Travis CI. Pengujian dilakukan dengan mengubah user requirement yang kemudian diterapkan pada perangkat keras. Tahapan DevOps (build and test, release hingga deploy) telah berhasil dilakukan secara otomatis. Sistem mampu mendeteksi kesalahan penulisan kode sumber. Rerata waktu keseluruhan proses adalah 77,21 detik. Proses build and test mendominasi waktu proses dengan rerata sebesar 77,21 detik dan waktu deploy memiliki rerata 1,41 detik.

Kata kunci: IoT, Sistem Tertanam, OTA, DevOps, ESP8266

 

ABSTRACT

DevOps drives the acceleration of system development. However, the concrete evidence of its application in embedded systems is not sufficient. One of the causes is difficulty in the deployment process on the device. Firmware update using an Over-The-Air (OTA) mechanism is allowed by the IoT concept that connects embedded systems into a network. This paper is proposing a DevOps infrastructure for embedded system development. Proposed infrastructure using ESP8266 for the hardware and PlatformIO, GitHub, and Travis CI for the DevOps environment. Testing the proposed system is done by changing the user requirements that are applied to the hardware. The DevOps stages from building and test, release, and deployment have automatically been done. The system is also able to detect developer errors in writing source code. The average time of the whole process on trial was 77.21 seconds. The build and test process dominates the processing time with an average of 77.21 seconds and the deployment time is relatively short with an average of 1.41 seconds.

Keywords: IoT, Embedded System, OTA, DevOps, ESP8266


Kata Kunci


IoT; Sistem Tertanam; OTA; DevOps; ESP8266

Teks Lengkap:

PDF

Referensi


Bae, J., Kim, C., & Kim, J. (2016). Automated deployment of SmartX IoT-cloud services based on continuous integration. 2016 International Conference on Information and Communication Technology Convergence (ICTC), 1076–1081. https://doi.org/10.1109/ICTC.2016.7763372

Bonomi, F., Milito, R., Natarajan, P., & Zhu, J. (2014). Fog Computing: A Platform for Internet of Things and Analytics. Dalam N. Bessis & C. Dobre (Ed.), Big Data and Internet of Things: A Roadmap for Smart Environments (Vol. 546, hlm. 169–186). Springer, Cham. https://doi.org/10.1007/978-3-319-05029-4_7

Botta, A., Donato, W. de, Persico, V., & Pescapé, A. (2016). Integration of Cloud computing and Internet of Things: A survey. Future Generation Computer Systems, 56, 684–700. https://doi.org/10.1016/j.future.2015.09.021

Callanan, M., & Spillane, A. (2016). DevOps: Making It Easy to Do the Right Thing. IEEE Software, 33(3), 53–59. https://doi.org/10.1109/MS.2016.66

Chandra, H., Anggadjaja, E., Wijaya, P. S., & Gunawan, E. (2016). Internet of Things: Over-the-Air (OTA) firmware update in Lightweight mesh network protocol for smart urban development. 2016 22nd Asia-Pacific Conference on Communications (APCC), 115–118. https://doi.org/10.1109/APCC.2016.7581459

Chopra, K., Gupta, K., & Lambora, A. (2019). Future Internet: The Internet of Things-A Literature Review. 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), 135–139. https://doi.org/10.1109/COMITCon.2019.8862269

Doddapaneni, K., Lakkundi, R., Rao, S., Kulkarni, S. G., & Bhat, B. (2017). Secure FoTA Object for IoT. 2017 IEEE 42nd Conference on Local Computer Networks Workshops (LCN Workshops), 154–159. https://doi.org/10.1109/LCN.Workshops.2017.78

Fowler, M. (2006, Mei 1). Continuous Integration. Https://Martinfowler.Com/. https://martinfowler.com/articles/continuousIntegration.html

Frisch, D., Reißmann, S., & Pape, C. (2017). An over the air update mechanism for ESP8266 microcontrollers. Proceedings of the ICSNC, the Twelfth International Conference on Systems and Networks Communications, Athens, Greece, 8–12.

Gore, S., Kadam, S., Mallayanmath, S., & Jadhav, S. (2017). Review on Programming ESP8266 with Over the Air Programming Capability. International Journal of Engineering Science and Computing (IJESC), 7(4), 6684–6686.

Gubbi, J., Buyya, R., Marusic, S., & Palaniswami, M. (2013). Internet of Things (IoT): A vision, architectural elements, and future directions. Future Generation Computer Systems, 29(7), 1645–1660. https://doi.org/10.1016/j.future.2013.01.010

Guşeilă, L. G., Bratu, D., & Moraru, S. (2019). Continuous Testing in the Development of IoT Applications. 2019 International Conference on Sensing and Instrumentation in IoT Era (ISSI), 1–6. https://doi.org/10.1109/ISSI47111.2019.9043692

Hessar, M., Najafi, A., Iyer, V., & Gollakota, S. (2020). TinySDR: Low-Power SDR Platform for Over-the-Air Programmable IoT Testbeds. 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20), 1031–1046. https://www.usenix.org/conference/nsdi20/presentation/hessar

Hüttermann, M. (2012). Beginning DevOps for Developers. Dalam DevOps for Developers (hlm. 3–13). Apress, Berkeley, CA. https://link.springer.com/chapter/10.1007/978-1-4302-4570-4_1

Jurković, G., & Sruk, V. (2014). Remote firmware update for constrained embedded systems. 1019–1023. https://doi.org/10.1109/MIPRO.2014.6859718

Kerliu, K., Ross, A., Tao, G., Yun, Z., Shi, Z., Han, S., & Zhou, S. (2019). Secure Over-The-Air Firmware Updates for Sensor Networks. 2019 IEEE 16th International Conference on Mobile Ad Hoc and Sensor Systems Workshops (MASSW), 97–100. https://doi.org/10.1109/MASSW.2019.00026

Khemissa, S. (2018). Recommendations for IoT Firmware Update Processes. Cloud Security Alliance. https://downloads.cloudsecurityalliance.org/assets/research/internet-of-things/recommendations-for-iot-firmware-update-processes.pdf

Kurniawan, M. I., Sunarya, U., & Tulloh, R. (2018). Internet of Things: Sistem Keamanan Rumah berbasis Raspberry Pi dan Telegram Messenger. ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 6(1), 1–15. https://doi.org/10.26760/elkomika.v6i1.1

Lwakatare, L. E., Karvonen, T., Sauvola, T., Kuvaja, P., Olsson, H. H., Bosch, J., & Oivo, M. (2016). Towards DevOps in the Embedded Systems Domain: Why is It So Hard? 2016 49th Hawaii International Conference on System Sciences (HICSS), (pp. 5437–5446). https://doi.org/10.1109/HICSS.2016.671

Moore, J., Kortuem, G., Smith, A., Chowdhury, N., Cavero, J., & Gooch, D. (2016). DevOps for the Urban IoT. Proceedings of the Second International Conference on IoT in Urban Space, 78–81. https://doi.org/10.1145/2962735.2962747

Nilsson, D. K., & Larson, U. E. (2008). Secure Firmware Updates over the Air in Intelligent Vehicles. ICC Workshops - 2008 IEEE International Conference on Communications Workshops, 380–384. https://doi.org/10.1109/ICCW.2008.78

Nilsson, D. K., Sun, L., & Nakajima, T. (2008). A Framework for Self-Verification of Firmware Updates over the Air in Vehicle ECUs. 2008 IEEE Globecom Workshops, 1–5. https://doi.org/10.1109/GLOCOMW.2008.ECP.56

Prens, D., Alfonso, I., Garcés, K., & Guerra-Gomez, J. (2019). Continuous Delivery of Software on IoT Devices. 2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C), 734–735. https://doi.org/10.1109/MODELS-C.2019.00112

Rehman, H. U., Asif, M., & Ahmad, M. (2017). Future applications and research challenges of IOT. 2017 International Conference on Information and Communication Technologies (ICICT), 68–74. https://doi.org/10.1109/ICICT.2017.8320166

Santoso, H. B., Prasojo, S., & Mursid, S. P. (2018). Pengembangan Sistem Pemantauan Konsumsi Energi Rumah Tangga Berbasis Internet of Things (IoT). ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 6(3), 357. https://doi.org/10.26760/elkomika.v6i3.357

Tahtawi, A. R. A., Hendrawati, T. D., Abdurrahim, A., & Andika, E. (2019). Perancangan dan Analisis Kinerja Sistem Kontrol dan Penjadwalan Lampu Berbasis IoT. ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 7(3), 533. https://doi.org/10.26760/elkomika.v7i3.533

Thakur, P., Bodade, V., Achary, A., Addagatla, M., Kumar, N., & Pingle, Y. (2019). Universal Firmware Upgrade Over-The-Air for IoT Devices with Security. 2019 6th International Conference on Computing for Sustainable Global Development (INDIACom), 27–30.

Toro-Betancur, V., Zamora, J. V., Antikainen, M., & Di Francesco, M. (2019). A Scalable Software Update Service for IoT Devices in Urban Scenarios. Proceedings of the 9th International Conference on the Internet of Things. https://doi.org/10.1145/3365871.3365880

Yigitoglu, E., Mohamed, M., Liu, L., & Ludwig, H. (2017). Foggy: A Framework for Continuous Automated IoT Application Deployment in Fog Computing. 2017 IEEE International Conference on AI Mobile Services (AIMS), 38–45. https://doi.org/10.1109/AIMS.2017.14

Zandberg, K., Schleiser, K., Acosta, F., Tschofenig, H., & Baccelli, E. (2019). Secure Firmware Updates for Constrained IoT Devices Using Open Standards: A Reality Check. IEEE Access, 7, 71907–71920. https://doi.org/10.1109/ACCESS.2019.2919760




DOI: https://doi.org/10.26760/elkomika.v9i3.678

Refbacks

  • Saat ini tidak ada refbacks.


_______________________________________________________________________________________________________________________

ISSN (print) : 2338-8323 | ISSN (electronic) : 2459-9638

Publisher:

Department of Electrical Engineering Institut Teknologi Nasional Bandung

Address: 20th Building  Institut Teknologi Nasional Bandung PHH. Mustofa Street No. 23 Bandung 40124

Contact: +627272215 (ext. 206)

Email: jte.itenas@itenas.ac.id________________________________________________________________________________________________________________________


Free counters!

Web

Analytics Made Easy - StatCounter

Statistic Journal

Jurnal ini terlisensi oleh Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License