How Do You Use Amazon Aurora to Try It Out?

Problem scenario
You know that Amazon Aurora is compatible with either PostgreSQL or MySQL.  While RDS supports these database types as well as Oracle and SQL Server, RDS does not offer all of the advantages that Aurora offers.

You have read about the benefits of Aurora a database PaaS or DBaaS.   You want to deploy Amazon Aurora because it has numerous features for high availability, performance,

How Do You Use Amazon Route 53 with a Domain Name?

Problem scenario
You have a web server with an external IP address (e.g., a VPS, an EC-2 instance, a DigitalOcean droplet, a VM in Azure or GCP).  You have a domain name, e.g., funexample.com, that you have registered.  You want to go to craft a URL foobar.funexample.com to resolve to this web server with an external IP address.  Right now when you open a web browser and go to foobar.funexample.com,

How Do You Troubleshoot the Python Error “NameError: name is not defined” When Using Boto3?

Problem scenario
You are running a Python program with Boto and you get an error like this:

  ” aws_access_key_id=AKIAJfoobar9999, NameError: name ‘AKIAfoobar9999’ is not defined”

What should you do?

Solution
Put single quotes around the aws_access_key_id value.

How Do You Use Terraform to Create AWS Servers?

Problem scenario
You want to use Terraform to deploy EC-2 instances (VMs in AWS).  How do you do this?

Solution
These directions can work on a Linux server in your enterprise, a Linux server in Azure or a Linux server in AWS.

1.  Install Terraform.  See this link if you do not know how.

2.  Create a file like this called contint.tf with this as the content:

provider “aws” {
 

How Do You Upload a Docker Image to Amazon Elastic Container Registry?

Problem scenario
You created your own Docker image.  You want to upload it to a repository so it is available to other servers.  You want to upload a Docker image from your server into ECR (in AWS).  You do not know the name of the repository.  How do you do this?

Solution
Prerequisites

a.  This assumes that ECR has been set up.  If you need assistance,

After Installing Jira on a RHEL Server, How Do You Access the Web UI for Jira?

Problem scenario
You installed Jira 7.x on RHEL 7.x in AWS.  You try to go to the URL to finish installing and configuring it, but the web UI does not load.  On the back-end you see that there is a service listening on port 8080 (with a sudo netstat -anlp | grep 8080 command).  You know that now AWS Security Group is blocking port 8080 from the external IP address of the server.

How Do You Troubleshoot Connecting to an RDS Instance?

Problem scenario
You created a DB instance in RDS.  You cannot connect to it.  What should you do?

Solution
1.  Make sure that it is “Available.”  It could have been turned off.
2.  Click on the Instance and confirm the relevant Security Group allows you to connect to it.
3.  Click on the Instance and search for “Publicly accessible”.  Make sure this is set to “Yes.”  If it is set to “No” you may have to take a snapshot of the instance and launch that snapshot with the “Publicly accessible” option.

How Do You Install Jenkins 2.x on Ubuntu Linux in AWS?

Problem scenario
You want to install Jenkins on an Ubuntu Linux server without running an “apt-get upgrade” command.  (You are ok with installing a “apt-transport-https” package.)  What should you do?

Solution
See this posting because the directions work for Ubuntu in AWS and Debian in GCP.

(If you can run “apt-get upgrade”, and you do not want to install “apt-transport-https”,