Networking Commands¶
VPC peering and private connectivity for Redis Cloud.
VPC Peering¶
List Peerings¶
Create Peering¶
redisctl cloud vpc-peering create --subscription-id 123456 --data '{
"region": "us-east-1",
"awsAccountId": "123456789012",
"vpcId": "vpc-abc123",
"vpcCidr": "10.0.0.0/16"
}' --wait
Delete Peering¶
Private Service Connect (GCP)¶
List PSC Endpoints¶
Create PSC Endpoint¶
redisctl cloud psc create --subscription-id 123456 --data '{
"gcpProjectId": "my-project",
"gcpNetworkName": "my-network"
}' --wait
Transit Gateway (AWS)¶
List Attachments¶
Common Patterns¶
Check Peering Status¶
redisctl cloud vpc-peering list --subscription-id 123456 -o json -q '[].{
id: id,
status: status,
vpcId: vpcId
}'
Wait for Peering Active¶
redisctl cloud vpc-peering create \
--subscription-id 123456 \
--data @peering.json \
--wait \
--wait-timeout 600
Raw API Access¶
# VPC Peerings
redisctl api cloud get /subscriptions/123456/peerings
# Private endpoints
redisctl api cloud get /subscriptions/123456/privateEndpoints
Related¶
- Subscriptions - Subscription management
- VPC Peering Cookbook - Step-by-step guide