These are the default plans and configuration options for Redis across the supported cloud platforms (AWS, Azure and GCP.)
Plan | Cache Size | HA |
---|---|---|
small | min 1GB | no |
medium | min 4GB | no |
large | min 16GB | no |
The following options can be configured across all supported platforms. Notes below document any platform specific information for mapping that might be required.
Cache size mapped into GCP memory store tiers as follows:
Plan | GCP Service Tier | Memory Size |
---|---|---|
small | Basic | 1GB |
medium | Basic | 4GB |
large | Basic | 16GB |
Option Name | Values | Default |
---|---|---|
cache_size | 1,2,4,8,16,32,64 | 1 |
Cache size mapped into AWS ElastiCash node types as follows:
Plan | AWS Cache Node Type |
---|---|
small | cache.t2.small |
medium | cache.m5.large |
large | cache.r4.xlarge |
Cache size to AWS node type mapping
cache_size | node type |
---|---|
1 | cache.t2.small |
2 | cache.t3.medium |
4 | cache.m5.large |
8 | cache.m5.xlarge |
16 | cache.r4.xlarge |
32 | cache.r4.2xlarge |
64 | cache.r4.4xlarge |
128 | cache.r4.8xlarge |
256 | cache.r5.12xlarge |
The following parameters (as well as those above) may be configured at service provisioning time (cf create-service csb-aws-redis ... -c '{...}'
)
Parameter | Type | Description | Default |
---|---|---|---|
instance_name | string | name of Azure instance to create | csb-redis-instance_id |
region | string | AWS region to deploy service instance | us-west-2 |
vpc_id | string | The VPC to connect the instance to | the default vpc |
aws_access_key_id | string | ID of Azure tenant for instance | config file value aws.access_key_id |
aws_secret_access_key | string | ID of Azure subscription for instance | config file value aws.secret_access_key |
redis_version | string | Redis version to provision ("2.6" , "2.8" , "3.2" , "4.0" , "5.0" ) |
"5.0" |
cache_size | integer | Size in GB for cache: 1,2,4,8,16,32,64,128,256 | per plan |
node_type | string | explicit node type overrides cache_size conversion into node type per table above |
|
elasticache_subnet_group | string | Name of subnet to attach redis instance to, overrides aws_vpc_id | |
elasticache_vpc_security_group_ids | comma delimited string | Security group ID's to assign to redis instance |
Cache size mapped into Azure sku's for Redis as follows:
The following parameters plan options
Parameter | Description | Default |
---|---|---|
sku_name | Basic, Standard, Premium | |
family | C, P | |
capacity | relative size of cache | 1 |
Plan | Sku | Family | Capacity | Memory Size | HA |
---|---|---|---|---|---|
small | Basic | C | 1 | 1GB | no |
medium | Basic | C | 3 | 6GB | no |
large | Basic | C | 5 | 26GB | no |
Plan | Sku | Family | Capacity | Memory Size | HA |
---|---|---|---|---|---|
ha-small | Standard | C | 1 | 1GB | yes |
ha-medium | Standard | C | 3 | 6GB | yes |
ha-large | Standard | C | 5 | 26GB | yes |
The following parameters (as well as those above) may be configured at service provisioning time (cf create-service csb-azure-redis ... -c '{...}'
)
Parameter | Type | Description | Default |
---|---|---|---|
instance_name | string | name of Azure instance to create | csb-redis-instance_id |
location | string | Azure location to deploy service instance | westus |
resource_group | string | The Azure resource group in which to create the instance | rg-instance_name |
azure_tenant_id | string | ID of Azure tenant for instance | config file value azure.tenant_id |
azure_subscription_id | string | ID of Azure subscription for instance | config file value azure.subscription_id |
azure_client_id | string | ID of Azure service principal to authenticate for instance creation | config file value azure.client_id |
azure_client_secret | string | Secret (password) for Azure service principal to authenticate for instance creation | config file value azure.client_secret |
skip_provider_registration | boolean | true to skip automatic Azure provider registration, set if service principal being used does not have rights to register providers |
false |
For consuming Azure Redis, the TLS port is used in place of the standard port. The key for the TLS port is "tls_port". The standard port is disabled for both the Azure Basic Plans as well as Azure High Availability Plans.
The binding credentials for Redis have the following shape:
{
"host" : "redis server hostname",
"port" : "redis server port",
"password" : "authentication password",
"tls_port" : "redis TLS port"
}