Subscriptions - Pro - Connectivity
Create VPC peering
Sets up VPC peering for the specified subscription. Ensure your cloud provider is also set up for VPC Peering with Redis Cloud. See VPC Peering to learn how to set up VPC Peering with AWS and Google Cloud.
post/v1/subscriptions/{subscriptionId}/peerings
Path parameters
subscriptionIdinteger required
Subscription ID.
Request body
Example request
{
"region": "us-east-1",
"awsAccountId": "<aws-account-id>",
"vpcId": "<vpc-identifier>",
"vpcCidr": "<10.10.10.0/24>",
"vpcCidrs": [
"<10.10.10.0/24>",
"<10.10.20.0/24>"
]
}Response
Accepted