Skip to content

Udagram microservices - Udagram app is cloud-based application for uploading and filtering images on AWS!

Notifications You must be signed in to change notification settings

sdkdeepa/microservices-image-uploading-app

Repository files navigation

Microservices-udacity-project3 Build Status

Steps to perform this project

  1. Clone the project - https://github.com/sdkdeepa/Udacity-project3-starter-N-solution/blob/master/project/

  2. To Run locally:

    • run npm i
    • npm start
  3. Create docker images for front, backend feed, user, frontend and reverse proxy

    • docker build -t <docker local repor name> .
    • docker tag <local repo> <docker hub name>
    • docker push <docker hub name> examples: Docker images
  4. Docker decompose to run the project in local machine docker terminal image

  5. Create EKS cluster and node group ![AWS-EKS-nodegroup]

  6. Connect your deployment files to k8s

    • aws eks --region <region> update-kubeconfig --name <name of the cluster>
  7. Run all the yaml files from k8s prject file

    • kubectl apply -f .
    • kubectl get all
    • kubectl port-forward service/frontend 8100:8100 use new tab on the terminal
    • kubectl port-forward service/reverseproxy 8080:8080 use new tab on the terminal

    AWS-k8s-nodegroup-pods

  8. Sync the project with Travis CI by selecting the github repo

  9. Create all the Environmental variables in the repo settings of travis

  10. Trigger build

  11. Once your application builds successfully in travis, you have connected your project to CI CD pipeline! travis-build passing Frontend