Python and ElastiCache
In this tutorial, you use the Amazon SDK for Python (Boto3) to write simple programs to perform the following ElastiCache operations:
Create ElastiCache clusters (cluster mode enabled and cluster mode disabled)
Check if users or user groups exist, otherwise create them (Redis 6.0 onwards only)
Connect to ElastiCache
Perform operations such as setting and getting strings, reading from and writing to steams and publishing and subscribing from Pub/Sub channel.
As you work through this tutorial, you can refer to the Amazon SDK for Python (Boto) documentation. The following section is specific to ElastiCache:
ElastiCache low-level client
Tutorial Prerequisites
Set up an Amazon access key to use the Amazon SDKs. For more information, see Setting up.
Install Python 3.0 or later. For more information, see https://www.python.org/downloads
. For instructions, see Quickstart in the Boto 3 documentation.