Posts

Showing posts from April, 2020

Kubernetes clustering in AWS EC2 (Ubuntu 18.04)

Image
In this post, I would like to share the manual steps that work to build a Kubernetes Cluster on Ubuntu 18.04 LTS. We will be using the Docker to install Kubernetes. The three-node cluster that we will be forming in this post will consist of one Master node and two Slave nodes. Therefore, follow the steps described below to install Kubernetes on Ubuntu nodes. Kubernetes Cluster configured on Ubuntu EC2 instances AWS setup for Kubernetes Step 1 :  Install three Ec2 instances in AWS console. The AMI we are choosing here is Ubuntu 18.04 LTS (HVM). Choose AMI In this step, we can choose any instances types with your own perspective. I have taken a general-purpose instance type. Click on "Next:Configure Instance Details". Instance Types  In configuring instance details we can directly create more instances if u give the number in the number of instances section. You can see in the below figure.Click on "Next:Add Storage". Instance d...

Understanding SELinux How it works

Image
SELinux on Ubuntu Here is a simple objective of this post is to install, activate and disable the SELinux on Ubunutu. What is actually SELinux? S ecurity- E nhanced Linux (SELinux) is a security architecture for Linux® systems that allows administrators to have more control over who can access the system. Security-Enhanced Linux is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls. SELinux is a set of kernel modifications and user-space tools that have been added to various Linux distributions. Here I'll explore the possible options on Ubuntu. How to install SELinux on Ubuntu? This regular package installation apt install policycoreutils selinux-utils selinux-basics -y How to activate SELinux on Ubuntu? To activate the SELinux we need to edit the config file. selinux-activate To get this effected need to reboot the Linux VM/machine. Understanding Configure SELinux SE...