{"id":13123,"date":"2022-04-25T08:01:01","date_gmt":"2022-04-25T15:01:01","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=13123"},"modified":"2025-06-13T20:40:18","modified_gmt":"2025-06-14T03:40:18","slug":"vpc-peering-capella-aws","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/","title":{"rendered":"VPC Peering with Capella and AWS &#8211; a Walkthrough"},"content":{"rendered":"<p><span style=\"font-weight: 400\">One of the most asked questions we receive from new Couchbase Capella cluster users is how do I set up and connect to the fully managed service. Communication between your application and the internet-hosted cluster is trivial, but connecting over a private network is more challenging. The need to connect over a private network from your AWS VPC to Couchbase\u2019s VPC will become ever more critical for high-performing mission-critical applications.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Setting up <\/span><b>VPC Peering <\/b><span style=\"font-weight: 400\">requires a small amount of work on both sides of the network. There is detailed documentation on the Couchbase <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/clouds\/private-network.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">website<\/span><\/a><span style=\"font-weight: 400\">. However, we hope this step-by-step walkthrough will make things a little easier for the first-time user. We will go from having neither of the VPCs set up and building from scratch. Understandably, an application\u2019s VPC may already be configured and not follow all these steps, but the walkthrough should at least give you some insight into the process.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Creating a Couchbase Capella cluster on AWS<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Ideally, people would already have experience spinning up a Couchbase Capella database at this point. If not, head to <\/span><a href=\"https:\/\/cloud.couchbase.com\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">cloud.couchbase.com<\/span><\/a><span style=\"font-weight: 400\"> and either sign up for a free trial or launch a new cluster with whichever specifications you need.<\/span><\/p>\n<p><span style=\"font-weight: 400\">There are two essential aspects to bear in mind when creating your cluster. First, the region where you deploy your cluster should match the VPS AWS region you are using.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Next, the CIDR Block of your deployed cluster <\/span><i><span style=\"font-weight: 400\">MUST be different <\/span><\/i><span style=\"font-weight: 400\">from the AWS VPC. Take note of the CIDR block <\/span><i><span style=\"font-weight: 400\">before you click<\/span><\/i> <b>Deploy<\/b><span style=\"font-weight: 400\">. If your AWS VPC already exists with a CIDR block, you can customize Capella to avoid duplication.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13124\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws1-1024x431.jpg\" alt=\"VPC peering setting CIDR block before deploy\" width=\"900\" height=\"379\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1-1024x431.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1-300x126.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1-768x323.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1-20x8.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1-1320x556.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws1.jpg 1377w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Creating a VPC in AWS<\/span><\/h2>\n<p><span style=\"font-weight: 400\">We will create a new VPC from scratch in this walkthrough; however, as stated before, your VPC may already exist. If so, then just ensure that it follows these guidelines.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Head over to the <\/span><b>VPC <\/b><span style=\"font-weight: 400\">section of the AWS management console and select <\/span><b>Create VPC.<\/b><\/p>\n<h3><b>VPS setting requirements for Couchbase Capella on AWS<\/b><\/h3>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">VPC must exist in the same region as your Capella Cluster<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">VPC requires a public subnet<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">IPv4 CIDR Block must be different from the Capella Cluster<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">DNS Hostnames must be enabled<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">DNS Resolution must be enabled<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">For an example deployment, you can see the configuration I have created below.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13141\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/image_2022-04-22_220819438.png\" alt=\"creating a vpc in aws\" width=\"852\" height=\"780\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/image_2022-04-22_220819438.png 852w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/image_2022-04-22_220819438-300x275.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/image_2022-04-22_220819438-768x703.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/image_2022-04-22_220819438-20x18.png 20w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Creating an EC2 instance in your VPC<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Before choosing an appropriate EC2 instance, please review the recommended specifications and best practices for server configurations in the Couchbase <\/span><a href=\"https:\/\/docs.couchbase.com\/server\/current\/install\/pre-install.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">documentation<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Head over to the <\/span><b>EC2<\/b><span style=\"font-weight: 400\"> section of the AWS Management Console and select <\/span><b>Launch Instance.<\/b><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">We choose the <\/span><i><span style=\"font-weight: 400\">Amazon Linux<\/span><\/i><span style=\"font-weight: 400\"> image for this example.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select an appropriate <\/span><i><span style=\"font-weight: 400\">Instance Type<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Create a new <\/span><i><span style=\"font-weight: 400\">Key Pair<\/span><\/i><span style=\"font-weight: 400\"> and download it, or select an existing credential if you have one that already exists.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13128\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws5.jpg\" alt=\"Creating an EC2 instance in your VPC\" width=\"657\" height=\"824\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws5.jpg 657w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws5-239x300.jpg 239w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws5-300x376.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws5-16x20.jpg 16w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ensure that you select the VPC that has been created.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Choose a PUBLIC subnet from that VPC.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Enable <\/span><i><span style=\"font-weight: 400\">Auto-Assign IP Address<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Add a new <\/span><i><span style=\"font-weight: 400\">Custom TCP Rule <\/span><\/i><span style=\"font-weight: 400\">in <\/span><i><span style=\"font-weight: 400\">Security Groups<\/span><\/i><span style=\"font-weight: 400\"> for Port Range 8091. Unencrypted connections to the Couchbase Server for Administration traffic use this port.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Create or select a <\/span><i><span style=\"font-weight: 400\">Key Pair<\/span><\/i><span style=\"font-weight: 400\">, allowing you access to the machine when it has been created.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13127\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws4.jpg\" alt=\"Setting up VPC network and key pair in EC2\" width=\"531\" height=\"859\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws4.jpg 531w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws4-185x300.jpg 185w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws4-300x485.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws4-12x20.jpg 12w\" sizes=\"auto, (max-width: 531px) 100vw, 531px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Test the Connection to Couchbase (Public)<\/b><\/h3>\n<p><span style=\"font-weight: 400\">We can check that we have public access to the cluster once the EC2 instance is deployed. Later on, we can compare the IP Address we receive from <\/span><i><span style=\"font-weight: 400\">nslookup<\/span><\/i><span style=\"font-weight: 400\"> to see that private networking has been properly configured.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After downloading the <\/span><i><span style=\"font-weight: 400\">Key Pair, <\/span><\/i><span style=\"font-weight: 400\">modify the <\/span><i><span style=\"font-weight: 400\">.pem<\/span><\/i><span style=\"font-weight: 400\"> file permissions with the <\/span><i><span style=\"font-weight: 400\">chmod<\/span><\/i><span style=\"font-weight: 400\"> command:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">chmod 400 mykeypair.pem<\/span><\/i><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Grab the public IPv4 address of your EC2 instance.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">SSH into the machine.<\/span>\n<ul>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">ssh -i mykeypair.pem ec2-user@0.0.0.0<\/span><\/i><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\"><i><\/i><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13130\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws7-1024x85.jpg\" alt=\"Setting permissions on PEM file\" width=\"900\" height=\"75\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws7-1024x85.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws7-300x25.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws7-768x64.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws7-20x2.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws7.jpg 1194w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Head over to the Capella Cluster\u2019s <\/span><b>Connect <\/b><span style=\"font-weight: 400\">tab and copy the DNS SRV record.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13129\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws6.jpg\" alt=\"Testing connection to Capella cluster\" width=\"821\" height=\"387\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws6.jpg 821w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws6-300x141.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws6-768x362.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws6-818x387.jpg 818w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws6-20x9.jpg 20w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Run <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">on the Capella Cluster\u2019s SRV DNS record for a list of the hostnames<\/span>\n<ul>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">nslookup -type=SRV _couchbases._tcp.cb.xxxxxxxxxxxxxxxx.cloud.couchbase.com<\/span><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13132\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws9-1024x198.jpg\" alt=\"\" width=\"900\" height=\"174\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9-1024x198.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9-300x58.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9-768x149.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9-20x4.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9-1320x256.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws9.jpg 1378w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Run <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">on one of the hostnames to view the (public) IP address that we are connecting to.<\/span>\n<ul>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">nslookup xxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx.cloud.couchbase.com<\/span><\/em><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Take Note of this Public IP Address, it should change when VPC Peering has been set up and we are using Private.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13131\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws8-1024x216.jpg\" alt=\"\" width=\"900\" height=\"190\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws8-1024x216.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws8-300x63.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws8-768x162.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws8-20x4.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws8.jpg 1256w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Creating the peering connection<\/span><\/h2>\n<p><span style=\"font-weight: 400\">A lot of the previous steps were precursors to preparing private networking. In the real world, you likely already have clusters and EC2 instances up and running. In that case, follow the steps from here on. However, it is worth checking your configuration against the previous steps to ensure that everything required is set up.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Verify that DNS Hostname and DNS Resolution are enabled in your AWS VPC<\/span>\n<ul>\n<li style=\"font-weight: 400\"><b>Actions &gt; Edit DNS Hostname<\/b><span style=\"font-weight: 400\"> \u2013 Enabled<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Actions &gt; Edit DNS Resolution<\/b><span style=\"font-weight: 400\"> \u2013 Enabled<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13135\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws12-1024x222.jpg\" alt=\"Enabling DNS hostname and resolution in AWS VPC\" width=\"900\" height=\"195\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12-1024x222.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12-300x65.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12-768x167.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12-20x4.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12-1320x286.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws12.jpg 1379w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Within the Couchbase Capella Cluster, go to the <\/span><b>Connect<\/b><span style=\"font-weight: 400\"> tab and select <\/span><b>Manage Private Networks &gt; Setup Private Network<\/b>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Check both requirements and continue.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Fill out the information for your peering connection:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">A <\/span><i><span style=\"font-weight: 400\">Name <\/span><\/i><span style=\"font-weight: 400\">for the connection<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">AWS Account ID <\/span><\/i><span style=\"font-weight: 400\">= Owner ID<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">Virtual Network ID <\/span><\/i><span style=\"font-weight: 400\">= VPC ID<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">Available Regions <\/span><\/i><span style=\"font-weight: 400\">= VPC Region<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">CIDR Block <\/span><\/i><span style=\"font-weight: 400\">= IPv4 CIDR Block<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>Link <\/b><span style=\"font-weight: 400\">to start the connection<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13133\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws10.jpg\" alt=\"setup private network in capella\" width=\"876\" height=\"618\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws10.jpg 876w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws10-300x212.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws10-768x542.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws10-20x14.jpg 20w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/p>\n<p><span style=\"font-weight: 400\">After clicking the <\/span><b>Link <\/b><span style=\"font-weight: 400\">button, Capella will configure and create a peering connection request to your AWS VPC.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">AWS VPC final configuration<\/span><\/h2>\n<p><span style=\"font-weight: 400\">To facilitate communication through the new private network, we need to configure a few settings in your AWS VPC.<\/span><\/p>\n<h3><b>Accept the Peering Request<\/b><\/h3>\n<ol>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to <\/span><b>VPC &gt; Peering Connections <\/b><span style=\"font-weight: 400\">in AWS and find the <\/span><i><span style=\"font-weight: 400\">pending <\/span><\/i><span style=\"font-weight: 400\">connection<\/span> <span style=\"font-weight: 400\">from the Capella Cluster. It may take a few minutes to appear after you initiated the original link from Capella.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>Actions &gt; Accept Request<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Take note of the <\/span><i><span style=\"font-weight: 400\">Peering Connection ID <\/span><\/i><span style=\"font-weight: 400\">and <\/span><i><span style=\"font-weight: 400\">Requester\u2019s CIDR Block <\/span><\/i><span style=\"font-weight: 400\">values.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13134\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws11-1024x472.jpg\" alt=\"Accepting peering requests in AWS\" width=\"900\" height=\"415\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws11-1024x472.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws11-300x138.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws11-768x354.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws11-20x9.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws11.jpg 1221w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Associate VPC with Hosted Zone<\/b><\/h3>\n<p><span style=\"font-weight: 400\">For the next step, use the AWS CLI tool (advice on setting that up on your local machine can be found <\/span><a href=\"https:\/\/aws.amazon.com\/cli\/\"><span style=\"font-weight: 400\">here<\/span><\/a><span style=\"font-weight: 400\">). Be sure to configure the AWS CLI to use the credentials of an AWS Identity and Access Management (IAM) user that has Route 53 access.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Capella Cluster, goto <\/span><b>Connect\u00a0 &gt; Private Networks<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click on the private network that has just been set up.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Copy the second command.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13136\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws13-1024x501.jpg\" alt=\"Associate VPC with Hosted Zone\" width=\"900\" height=\"440\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws13-1024x501.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws13-300x147.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws13-768x376.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws13-20x10.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws13.jpg 1099w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Paste the command onto a machine with the AWS CLI setup.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Execute the command, which associates the hosted zones between the VPCs.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13137\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws14-1024x331.jpg\" alt=\"Commands to associate hosted zones between VPCs\" width=\"900\" height=\"291\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws14-1024x331.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws14-300x97.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws14-768x248.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws14-20x6.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws14.jpg 1101w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Modify the Route Tables<\/b><\/h3>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Goto <\/span><b>VPC &gt; Route Tables<\/b><span style=\"font-weight: 400\"> in AWS.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">For each of the Route Tables associated with your VPC, complete the following steps:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><b>Actions &gt; Edit Routes<\/b><\/li>\n<li style=\"font-weight: 400\"><b>Add Route<\/b>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Paste the <\/span><i><span style=\"font-weight: 400\">Requester CIDR Block <\/span><\/i><span style=\"font-weight: 400\">from your peering request<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the <\/span><i><span style=\"font-weight: 400\">Target <\/span><\/i><span style=\"font-weight: 400\">box, select <\/span><i><span style=\"font-weight: 400\">Peering Connection<\/span><\/i><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select from the dropdown the value that matches your <\/span><i><span style=\"font-weight: 400\">Peering Connection ID<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Save Changes<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Repeat the process for other route tables in use.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none\"><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13138\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws15-1024x278.jpg\" alt=\"Modifying route tables in AWS VPC\" width=\"900\" height=\"244\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15-1024x278.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15-300x81.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15-768x208.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15-20x5.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15-1320x358.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws15.jpg 1379w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Test the Connection to Couchbase (Private)<\/span><\/h2>\n<p><span style=\"font-weight: 400\">At this point, VPC Peering is successfully set up between the Couchbase Cluster and your AWS VPC. To verify that your EC2 instance is now talking privately to the cluster, rerun the <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">command on the same hostname we had executed in the <\/span><i><span style=\"font-weight: 400\">public <\/span><\/i><span style=\"font-weight: 400\">connection test.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13139\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws16-1024x258.jpg\" alt=\"\" width=\"900\" height=\"227\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws16-1024x258.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws16-300x76.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws16-768x193.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws16-20x5.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws16.jpg 1199w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400\">The response should show us that we are communicating to the <\/span><i><span style=\"font-weight: 400\">machine&#8217;s private IP address <\/span><\/i><span style=\"font-weight: 400\">instead of the p<\/span><i><span style=\"font-weight: 400\">ublic <\/span><\/i><span style=\"font-weight: 400\">one. This validates that DNS resolution is working correctly.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To further validate this, we can check the network connectivity between the application node and the Capella cluster using <\/span><i><span style=\"font-weight: 400\">traceroute<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13140\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/04\/vpc-peering-couchbase-aws17-1024x100.png\" alt=\"Test connection to Couchbase with traceroute\" width=\"900\" height=\"88\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17-1024x100.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17-300x29.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17-768x75.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17-20x2.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17-1320x128.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/04\/vpc-peering-couchbase-aws17.png 1379w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400\">If the response is fast and successful, we can be assured that the routing is set up correctly as we touch the encrypted Port of Couchbase.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">What next?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">We covered several steps in getting the cluster and AWS set up before diving into VPC peering. If you already had the cluster and AWS setting in place, you would only need to follow the final couple of sections we shared above.<\/span><\/p>\n<p><span style=\"font-weight: 400\">This post covers one of many approaches for VPC peering. Since everyone has different AWS environments and restrictions, there may be other issues to address in your particular use case. Hopefully this helps get you started in your VPC Peering quest going forward.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Access the following resources to learn more about Couchbase Capella and how to get the help you need:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Review the comprehensive <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/index.html\"><span style=\"font-weight: 400\">Capella documentation<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ask questions on the <\/span><a href=\"https:\/\/www.couchbase.com\/forums\/\"><span style=\"font-weight: 400\">Couchbase Forums<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-on-discord\/\"><span style=\"font-weight: 400\">Join us on Discord<\/span><\/a><span style=\"font-weight: 400\"> to collaborate with others.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Get <\/span><a href=\"https:\/\/support.couchbase.com\"><span style=\"font-weight: 400\">official support for Couchbase products<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>One of the most asked questions we receive from new Couchbase Capella cluster users is how do I set up and connect to the fully managed service. Communication between your application and the internet-hosted cluster is trivial, but connecting over [&hellip;]<\/p>\n","protected":false},"author":74466,"featured_media":4513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[2225,1816],"tags":[10124,9243,9582,9581,9583],"ppma_author":[9167],"class_list":["post-13123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-couchbase-server","tag-amazon-web-services-aws","tag-cloud-native-database","tag-ec2","tag-vpc","tag-vpc-peering"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>VPC Peering: A Walkthrough with Capella and AWS | Couchbase<\/title>\n<meta name=\"description\" content=\"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VPC Peering with Capella and AWS - a Walkthrough\" \/>\n<meta property=\"og:description\" content=\"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-25T15:01:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T03:40:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"881\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Daniel Bull, Associate Solutions Engineer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daniel Bull, Associate Solutions Engineer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\"},\"author\":{\"name\":\"Daniel Bull, Associate Solutions Engineer\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/7f9d5e0c7963a172db12fb5e5e2583e1\"},\"headline\":\"VPC Peering with Capella and AWS &#8211; a Walkthrough\",\"datePublished\":\"2022-04-25T15:01:01+00:00\",\"dateModified\":\"2025-06-14T03:40:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\"},\"wordCount\":1372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg\",\"keywords\":[\"Amazon Web Services (AWS)\",\"Cloud-Native Database\",\"EC2\",\"VPC\",\"VPC Peering\"],\"articleSection\":[\"Couchbase Capella\",\"Couchbase Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\",\"name\":\"VPC Peering: A Walkthrough with Capella and AWS | Couchbase\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg\",\"datePublished\":\"2022-04-25T15:01:01+00:00\",\"dateModified\":\"2025-06-14T03:40:18+00:00\",\"description\":\"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg\",\"width\":2048,\"height\":881,\"caption\":\"VPC Peering - AWS and Couchbase Capella cluster\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VPC Peering with Capella and AWS &#8211; a Walkthrough\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/7f9d5e0c7963a172db12fb5e5e2583e1\",\"name\":\"Daniel Bull, Associate Solutions Engineer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/1a793e281f03204d89cd07cc2163a58e\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg\",\"caption\":\"Daniel Bull, Associate Solutions Engineer\"},\"description\":\"Daniel Bull is an Associate Solutions Engineer at Couchbase\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/daniel-bull-00a102b5\/\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/daniel-bull\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"VPC Peering: A Walkthrough with Capella and AWS | Couchbase","description":"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/","og_locale":"en_US","og_type":"article","og_title":"VPC Peering with Capella and AWS - a Walkthrough","og_description":"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.","og_url":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/","og_site_name":"The Couchbase Blog","article_published_time":"2022-04-25T15:01:01+00:00","article_modified_time":"2025-06-14T03:40:18+00:00","og_image":[{"width":2048,"height":881,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg","type":"image\/jpeg"}],"author":"Daniel Bull, Associate Solutions Engineer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Daniel Bull, Associate Solutions Engineer","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"},"author":{"name":"Daniel Bull, Associate Solutions Engineer","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/7f9d5e0c7963a172db12fb5e5e2583e1"},"headline":"VPC Peering with Capella and AWS &#8211; a Walkthrough","datePublished":"2022-04-25T15:01:01+00:00","dateModified":"2025-06-14T03:40:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"},"wordCount":1372,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg","keywords":["Amazon Web Services (AWS)","Cloud-Native Database","EC2","VPC","VPC Peering"],"articleSection":["Couchbase Capella","Couchbase Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/","url":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/","name":"VPC Peering: A Walkthrough with Capella and AWS | Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg","datePublished":"2022-04-25T15:01:01+00:00","dateModified":"2025-06-14T03:40:18+00:00","description":"Setting up VPC Peering requires a small amount of work on both sides of the network. This is an easy step-by-step walkthrough for the first-time user.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/01\/partner-engage-3-copy.jpg","width":2048,"height":881,"caption":"VPC Peering - AWS and Couchbase Capella cluster"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"VPC Peering with Capella and AWS &#8211; a Walkthrough"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/7f9d5e0c7963a172db12fb5e5e2583e1","name":"Daniel Bull, Associate Solutions Engineer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/1a793e281f03204d89cd07cc2163a58e","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg","caption":"Daniel Bull, Associate Solutions Engineer"},"description":"Daniel Bull is an Associate Solutions Engineer at Couchbase","sameAs":["https:\/\/www.linkedin.com\/in\/daniel-bull-00a102b5\/"],"url":"https:\/\/www.couchbase.com\/blog\/author\/daniel-bull\/"}]}},"authors":[{"term_id":9167,"user_id":74466,"is_guest":0,"slug":"daniel-bull","display_name":"Daniel Bull, Associate Solutions Engineer","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/07\/daniel-bull-couchbase-engineering.jpeg"},"author_category":"","last_name":"Bull","first_name":"Daniel","job_title":"","user_url":"","description":"Daniel Bull is an Associate Solutions Engineer at Couchbase"}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/74466"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=13123"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13123\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/4513"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=13123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=13123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=13123"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=13123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}