George McKinney Adventures in Software Development

September 12, 2020

Updating AWS CLI on Linux from Version 1 to Version 2

Filed under: Amazon — georgemck @ 3:32 am

Amazon Linux 1 and 2 AMI used for EC2 have AWS CLI pre-installed but if it is version 1 and you want to update to version 2, do this.


Step 1. First check which version you have currently installed:

aws –version

will output something like this:

aws-cli/1.14.39 Python/3.7.3 Linux/4.14.193-113.317.amzn1.x86_64 exe/x86_64.amzn.2018


Step 2. Optionally, you can review its configuration with:

aws configure


AWS Access Key ID [****************AU4L]:
AWS Secret Access Key [****************cFa+]:
Default region name [us-east-1]:
Default output format [json]:


Step 3. Uninstalling depends on which version of Python you have associated with AWS CLI. Check the AWS version previously displayed to be sure. Here is a link to the documentation

For Python 2, the command is:

pip uninstall awscli

For Python 3, the command is:

pip3 uninstall awscli


Step 4. Installing version 2 according to:

   curl “” -o “”
   sudo ./aws/install


Step 5. Upon installation of the version 2, it will probably not be in the same place the operating system is expecting and it will be necessary to update the path according to the output of Step 4.

export PATH=$PATH:/usr/local/bin/aws


Now check the version

aws –version


aws-cli/2.0.48 Python/3.7.3 Linux/4.14.193-113.317.amzn1.x86_64 exe/x86_64.amzn.2018


Step 6. Optionally, rerun the configure option in order to make sure everything is still there and you will be good to go.

   aws configure


AWS Access Key ID [****************AU4L]:
AWS Secret Access Key [****************cFa+]:
Default region name [us-east-1]:
Default output format [json]:


This shows how straightforward updating this valuable tool can be. As one of the three ways of managing Amazon Web Services resources (AWS Console, AWS SDKs and AWS CLI), you will be ready for the task at hand.

June 28, 2020

XReality Meetup Presentation on Creating and Sharing XR Experiences

Interactive Presentation with Videos on Google Slides

Github Repo

June 23, 2020

Amazon Alexa Gaming

Filed under: Alexa,Amazon — georgemck @ 1:47 am

AWS for WordPress

Filed under: Amazon — georgemck @ 1:40 am

AWS for WordPress

Create audio versions of your posts, translate them into other languages, and create podcasts. Integrate with Amazon Alexa to listen to your posts on Alexa-enabled devices. Use Amazon CloudFront to accelerate your website and provide a faster, more reliable viewing experience.

For configuration instructions, see the documentation at

June 12, 2020

Amazon Redshift

Filed under: Amazon — Tags: , , — georgemck @ 2:45 pm

From PostgreSQL row-based Database to Amazon Redshift column-based Data Warehouse

Introduction to Redshift

Amazon Redshift Tutorial (go to 6:28)

Deep Dive on Amazon Redshift

June 11, 2020

AWS Database Migration Service

Filed under: Amazon — Tags: , , — georgemck @ 10:43 pm

Short introduction to the AWS Database Migration Service (1:33)

AWS Database Migration Service (46:48)

Introducing to AWS Database Migration Service (5:19)

DynamoDB Accelerator Video

Filed under: Amazon — Tags: , , — georgemck @ 10:00 am

Amazon DynamoDB Accelerator (DAX): A Read-Through/Write-Through Cache for DynamoDB

June 10, 2020

Amazon Rekognition Videos

Filed under: Amazon — Tags: , — georgemck @ 11:48 pm

DynamoDB Overview Videos

Filed under: Amazon — Tags: , , — georgemck @ 11:37 pm

Sample DynamaDB Write Application using NodeJS

March 18, 2018

Alexa Demo: AVS Alexa Voice Service

Filed under: Alexa,Amazon — Tags: , , — georgemck @ 12:08 pm

Powered by WordPress