In this tutorial, you use the AWS SDK for Python (Boto3) to write simple programs that perform the following ElastiCache operations:
Create ElastiCache cluster (cluster mode disable and cluster mode enable)
Check if user or user group exists, if not create the user (Redis 6.0 onwards only)
Connect with ElastiCache
Perform operations such as set up and get strings, read and write to steam, and publish and subscribe from a Pub/Sub channel.
Prepare
Set up AWS Access Key to use AWS SDK.
Install Python 3.0 or later. For more information see https://www.python.org/downloads.