Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Network Connectivity

Configure VPC peering, Private Service Connect, and Transit Gateway connections for secure network access.

VPC Peering

List VPC Peerings

redisctl cloud connectivity list-vpc --subscription-id <ID>

Create VPC Peering

redisctl cloud connectivity create-vpc --subscription-id <ID> --data @vpc.json --wait

Example Payload:

{
  "region": "us-east-1",
  "awsAccountId": "123456789012",
  "vpcId": "vpc-0abc123def456",
  "vpcCidr": "10.0.0.0/16"
}

Delete VPC Peering

redisctl cloud connectivity delete-vpc --subscription-id <ID> --peering-id <PEERING_ID> --wait

Private Service Connect (GCP)

Create PSC

redisctl cloud connectivity create-psc --subscription-id <ID> --data @psc.json --wait

Transit Gateway (AWS)

Create Transit Gateway Attachment

redisctl cloud connectivity create-tgw --subscription-id <ID> --data @tgw.json --wait

Common Patterns

Verify Connectivity

# List all connections
redisctl cloud connectivity list-vpc --subscription-id 123456

# Check connection status
redisctl cloud connectivity get-vpc --subscription-id 123456 --peering-id abc123 \
  -q "status"

Troubleshooting

  • Ensure CIDR blocks don't overlap
  • Verify cloud provider permissions
  • Check security group rules allow Redis ports