How Do You Configure an Amazon VPC?

Problem scenario
You want to use a VPC in AWS.  What do you do to create one?

Solution
1.  Log into the AWS web console.
2.  Go here: https://aws.amazon.com/vpc/
3.  Click “Get started with Amazon VPC”.
4.  Click “Launch VPC Wizard”.
5.  Click “Select”.
6.  Change configurations as desired.  At a minimum click the “Availability Zone” to choose the region that is most appropriate for your needs (i.e.,

How Do You Create a Class for Objects with Many Data Members and Access One Specific Data Member in Groovy?

Problem scenario
You want to use Groovy to create a class and an object that is composed of many individual member data types.  How do you do this and access an individual data type of the object?

Solution
This Groovy program creates two objects from the same class using different syntax.  One method uses syntax “[]” and another method uses the “new” keyword.

@groovy.transform.Canonical
class Program {
    String mem1 = “”
    String mem2 = “”
    String mem3 = “”
    String mem4 = “”
    String mem5 = “”
    String mem6 = “”
    String mem7 = “”
    String mem8 = “”
    String mem9 = “”
}

programsv1 = new Program( “1”, …

What is “continuous integration” (or CI or “continual integration”)?

Question
What is “continuous integration” or “continual integration”?

Answer
Continuous integration (or continual integration) is the convergence of code from two or more developers via an automated process.  We arrived at this definition from summarizing and extrapolating from the following three quotes:

  1. “Continuous Integration is merging all code from all developers to one central branch of the repo many times a day trying to avoid conflicts in the code in the future.” 

How Do You Troubleshoot the kubectl Message “Connection error: Unable to connect to the server:” with AWS?

Problem scenario
You are using Kubernetes in AWS.  When using a kubectl command you get this error: “Connection error: Unable to connect to the server:  getting credentials: exec: exit status 1  … Could not get token: AccessDenied: Access denied”

What should you do?

Possible Solution #1
Was the user who created the Kubernetes cluster a different user from the user that is configured with your AWS CLI?

What Are ARM Templates (for Azure)?

Question
What are ARM (Azure Resource Manager) templates?

Answer
ARM templates are JSON files that have six element definitions, of which three are mandatory:

$schema
contentVersion
parameters
variables
resources
outputs

The elements $schema, contentversion, and resources are mandatory.

For more information see these links:
https://medium.com/@zaab_it/azure-resource-manager-template-101-1ccddc797f65

How Do You Use Amazon Elastic Kubernetes Service with the CLI?

Problem scenario
You want to deploy Kubernetes to AWS.  How do you use Amazon EKS to create a cluster with the AWS CLI?

Solution
Prerequisites

i.  This assumes that your AWS CLI has been installed.  If you need assistance with this, see this posting.
ii.  This assumes that you have a role created.  If you need assistance with this, see this posting.

How Do You Create an AWS User with Web Console Access to View EKS Clusters in the AWS Console?

One of the following problem scenarios apply.

Problem scenario #1
You want an AWS user to be able to log into the web console and view EKS clusters.  How do you do this?

OR

Problem scenario #2
You are using AWS and when you log into the AWS Console via a web browser with a user who is a member of a Group with two EKS policies,

How Do You Use Amazon Elastic Kubernetes Service with the Web UI?

Problem scenario
You want to deploy a Kubernetes cluster in AWS.  How do you use Amazon EKS with the web UI?

Solution
Prerequisites

i.  Optional:  It is recommended to create a separate VPC for each cluster (according to Amazon’s documentation here).  If you need to create a VPC, see this posting.

ii.  You need a Linux server with kubectl installed on it. 

How Do You Create a config File for Kubernetes Manually?

Problem scenario
You want to manually create a config file for Kubernetes.  (You do not want to run aws eks update-kubeconfig –name foobar.)  How do you do this?

Solution
These directions are most suited for Amazon EKS.  But they could be adapted for clusters running in other environments (not just AWS).  If you are using GCP, go to the very bottom of the directions and skip the rest.