Giter Club home page Giter Club logo

everly-demo's Introduction

Everly Health Demo

Key Points

  • The kubernestes cluster is created in AWS using the eksctl command. This command creates all the necessary networking components (VPC, Suibnets, IGW etc), EKS Cluster, Node group and IAM roles required to create a full clsuter. The ideal and recommended method will utilize IAC ( preferrably Terraform) to deploy the AWS infrastrucutre
eksctl create cluster \
  --name DEMO-CLUSTER \
  --region us-east-1 \
  --nodes 2 \
  --node-type t2.large
  • A real domain name (with an A record - demo.ebuka.io) is used for the ingress controller. This domain was created and is being hosted in Route 53
  • The Cluster has two applications (microservices) running on it. everly-app and everly-app-2
helm create <name-of-app>
helm install <name-of-repo> <path-to-helm-manifests>

Folder Structure

  • The app and app2 folder contains the files for the respective applications
  • The helm folder containers the kubernetes manifests which was created by the helm command

Overview

  • the docker images for these applications are built and push to dockerhub locally: everly-app & everly-app-2
  • Both applications were deployed using helm charts
  • Given that this is a very light and simple application, only the deployment, ingress and service manifests are used (helm/app-name/templates)
  • All values are defined in the values.yaml file
  • An ingress controller (also installed using helm) is used to expose the applications outside of the cluster. This ingress controller creats a load balancer in AWS and the domain name of the load balancer is seen on the scrrenshots (service/nginx-ingress-ingress-nginx-controller )
  • Incoming traffic is routed to these applications using path-based routing
  • everly-app has a /app-1 endpoint and everyl-app-2 has /app-2 endpoint

Video and Screenshot

  • A 50 seconds video showing the logs of the ingress controller as the application (both) is accessed from a chrome browser
  • 2 browser screenshots of both applications
  • Screenshot of my terminal showing all the kubenetes objects created to support these apps

Tools used

  • Helm (Package manager for kubernetes which was used to create and deploy the applications)
  • Git - To commit and push to SCM (Github)
  • NGINX ingress
  • AWS ( Route 53, EC2, VPC, SGs, EKS)

Note

  • The video will have to be downloaded on your local machine (View raw) as the file size is too big to view on the Github console

everly-demo's People

Contributors

eanene avatar

Watchers

 avatar  avatar

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.