Step 1: Create a cache - Amazon ElastiCache (Redis OSS)
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Step 1: Create a cache

In this step, you create a new cache in Amazon ElastiCache.

Amazon Web Services Management Console

To create a new cache using the ElastiCache console:

  1. Sign in to the Amazon Web Services Management Console and open the https://console.amazonaws.cn/connect/.

  2. In the navigation pane on the left side of the console, choose Redis OSS caches.

  3. On the right side of the console, choose Create Redis OSS cache

  4. In the Cache settings enter a Name. You can optionally enter a description for the cache.

  5. Leave the default settings selected.

  6. Click Create to create the cache.

  7. Once the cache is in "ACTIVE" status, you can begin writing and reading data to the cache. .

Amazon CLI

The following Amazon CLI example creates a new cache using create-serverless-cache.

Linux

aws elasticache create-serverless-cache \ --serverless-cache-name CacheName \ --engine redis

Windows

aws elasticache create-serverless-cache ^ --serverless-cache-name CacheName ^ --engine redis

Note that the value of the Status field is set to CREATING.

To verify that ElastiCache has finished creating the cache, use the describe-serverless-caches command.

Linux

aws elasticache describe-serverless-caches --serverless-cache-name CacheName

Windows

aws elasticache describe-serverless-caches --serverless-cache-name CacheName

After creating the new cache, proceed to Step 2: Read and write data to the cache.