Viewing and Editing a Subscription
After you create a subscription, you can view the subscription details and change some of them, including:
- Subscription name
- Security access
- Payment method
To view the details of a subscription click “Subscriptions” in the menu, and then click on the name of the Subscription you want to view.
When you view a subscription, you can see:
- Subscription name (To edit the name, click )
- Cloud provider details
- Memory type (RAM/RAM + Flash)
In the Security section, you can define access to your Redis Cloud account.
In the Payment Information section, you can see:
- The cloud resources that your subscription is running on
- The number of shards purchased and their cost
To delete a subscription, click on the Delete button at the bottom of the form. You are prompted to confirm before your subscription is actually deleted. The delete only succeeds if the subscription does not have any databases. If it does, you must first delete the databases.
Defining access to your subscription
After you create a Redis Cloud subscription, you can configure VPC peering and a CIDR whitelist to allow more secure access to your account.
- VPC peering - Allow unresticted network access between two VPCs.
- CIDR whitelist - Customers running Redis Cloud on their own cloud infratsructure can limit the network access between the VPCs to the specified CIDR blocks and security groups.
A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IP addresses. Instances in either VPC can communicate with each other as if they are within the same network. You can connect your VPC in the Redis Cloud subscription to the VPC of your application. Then your application can connect securely to your Redis Cloud database using VPC Peering to optimize the performance of your application.
The VPC peering configuration requires you to initiate VPC peering on your Redis Cloud subcription and accept the VPC peering request for the AWS VPC that you want to peer with.
To peer Redis Cloud VPC with another VPC:
In Subscriptions, click on the subscription for VPC peering.
In Security > VPC Peering, click .
Enter the VPC peering details:
If your subscription is running on AWS, enter these details of the VPC to peer with:
- AWS Account ID
- AWS Region
- AWS VPC ID
- VPC CIDR
If your subscription is running on GCP, enter these details of the VPC to peer with:
- GCP Project ID
- GCP Network name
Make sure you copy the gcloud command that appears at the bottom of the page to accept the peering.
Click Initiate Peering.
A VPC Peering request is automatically created and appears in the VPC Peering tab until it is accepted by the VPC that you want to peer with.
Note the Peering ID of the peering request.
To approve the VPC Peering request on VPC for your application:
If your subscription is running on AWS:
Go to the AWS management console and login to your AWS account that contains the peer VPC.
Go to: Services > VPC > Peering Connections
Select the peering connection with the Peering ID of your peering request.
Go to Description and note the Requester VPC CIDRs shown in the Peering Connection details.
Click Actions and select Accept Request.
To confirm to accept the request, click Yes, Accept.
To update your routing tables for the peering connection:
After you accept the peering request, click Modify my route tables now.
Find the ID of your VPC in the list of routes and select it.
Go to Routes and click on Edit Routes.
To add a route, click Add Route.
In the Destination field, enter the Requester VPC CIDRs shown when you accepted the peering request.
This is the Redis Cloud VPC CIDR address, to which your application’s VPC connect
In the Target field, select Peering Connection and select the relevant Peering ID.
Click Save Routes and Close.
If your subscription is running on GCP:
- In your environment, run the gcloud CLI command provided in the VPC peering popup.
Now the VPC Peering request is accepted. Its status in the VPC Peering tab in the Redis Cloud subscription is updated to ‘Peer Established’.
If you are deploying Redis Cloud on your own infrastructure, you can configure the CIDR Whitelist for your subscription. The CIDR whitelist defines a range of IP addresses and AWS security groups that control inbound and outbound traffic to the Redis Cloud VPC. When you manage the CIDR whitelist with security groups you can easily use the same security groups to manage access to your application.
To define the CIDR whitelist:
- In Subscriptions, click on the subscription for VPC peering.
- Go to: Security > CIDR Whitelist
- If there are no CIDR whitelist entries, click to create a CIDR whitelist. Otherwise, click under the list of CIDR whitelist entries to add another entry.
- Specify a whitelist entry as either:
- IP Address:
- For the type, select IP Address.
- For the value, enter the IP address in CIDR format for the traffic that you want to allow access for.
- Security Group:
- For the type, select Security Group.
- For the value, enter the ID of the AWS security group to grant access to.
- IP Address:
- Click .
- Add more whitelist entries - Click .
- Apply the changes to the whitelist - Click Apply all changes.