What Is The Difference between AWS CodeBuild and AWS CodeDeploy?

Question
AWS has PaaS services called CodeBuild and CodeDeploy.  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.”  (Taken from https://aws.amazon.com/codebuild/.)

“AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2,

What Is The Difference between AWS CodeDeploy and AWS CodePipeline?

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

Answer
“AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers.”  (Taken from https://aws.amazon.com/codedeploy/.)

“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 CodeBuild and AWS CodeDeploy?

Question
AWS has PaaS services called CodeBuild and CodeDeploy.  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.”  (Taken from https://aws.amazon.com/codebuild/.)

“AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2,

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 Get an Ansible Command to Issue a Long-Running Bash Command and Keep Processing?

Problem scenario
You have a playbook that runs a shell command.  But this command never completes.  If you cancel the playbook, you find the processes started from the playbook cancel from the cancellation of the playbook too.  You want the process to keep running while Ansible moves to the next command.  You want processes to run in a detached way that is independent of the playbook execution itself. 

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 Get the sonar.sh Console to Actually Work When the Screen Says That “SonarQube is already running”?

Problem scenario
You stop SonarQube services from running.  You want to log into the web UI console to set things up.  You run this command:

sudo bash /opt/sonarqube/bin/linux-x86-64/sonar.sh console

But all you see is


Running SonarQube…
SonarQube is already running.

You never get a network service to listen on port 9000.  How do you use “sonar.sh console” to initially configure Sonar?

How Do You Install Varnish on Debian/Ubuntu Linux?

Problem scenario
You want to install Varnish on a Debian/Ubuntu Linux server.  How do you do this?

Solution
Run these commands:

sudo apt-get -y update

sudo apt-get -y install gcc python-docutils pkg-config libreadline-dev libncurses5-dev libpcre3-dev #*

curl http://varnish-cache.org/_downloads/varnish-6.0.0.tgz /tmp/varnish-6.0.0.tgz

sudo cp /tmp/varnish-6.0.0.tgz /opt/
cd /opt
sudo tar xvzf varnish-6.0.0.tgz
cd varnish-6.0.0
sudo ./configure
sudo make
sudo make install
varnishd -V

* This 

How Do You Troubleshoot the Error “intx ThreadPriorityPolicy=42 is outside the allowed range [ 0 … 1 ] “?

Problem scenario
You try to start Cassandra but you get this error:

“[0.000s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:./bin/../logs/gc.log instead.
intx ThreadPriorityPolicy=42 is outside the allowed range [ 0 … 1 ]
Improperly specified VM option ‘ThreadPriorityPolicy=42’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.”

Possible solution #1
Migrate to Linux SUSE or a Red Hat family version of Linux (e.g.,