Giter Club home page Giter Club logo

devops-test's Introduction

DevOps Engineer - Technical Test

We think infrastructure is best represented as code, and provisioning of resources should be automated as much as possible.

Your task is to create a CI build pipeline that deploys this web application to a load-balanced environment. You are free to complete the test in a local environment (using tools like Vagrant and Docker) or use any CI service, provisioning tool and cloud environment you feel comfortable with (we recommend creating a free tier account so you don't incur any costs).

  • Your CI job should:
  • Run when a feature branch is pushed to Github (you should fork this repository to your Github account). If you are working locally feel free to use some other method for triggering your build.
  • Deploy to a target environment when the job is successful.
  • The target environment should consist of:
    • A load-balancer accessible via HTTP on port 80.
    • Two application servers (this repository) accessible via HTTP on port 3000.
  • The load-balancer should use a round-robin strategy.
  • The application server should return the response "Hi there! I'm being served from {hostname}!".

Context

We are testing your ability to implement modern automated infrastructure, as well as general knowledge of system administration. In your solution you should emphasize readability, maintainability and DevOps methodologies.

Submit your solution

Create a public Github repository and push your solution in it. Commit often - we would rather see a history of trial and error than a single monolithic push. When you're finished, send us the URL to the repository.

Running this web application

This is a NodeJS application: This is a NodeJS application:

  • npm test runs the application tests - npm test runs the application tests
  • npm start starts the http server

devops-test's People

Contributors

hafizullah 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.