aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

ElastiCache using AWS CDK for Python/C#

Open chejef opened this issue 4 years ago • 3 comments

:rocket: Feature Request

General Information

  • [X] :wave: I am able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

Description

Using Python/C# to stand-up ElastiCache with three options 1.) Redis Cluster, 2.) Replication Group; 3.)Replication Group with multiple shards. This implementation is going to also add parameter group, generate user credentials in Secrets Manager

Proposed Solution

This solution is going to provide a sample code to user with the following three Options, based on the configuration

1.) Redis Cluster 2.) Redis Cluster with Replication 3.) Redis Cluster with Replication and Partitioning

As far as the security, it will support both Auth Token and User Group/User per the Redis engine versions.

There will be configuration for the following items

  • port number
  • node type
  • subnet
  • engine version
  • vpc id
  • snapshot window
  • at rest encryption
  • transit encryption
  • multi az
  • number of node groups (shards)
  • auth token mode
  • user mode

It will use class inheritance to abstract common methods and variables to the super class which is shared by the child class for the three options.

Unit test will be pytest.

Environment

  • CDK CLI Version:
  • Example:
  • Example Version:
  • OS:
  • Language:

Other information

chejef avatar Sep 20 '21 15:09 chejef

Hey @chejef 👋🏻

Could you provide a description of what you are expecting?

ryparker avatar Sep 28 '21 18:09 ryparker

Created this feature request to start working on a sample code using Python and C# for provisioning the AWS ElastiCache cluster.

chejef avatar Sep 28 '21 19:09 chejef

Thanks. It looks like you had a lot of good info in your issue description although we couldn't see it because it was wrapped in a comment <!-- -->.

ryparker avatar Sep 28 '21 19:09 ryparker