Skip to content

Northeastern University MS IS DevOps Spring 2020 - Final Project

License

Notifications You must be signed in to change notification settings

josephnp732/Covid19-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Covid19-Backend

Northeastern University MS IS DevOps Spring 2020 - Final Project

To deploy and run application just run bash create.sh

Note: Will take about 20 minutes to provision and about Endpoints will be ready to access in about another 10 minutes

Expected Outputs:

  • External Backend API Hostname
  • Grafana Dashboard Hostname (Append :3000 to the hostname)
  • Kubernetes Dashboard Hostname
  • Front-end Hostname

To access the frontend Hostname:

  • Change the fetchUrl variable with AWS External Backend API Hostname in the frontend (https://github.com/ajaymohandas89/Covid19_Devops)
  • Dockerize your front end using Docker Build . in the root directory of the project and push the project onto DockerHub with a desired tagname
  • Change the image name (Line 13) in deployment-frontend.yaml from the deployments folder of this repo to the name of the frontend docker image
  • Redeploy the frontend deployment using kubectl apply -f ./deployments/deployment-frontend.yaml in the backend repo
  • Hit the frontend AWS Hostname to see the output after deploying it in AWS EKS Cluster
  • Open frontend with Chrome Securities Disabled
    MacOS Command: open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
    For Windows: Open command line interface where you have web browser installed and disable web security for it. For example, to disable security for chrome type chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

Pre-requisites:

Using the Endpoint for Frontend:

  • GET All Data : http://<ExternalIP>/all
  • GET All Country : http://<ExternalIP>/countries
  • GET Country Specific : http://<ExternalIP>/countries/<country>

Note: External IP: Public facing DNS Name generated at the end of the script country: Example: USA, India, Bahrain, etc.

To destroy resouces, run: bash destroy.sh

Real time data generated using: https://documenter.getpostman.com/view/8854915/SzS7R6uu?version=latest

About

Northeastern University MS IS DevOps Spring 2020 - Final Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published