How Do You Install and Configure the AWS CLI on a Linux Server (without the pip Command)?

Problem scenario
Using different package managers can lead to dependencies being met while systems administrators will encounter error messages that detect, find or determine something to the contrary (e.g., false unmet dependency errors or conditions).  Some enterprise policies disallow the pip command.  How do you set up the AWS CLI on a Linux server without the pip command?

Solution (Part 1 and Part 2)
Prerequisites
i. 

How Do You Get an Ansible Playbook to Change a Variable Based on a Conditional?

Problem scenario
You do not want to manipulate a variable using a shell: or command: key word. You want a variable to be changed based on conditional logic. What do you do?

Solution
Use “set_fact:” and “when:”

Here is an example:

set_fact:
vara: False
when: “{{ foobar }}” == 35 …

How Do You Deploy a Stack (a Collection of Infrastructure Resources) with AWS CloudFormation Using AWS CLI?

Problem scenario
You want to deploy a stack (a collection of infrastructure or application resources) with the AWS CLI. You want to create a server with CloudFormation and the AWS CLI. How do you do this?

Solution
Here is a simple example to answer the question.  This requires that you have AWS CLI installed and configured. If you need help with that, here are 

Infrastructure as Code and Architecting Server Environments for Automatic Replication

Infrastructure as Code is often associated with “Continuous Configuration Automation.”  We think the term should be “Continual Configuration Automation.”

There are four popular tools to rapidly provision cloud infrastructure using templates: Azure Resource Manager, CloudFormation, Terraform, and Heat.  Three of these tools each support two different types of template files for provisioning servers.

How to Install Suricata on an AWS Instance of SUSE Linux

These “directions” to install Suricata on SUSE Linux include a script and how to run it.  The script was designed to install Suricata 3.1dev on an AWS instance of SUSE 12 SP1.  This script was based on these here. This script requires that your AWS SUSE Linux server is in a security group that has access to the Internet.  The script takes approximately five minutes to run.  But bandwidth and resources on your instance may vary.

How to Install Suricata on an AWS Instance of Ubuntu Linux

Updated on 11/28/17

Problem scenario
You want to install Suricata on Ubuntu Linux.  How do you do this?

Solution
These directions to install Suricata include a script and how to run it.   The optional script in 2.c was based on these here.  The optional script in 2.c script requires that your AWS Ubuntu Linux server is in a security group that has access to the Internet. 

How to Install Suricata on an AWS Instance of RedHat Enterprise Linux Server

Updated 11/29/17

These directions will allow you to install Suricata.  The script in step 2 was designed to install Suricata 4.0.1 on an AWS instance of RHEL 7.4.  This script requires that your AWS RedHat Enterprise Linux server is in a security group that has access to the internet.  You do not need a subscription to RedHat packages. 

Step #1  Log into the Red Hat Enterprise Linux server. 

How Do You Install libyaml on a Red Hat Derivative of Linux?

Problem scenario
You are using a RedHat derivative of Linux.  You get an error about libyaml not being installed (e.g., when a dependency of Suricata is unmet).  You tried to install libyaml-devel, but it did not work.  What should you do?

Solution for RHEL
If you are using RedHat run these two commands:

sudo yum-config-manager –enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
sudo yum -y install libyaml-devel

Solution for CentOS/Fedora
If you are using CentOS or Fedora, go here to get the package you need.

[Sassy_Social_Share]

Configuration Management Tools (Continually Comparing and Contrasting Technical Aspects of The Big Four)

There are many different configuration management tools.  These programs promote the management of servers either through the release of code or through the deployment of infrastructure patches.  They can do more than that. Commonly their utilization facilitates the transfer of files as well as the modification of existing files.  Four of these configuration management (CM) tools that are very popular among modern enterprises include Puppet, Chef, Ansible, and SaltStack.  This post will briefly compare and contrast some aspects of the tools themselves.