Adil Khan 9 months ago
AdiKhanOfficial #FYP Ideas

Cloud Stitch

In recent years, there?s been a lot of talk about cloud computing and cloud storage, like Microsoft Azure, Amazon Web Services, and Google Cloud. Almost everything in the digital world is connected to the cloud in one way or another. There are some open source platforms available

Project Title

Cloud Stitch

Project Area of Specialization

Cloud Infrastructure

Project Summary

In recent years, there’s been a lot of talk about cloud computing and cloud storage, like Microsoft Azure, Amazon Web Services, and Google Cloud. Almost everything in the digital world is connected to the cloud in one way or another. There are some open source platforms available out there such as Openstack that build and manage applications in private and public clouds using pooled virtual resources. Developing an application is not a big task in today’s world but the main problem lies in configuration and deployment of your application in cloud environment. If your application lies in different containers then a service is required to smoothly orchestrate the containers. One of these services is Magnum; an Openstack service that offers complete life-cycle management of container orchestration engines in an OpenStack environment.  In other words, magnum simplifies the required integration with OpenStack, and allows for cloud users to use an application smoothly which is present in different containers. But we need some way to get Openstack services deployed like magic as it is difficult to deploy Openstack services. We must have some sort of bridge that smoothly configures our Magnum service for further being used. This proposed project idea consists of two main parts:

  1. The first part is writing a “Charm” which deploys Magnum service in seconds and configures it for high level performance and security. Charms encapsulate a single application and all the code and know-how it takes to operate it, such as how to combine and work with other related applications or how to upgrade it. Charms are already developed for services like mongoDB, Cassandraa, Django but not yet for Magnum (The service that orchestrates containers). The main idea of this part of the proposed idea is to write "Juju charm for Openstack’s Magnum service" which will result as an ease in deploying the concept of container orchestration especially for developers.

  2. The second part of the idea is the development of a web-based application which will be deployed in cloud environment in order to show successful implementation of Juju charm for magnum. This web-based system will revolve around the concept of e-boutique which will provide the customers an amazing opportunity to buy ready to wear dresses, customize dress designs and order unstitched dresses. This part of the proposed idea will not only validate the first part of the project but will also benefit the Pakistani people with online shopping. It will also act as a great opportunity for the underpriviledged tailors as there is no application in Pakistan through which tailors can get stitching orders remotely to earn money.   

Project Objectives

The aim and objective of this system is to provide ease for the developer community in deploying Magnum service rapidly. An E-boutique application is used a test app to deploy it in the containerized cloud environment to show successful implementation of Juju Charm. This E-boutique application will benefit the underprivileged tailors as there is no online application in Pakistan through which the tailors can get stitching orders remotely. 

Main objective:

“We are trying to create JUJU charm for Magnum; it is the so-called magic which will deploy Magnum service quickly with also configuring it for high level performance and security unlike currently being deployed in a long time. For testing the success, a web-based E-boutique web app is to be deployed in the containers”

 Following are the main objectives of juju charm of magnum:

  • Easing deployment process for developers

  • Re-deploy your entire app infrastructure to another cloud

  • Controlling the number of machines in real time environment

  • Management of multiple models, configurations, accounts, sharing and access

  • Represent relationship between services

  • Exception handled while service deployment

 Following are the main objectives of web-based E-boutique system:

  • Manage customer, tailor and admin portal

  • Providing customer an opportunity to buy ready-to-wear clothes

  • Select unstitched clothes, find tailor of his/her choice and place stitching order

  • Customize clothes design with provided patches (which means a customer select patches of arms and neck of his/her own choice and customize the whole design

  • Connect tailors to customer in the best possible way

  • Stay updated with the sale

  • Maintain customer cart

Project Implementation Method

The implementation method for the first part of the proposed idea (juju charm for magnum) will be as following:

  • Juju charm for magnum will be preferably developed in Ubuntu OS. Important libraries such as charm tools, python 3.x, juju bootstrap, development of juju controller through juju gui; whereas kubernetes, dockers, lxd and lxc containers will be used for initial testing. final deployment will be on server (DELL server R710 64GB RAM, 2 HEXA CORE CPU, 3X 2TB Storage)
  • The code of juju charm for magnum will be written in the form of a structured directory consisting of YAML files(files for configuration, layers, interfaces, metadata), Python files (charm code), Reactive file, deployment and setup skeletons
  • Reactive framework and reactive programming will be used for creating developer-created states and implementing boolean logic
  • Hooks will be used to perform charm actions and method developement
  • Concept of layers will be used for implementation and examine change of state such as charm layers, interface layers. The states will trigger the layer to take further action

The implementation method for the second part of the proposed idea (E-boutique application) will be as following:

  • This application will be developed using Django framework which deals with python language itself. The application is in a structured form of model, templates and views
  • Frontend of the application will be developed using HTML, bootstrap, javascript
  • Backend will be developed using object oriented paradigm, URL mapping, APIs, authentication imports, built-in Django and python libraries, cross-site scripting for security purpose
  • For the database part, Django has built-in support of SQL lite but we will prefer using postgre sql as we will be dealing with a large database. SQL lite is preferable for light-weight databases.
  • Views will be used to represent data in HTML templates 

Benefits of the Project

One of the many reasons that motivated us to work on this project as a part of our final year is the uniqueness that lies within the idea; cloud computing is in the industrial air these days. OpenStack services play an important role as a software platform for cloud computing, mostly deployed as infrastructure-as-a-service (IaaS). Juju charm is basically developed for a software component that enables Juju to deploy and manage the software component as a service. Moreover, Openstack ecosystem is being used in more than 500 corporates so creating juju charms for ease in deploying Openstack services will be beneficial and of high worth. As we are aware that cloud computing is a challenging and research-based field, another motivation that encouraged us to work on this project was the use of emerging technologies and tools in this project like python, Ubuntu, APIs, LXD and LXC containers, juju libraries, MAAS, etc. The key benfits of first part of the project are:

  • Developers can deploy and configure magnum easily which was a big task

  • Dependency issues will be discarded

  • Developer will be able to monitor of container’s health

  • Thers is no juju charm for a container orchestration service. This will be the first of its kind!

When we talk about containerization then we must have something which can be deployed in them. Keeping in mind the latest fashion trends, the other aspect of the system is the development of an e-boutique. The parts of this application can be put in containers for showing the successful orchestration done by magnum after deployment. The key benefits of second part of the project are:

  • In Pakistan, there is no application that can be used for underprivilidged tailors to get sticting orders and use their stitching skills for earning. Despite of being a developed country, there re stilll some areas in Pakistan where girls are not allowed to got to workplaces for earning. This application can be a great platform for them to earn money by stitching clothes at home. 
  • In Pakistan, there is no application through which customers can make customizable designs for wearing. This application can be one of its kind by this amazing feature

Technical Details of Final Deliverable

The final deliverable will be including the following features or technical details:

For first part of the project (juju charm for magnum):

Developer is able to:

  • Developer shall be able to specify machines which are to be deployed 
  • Developer shall be able to deploy and manage service (Magnum) delivery status
  • Developer shall be able to create or destroy other controllers including juju controller
  • Developer shall be able to log into a controller and view multiple models
  • Developer shall be able to view controllers, their details and availability
  • Developer shall be able to monitor container’s health and undertake operational actions if container is not running
  • Developer shall be able to manage container’s relationships and view VMs in running models
  • Developer shall be able to define sharing and access and view relationship of components

For second part of the project (E-boutique application):

  1. Customer portal: The customer is able to
    • Manage cart
    • Buy ready to wear clothes
    • Select unstitched cloth and place stitching order to tailor of choice
    • Customize design
    • Rate tailor
    • Get notified about stitching order, queries, sales on item 
  2. Admin Portal: The admin is able to
    • View and reply complains/queries form customer and tailors.
    • View stock status (alert if stock is about to finish)
    • Upload /edit /delete product and its details
    • Block/ Unblock accounts (of tailor or customer)
    • Announce sale on specific products
    • Stock management
  3. Tailor portal: The tailor is able to;
    • Get notified about new orders
    • Accept/ Rejact order
    • Rate customer
    • Put up a query 

Final Deliverable of the Project

HW/SW integrated system

Core Industry

IT

Other Industries

Others

Core Technology

Cloud Infrastructure

Other Technologies

Others

Sustainable Development Goals

Decent Work and Economic Growth, Industry, Innovation and Infrastructure, Sustainable Cities and Communities

Required Resources

Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
DELL server R710 (64GB RAM, 2 HEXA CORE CPU, 3X 2TB Storage) Equipment16900069000
Total in (Rs) 69000
If you need this project, please contact me on contact@adikhanofficial.com
Modern and Smart Floor Cleaning Robot

We designed Smart Floor Cleaning Robot, as households of today are becoming smarter and mo...

1675638330.png
Adil Khan
9 months ago
E Assessment System

Since the traditional have many drawbacks such as time consuming, difficulty of analyzing...

1675638330.png
Adil Khan
9 months ago
QUEST Examination Management System

In schools and universities, students and teachers use internet on a regular basis in orde...

1675638330.png
Adil Khan
9 months ago
Helping hands

This is a project develop on android .The idea here is to make a system which helps organi...

1675638330.png
Adil Khan
9 months ago
Estimating Traffic Flow Using Supervised ML and Image Processing Techn...

Even though various methods have been presented for moving vehicles detection, it is still...

1675638330.png
Adil Khan
9 months ago