I can’t access endpoints on couchbase cloud from ec2 on a private subnet with external internet connection. This is possible on the public subnet. In couchbase cloud, is it not possible to access from a private subnet like 10.0.0.0/20?
Yes, it is possible to access Couchbase Cloud from a private subnet. You should configure VPC peering connection between your Couchbase Cloud VPC and your application server VPC. Please ensure that both the VPCs CIDR blocks should not overlap with each other.
Below are some documents for your reference:
- Go to Step 1: Connect a Cloud >> CIDR Block >> https://docs.couchbase.com/cloud/get-started/deploy-first-cluster.html#step-1-connect-a-cloud
- AWS VPC Peering connection - https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
Hope the information helps.
There was a problem with vpc. Thank you for answer!