Skip to main content
Log in

A blockchain-based framework for automatic SLA management in fog computing environments

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Fog computing has become a prominent paradigm in providing shared resources to serve different applications near the edge. Similar to other computing paradigms such as cloud and grid, in fog computing, service-level agreements (SLAs) are essential between fog providers and end-users to guarantee the quality of service (QoS). However, due to the unique characteristics of fog resources, such as being highly distributed and heterogeneous, with their dynamic nature having nonrestrictive provider participation, SLA management techniques and frameworks, which are available for Clouds and Grids, are not directly applicable. The availability of the resources in the cloud is much more controllable and predictable compared to fog. Moreover, due to the multiple ownership of fog infrastructure and unrestricted environment, autonomous end-devices are allowed to participate with different SLAs to serve the applications near the edge as a result is a lack of trust exists between the entities and managing and enforcing SLAs according to the application QoS in this environment is a complex task. Thus, the SLA management must be undertaken in a more trustworthy manner to ensure that agreement. To fill this gap, this paper proposes an automated SLA management framework for fog computing that utilizes Smart contracts and blockchain technology to monitor and enforce SLAs in a more trustworthy manner. The results obtained from the experiments, which were conducted in the blockchain private network, show that the framework can ensure precise and efficient SLAs enforcement in the fog. The performance of the proposed framework is better than existing work in terms of transaction cost and time.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. https://nectar.org.au/.

References

  1. Iorga M, Feldman L, Barton R, Martin M, Goren N, Mahmoudi C (2017) The Nist Definition of Fog Computing. Technical Report, National Institute of Standards and Technology

  2. Vaquero Luis M, Luis R-M (2014) Finding your way in the fog: towards a comprehensive definition of fog computing. ACM SIGCOMM Comput Commun Rev 44(5):27–32

    Article  Google Scholar 

  3. Debe M, Salah K, Rehman MH, Svetinovic D (2019) Towards a blockchain-based decentralized reputation system for public fog nodes. In: 2019 IEEE/ACS 16th International Conference on Computer Systems and Applications (AICCSA), pp 1–6

  4. Bonomi F, Milito R, Zhu J, Addepalli S (2012) Fog computing and its role in the internet of things. In: Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, pp 13–16. ACM

  5. Mung C, Tao Z (2016) Fog and iot: an overview of research opportunities. IEEE Int Things J 3(6):854–864

    Article  Google Scholar 

  6. Peng Z, Liu Joseph K, Richard YF, Sookhak Mehdi A, Ho M, Xiapu L (2018) A survey on access control in fog computing. IEEE Commun Magaz 56(2):144–149

    Article  Google Scholar 

  7. Mazin D, Khaled S, Ur RMH, Davor S (2019) Iot public fog nodes reputation system: A decentralized solution using ethereum blockchain. IEEE Access 7:178082–178093

    Article  Google Scholar 

  8. Kuan L, Ramin Y, Philipp W, Edwin Y, Monir A, Bernd S, Constantinos K (2016) Fault-tolerant service level agreement lifecycle management in clouds using actor system. Futur Gener Comput Syst 54:247–259

    Article  Google Scholar 

  9. Aazam M, Huh E (2015) Fog computing micro datacenter based dynamic resource estimation and pricing model for iot. InL 2015 IEEE 29th International Conference on Advanced Information Networking and Applications, pp 687–694

  10. Alam Md GR, Abedin SF, Bairaggi AK, Talukder A, Hong CS (2016) An autonomic sla management for iot networks. , pp 507–509

  11. Chen J, Yao S, Yuan Q, Du R, Xue G (2017) Checks and balances: a tripartite public key infrastructure for secure web-based connections. In: IEEE INFOCOM 2017-IEEE Conference on Computer Communications, pp 1–9. IEEE

  12. Wu Y, Dai H-N, Wang H (2020) Convergence of blockchain and edge computing for secure and scalable iiot critical infrastructures in industry 4.0. IEEE Int Things J 8(4):2300–2317

    Article  Google Scholar 

  13. Bartoletti M, Pompianu L (2017) An empirical analysis of smart contracts: platforms, applications, and design patterns. In: International Conference on Financial Cryptography and Data Security, pp 494–509. Springer

  14. Nakamoto S, et al. (2008) Bitcoin: A peer-to-peer electronic cash system

  15. Keyvan MS, Ali G (2021) Data cryptography in the internet of things using the artificial bee colony algorithm in a smart irrigation system. J Inf Secur Appl 61:102945

    Google Scholar 

  16. Abbas V, Ali MN, Mohsen A, Abbas S, Saeid JG, Yaghoub P (2021) Dmtc: Optimize energy consumption in dynamic wireless sensor network based on fog computing and fuzzy multiple attribute decision-making. Wirel Commun Mob Comput 2021:9953416

    Google Scholar 

  17. Kumar NR, Saurabh G, Andrew C, Kumar BS (2020) Deadline-based dynamic resource allocation and provisioning algorithms in fog-cloud environment. Futur Gener Comput Syst 104:131–141

    Article  Google Scholar 

  18. Yousefpour A, Fung C, Nguyen T, Kadiyala K, Jalali F, Niakanlahiji A, Kong J, Jue JP (2019) All one needs to know about fog computing and related edge computing paradigms: A complete survey. J Syst Archit

  19. Grubitzsch P, Braun I, Fichtl H, Springer T, Hara T, Schill A (2017) Ml-sla: Multi-level service level agreements for highly flexible iot services. In: 2017 IEEE International Congress on Internet of Things (ICIOT), pp 113–120. IEEE

  20. Gupta H, Vahid Dastjerdi A, Ghosh SK, Buyya R (2017) ifogsim: A toolkit for modeling and simulation of resource management techniques in the internet of things, edge and fog computing environments. Softw Practice Exp 47(9):1275–1296

    Article  Google Scholar 

  21. Saad M, Abbaspour AS, Vittorio PA, Mohammad A, Hongyu P-B, Moris B (2018) Management of service level agreements for cloud services in iot: a systematic mapping study. IEEE Access 6:30184–30207

    Article  Google Scholar 

  22. Choi Y, Lim Y (2015) Resource management mechanism for sla provisioning on cloud computing for iot. In: 2015 International Conference on Information and Communication Technology Convergence (ICTC), pp 500–502. IEEE

  23. Emeakaroha Vincent C, Netto Marco AS, Calheiros Rodrigo N, Ivona B, Rajkumar B, De Rose César AF (2012) Towards autonomic detection of sla violations in cloud infrastructures. Futur Gener Comput Syst 28(7):1017–1029

    Article  Google Scholar 

  24. Buyya R, Yeo CS, Venugopal S (2008) Market-oriented cloud computing: Vision, hype, and reality for delivering it services as computing utilities. In: 2008 10th IEEE International Conference on High Performance Computing and Communications, pp 5–13. Ieee

  25. Wu L, Garg SK, Buyya R (2015) Service level agreement (sla) based saas cloud management system. In: 2015 IEEE 21st International Conference on Parallel and Distributed Systems (ICPADS), pp 440–447. IEEE

  26. Wu L, Garg SK, Buyya R, Chen C, Versteeg S (2013) Automated sla negotiation framework for cloud computing. In: 2013 13th IEEE/ACM International Symposium on Cluster, Cloud, and Grid Computing, pp 235–244. IEEE

  27. Alhamad M, Dillon T, Chang E (2010) Conceptual sla framework for cloud computing. In: 4th IEEE International Conference on Digital Ecosystems and Technologies, pp 606–610. IEEE

  28. Li X, Du J (2013) Adaptive and attribute-based trust model for service-level agreement guarantee in cloud computing. IET Inf Secur 7(1):39–50

    Article  Google Scholar 

  29. Patel P, Ranabahu AH, Sheth AP (2009) Service level agreement in cloud computing. Kno.e.sis. https://corescholar.libraries.wright.edu/knoesis/78

  30. Terry DB, Prabhakaran V, Kotla R, Balakrishnan M, Aguilera MK, Abu-Libdeh H (2013) Consistency-based service level agreements for cloud storage. In: Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, pp 309–324. ACM

  31. Linlin W, Kumar GS, Rajkumar B (2012) Sla-based admission control for a software-as-a-service provider in cloud computing environments. J Comput Syst Sci 78(5):1280–1299

    Article  Google Scholar 

  32. Hasanzadeh MM, Omid J, Alireza R, Reza MM (2016) Service level agreement based adaptive grid superscheduling. Futur Gener Comput Syst 55:62–73

    Article  Google Scholar 

  33. Tahir SM, Tolga O, Emre HA (2016) Design and formal verification of a cloud compliant secure logging mechanism. IET Inf Secur 10(4):203–214

    Article  Google Scholar 

  34. Szabo N (2018) The idea of smart contracts. nick szabo’s papers and concise tutorials

  35. Konstantinos C, Michael D (2016) Blockchains and smart contracts for the internet of things. IEEE ACCESS 4:2292–2303

    Article  Google Scholar 

  36. Scheid EJ, Stiller B (2018) Automatic sla compensation based on smart contracts. Technical report, Technical Report IFI-2018.02 https://files.ifi.uzh.ch/CSG/staff/scheid,

  37. Watanabe H, Fujimura S, Nakadaira A, Miyazaki Y, Akutsu A, Kishigami J (2016) Blockchain contract: Securing a blockchain applied to smart contracts. In: 2016 IEEE International Conference on Consumer Electronics (ICCE), pp 467–468. IEEE

  38. Thakur M et al. (2017) Authentication, authorization and accounting with ethereum blockchain

  39. Al-Noman PA, Anmin F, Kumar BS, Kumar NR, Saurabh G, Aniket M (2020) Fogauthchain: A secure location-based authentication scheme in fog computing environments using blockchain. Comput Commun 162:212–224

    Article  Google Scholar 

  40. Patwary AA, Fu A, Naha RK, Battula SK, Garg S, Patwary MA, Aghasian E (2020) Authentication, access control, privacy, threats and trust management towards securing fog computing environments: a review. arXiv:2003.00395, February 2020

  41. Kirkman S (2018) A data movement policy framework for improving trust in the cloud using smart contracts and blockchains. In: 2018 IEEE International Conference on Cloud Engineering (IC2E), pp 270–273. IEEE

  42. Wonjiga AT, Peisert S, Rilling L, Morin C (2019) Blockchain as a trusted component in cloud sla verification. In: Proceedings of the 12th IEEE/ACM International Conference on Utility and Cloud Computing Companion, pp 93–100

  43. Alzubaidi A, Mitra K, Patel P, Solaiman E (2020) A blockchain-based approach for assessing compliance with sla-guaranteed iot services. In: 2020 IEEE International Conference on Smart Internet of Things (SmartIoT), pp 213–220. IEEE

  44. Brundo UR, Huan Z, Kyriakos K, Zeshun S, Zhiming Z, Rocco DN (2021) Distributed service-level agreement management with smart contracts and blockchain. Concur Comput Practice Exp 33(14):e5800

    Google Scholar 

  45. Dastjerdi AV, Gupta H, Calheiros RN, Ghosh SK, Buyya R (2016) Fog computing: Principles, architectures, and applications. In: Internet of Things, pp 61–75. Elsevier

  46. Wu L, Buyya R (2012) Service level agreement (sla) in utility computing systems. In: Performance and Dependability in Service Computing: Concepts, Techniques and Research Directions, pp 1–25. IGI Global

  47. Hamda A-B, Ur RMH, Khaled S, Davor S (2020) Trustworthy blockchain oracles: review, comparison, and open research challenges. IEEE Access 8:85675–85685

    Article  Google Scholar 

  48. Kumar NR, Saurabh G, Dimitrios G, Prakash JP, Longxiang G, Yong X, Rajiv R (2018) Fog computing: survey of trends, architectures, requirements, and research directions. IEEE Access 6:47980–48009

    Article  Google Scholar 

  49. Kumar BS, Saurabh G, Kumar NR, Parimala T, Ruppa T (2019) A micro-level compensation-based cost model for resource allocation in a fog environment. Sensors 19(13):2954

    Article  Google Scholar 

  50. Index | node.js v9.11.2 documentation. https://nodejs.org/docs/latest-v9.x/api/. (Accessed on 02/20/2022)

  51. Solidity – solidity 0.5.3 documentation. https://docs.soliditylang.org/en/v0.5.3/. (Accessed on 02/20/2022)

  52. Home | ethereum.org. https://ethereum.org/en/. (Accessed on 02/20/2022)

  53. Skarlat O, Nardelli M, Schulte S, Dustdar S (2017) Towards qos-aware fog service placement. In: 2017 IEEE 1st International Conference on Fog and Edge Computing (ICFEC), pp 89–96. IEEE

  54. Uriarte RB, De Nicola R, Kritikos K (2018) Towards distributed sla management with smart contracts and blockchain. In: 2018 IEEE International Conference on Cloud Computing Technology and Science (CloudCom), pp 266–271. IEEE

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ranesh Naha.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Battula, S.K., Garg, S., Naha, R. et al. A blockchain-based framework for automatic SLA management in fog computing environments. J Supercomput 78, 16647–16677 (2022). https://doi.org/10.1007/s11227-022-04545-w

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-022-04545-w

Keywords

Navigation