GithubHelp home page GithubHelp logo

devops-challenge's Introduction

DevOps Take-Home Challenge

Objective

To assess your skills in continuous integration, continuous deployment, and infrastructure as code, you will complete the following tasks. You will deploy this small web application using a CI/CD pipeline, and manage the infrastructure using Terraform.

Overview

You will use Docker to containerize the application, set up a CI/CD pipeline using GitHub Actions, and manage the infrastructure on AWS using Terraform.

Tasks

  1. Containerization

    • Write a Dockerfile to containerize the application.
    • Ensure the application runs correctly inside the container.
  2. Continuous Integration (CI)

    • Set up a GitHub repository for your application.
    • Configure GitHub Actions to:
      • Automatically build the Docker image upon each commit.
      • Run a basic lint check or unit test.
  3. Infrastructure as Code (IaC)

    • Use Terraform to provision the necessary infrastructure on AWS:
      • An EC2 instance to host your application.
      • Security group to allow necessary traffic (e.g., port 80 for HTTP).
    • Ensure the Terraform scripts are modular and reusable.
  4. Continuous Deployment (CD)

    • Extend the GitHub Actions workflow to:
      • Push the Docker image to a container registry (e.g., Docker Hub).
      • Deploy the application to the EC2 instance using the Docker image.

Deliverables

  1. Code Repository:

    • A fork of this GitHub repository with:
      • The source code of application.
      • The Dockerfile.
      • GitHub Actions workflows.
      • Terraform scripts.
  2. Documentation:

    • A README.md file explaining:
      • How to build and run the application locally.
      • How to set up the infrastructure using Terraform.
      • How to deploy the application using the CI/CD pipeline.

Submission

Submit the link to your GitHub repository to [email protected].

devops-challenge's People

Contributors

balajmarius avatar vtemian avatar

Stargazers

 avatar

Watchers

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