System Administration Using Puppet

What is Puppet? § The Puppet’s language is declarative § Puppet code is written to express desired end state of the node § Management of node resource are abstracted from the operating system § Code is written inside of classes, classes are assigned to nodes § Puppet was founded by Luke Kanies in 2005 § … Continue reading System Administration Using Puppet

Google Containers Engine(GKE)

https://cloud.google.com/container-engine/docs/ https://cloud.google.com/container-engine/docs/quickstart https://cloud.google.com/sdk/docs/quickstarts https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu ######################################################## # Create an environment variable for the correct distribution export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" # Add the Cloud SDK distribution URI as a package source echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list # Import the Google Cloud Platform public key curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - # … Continue reading Google Containers Engine(GKE)

Containerized Application Development

Running Containers Locally Link Containers [root@docker ~]# yum install epel-release -y [root@docker ~]# yum update -y [root@docker ~]# yum install docker* -y [root@docker ~]# setenforce 0 [root@docker ~]# vim /etc/selinux/config SELINUX=disabled [root@docker ~]# reboot [root@docker ~]# systemctl enable docker [root@docker ~]# systemctl start docker [root@docker ~]# systemctl status docker [root@docker ~]# ip a 1: lo: … Continue reading Containerized Application Development

CI/CD Concept

A continuous integration and deployment pipeline 1) Which answer best describes Continuous Deployment? A software development discipline where software is released continuously as part of an automated pipeline. Continuous Deployment is a third term that's sometimes confused with continuous delivery. Where continuous delivery provides a process to create frequent release but not necessarily deploy them, continuous … Continue reading CI/CD Concept

Ansible and Amazon Web Services

[root@ansible ~]# yum install ansible -y [root@ansible ~]# ansible --version ansible 2.3.0.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides python version = 2.7.5 (default, Nov 20 2015, 02:00:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] [root@ansible ~]# yum install python-pip -y [root@ansible ~]# pip install awscli [root@ansible ~]# pip install awscli … Continue reading Ansible and Amazon Web Services

Running Container Clusters with Kubernetes

[root@ansible ~]# vim /etc/hosts 192.168.183.128 ansible.example.com 192.168.183.131 node1.example.com 192.168.183.132 node2.example.com [root@ansible ~]# ip a inet 192.168.183.128/24 brd 192.168.183.255 scope global dynamic eno16777736 valid_lft 1732sec preferred_lft 1732sec inet6 fe80::20c:29ff:fe5b:7384/64 scope link valid_lft forever preferred_lft forever [root@ansible ~]# setenforce 0;systemctl disable iptables-services firewalld;systemctl stop iptables-services firewalld [root@ansible ~]# yum install ntp -y [root@ansible ~]# systemctl start ntpd ;systemctl … Continue reading Running Container Clusters with Kubernetes

Running Container Clusters with Kubernetes(K8’s)

Kubernetes is opensource container cluster manager Components * Nodes(minions) * Pods * Labels * Selectors * Controllers * Services * ControlPane * Api Area's where docker can be used * Development & deployment * Configuration Simplification * Enhance Developer Productivity * Server Consolidation & management * Application Isolation * Rapid Deployement * Build Management  

latest docker version on centos-7

                       Learning the Basics of Docker ################# Docker Installation ################# [mohammedrafi@docker ~]$ sudo yum update -y [mohammedrafi@docker ~]$ uname -a Linux docker 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [mohammedrafi@docker ~]$ cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [mohammedrafi@docker … Continue reading latest docker version on centos-7

Creating Docker images

Some important docker commands  to revise docker pull nginx docker images docker stop myweb docker ps -a docker ps docker inspect myweb docker exec -it myweb /bin/bash docker inspect myweb |grep -i ipaddress docker run -d --name=myweb1 -P nginx docker port myweb1 $CONTAINERPORT docker run --name=myweb nginx docker run -d nginx docker run -d -p … Continue reading Creating Docker images

AWS Certified Solutions Architect – Associate Objective’s

AWS-BEGGINER 1) AWS S3 is a database service. False Explanation S3 is a storage service. 2) What are some of the common features or services offered by cloud services providers, such as AWS, iCloud, and Dropbox? (Choose three) Storage, Computing Power, Virtualization Explanation Cloud services providers offer many features and services that include, but are … Continue reading AWS Certified Solutions Architect – Associate Objective’s