Skip to content

A backend application which demonstrates the use of microservices, docker containers, azure and highly functional techniques such as scale-in and scale-out using Flask, RabbitMQ, Zookeeper, Docker and AWS

Notifications You must be signed in to change notification settings

lucy2329/CC-FullStack

 
 

Repository files navigation

CC-FullStack

DbaaS

Assignment 1:

  • upload files to instance
  • setup flask, nginx, guinicorn
  • run the app as : gunicorn app:app -w 4 -b localhost:5000

Assignment 2:

  • Upload the folders to instance
  • change ip in the app.py files to your respective instance ip address
  • go to each folder and run: sudo docker-compose up

Assignment 3:

  • Set up a load balancer with rules on AWS
  • Create 2 instances, upload rides to 1 and users to the other.
  • Change the ip's as required.
  • run sudo docker-compose up in each of the instance after cd'ing into the folder.
  • send requests over load balancer ip

Final Project:

  • Create 3 instances.
  • create load balancer.
  • Place each folder in a different instance.
  • Change the ip's as required.
  • cd into the folder in each instance and run the script "run-all.sh".
  • you might have to run sudo docker system prune --volumes -a incase instance runs out of memory.
  • send requests over load balancer.

Testing:

  • Test1.postman_collection.json is a postman collection we made on our own set of requests

About

A backend application which demonstrates the use of microservices, docker containers, azure and highly functional techniques such as scale-in and scale-out using Flask, RabbitMQ, Zookeeper, Docker and AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Other 1.0%