Giter Club home page Giter Club logo

devops-challenge-apps's Introduction

DevOps Challenge

This repo contains code for a multi-tier application.

The application overview is as follows:

                    +------------+     +------------+
                <=> | (web tier) | <=> | (api tier) | <=>
(load balancer) <=> | (web tier) | <=> | (api tier) | <=> (db)
                <=> | (web tier) | <=> | (api tier) | <=>
                    +------------+     +------------+

The folders web and api respectively describe how to install and run each app.

Deliverables

This challenge is divided in multiples parts(deliverables). You don't need to finish all. Show us what do you finished.

Deliverable 1 - Docker

  1. Create a clean web Dockerfile
  2. Create a clean api Dockerfile
  3. Define a docker-compose.yml in the project root that run the web and api with a simple docker-compose up
  4. Publish the image in a public registry with the command docker-compose push web api

Deliverable 2 - Kubernetes cluster and PostgreSQL

  1. Using IAC(infrastructure as code) create a Kubernetes cluster
  2. Using IAC(infrastructure as code) create a PostgreSQL server
  3. Using IAC(infrastructure as code) create a PostgreSQL database and user

Deliverable 3 - api and database tiers terraform script

  1. Deploy api service on cluster
  2. Configure the database credentials in a security way

Deliverable 4 - web tier terraform script

  1. Deploy web service on cluster
  2. Create a Load Balancer pointing to web application

PLUS

  1. Solution must handle instance container failures
  2. WEB and API tiers must have multiple instances
  3. Deploy of new version without downtime

PLUS PLUS

  1. Monitor the application and show in a dashboard

PLUS PLUS PLUS

  1. Collect log and show in a dashboard

Observation

Please specify all steps needed to execute and see the application working.

The scripts should be delivered as a public repo on Github or a pull-request made against the https://github.com/robsonpeixoto/devops-challenge-apps repo.

devops-challenge-apps's People

Contributors

alexrocco avatar cdnbacon avatar killix avatar robsonpeixoto 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.