What Is The Difference between AWS CodeBuild and AWS CodePipeline?

Question
AWS has PaaS services called CodeBuild and CodePipeline.  What are the differences between these?

Answer
“AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy.” (This was taken from https://aws.amazon.com/codebuild/.)

“AWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates.” 

What Is The Difference between AWS CodeCommit and AWS CodePipeline?

Question
AWS has PaaS services called CodeCommit and CodePipeline.  What are the differences between these?

Answer
“AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositiories.”  (Taken from https://aws.amazon.com/codecommit/.)

“AWS CodePipeline is a fully managed [sic] continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates.” 

How Do You Install The aws-iam-authenticator?

Problem scenario
You want to manage Kubernetes (e.g., Amazon EKS) via a server in AWS.  You want to install the aws-iam-authenticator on a Linux server.  How do you do this?

Solution
1.  To install aws-iam-authenticator go here to obtain the link that is relevant for your server.  You will search the above link for “aws-iam-authenticator binary from Amazon S3”

2. 

How Do You Install Ansible on a Debian Linux Server Running in GCP?

Problem scenario
You are using Google Cloud Platform, and you have a Debian server.  You do not want to configure any PPAs for your system.*  How do you install and configure Ansible on a Debian Linux system?

Solution
Prerequisite

We strongly recommend having 2.5 GB of memory (either in RAM or with a combination of RAM and swap space).  

How Do You Use GCP’s App Engine?

Problem scenario
You want to leverage GCP’s serverless App Engine component with its scalability.  What do you do?

Solution
1.  Go to the cloud shell.  In the web UI of GCP in the upper righthand corner go to the icon that looks like this: “>_” and click on it.  From cloud shell run these commands:

git clone https://github.com/GoogleCloudPlatform/python-docs-samples

cd python-docs-samples/appengine/standard_python37/hello_world

virtualenv –python python3 ~/envs/hello_world

source ~/envs/hello_world/bin/activate

pip install -r requirements.txt

python main.py

2. 

How Do You Troubleshoot the Bash Script Error “line 5: $’\r’: command not found”?

Problem scenario
You drafted a Bash script on a Windows computer.  You then uploaded it to Google Cloud Platform via a web browser feature.  When you run the bash script on a Linux server (e.g., in GCP), you get this error “line 5: $’\r’: command not found”.  You do not want to install dos2unix or any new packages.  What should you do?

Solution
The file needs to be modified or “cleaned up.” 

How Do You Delete a Network Interface in AWS When You Get an Error about Not Having Permission?

Problem Scenario
In AWS you try to delete a Security Group.  You cannot do it because you get an error that “These security groups are associated with one or more network interfaces.  Delete the network interfaces, or associate them with different security groups.”  You click the link “View your network interfaces.”  But you are unable to delete the network interfaces.  You try to “Detach” them (with the “Force detachment” option),

How Do You Create a .ppk File from a .pem File?

Problem Scenario
You want to use a key kair to log into AWS instances. You created an AWS EC-2 instance (aka a virtual machine or server) running Linux.  You want to connect to this Linux server (a VM).  You created a key pair when you created this VM.  You downloaded the .pem file.  You need a .ppk file to log in.  What should you do?

Solution
1. 

How Do You Use Amazon DynamoDB?

Problem scenario
You want to use a NoSQL solution from a public cloud provider. How do you deploy Amazon DynamoDB to try it out?

Solution
1.  Log into AWS.
2.  In the web browser, go to https://console.aws.amazon.com/dynamodb/home
3.  Click “Create table”
4.  Enter the fields as you find appropriate.  It should be self-explanatory.  Click “Create”.
5.  You can now create items in the table,