DevOps Crash Course (Docker, Terraform, and Github Actions)



In this DevOps and Cloud Infrastructure tutorial, you will learn what DevOps is and how to apply some of the most important concepts including:

– Docker containers
– Infrastructure as Code
– Continuous Integration and Continuous Deployment

DevOps Directive YouTube Channel:
https://www.youtube.com/c/DevOpsDirective

Link to application: storybooks.devopsdirective.com

GitHub Repos:
– https://github.com/bradtraversy/storybooks (Original)
– https://github.com/sidpalas/storybooks (Version from video)

NOTE:
After filming I discovered that the set-env command that I used within the Github Action was deprecated due to a security vulnerability (https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/). I replaced the usage with the updated method described here (https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files)

TimeStamps:
0:00 – Intro
1:18 – Project Overview
2:21 – Application Architecture
4:14 – Part 1: Getting the initial project running
7:51 – Part 2: Dockerize the application
9:55 – Docker-compose
11:51 – Aside: Makefiles!
12:31 – Part 3: Terraform (Infrastructure as Code)
17:16 – Setting up Terraform providers
22:21 – GCP Resources
25:55 – Terraform variables
28:23 – Atlas MongoDB Resources
31:42 – Cloudflare Resources
34:33 – Aside: Secrets/credential management
37:21 – Part 4: Deploying Manually
44:25 – Part 5: CI/CD with Github Actions
50:14 – Testing the Github action
51:25 – Separate staging and production
57:22 – Outro

source