[Skillshare] Learn Docker Swarm for Devops

0

[Skillshare] Learn Docker Swarm for Devops

About This Class

In this class, you are going to learn about most popular orchestration management tool, Docker Swarm. It allows the user to manage multiple containers deployed across multiple host machines.

Docker Swarm is for small/medium size organization having less then 200 employees or cluster of less then 1000 machines.

The salient features of Docker Swarm is:

  • Easy installation
  • High level of availability
  • Scalability (Not Auto scalable)
  • Auto Load Balancing
  • Fault tolerance
  • Easy to rollback task
  • Decentralized access
  • Service Discovery

In this class, you’ll get answers of what is docker, docker swarm, how to scale up the application, how to make fault tolerance and highly available applications and much more. You can apply these docker skills in multiple domains for devops and software development.

Then you’ll be learning about how to create multiple Linux host machines with the help of docker machine and create virtual switch network among them for the communication. Once multiple cluster of nodes are ready to work with you’ll learn to initialize docker swarm and generate token to add as many workers or managers into the swarm as per requirement.

Then you’ll learn to deploy docker services (Image for microservices) in 3 node cluster

You’ll have lots and lots of detailed hands on various commands related to docker swarm, docker nodes, docker containers, docker services.

Hands-on Class Project

Create 3 node Docker Swarm cluster with Master and Worker nodes

Project Description

Assignment:

Your class project is to create docker swarm and perform multiple operations as below

  • Create linux host with the help of docker machine
  • Add nodes into docker swarm
  • Promote and demote nodes
  • Inspect the nodes inside swarm
  • Deploy docker services into the nodes of docker swarm
  • Add port mapping option
  • Make application high available and load balanced.

Tools/libraries Required:

  • Hyper V
  • Docker Desktop
  • Docker toolkit

Getting Started:

Firstly create 3 linux host using docker machine with boot2docker iso image. Then add nodes into docker swarm as 1 manager and 2 worker nodes. After it deploy and manage services inside the cluster. At last with the help of docker swarm visualizer understand how Raft Consensus Algorithm works inside docker swarm.

Sharing Your Work:

Share your final project and progress shots with the class by uploading to the “Your Project” section. If you have any questions or need more tips, please let me know! I’m happy to help! Here’s an example of  my project.

Size: 955 MB

Download Now

https://www.skillshare.com/classes/Learn-Docker-Swarm-for-Devops/821655633.

Leave A Reply

Your email address will not be published.