Northeastern University MS IS DevOps Spring 2020 - Final Project
Note: Will take about 20 minutes to provision and about Endpoints will be ready to access in about another 10 minutes
- External Backend API Hostname
- Grafana Dashboard Hostname (Append
:3000
to the hostname) - Kubernetes Dashboard Hostname
- Front-end 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
- Make sure to run Bash scripts on UNIX based system, MacOS or Windows WSL
- Install Terraform CLI Tool in installed (https://learn.hashicorp.com/terraform/getting-started/install.html)
- Install AWS CLI Tool (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
- Configure your AWS CLI with your IAM credentials (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)
- Install AWS IAM Authenticator CLI Tool (https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html)
- Install Docker Toolbox (https://docs.docker.com/toolbox/overview/)
- Install kubectl CLI Tool (https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- Install jq CLI Tool (https://stedolan.github.io/jq/download/)
- 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.
Real time data generated using: https://documenter.getpostman.com/view/8854915/SzS7R6uu?version=latest