Posts

Docker Enterprise Edition installation on CentOS 7 plus UCP Installation

Image
Hello, dear DevOps Enquist, in this post I would like to discuss with you how to install Docker Enterprise Edition on CentOS 7 and plus Universal Control Plane (UCP) running to control the master and workers on three nodes(Virtualboxes). Amazed with the great features that incorporated into the UCP. You could do lot of things from your browser itself. In the last post I've explored about the swarm cluster that time I'd executed everything on CLI, but this time UCP Web UI. Why we need a Docker Universal Control Plane(UCP)? To make more production-ready setup we would do this experiment with three CentOS7 nodes. The following picture tells us how powerful UCP in Docker Enterprise Edition is. You can manage services, multiple deployments using stacks, summary and manage docker containers and their images. you can also add/remove nodes and get their status, category. Docker network full control on it. Storage volumes also you can manage from the UCP admin console. Ease of us...

Docker Swarm - master workers : Docker Cluster Architecture

Image
Docker Swarm Docker swarm is one of the crucial components of the Docker ecosystem. Native Docker Clustering with Swarm gives us the ability to do scheduling, high availability, security, and platform scalability. Kubernetes, fleet, Mesos work similar to achieve the same goal. They get layer abstraction for system resources and allows the interfaces to the cluster manager. Docker swarm is NOT a plugin it is built-in into docker engine. A basic docker installation can run swarm cluster it does not require any plugin to install. What is Docker Swarm Orchestration? The docker swarm is a clustering and scheduling tool for Docker containers. With this docker swarm, DevOps operators and developers can establish and manage a cluster of Docker nodes as a single virtual system A swarm is a group of nodes that are running on Docker daemon (doccker engine) with Swarm master and worker nodes which will be joined to form a containers cluster to provide HA in production environments. ...

How to setup the Docker Private Registry on Ubuntu 19.04 with Docker 19.03.2?

What is Docker registry? There are various situations where a team could work on the microservices. Every time you connect to the internet and pull the images will be cost & time-consuming process. In an organization level if we set up the docker registry, where we can pull the images and all team members will reuse it by using the internal network. Docker  public registry A central place to store all organizational required docker images were distributed. There are several implementations of docker registries where it is build up with the following: A simple webserver to make access to docker images available A complete web application with user access Docker builds are available in two services: DockerHub, Docker Trusted Registry DockerHub is a public repository where you publish your contribution to any image that you made with tag [versions] which can be downloaded by anyone from the internet. It should be searchable.  It all depends on the stars , the num...

Docker EE installation on Windows 2019 on AWS instance

Image
Learning Docker for Certification preparation it is must to understand various types of platforms Windows Server later versions of 2016 will be suitable to run the docker enterprise engine. and also remember that the latest Docker will run on 64bit platforms only. If you like to test this on AWS AMI then it is a must that you must allocate 30G disk space for the instance. So better stop all other instances first when you run the AWS Windows instance starts. Choose your Cloud wisely! Note : Windows instance on AWS is going to consume more disk space, they are fat like elephants! Docker installation on Windows 2019 AWS AMI Step1: Login to the AWS console, navigate to your Services-> EC2 instances click on the 'Launch Instance'. The AWS instance Windows 2019 AMI Selection Step 2: Choose the instance type from the list:t2micro free-tier aws instance type selection Step 3: Go with the default options no changes required. Step 4: Select the disk storage ...

Jenkins Configure build-server environment on AWS AMI

Image
In this post, I would like to share my experiment with AWS instances using IAM role for authenticating from the remote machine that is Jenkins Master instance. make sure that Jenkins Master should not have any executors on the master so that no job run on the master server, that will be making the Jenkins run in a distributed environment. Jenkins Master-Slave implementation within the AWS instances, and to do this. We need to follow a flow. Jenkins Master -> key pair -> Build server ->IAM->ec2 or EBS or S3 instance Create IAM role for the build server Login to your AWS console, search for IAM on the AWS console In the left pane select 'Roles' menu item. In the right side, click on the "Create role " blue button. select the type of trusted entity as "AWS service" that is default one. Now choose the service that will use this role: click on "EC2" Link. Click on the 'Permissions' bottom right side button, proceed furthe...

Continuous Integration Automation: Webhook on GitHub notify Jenkins

Image
Hello Guys, Jenkins CI/CD enthusiast, In this post, I would like to discuss the implementation of Jenkins Continuous Integration automatic build triggers. Where Jenkins master will be stay connected with the GitHub server with an API token based authentication. To connect with GitHub server we need a personal access token. Webhook for GitHub and Jenkins integration Create token credentials GitHub server configuration Webhook is a wonderful solution that will keep track of changes that made to the GitHub repo and notify the Jenkins Master. If we create the item or freestyle project will be triggered automatically. Create token credentials  Login into the Jenkins console, Click on the left pane - "Manage jenkins" link. Select the "System Configure" navigates to the new page where you need scroll down till you found the GitHub section. First we will create the token, look for the "Advanced" button on the rightside. Additional actions: 'C...