Using AWS SDK to write and read data on ElastiCache

Overview

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

Content