Virtual Networks Comparison Solutions for Community Clouds
Total Page:16
File Type:pdf, Size:1020Kb
University of Business and Technology in Kosovo UBT Knowledge Center Theses and Dissertations Student Work Fall 9-2016 Virtual Networks Comparison Solutions for Community Clouds Adnan Lupçi University for Business and Technology - UBT Follow this and additional works at: https://knowledgecenter.ubt-uni.net/etd Part of the Computer Sciences Commons Recommended Citation Lupçi, Adnan, "Virtual Networks Comparison Solutions for Community Clouds" (2016). Theses and Dissertations. 1180. https://knowledgecenter.ubt-uni.net/etd/1180 This Thesis is brought to you for free and open access by the Student Work at UBT Knowledge Center. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of UBT Knowledge Center. For more information, please contact [email protected]. College UBT Department of Computer Science and Engineering Virtual Networks Comparison Solutions for Community Clouds Student: Adnan Lupçi September 2016 Prishtinë College UBT Department of Computer Science and Engineering Bachelor Thesis Academic Year 2012-2016 Student: Adnan Lupçi Virtual Networks Comparison Solutions for Community Clouds Mentor: Fisnik Prekazi September 2016 This Thesis was prepared and submitted in partial fulfillment of the requirements for the Bachelor Degree Abstract Cloud computing has a huge importance and big impact nowadays on the IT world. The idea of community clouds has emerged recently in order to satisfy several user expectations. Clouds are distributed technology platforms that leverage sophisticated technology innovations to provide highly scalable and resilient environments that can be remotely utilized by organizations in a multitude of powerful ways. To successfully build upon, integrate with, or even create a cloud environment requires an understanding of its common inner mechanics, architectural layers, and models, as well as an understanding of the business and economic factors that result from the adoption and real-world use of cloud-based services. Albanian Cloud Community is an Albanian project that aims to provide a design and implementation of a self-configured, fully distributed, decentralized, scalable and robust cloud for a community of users across a community network. One of the aspects to analyze in this design is which kind of Virtual Private Network (VPN) is going to be used to interconnect the nodes of the community members interested in access cloud services. In this thesis we will study, compare and analyze the possibility of using Tinc, IPOP or SDN-based solutions such as OpenFlow to establish such a VPN. i Acknowledgements This thesis would have been incomplete without the contributions of the following people. First and foremost, I would like to express my sincere gratitude to my mentor prof. MSc. Fisnik Prekazi who despite his busy schedule devoted a great deal of time in supervising me. Thank you very much for your constant confidence and encouraging support throughout the process of writing this thesis. I will also have to show appreciation to the management of the department of Computer Science for the period of my Bachelor studies here at University of Business and Technology – UBT in Prishtina. Lastly, I am very grateful to my Family, who always expressed full hope and encouragement toward me. Without their support, this thesis would prove unsuccessful. Prishtinë, 02 September 2016 Adnan Lupçi ii Table of Content Contents 1. Introduction ...................................................................................................................................... 4 2. Literature Review ................................................................................................................................. 6 2.1 Cloud Computing ........................................................................................................................... 6 2.2 Community Clouds ........................................................................................................................ 6 2.3 Virtual Private Networks ................................................................................................................ 8 2.3.1 Tinc VPN .................................................................................................................................. 9 2.3.2 IPOP ...................................................................................................................................... 10 2.4 Software-Defined Networks ......................................................................................................... 11 3. Problem Statement ............................................................................................................................ 14 3.1 Goals ............................................................................................................................................ 14 4. Methodology ...................................................................................................................................... 15 5. Case Study .......................................................................................................................................... 16 5.1 Solutions Study ............................................................................................................................. 16 5.1.1 Tinc VPN ................................................................................................................................ 16 5.1.2 IPOP ....................................................................................................................................... 18 5.1.3 SDN ........................................................................................................................................ 21 5.1.4 Feature Comparison Table .................................................................................................... 21 5.2 Tinc and IPOP Evaluation ............................................................................................................ 22 5.2.1 Tinc Test ................................................................................................................................ 22 5.2.2 Fault tolerance ...................................................................................................................... 23 5.2.3 Resource Consumption ......................................................................................................... 23 5.3 IPOP Tests .................................................................................................................................... 23 5.3.1 Latency added ....................................................................................................................... 23 5.3.2 Fault Tolerance ...................................................................................................................... 25 5.3.3 Join/Leave ............................................................................................................................. 25 5.3.4 Resources Consumption ........................................................................................................ 25 5.4 Evaluation Outcome ..................................................................................................................... 26 1 6. Conclusions and future work .......................................................................................................... 28 6.1 Conclusions .................................................................................................................................. 28 6.2 Future Work ................................................................................................................................. 29 6.2.1 Evaluation on bigger scenario ............................................................................................... 29 6.2.2 Configuration server in Tinc .................................................................................................. 29 i. IPOP bootstrapping node improvements .............................................................................. 30 7. References .......................................................................................................................................... 31 8. Appendix A: IPOP Deployment Scripts ......................................................................................... 33 List of figures Figure 1 : Architecture of Public Cloud vs Community Cloud .................................................................. 7 Figure 2 :VPN Tunnel over Internet.......................................................................................................... 9 Figure 3 :Ring topology of IPOP VPN. (source: slide 14 of ”Peer-to-peer Virtual Private Networks and Applications” by Renato Figueiredo)...................................................................................................... 11 Figure 4: Software-De_ned Network Architecture. (source: opennetworking.org) .............................. 12 Figure 5: Schema of Tinc testing environment ...................................................................................... 18 Figure 6: Schema of IPOP testing environment ..................................................................................... 20 Figure 7: Screenshot of the network crawling tool included in IPOP .................................................... 20 Figure 8: Tinc evaluation: Graph showing different