Creating a Redis cluster
To create a Redis cluster in the Cloud Platform, follow the example guidance in the module.
Choosing an appropriate instance type
ElastiCache for Redis (which manages your Redis cluster) supports a wide range of instance types. Some instance types are considered “previous generation” and must not be used.
Instance types are named based on their family/purpose, generation, any additional capabilities, and size.
For ElastiCache for Redis, instance types will always be prefixed with cache
.
You can read the supported node types for ElastiCache for Redis for more information.
Table of instance types
Use the table below to pick an appropriate instance type for your corresponding Redis version. This instance type should be suitable for most applications, environments, and how users of the Cloud Platform generally use ElastiCache for Redis.
You must always use the latest instance type you can. If you are using an older version of ElastiCache for Redis, you should upgrade your Redis version so you can use newer instance types.
Redis version | Environment type | Instance type |
---|---|---|
7.0.x | Non-production | cache.t4g.micro |
Production | cache.t4g.small |
If you find your ElastiCache for Redis instance is running out of CPU or memory, try changing the instance size (micro
, small
) to a larger instance size such as medium
.
Statistics
At the time of writing, the following instance types were in use (along with how many) on the Cloud Platform. This can be useful to help you rightsize your instance type compared to other users of the Cloud Platform.
9 "cache.t4g.medium"
187 "cache.t4g.micro"
90 "cache.t4g.small"