AWS Placement Groups

AWS Placement Groups

 

What is AWS Placement Group ?

A placement group is a cluster of instances that are all in the same AZ. These instances have 10 Gbps networks and they need to have the “Enhanced Networking” feature. You need to put instances into a placement group if they need to have very low latency between them.

Continue reading

Your First Git Repository

Your First Git Repository

In this tutorial we will be creating new repository and run basic commands

 

Create new repository and call it "dotsway"

Create a folder and initializing it.

mkdir dotsway

cd dotsway

git init

Now if you run ls -la you will notice a hidden folder called "git" this folder which will contain all tracking info. Continue reading

ChatOps and Chatbots

ChatOps and Chatbots

What are ChatOps and Chatbots ? why do we need them and more, this article is part of the Agile articles.

ChatOps

ChatOps is a collaboration which can get people, tools, system and the process all together into a workflow which everyone can see.

It's in a simple words a way of communication and conversation and this concept is not new but the digital way is what's making it hot topic. In the digital era the bots and tools also are part of the workflow which collaborate and add to the workflow. Continue reading

All About Agile, Waterfall, Scrum, Kanban and More in a Nutshell !

All About Agile, Waterfall, Scrum, Kanban and More in a Nutshell !

In this article you will know what is Agile and other important terminologies which related to it.

What is Agile ?

It's uncovering a better way for developing software by doing it and helping others to do it. So it's a group of simple methods which will make things better through easier process.

Continue reading

Puppet Modules and How to Use them

What are Puppet Modules and How to Use them?

How to do automation tasks using Puppet modules and how they differ to manifests. In previous articles I discussed What is Puppet, How to install it and Puppet Manifests Basics.

Puppet Module

Puppet Module

What are Puppet Modules ?

Puppet modules are mainly for organizing and breaking your code into simpler and smaller files. For modules you can write your own or even download pre-made ones.

Continue reading

What are Puppet Modules and How to Use them?

What are Puppet Modules and How to Use them?

How to do automation tasks using Puppet modules and how they differ to manifests. In previous articles I discussed What is Puppet, How to install it and Puppet Manifests Basics.

 

What are Puppet Modules ?

Puppet modules are mainly for organizing and breaking your code into simpler and smaller files. For modules you can write your own or even download pre-made ones.

Continue reading

How to use Puppet Manifests

How to use Puppet Manifests

In this tutorial you will learn how to use Puppet Manifests, to understand this tutorial you need to have an idea about manifests and resources also if you would like to learn about how to install Puppet follow this link.

 

To learn how to use Puppet manifests for automation will go through a simple life scenario, imagine that we have an infrastructure of 100 servers which are all connected to Puppet master and we need to change certain file in them and be sure that the Apache HTTPD is running.

Simple Puppet Manifest Example

In real life scenario there should be nodes which in them you should groups the servers into different groups so you can call specific groups whenever you want to make a change, in this simple example we are creating a simple site.pp manifest file to accomplish the previous goal. Continue reading

What are Puppet Manifests and Puppet Structure

What are Puppet Manifests and Puppet Structure

In this tutorial you will know all about Puppet manifests and the main Puppet structure.

What are Manifests ?

Manifests are files with extension *.pp which have instructions or resources to be checked, installed or modified, resources can be packages, services or files.

What are Resources ?

Resources can be packages, executable, services, files, users or any other instructions to be made as part of automation manifest script.

For example you can write a manifest which will install apache in one server and yet create users and change some permissions for some files.

What are Classes

Classes is a way of organizing, you can group some of the code in a class and save it in a module which can be called later in a manifest.

Manifests Simple Examples

 

Install a Package

package {'httpd':
ensure => present,
}

Continue reading