Overview
Learn how to scale up Docker's capabilities by creating a Docker Swarm cluster in this comprehensive 32-minute video tutorial. Follow along as Sid from DevOpsDirective demonstrates the process of setting up a Docker Swarm Manager and connecting Nodes for a scalable container deployment. Explore topics such as provisioning a database on Linode, initializing the swarm, configuring the environment, building and pushing APIs, creating Docker secrets, and deploying a sample application. Gain practical insights into container orchestration, Docker Swarm configuration, and best practices for scalable app deployment.
Syllabus
Introduction
What is the Sample App We're Using?
Container & Container Orchestrator Background
GitHub Repo Overview
Provision Database on Linode
Provision Linodes
Connect to Linodes via SSH
Install Docker
Initialize Swarm
Export Docker Host
Review & Update Swarm Config in Repo
Elements of the Configuration
Build and Push APIs
Push to Docker Hub
Create Docker Secret
Update Allowlist
Config NodeJS App
Visit IP Address of a Node
Update makefile
Redeploy App
Confirm Services Are Replicated
Conclusion
Taught by
Linode