Course Overview
If you're tired of spinning your wheels learning how to deploy web applications, this is the course for you.
This course requires you to download Docker Desktop from Docker. If you are a Udemy Business user, please check with your employer before downloading software.
CI+CD Workflows? You will learn it. AWS Deployment? Included. Kubernetes in Production? Of course!
This is the ultimate course to learn how to deploy any web application you can possibly dream up. Docker and Kubernetes are the newest tech in the Dev Ops world, and have dramatically changed the flow of creating and deploying web apps. Docker is a technology that allows applications to run in constructs called 'containers', while Kubernetes allows for many different 'containers' to run in coordination.
Docker from Scratch!
In this course you'll learn Docker from absolute fundamentals, beginning by learning the answer to basic questions such as "What is a container?" and "How does a container work?". From the very first few lectures, we will do a deep dive on the inner workings of containers, so you get a core understanding of exactly how they are implemented. Once you understand what a container is, you'll learn how to work with them using basic Docker CLI commands. After that, you'll apply your new-found mastery of the Docker CLI to build your own custom images, effectively 'Dockerizing' your own personal applications.
CI + CD Pipelines
Of course, no course on Docker would be complete without a full understanding of common Continuous Integration and Continuous Deployment patterns. You will learn how to implement a full CI + CD workflow using Github, Travis CI, and Amazon Web Services, creating a pipeline that automatically deploys your code every time you push your latest changes to Github!
Multi-Container Deployments on AWS!
After building a deployment pipeline, you'll apply it to master both single-container and multi-container deployments on Amazon Web Services. You will construct a multi-container application utilizing Node, React, Redis, and Postgres, and see the amazing power of containers in action (Note: all Javascript coding in this course is optional, the full source code is provided if you don't want to write JS).
Kubernetes!
Finally, you will tackle Kubernetes, a production-grade system for managing complex applications with many different running containers. You will learn the right way to build a Kubernetes Cluster - this course doesn't have any of those annoying "don't do this in production" comments! You will first build a Kubernetes Cluster on your local machine, then eventually move it over to a cloud provider. You'll even learn how to set up HTTPS on Kubernetes, which is harder than it sounds!
Here's what you'll do:
Learn Docker from scratch, no previous experience required
Build your own custom images tailored to your applications
Master the Docker CLI to inspect and debug running containers
Understand how Docker works behind the scenes, and what a container is
Build a CI + CD pipeline from scratch with Github, Travis CI, and AWS
Automatically deploy your code when it is pushed to Github!
Build a complex multi-container application from scratch and deploy it to AWS
Understand the purpose and theory of Kubernetes
Deploy a production-ready Kubernetes Cluster to Google Cloud
FAQ
FAQ area empty
Course curriculum
Chương 1 Dive Into Docker! 11 bài · 25 phút
- Finished Code and Diagrams Học thử
- Why Use Docker? Học thử 3:43
- What is Docker? Học thử 2:53
- Docker for Mac/Windows Học thử 1:57
-
Installing Docker on macOS
-
Installing Docker with WSL on Windows 10/11
- Installing Docker on Linux Học thử
- Using the Docker Client Học thử 5:03
- But Really...What's a Container? Học thử 8:30
-
How's Docker Running on Your Computer? 2:44
-
Images and Containers
Chương 2 Manipulating Containers with the Docker Client 16 bài · 51 phút
-
Docker Run in Detail 1:54
-
Overriding Default Commands 5:12
-
Listing Running Containers 4:09
-
Container Lifecycle 5:16
-
Restarting Stopped Containers 3:43
-
Removing Stopped Containers 1:39
-
Retrieving Log Outputs 2:33
-
Stopping Containers 5:21
-
Quiz on Container Management
-
Multi-Command Containers 4:16
-
Executing Commands in Running Containers 2:53
-
The Purpose of the IT Flag 4:35
-
Getting a Command Prompt in a Container 4:06
-
Starting with a Shell 2:13
-
Container Isolation 3:09
-
Quiz on Docker Command Execution
Chương 3 Building Custom Images Through Docker Server 14 bài · 47 phút
-
Creating Docker Images 2:36
-
Buildkit for Docker Desktop
-
Building a Dockerfile 4:51
-
Dockerfile Teardown 2:41
-
What's a Base Image? 5:40
-
The Build Process in Detail 11:09
-
A Brief Recap 3:24
-
Quiz on FROM
-
Quiz on the Alpine Image
-
Rebuilds with Cache 7:02
-
Tagging an Image 4:26
-
Manual Image Generation with Docker Commit 5:00
-
Image Tags
-
Image Tagging
Chương 4 Making Real Projects with Docker 13 bài · 53 phút
-
Project Outline 2:35
-
Node Server Setup 5:03
-
Reminder on Buildkit
-
A Few Planned Errors 5:12
-
Base Image Issues 7:50
-
A Few Missing Files 3:18
-
Copying Build Files 4:50
-
Container Port Mapping 7:26
-
Quiz on Docker Networking
-
Specifying a Working Directory 7:52
-
Unnecessary Rebuilds 4:16
-
Minimizing Cache Busting and Rebuilds 4:58
-
Minimizing Cache Busting
Chương 5 Docker Compose with Multiple Local Containers 12 bài · 52 phút
-
App Overview 3:57
-
App Server Starter Code 6:43
-
Assembling a Dockerfile 3:12
-
Introducing Docker Compose 5:31
-
Docker Compose Files 6:02
-
Networking with Docker Compose 5:00
-
Docker Compose Commands 4:38
-
Stopping Docker Compose Containers 2:34
-
Container Maintenance with Compose 2:53
-
Automatic Container Restarts 9:21
-
Container Status with Docker Compose 2:21
-
Visits Application Updated for Redis v5+
Chương 6 Creating a Production-Grade Workflow 24 bài · 1 giờ 30 phút
-
Development Workflow 1:28
-
Flow Specifics 6:32
-
Docker's Purpose 1:50
-
Project Generation 3:25
-
More on Project Generation
-
Necessary Commands 5:09
-
Creating the Dev Dockerfile 3:42
-
Duplicating Dependencies 1:29
-
Starting the Container 2:50
-
Docker Volumes 6:53
-
WSL and Windows Users Must Read Before Next Lecture
-
Bookmarking Volumes 4:50
-
Shorthand with Docker Compose 4:22
-
Overriding Dockerfile Selection 2:02
-
Do We Need Copy? 2:51
-
Executing Tests 3:38
-
Live Updating Tests 4:54
-
Docker Compose for Running Tests 5:45
-
Shortcomings on Testing 8:30
-
Need for Nginx 3:07
-
Multi-Step Docker Builds 6:54
-
Implementing Multi-Step Builds 7:05
-
Running Nginx 2:27
-
Dockerizing a React App with Vite
Chương 7 Continuous Integration and Deployment with AWS 21 bài · 59 phút
-
Services Overview 3:04
-
Github Setup 3:57
-
Important Info About Travis and Account Registration
-
GitHub Actions Instead of Travis CI
-
Travis CI Setup 4:17
-
Travis YML File Configuration 7:39
-
A Touch More Travis Setup 4:14
-
Automatic Build Creation 3:30
-
AWS Elastic Beanstalk 1:42
-
Elastic Beanstalk Setup and Configuration
-
More on Elastic Beanstalk 2:25
-
Travis Config for Deployment 8:46
-
Required Update for IAM User and Keys
-
Automated Deployments 7:17
-
Exposing Ports Through the Dockerfile 3:56
-
Workflow With Github 3:59
-
Redeploy on Pull Request Merge 2:01
-
Deployment Wrapup 2:03
-
Environment Cleanup
-
AWS Configuration Cheat Sheet
-
Finished Project Code with Updates Applied
Chương 8 Building a Multi-Container Application 14 bài · 1 giờ 10 phút
-
Single Container Deployment Issues 3:02
-
Application Overview 4:30
-
A Quick Note
-
Application Architecture 5:11
-
Worker Process Setup 11:41
-
Express API Setup 5:19
-
Important Update for pgClient and Table Query
-
Connecting to Postgres 7:36
-
More Express API Setup 12:20
-
React App Boilerplate
-
Fetching Data in the React App 6:31
-
Rendering Logic in the App 8:29
-
Exporting the Fib Class 0:26
-
Routing in the React App 4:36
Chương 9 "Dockerizing" Multiple Services 19 bài · 1 giờ 16 phút
-
Checkpoint Files
-
Checkpoint Catchup 2:39
-
Expected Output for Latest Create React App Versions
-
Dockerizing a React App - Again! 6:41
-
Dockerizing Generic Node Apps 3:47
-
Postgres Database Required Fixes and Updates
-
Adding Postgres as a Service 7:05
-
Docker-compose Config 6:17
-
Environment Variables with Docker Compose 10:20
-
Required Worker Environment Variables
-
The Worker and Client Services 3:42
-
Nginx Path Routing 9:41
-
Routing with Nginx 11:12
-
Building a Custom Nginx Image 5:37
-
Starting Up Docker Compose 1:50
-
Nginx connect() failed - Connection refused while connecting to upstream
-
Troubleshooting Startup Bugs 3:22
-
WebSocket connection to 'ws://localhost:3000/ws' failed
-
Opening Websocket Connections 3:51
Chương 10 A Continuous Integration Workflow for Multiple Images 12 bài · 45 phút
-
Production Multi-Container Deployments 5:39
-
Production Dockerfiles 6:05
-
Multiple Nginx Instances 5:23
-
Nginx fix for React Router
-
Altering Nginx's Listen Port 4:53
-
Cleaning Up Tests 1:11
-
Fix for Failing Travis Builds
-
Travis Configuration Setup 8:45
-
Github and Travis CI Setup 4:08
-
Pushing Images to Docker Hub 7:34
-
Successful Image Building 1:49
-
Multi Container Update for Redis v5+, React Hooks, React Router v6+
Chương 11 Multi-Container Deployments to AWS 25 bài · 1 giờ 38 phút
-
Multi-Container Definition Files 4:29
-
Finding Docs on Container Definitions 3:09
-
Required Update: Docker Compose instead of Dockerrun.aws.json
-
Adding Container Definitions to DockerRun 5:45
-
More Container Definitions 5:18
-
Forming Container Links 7:47
-
Creating the Elastic Beanstalk Environment
-
AWS Configuration Cheat Sheet - Updated for new UI
-
Managed Data Service Providers 10:44
-
Overview of AWS VPC's and Security Groups 9:21
-
RDS Database Creation 6:31
-
ElastiCache Redis Creation 4:11
-
Creating a Custom Security Group 4:18
-
Applying Security Groups to Resources 4:59
-
Setting Environment Variables 7:55
-
IAM Keys for Deployment 5:12
-
Travis Keys Update
-
Travis Deploy Script 3:20
-
Container Memory Allocations 4:10
-
Verifying Deployment 2:56
-
A Quick App Change 1:29
-
Making Changes 0:57
-
Cleaning Up AWS Resources 5:05
-
AWS Configuration Cheat Sheet
-
Finished Project Code with Updates Applied
Chương 12 Onwards to Kubernetes! 19 bài · 1 giờ 35 phút
-
The Why's and What's of Kubernetes 8:06
-
Kubernetes in Development and Production 5:47
-
Docker Desktop's Kubernetes Setup and Installation - macOS
-
Minikube Info - macOS
-
Docker Desktop's Kubernetes Setup and Installation - Windows
-
Minikube info - Windows
-
Minikube Setup on Linux
-
Mapping Existing Knowledge 7:37
-
Quick Note to Prevent an Error
-
Adding Configuration Files 6:51
-
Object Types and API Versions 6:55
-
Running Containers in Pods 9:18
-
Gotcha Around Images Used in Pods
-
Service Config Files in Depth 13:37
-
Why Use Pod Labels?
-
Connecting to Running Containers 10:24
-
The Entire Deployment Flow 13:02
-
Imperative vs Declarative Deployments 13:36
-
Kubernetes Config Files
Chương 13 Maintaining Sets of Containers with Deployments 19 bài · 1 giờ 31 phút
-
Updating Existing Objects 6:10
-
Declarative Updates in Action 7:04
-
Limitations in Config Updates 2:55
-
Running Containers with Deployments 6:03
-
Quick Note to Prevent an Error
-
Deployment Configuration Files 3:18
-
Walking Through the Deployment Config 4:23
-
Applying a Deployment 6:22
-
Why Use Services? 5:19
-
Important Notes on Services
-
Scaling and Changing Deployments 6:31
-
Updating Deployment Images 3:57
-
Rebuilding the Client Image 2:59
-
Triggering Deployment Updates 12:24
-
Imperatively Updating a Deployment's Image 7:24
-
Reminder for Docker Desktop's Kubernetes Users
-
Multiple Docker Installations 5:37
-
Reconfiguring Docker CLI 5:57
-
Why Mess with Docker in the Node? 5:05
Chương 14 A Multi-Container App with Kubernetes 30 bài · 2 giờ 20 phút
-
The Path to Production 5:12
-
Checkpoint Files
-
A Quick Checkpoint 4:35
-
Recreating the Deployment 5:29
-
NodePort vs ClusterIP Services 3:41
-
The ClusterIP Config 3:52
-
Applying Multiple Files with Kubectl 4:18
-
Express API Deployment Config 6:02
-
Cluster IP for the Express API 3:08
-
Combining Config Into Single Files 5:59
-
The Worker Deployment 4:36
-
Reapplying a Batch of Config Files 4:51
-
Creating and Applying Redis Config 7:26
-
Important Note about Expected Postgres Error
-
Last Set of Boring Config! 6:14
-
The Need for Volumes with Databases 7:18
-
Kubernetes Volumes 5:17
-
Volumes vs Persistent Volumes 2:59
-
Persistent Volumes vs Persistent Volume Claims 9:21
-
Claim Config Files 2:56
-
Persistent Volume Access Modes 3:31
-
Where Does Kubernetes Allocate Persistent Volumes? 7:42
-
Designating a PVC in a Pod Template 6:09
-
Applying a PVC 2:22
-
Defining Environment Variables 4:08
-
Adding Environment Variables to Config 5:44
-
Creating an Encoded Secret 9:25
-
Postgres Environment Variable Fix
-
Passing Secrets as Environment Variables 5:53
-
Environment Variables as Strings 2:17
Chương 15 Handling Traffic with Ingress Controllers 12 bài · 33 phút
-
Load Balancer Services 4:14
-
A Quick Note on Ingresses 3:32
-
One Other Quick Note! 1:37
-
Behind the Scenes of Ingress 5:17
-
More Behind the Scenes of Ingress 6:37
-
Optional Reading on Ingress Nginx
-
Docker Driver and Ingress - IMPORTANT
-
Setting Up Ingress Locally with Docker Desktop
-
Setting Up Ingress Locally with Minikube 2:06
-
Ingress API Update + "this.state.seenIndexes.map..." + 404 errors
-
Creating the Ingress Configuration 7:00
-
Testing Ingress Locally 2:50
Chương 16 Kubernetes Production Deployment 36 bài · 2 giờ 14 phút
-
The Deployment Process 5:49
-
Google Cloud vs AWS for Kubernetes 4:53
-
Creating a Git Repo 3:59
-
Linking the Github Repo to Travis 1:35
-
Free Google Cloud Trial and Credits
-
Creating a Google Cloud Project 1:59
-
Linking a Billing Account 2:11
-
GKE Creation Steps Using Autopilot
-
Kubernetes Dashboard on Google Cloud 4:33
-
Travis Deployment Overview 5:04
-
Installing the Google Cloud SDK 5:44
-
Updated Service Account steps for new GCP UI
-
Generating a Service Account 5:29
-
Ruby Version Fix
-
Running Travis CLI in a Container 9:17
-
Travis Login Issues, "iv undefined" or "repository not known"
-
Encrypting a Service Account File 7:54
-
More Google Cloud CLI Config 4:39
-
Running Tests with Travis 6:18
-
Custom Deployment Providers 3:49
-
Unique Deployment Images 8:33
-
Unique Tags for Built Images 7:47
-
Updating the Deployment Script 7:50
-
Configuring the GCloud CLI on Cloud Console 5:34
-
Creating a Secret on Google Cloud 2:24
-
Helm Setup 6:14
-
Important - Updated Ingress Installation with Helm
-
Ingress-Nginx with Helm 1:56
-
The Result of Ingress-Nginx 3:47
-
Finally - Deployment! 3:30
-
Did I Really Type That? 0:45
-
Verifying Deployment 5:20
-
A Workflow for Changing in Prod 4:29
-
Merging a PR for Deployment 1:01
-
That's It! What's Next? 1:37
-
Completed Code For Google Cloud Deployment
Chương 17 HTTPS Setup with Kubernetes 18 bài · 47 phút
-
HTTPS Setup Overview 5:35
-
Domain Purchase 2:17
-
Domain Name Setup 3:30
-
Required Updates for Cert Manager Install
-
Cert Manager Install 1:57
-
How to Wire Up Cert Manager 5:58
-
Required Update for Issuer
-
Issuer Config File 5:07
-
Required Update for the Certificate
-
Certificate Config File 5:18
-
Deploying Changes 3:15
-
No Resources Found?
-
Verifying the Certificate 3:54
-
Required Update for the HTTPS Ingress
-
Ingress Config for HTTPS 6:49
-
It Worked! 2:51
-
Google Cloud Cleanup
-
Local Environment Cleanup
Chương 18 Local Development with Skaffold 7 bài · 28 phút
-
Awkward Local Development 3:54
-
Installing Skaffold 1:59
-
The Skaffold Config File 6:43
-
Skaffold Sync Update and Example Source Code
-
Live Sync Changes 5:02
-
Automatic Shutdown 5:06
-
Testing Live Sync with the API Server 5:29
Chương 19 Extras 1 bài
-
Bonus!
Requirment
-
Basic understanding of terminal and command line usage
-
No previous Docker or Kubernetes experience is required!
-
A credit card is required to deploy projects to AWS or Google Cloud
Outcomes
-
Learn Docker from scratch, no previous experience required
-
Master the Docker CLI to inspect and debug running containers
-
Build a CI + CD pipeline from scratch with Github, Travis CI, and AWS
-
Understand the purpose and theory of Kubernetes by building a complex app
-
Automatically deploy your code when it is pushed to Github!
-
Develop practical skills through hands-on projects and exercises
0 Student
3 Courses
0 review