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

gcloud & kubernetes

##################################################### mshaikdevops@rising-artifact-164906:~$ kubectl config view apiVersion: v1 clusters: - cluster: server: http://172.17.0.1:4321 name: cloudshell contexts: - context: cluster: cloudshell user: cloudshell name: cloudshell current-context: cloudshell kind: Config preferences: {} users: [] ##################################################### mshaikdevops@rising-artifact-164906:~$ gcloud version Google Cloud SDK 151.0.0 alpha 2017.03.24 app-engine-go app-engine-go-linux-x86_64 1.9.50 app-engine-java 1.9.51 app-engine-php " " app-engine-python 1.9.51 beta 2017.03.24 bq 2.0.24 … Continue reading gcloud & kubernetes

ruby basics

[root@node1 ~]# yum info ruby Loaded plugins: fastestmirror Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: epel.scopesky.iq * extras: centos.excellmedia.net * updates: centos.excellmedia.net Available Packages Name : ruby Arch : x86_64 Version : 2.0.0.648 Release : 29.el7 Size : … Continue reading ruby basics

Mongo db

[root@mongoserver ~]# hostname -f mongoserver.example.com [root@mongoserver ~]# hostname -I 192.168.183.128 [root@mongoserver ~]# cat >> /etc/yum.repos.d/mongodb.repo [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1 [root@mongoserver ~]# yum repolist |grep mongo mongodb MongoDB Repository 279 [root@mongoserver ~]# yum -y install mongodb-org mongodb-org-server [root@mongoserver ~]# mongostat 2017-04-12T19:24:07.205+0530 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused couldn't connect to … Continue reading Mongo db