Skip to content

vmucury/devopschallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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) | <=> (load balancer) <=> | (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 web Dockerfile
  2. Create 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 - api and database tiers terraform script

  1. Create a PostgreSQL database with user, password and database.
  2. Create a Virtual Machine, or other solution, to run api application
  3. Create a Load Balancer pointing to api application

Deliverable 3 - web tier terraform script

  1. Create a Virtual Machine, or other solution, to run web application
  2. Create the web docker container pointing to api docker container
  3. Create a Load Balancer pointing to web application

PLUS

  1. Use a container orchestrator to run the applications
  2. Solution must handle instance container failures
  3. WEB and API tiers must have multiple instances
  4. Deploy of new version without downtime
  5. WEB should access API using a Internal Load Balancer, but keep the API public

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •