Skip to content

Milestone 2

nikhilmankame edited this page Apr 10, 2020 · 23 revisions

Deploying the project on Cloud

Tasks Accomplished:

  1. Dockerized each microservices.
  2. Created Kubernetes cluser.
  3. Jenkins CI/CD for deployment of Docker Containers.
  4. Load testing using JMeters.

Flow:

  1. Commit to dockerized-flask-node.
  2. Jenkin triggers build.
  3. Image is pushed on Docker hub.
  4. Build pods from the image.

You can access the project at:

http://149.165.170.97:30007/login

Dockerhub Repositoy:

 codestorm2020

Kubernetes

  • There is 1 master node and 3 slave nodes.
  • Master Node: 149.165.170.97
  • Node1 : 149.165.170.33
  • Node2 : 149.165.170.83
  • Node3 : 149.165.170.173
  • Kubernetes Setup

Jenkins instance:

  • Git Webhook has been implemented and build is triggered on commit to dockerize-flask-node branch.
  • Link is : http://149.165.169.89:8080/
  • There are 8 pipelines for the 8 microservices: UserManagement, SessionManagement, PostProcessing, APIGateway, ModelExecution, DataRetrieveal, Frontend, Confluentinc-Kafka

Jmeter testing and result

Please click on the following link to access the Jmeter Testing Details:

https://github.com/airavata-courses/codestorm/wiki/Jmeter-Testing-of-the-Microservices

Jmeter test results

Login 500 Requests (Summary Report) UM-Login-500

Login 500 Requests (Graph Results) UM-Login-500-1

Login 1000 Requests (Summary Report) UM-Login-1000

Login 1000 Requests (Graph Results) UM-Login-1000-1

Signup 500 Requests (Summary Report) UM-Signup-500

Signup 500 Requests (Graph Results) UM-Signup-500-1

Signup 1000 Requests (Summary Report) UM-Signup-1000

Signup 1000 Requests (Graph Report) UM-Signup-1000-1

Data Retrieval 500 Requests (Summary Report) DR-500

Data Retrieval 500 Requests (Graph Report) DR-500-1

Data Retrieval 1000 Requests (Summary Report) DR-1000

Data Retrieval 1000 Requests (Graph Report) DR-1000-1

Model Execution 500 Requests (Summary Report) ME-500

Model Execution 500 Requests (Graph Report) ME-500-1

Model Execution 1000 Requests (Summary Report) ME-1000

Model Execution 1000 Requests (Graph Report) ME-1000-1

Post Processing 500 Requests (Summary Report) PP-500

Post Processing 500 Requests (Graph Report) PP-500-1

Post Processing 1000 Requests (Summary Report) PP-1000

Post Processing 1000 Requests (Graph Report) PP-1000-1