Giter Club home page Giter Club logo

cc-hybrid-cloud's Introduction

Serverless server Cloud computing project 3: Smart Classroom Assistant using Hybrid Cloud

Group Members: (Team Name : Serverless server)

1. Bhavesh khubnani
2. Aishwariya Ranjan
3. Abhijeet Dixit

AWS Credentials :

Configure your secret key and access key

S3 Buckets :

1. Input bucket  : cc-ss-input-3
2. Output Bucket : cc-ss-output-3

Steps to run the code from scratch :

1. Clone the Repository
    Clone this repository to your local machine.

2. Create a Linux-based Virtual Machine (Pre-requisite :  You should download an image of the OS that you want to install for.eg. Ubuntu 22.x and also install VirtualBox/VMware)

3. Install Docker

4. Follow the instructions to set up OpenFaaS using arkade and kinD (https://docs.openfaas.com/tutorials/local-kind-registry/)

5. Follow the tutorial to setup CEPH cluster on sigle node (https://canonical-microceph.readthedocs-hosted.com/en/latest/tutorial/single-node/)

6. Enable the RGW service (https://canonical-microceph.readthedocs-hosted.com/en/latest/how-to/enable-service-instances/)

7. Log in to the CEPH dashboard and create buckets and user with S3 keys.

8. Create a DynamoDB table with 'name' as the primary key. This table will be used to store information related to recognized faces.

9. Add the secret key and access key of S3 and the CEPH user to the handler.py file so that OpenFaaS can connect to the DynamoDB instance as well as the CEPH cluster.

10. Use the build and deploy command to push the code and deploy the OpenFaaS function. (https://docs.openfaas.com/tutorials/local-kind-registry/#build-push-deploy)

11. Run the workload.py script to upload two batches of test videos : 9 videos and 100 videos.

12. Monitor the Output Bucket to access details of recognized faces in the uploaded videos.

cc-hybrid-cloud's People

Contributors

abdixit11 avatar abhijeetdixit11 avatar bhavesh2103 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.