Skip to content

mrcsmonteiro/academy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Academy

This non-profit repository intention is to help the community to learn the DevOps methodology and culture throughout a series of classes and hands-on laboratories and become ready to start working as Automation/Cloud/DevOps Engineer.

Feel free to contribute with content (PR), help peer reviewing code or just going through the exercises!

If you want to make part of the team behind this, get in touch on [email protected].

Table of Content

How it Works

To complete the DevOps Academy, you will have to go through 8 classes with hands-on exercises. For each exercise, you will have to submit your code via pull requests to this repository as per instructions. The last two labs are complete projects based on current industry needs.

You will also be required to peer review at least 5 pull requests from other students to finish this course.

From time to time we also run the live/online classes of the Academy content with a selected group of students. Those classes uses this same repository and have no additional content. The only benefit is to have the opportunity to interact with a group of students as well as with the instructors in a more structured learning process.

Because in this live/online mode the classes occurs every fortnighly, the pace of the exercises completion are based on the course schedule, so students requires a considerable amount of hours available during the week to be able to keep the course pace and complete exercises.

Also, considering the limited number of students that are accepted for each live/online term, we ask people to only apply for those classes if they will be able to commit to have a 100% class attendance and are willing to invest their time in the learning process by doing the exercises and complete th group projects.

Requirements

Please find below the requirements to complete this course:

  • Slack
  • Github Account
  • AWS Account
  • AWS cli
  • Terraform
  • Visual Studio Code
  • Docker

If you need help in any of these topics, a tutorial is available on the pre-class:

Live/Online Applications

If you intend to apply for the Live/Online classes, you'll need to fill the form available here, and as part of your application, you'll need to submit a PR to this repository under the applications folder following the instructions below.

Your application will only be reviewed once you have create a Pull Request with your requirements. It's essential that you have a proper environment setup before being able to undergo the DevOps Academy.

If there is no form available on the link provided, there is no scheduled classes in place. Reach out to any of us through our Slack channel to get more information on next Live/Online classes.

How to Submit a PR as part of your application

  • Make sure you have all the Requirements mentioned above installed on the machine you'll use for the course.
  • Fork this Repository
  • Go into the applications folder and execute the application.sh script. This script will generate an output.txt file with information about the following tools:
    • your computer os version
    • git version
    • docker version
    • aws cli version
    • terraform version
  • Rename the output.txt file to [your_git_account_username].txt
  • Create a PR on this repository from your forked repo including only the file with your GitHub user account name.

If you need instructions on how to fork a repository and how to create a PR from your fork, take a look on this and this tutorials.

Content

  • Version Control (GIT)
    • What is it?
    • Benefits
    • Basic commands
    • How to clone/fork/pr this repository
  • Agile methodology
    • Frameworks
    • Scrum
    • Kanban
  • Infrastructure as Code
    • Concepts
    • Terraform introduction
  • Containers
    • Concepts
    • Docker images
    • Docker Compose
    • 3Musketeers
  • CI/CD
    • What is CI
    • What is CD
    • Pipelines
  • Amazon Web Services (AWS)
    • Cloud concepts
    • Identity and Access Management (IAM) / CloudTrail / CloudWatch
    • VPC / Subnet / Route table / Network ACL / Security Group
    • EC2 / Auto-scaling Group / Load Balancer
    • Simple Storage Service (S3)
    • RDS / DynamoDB
    • Cloudfront / WAF
    • Route53 / Certificate Manager (ACM)
    • Elastic Container Service (ECS) / Elastic Container Registry (ECR)
    • Lambda

The content can be accessed through each specific README link below.

Classes

  • Class 01
    • DevOps Academy Introduction
    • Introduction to AWS
    • Git
  • Class 02
    • Agile Methodologies
    • Networking Introduction
    • AWS VPC
  • Class 03
    • AWS EC2
      • Load Balancing
      • Auto Scaling Group
    • AWS CloudWatch
    • AWS Route 53
    • Container - Docker
      • Repositories
      • Images
      • Dockerfile
      • AWS ECS
      • AWS ECR
  • Class 04
    • AWS IAM (Identity and Access Management)
    • AWS CLI
    • AWS S3 (Simple Storage Service)
      • Website
    • IaC - Terraform
    • AWS RDS (Relational Database Service)
    • Project #1 Kick-off
  • Class 05
    • Docker
    • Make
    • Docker-Compose
    • 3 Musketeers
    • CI/CD Concepts
    • GitHub Actions
  • Class 06
    • Project #1 Delivery
    • Introduction Serverless
    • AWS Lambda
    • AWS API Gateway
    • Project #2 Kick-off
  • Class 07
    • AWS DynamoDB
    • AWS KMS (Key Management Service)
    • AWS SSM - Parameter Store
    • AWS SNS
    • AWS SQS
  • Class 08
    • Project #2 Delivery
    • Next steps
    • Course Closure

Exercises

For each class exercise:

  1. Clone this repository
git clone <repo-url>
  1. Switch to master branch and pull it

  2. Create a new branch from master with branch name containing exercise number and your name, e.g <github-username>/<exercise-number>

git checkout -b caiocezart/c01-e01
  1. create a folder with your <github-username> (e.g. denstorti, kikobr82, ...)
cd <repo-name>

mkdir classes/01class/exercises/c01-e01/<my-username>
  1. Add your work on a folder like classes/<class name>/exercises/<exercise-number>/<github-username>/.

Exercise submissions can be textual like a simple .txt file or more complex containing several files and folders.

Example: classes/01class/exercises/c01-e01/caiocezart/<my-files>

  1. Create one or more commits with changes for this exercise
  2. Push it to the remote repo regularly
  3. Only open a Pull Request with the name <github-username>/<exercise-number> when your work is ready to be reviewed
  4. Once you have the approvals, we will merge your code to master branch and complete the exercise. Congrats!
  5. Upon completion of your first exercise, you will be given permission to start/help peer reviewing other community members code!

Example of the submission process

# starting with exercise1
git checkout master
git pull
git checkout -b "my_github_username/exercise1"
# code code code 
# Remember to add files inside the correct folder
# e.g. .../classes/01class/exercises/exercise1/<my_github_username>
git add file1 file2
git commit -m "comment about the changes on this commit"
# ... several commits later
git push origin "my_github_username/exercise1"
# ... several pushes later, when you are ready for a review
# Open a PR via Github website with the name 

# now, doing exercise2
git checkout master
# update your work directory from remote repo
git pull 
git checkout -b "my_github_username/exercise2"
...
...

Available labs

Projects

More info to come..

Projects will be submitted in the respective project submissions folder via PRs.

Example: projects/project01/submissions/caiocezart/<my-files>

Contributors and Instructors

Create a dashboard (CSV file) about exercise submissions

It will use the file labs.txtand students.txtfrom the scripts/ folder (TO BE IMPROVED FOR FLEXIBILITY).

Run: make dashboard

Optionally you can pass the Github User and Token, so the API calls are not throttled.

Run: make dashboard GH_USER=<YOUR_USER> GH_TOKEN=<YOUR_TOKEN>

Presentation format

  • We are using plain README.md files with markdown or GitPitch for slideshow presentations

  • Generate the presentation by running:

    • make presentation
  • Generate a README.md file from the PITCHME.md file:

    • make pitchme_to_readme
  • For GitPitch, use PITCHME.md files and subfolders using query string "p=FOLDERNAME" with the class name

  • GitPitch can run either online (out-of-the-box for Github public repos):

    • Online: access https://gitpitch.com/${ORG_NAME}/${REPO_NAME}/${BRANCH_NAME}?p=${FOLDER_NAME}. Folder must contain a PITCHME.md file.
    • Offline: use a Docker container, run make presentation and open http://localhost:9000/${ORG_NAME}/${REPO_NAME}/${BRANCH_NAME}?p=${FOLDER_NAME} For running in a specific folder: FOLDER_NAME=class2 make presentation

Clean up Ready to Review tag from Closed PRs

To clean up the Read to Review tags of the closed PRs, the below make target can be executed.

Run: make rtr-cleanup

Optionally you can pass the Github User and Token, so the API calls are not throttled.

Run: make rtr-cleanup GH_USER=<YOUR_USER> GH_TOKEN=<YOUR_TOKEN>

Authors

Caio Trevisan

Denis Storti

Francisco Collet

Sponsors

ITBR Australia Community

www.itbr.com.au

Contino

https://www.contino.io

About

DevOps content, classes and exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 68.4%
  • JavaScript 10.0%
  • Shell 5.9%
  • Dockerfile 4.8%
  • Makefile 3.3%
  • Python 2.6%
  • Other 5.0%