Code Monkey home page Code Monkey logo

autoscalermanagementtool's Introduction

EC2 auto scaler and manager application

This project is an assignment for cloud computing courses. The app is written in Python Flask and AWS tech suites.

worker tool

The worker application is a web application used to detect faces and faces with masks in the picture. It has log in panel and stores the history of uploaded pictures. The admin users can also create/delete user accounts. The main application can be accessed through load-balancer URL.

management tool

This project has managementuser interface to manually scale the number of running instances and users can control the worker pool. The user guide can be found in doc/A2-documentation.pdf and the requirement of manager application is in doc/a2.pdf . The individual worker applcation is used to detect if the faces in the pictures wearing masks. The manager app has a user interface where users can see the list of workers, a chart showing the number of workers for past 30mins, create/terminate user instances.

For each working instance, the chart of CPU utilization and HTTP requests number information are displayed

The management application also has two additional components load balancer and auto-scaler

In the test directory, the gen.py is a test script to test the auto-scaling feature in manager application. From the config.py file in manager app directory, you can change the information to your instances setup configuration and run the following command to test the auto-scaler functionality.

#!/bin/bash
python3 gen.py <your-load-balancer-url>/api/upload admin admin 4 ./your-photo-dir/ 100

autoscalermanagementtool's People

Contributors

laoxi02 avatar

Watchers

James Cloos avatar Hanyu Xi 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.