Giter Club home page Giter Club logo

devops-exercise's Introduction

DevOps Exercise

This exercise has been created in a github repository. In the repository there are all the files used to create a final nicer version using Jekyll github pages.

project
│   README.md
│   Solution pages in markdown
│
└─── media
│      Linked images
│
└─── resources
│      [draw.io](http://draw.io) diagrams
│
└─── azure
       custom azure resources

Below there is the exercise formulation and close to each topic there is a link to an specific page with the solution.

Exercise 1

We have two web projects that both use a common library that we also own. All projects are .net and have their own repository in git. We want to put a Jenkins system in place.

  1. If we want to have a separate release cycle for all three components…
    • a. How would you organize the repositories and the build jobs?
    • b. Would you use any type of package system? How?
  2. If we want to use the same release cycle for all three projects…
    • a. How would you specify the same build number for all components using pipeline jobs?
    • b. What are the pros and cons of linking projects using subtrees or submodules in this context?
  3. What would be your recommendation? Same release cycle for all components or not?

Solution for the first exercise

Exercise 2

We have this web application SocialGoal

  1. Set up a Jenkins build Solution

  2. Whenever we have a successful build, we want to deploy it automatically, following an Infrastructure as code approach.

    • Describe a base architecture with one database server and two IIS servers, in a infrastructureascode definition Solution

    • Using the description in previous point, set up an automatic deployment...

      1. In our own datacenter (e.g. vCenter, or any other tool of your choice) Solution
      2. In a cloud provider (Amazon, Azure) Solution

      NOTE: In both scenarios, you can take advantage of containers technology (e.g. Docker, Kubernetes...) Solution

    • How would you change the approach if with each deployment we want to upgrade the same running environment instead of removing the existing and creating a new one? Solution

  3. After the deployment, we want to run a selenium test suite that lives in the same repository of the application. How would you implement this? Solution

IMPORTANT!

For each exercise, please:

  • Document any assumption you make because of lack of information in the questions
  • Specify all tools used, to provide an end to end complete answer
  • Provide detailed steps on how you would implement a working solution, like a howto guide. This includes any configuration settings, scripts, etc. Feel free to add screenshots or any other reference you find informative

devops-exercise's People

Contributors

guillemsola avatar

Stargazers

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