Code Monkey home page Code Monkey logo

acc14's Introduction

ACC: Airfoil Project G14

This project was developed as final project for the course Applied Cloud Computing.

File structure:

  • celeryconfig.py: Celery configuration file
  • tasks.py: Celery tasks definition file
  • app.py: Flask application file exposing the airfoil calculations to the end-user
  • cpu_monitor: File to run application demand evaluation

bin:

This folder contains CloudNaca and Airfoil binary files.

orchestration:

This folder contains the following YAML scripts for the application deployment using Heat orchestrator and Cloud-init contextualizer:

  • airfoil_asg_g14.yaml: Airfoil stack with auto-scaling group
  • airfoil_rg_g14.yaml: Airfoil stack with resource group
  • client_g14.txt: Celery client contextualization file
  • worker_rg_g14.yaml: Celery worker resource group
  • worker_g14.txt: Celery worker contextualization file
  • environment.yaml: Celery worker resource registration

Deployment Instructions

  • Using resource group: openstack stack create -t airfoil_rg_g14.yaml airfoil_stack_g14
  • Using auto-scaling group: openstack stack create -t airfoil_asg_g14.yaml -e environment.yaml airfoil_asg_g14

You could also change the default values for any of the following parameters including --parameter "ParamName=ParamValue"

  • image: Image to be used for compute instance
  • flavor: Type of instance (flavor) to be used
  • key: Name of key-pair to be used for compute instance
  • public_network: Public network with floating IP addresses
  • internal_network: Private network with local IP addresses
  • workers: Number of celery worker nodes to be deployed
  • sec_group_name: Assigned name for the security group

Task Monitoring

To monitor task execution using celery flower visit: <floatingip_client_node>:5555

acc14's People

Contributors

alekodu avatar harpaj avatar hussee avatar

Watchers

 avatar  avatar  avatar

Forkers

alekodu

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.