Skip to content

Commit 61da48f

Browse files
authored
update the redis cache documents (#534)
1 parent 355b707 commit 61da48f

File tree

1 file changed

+9
-96
lines changed

1 file changed

+9
-96
lines changed

source/cloud-native-platform/new-component/Update-redis-with-zone-redundant.html.md.erb

Lines changed: 9 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -9,110 +9,23 @@ weight: 10
99

1010
This guide explains how to update your Azure Cache for Redis to enable zone redundancy for improved availability and resilience.
1111

12-
## Prerequisites
13-
14-
- Azure Cache for Redis instance
15-
- Appropriate permissions to modify the Redis cache
16-
17-
## Process Overview
18-
19-
For enabling zone redundancy on Redis caches, follow this process:
20-
21-
1. **Development team** creates a Jira ticket in **#platops-help** requesting zone redundancy enablement (example: [DTSPO-28087](https://tools.hmcts.net/jira/browse/DTSPO-28087))
22-
2. **Platops team** performs the manual update via Azure Portal
23-
3. **Development team** updates Terraform configuration after portal changes are complete
24-
25-
## Upgrade from Basic to Standard SKU
26-
27-
If your Redis cache is currently using the **Basic SKU**, you must first upgrade to **Standard** before enabling zone redundancy, as zone redundancy is not available on Basic tier.
28-
29-
### Steps to Upgrade SKU:
30-
31-
1. **Development team** creates a Jira ticket in **#platops-help** requesting upgrade to Standard tier
32-
2. **Platops team** will:
33-
- **Navigate to your Redis cache** in the Azure Portal
34-
- **Go to Settings** → **Scale** in the left navigation menu
35-
- **Select Standard tier** from the available options
36-
- **Choose the appropriate cache size** based on your requirements
37-
- **Click Select** to apply the upgrade
38-
39-
40-
> **Note:** The upgrade process may take several minutes.
41-
42-
## Enable Zone Redundancy
43-
44-
Once Platops has upgraded the Redis cache to Standard tier, they will:
45-
46-
1. Verify the upgrade was successful by checking the Overview page which will show "Running - Standard 1 GB" status
47-
2. Navigate to **Settings** → **Advanced settings** in the left navigation menu
48-
3. Scroll down to **Zone redundancy** section
49-
4. Check the **"Allocate zones automatically"** checkbox
50-
5. Click **Save** to apply the changes
51-
52-
After receiving confirmation from Platops that zone redundancy has been enabled:
53-
54-
## Update Terraform Configuration
55-
56-
Once Platops has enabled zone redundancy via the portal, the development team should update their Terraform configuration:
57-
58-
59-
Update your Terraform configuration to reflect the Standard SKU:
60-
61-
```hcl
62-
sku_name = "Standard"
63-
family = "C"
64-
```
65-
66-
When you run the Terraform plan, it shows nothing to add or destroy.
67-
68-
69-
This confirms that your Terraform configuration now matches the infrastructure state after the manual upgrade.
70-
71-
## Upgrade from Standard to Premium (Optional)
72-
73-
If you need Premium features, the process is similar:
74-
75-
1. **Development team** creates a Jira ticket in **#platops-help** requesting upgrade to Premium tier
76-
2. **Platops team** will:
77-
- **Navigate to Settings** → **Scale** in the left navigation menu
78-
- **Select P1 Premium** from the Premium tier options
79-
- **Review the features** including:
80-
- 6 GB Cache
81-
- All Standard features
82-
- Data Persistence
83-
- Virtual Network support
84-
- Redis Cluster support
85-
- **Click Select** to apply the Premium upgrade
86-
87-
## Update Terraform Configuration to Premium
88-
89-
After receiving confirmation from Platops that the Redis cache has been upgraded to Premium, the development team should update their Terraform configuration:
90-
91-
92-
Change the code to Premium as shown:
93-
94-
```hcl
95-
sku_name = "Premium"
96-
family = "P"
97-
rdb_backup_enabled = true
98-
```
99-
100-
When you run the Terraform plan, it shows 1 to add for storage account creation, nothing to destroy.
10112

10213
## For Existing Premium Tier Redis Caches
10314

15+
> **Main advice:** Please perform these changes out of hours, as there is a possibility of downtime.
16+
10417
If you already have a Premium tier Redis cache instance:
10518

106-
1. **Development team** creates a Jira ticket in **#platops-help** requesting zone redundancy enablement
107-
2. **Platops team** will:
108-
- **Navigate to your Redis cache** in the Azure Portal
109-
- **Go to Settings****Advanced settings** in the left navigation menu
110-
- **Check the "Zone redundancy"** option
111-
- **Click Save** to apply the changes
19+
1. **Go to Access Package and request Redis Cache Contributor Access (Production)**. Once activated, proceed to the next step.
20+
2. Go to the Azure Portal
21+
- Navigate to your Redis cache
22+
- Go to Settings → Advanced settings in the left navigation menu
23+
- Check the "Zone redundancy" option
24+
- Click Save
11225

11326
### Update Terraform Configuration
11427

115-
After Platops has enabled zone redundancy in the portal, the development team should update their Terraform configuration:
28+
After zone redundancy has been enabled in the portal, the development team should update their Terraform configuration:
11629

11730
```hcl
11831
sku_name = "Premium"

0 commit comments

Comments
 (0)