Coder Social home page Coder Social logo

harshithasomasundar / devopsfinalproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 2.73 MB

A simple Todo application , containarized and deployed on EKS cluster using Terraform

Dockerfile 2.59% JavaScript 17.75% TypeScript 32.94% HTML 8.13% CSS 6.05% HCL 24.16% Shell 8.38%

devopsfinalproject's Introduction

DevopsFinalProject

A simple Todo application , containarized and deployed on EKS cluster using Terraform

Team Members:

Name NUID
Akshay Mahesh Bhusare 001443548
Harshitha SomaSundar 001497986

GitHub URL: https://github.com/HarshithaSomaSundar/DevopsFinalProject

Project Objective

Create a scalable micro-service based ToDo application to keep a track of and update ToDo’s

Dockerize the applications and deploy it on a Kubernetes Cluster

Monitor the application performance

Use Cases

A TODO application to set a due date and an option to mark it complete/Pending.

Update a TODO’s description or due date if necessary.

Retrieve a TODO to check the status.

Delete a TODO once it’s complete.

Development Technique

Followed Pair Programming Technique

Developed and reviewed application development and deployment

Monitored and tracked progress [ Jira Dashboard ]

Technologies Used

Technologies

Architecture Diagram

Application Architecture Diagram:

Application Architecture Diagram

Infrastructure Architecture Diagram:

Infrastructure Architecture Diagram

Application Monitoring

Prometheus DashBoard:

Prmetheus

Grafana Dashboard :

Username: admin

Password: admin

  • Click on the + and then on Import

  • Enter 10000 in the box and import the dashboard

Grafana

Running the code

We created a shell script which is responsible to do the following tasks:

Create Kubernetes cluster using terraform

Deploy backend application

Create a service for backend

Deploy frontend application

Create a service for frontend

Create a Prometheus dashboard

Create a Grafana dashboard

Note: This script runs only on Linux as it involves modifying the kube config file. To run the project on Windows/Mac, run each command from the script manually, making changes according to the OS file system.

Steps to follow:

  • Move to Infrastructure > Cluster

  • Run the deployApp.sh script

  • Copy the backend service url

  • Go to AWS Route53 and create a hosted zone with domain “csye6225-su19-bhusarea.me”

  • Add a Record set with Type A and an Alias to the backend service url (the LoadBalancer url can be selected from the dropdown)

  • Save the changes

  • Access the frontend load balancer url to run the application

  • Prometheus can be accessed with its service url

  • Grafana can be accessed with it’s service url

devopsfinalproject's People

Contributors

bhusareakshay avatar harshithasomasundar avatar

Watchers

James Cloos avatar  avatar

Forkers

bhusareakshay

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.