AWS Certified SysOps Administrator – Associate Level Objective’s

  1) Which of the following metrics do not get automatically reported to Amazon CloudWatch from Amazon EC2? (Choose 3) The amount of memory being used, The amount of swap space used, How much disk space is available Explanation http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/mon-scripts.html 2) What are the two different kinds of status checks when it comes to Amazon … Continue reading AWS Certified SysOps Administrator – Associate Level Objective’s

AWS Services

1)Compute (i) Ec2 What Is Amazon EC2? Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as … Continue reading AWS Services

puppet deep dive

1) How do you execute a master/node puppet run? puppet agent --test, puppet agent -t 2) What is wrong with this manifest? # create_file.pp file { '/temp/some_file.txt': mode => '0600' owner => 'root', group = 'root', } "ensure => file," should be the first attribute., The mode attribute should end with a comma., The group … Continue reading puppet deep dive

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