GithubHelp home page GithubHelp logo

contest's Introduction

Breakathon Example Infrastructure

This directory contains everything used to provision the breakathon example app.

files/     - various files used inside a level
terraform/ - Terraform recipes used to provision the level
packer/    - Packer recipes used to pre-bake the level AMIs

Breakathon Contestant Guide

Overview

Greetings! Welcome to the PagerDuty Breakathon. Your team will be given several levels to solve. Whichever team completes the most levels in the shortest time wins!

A level consists of a set of infrastructure pieces (frontend, app host, database, cache, and SSH jump host). Within each level, there's at least one problem that's preventing the web application from returning a correct result. Your task is to find the problem, and fix it!

Good luck, have fun, don't take it too seriously, and enjoy the Breakathon!

The Infrastructure

Each challenge has the same set of infrastructure. In ASCII art form, its:

              (Internet)
                  |
        ----------------------
        |                    |
    (frontend1)          (jumphost1)
        |                    |
        ----------------------
                  |
           (private network)
                  |
        ----------------------
        |         |          |
     (app1)     (db1)     (cache1)

Each set of infrastructure for a level is created from the same Packer images and Terraform templates - a sanitized version is available in this repo.

All of the infrastructure is running within AWS using a dedicated set of resources per challenge. All hosts are t2.nano instances, running Ubuntu 16.04.

  • frontend1 is running nginx as a proxy to the backend host app1. It is accessible from the public Internet on ports 80 and 443.
  • jumphost1 is running an SSH server, and can connect to all of the other hosts via a private network. It is accessible from the public Internet on port 22.
  • app1 is running a small boutique web application in a Docker container. It is only accessible via the private network.
  • db1 is running MySQL 5.7. It is only accessible via the private network.
  • cache1 is running Redis 4.0. It is only accessible via the private network.

The Rules

  • Using Google & other reference material is OK.
  • Downloading and installing tools on the hosts is OK.
  • The breakathon tool will confirm if the level is working or not.

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.