How Do You Deploy Jenkins 2.X to Ubuntu Linux in AWS?

Problem scenario
You have an Ubuntu server in AWS with 0.5 GB of RAM.  You want to install Jenkins on it without installing an “apt-transport-http” package.  (You are ok with using an “apt-get upgrade” command on the Linux server.)  How do you do this?

Solution
(If you do not want to run “apt-get upgrade”, and you can install “apt-transport-http”, then see this 

How Do You Monitor a Server Being up with AWS or How Do You Use AWS Route 53 without a Domain Name?

Problem scenarios
One, or both, of the following apply to your situation:

Problem scenario #1
How do you use AWS (the SNS component) to set up an email alert to be notified of a server going down?

Problem scenario #2
You want to use Amazon Route 53 to see how this component works.  You do not want to register a domain name. 

How Do You Install the AWS CLI on an Ubuntu Server?

Problem scenario
You want to use the AWS CLI on an Ubuntu server.  You want to rapidly create EC-2 servers or use S3.   You want to be able to script AWS management commands for rapid provisioning etc. from an Ubuntu Linux server.  What do you do to install AWS CLI on an Ubuntu Linux server?

Solution
This works on an Azure server, an AWS EC-2 instance,

How Do You Deploy Puppet Agent to a RedHat Linux Instance in AWS?

Problem scenario
You installed Puppet Master on an AWS instance of RedHat Enterprise Linux.  (See this link if you want to install Puppet Master.) You now want another AWS instance of RHEL 7.x to be configured as a Puppet Agent node. You want to run a manifest to make sure that this new Puppet Agent node (i.e., server) is working with your Puppet Master server.  What do you do to install Puppet Agent 5.x on a RedHat Linux server and configure it to work with Puppet Master?

How Do You Control, Manage, List, Upload and Download Files to and from S3 without Using the GUI?

Problem scenario
You are using a Debian distribution of Linux.  You want to upload and download files to S3 without using the GUI.  You want to be able to automate processes with scripts that interact with S3 from your Ubuntu Linux server.  How do you do this?

Solution
The procedures have two parts after you have the prerequisites met.

Prerequisites
i.

How Do You Configure SSH Passwordless Authentication between an AWS EC-2 Instance and an Azure Virtual Machine?

Problem scenario
You have a Linux server in AWS and another Linux server in Azure. You want to use scp without a password to transfer files rapidly.  How do you configure passwordless SSH authentication between the two servers?

Solution
1.  Run this command on each server:

ssh-keygen -t rsa -P “”

# Accept the default prompt by pressing enter.

2.i. 

How Do You Deploy a Kubernetes Cluster to Azure?

Problem scenario
You want to deploy a Kubernetes cluster to Azure.  You have an Ubuntu Linux server (e.g., with a nano flavor in AWS, a server on-premises, or an one vCPU Azure server with one GB of RAM).  It has no software packages installed on it (e.g., it does not have Docker or Kubernetes).  How do you deploy Kubernetes into Azure (from an instance in AWS)?

Solution
Warning: 

How Do You Create a Recipe or Cookbook to Make a Configuration Change on a Chef Client?

Problem scenario
You have a desired configuration that you want implemented with Chef.  You want a command to execute and a file to transfer via a Chef recipe or cookbook.  You have installed Chef server on one server (see this posting if you want to do this) and Chef client on another (see this posting for installing Chef client).  You want to use Chef for the first time doing something as an example.