{"id":2185,"date":"2022-04-25T08:01:01","date_gmt":"2022-04-25T15:01:01","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"},"modified":"2022-04-25T08:01:01","modified_gmt":"2022-04-25T15:01:01","slug":"vpc-peering-capella-aws","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/vpc-peering-capella-aws\/","title":{"rendered":"VPC Peering with Capella and AWS &#8211; a Walkthrough"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\"><span>Setting up <\/span><b>VPC Peering <\/b><span>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>website<\/span><\/a><span>. 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\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Creating a Couchbase Capella cluster on AWS<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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>cloud.couchbase.com<\/span><\/a><span> and either sign up for a free trial or launch a new cluster with whichever specifications you need.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\"><span>Next, the CIDR Block of your deployed cluster <\/span><i><span>MUST be different <\/span><\/i><span>from the AWS VPC. Take note of the CIDR block <\/span><i><span>before you click<\/span><\/i> <b>Deploy<\/b><span>. If your AWS VPC already exists with a CIDR block, you can customize Capella to avoid duplication.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13124\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws1-1024x431-1.jpg\" alt=\"VPC peering setting CIDR block before deploy\" width=\"900\" height=\"379\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Creating a VPC in AWS<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\"><span>Head over to the <\/span><b>VPC <\/b><span>section of the AWS management console and select <\/span><b>Create VPC.<\/b><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>VPS setting requirements for Couchbase Capella on AWS<\/b><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>VPC must exist in the same region as your Capella Cluster<\/span><\/li>\n\n\n<li><span>VPC requires a public subnet<\/span><\/li>\n\n\n<li><span>IPv4 CIDR Block must be different from the Capella Cluster<\/span><\/li>\n\n\n<li><span>DNS Hostnames must be enabled<\/span><\/li>\n\n\n<li><span>DNS Resolution must be enabled<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span>For an example deployment, you can see the configuration I have created below.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13141\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image_2022-04-22_220819438.png\" alt=\"creating a vpc in aws\" width=\"852\" height=\"780\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Creating an EC2 instance in your VPC<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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>documentation<\/span><\/a><span>.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Head over to the <\/span><b>EC2<\/b><span> section of the AWS Management Console and select <\/span><b>Launch Instance.<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>We choose the <\/span><i><span>Amazon Linux<\/span><\/i><span> image for this example.<\/span><\/li>\n\n\n<li><span>Select an appropriate <\/span><i><span>Instance Type<\/span><\/i><span>.<\/span><\/li>\n\n\n<li><span>Create a new <\/span><i><span>Key Pair<\/span><\/i><span> and download it, or select an existing credential if you have one that already exists.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13128\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws5.jpg\" alt=\"Creating an EC2 instance in your VPC\" width=\"657\" height=\"824\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Ensure that you select the VPC that has been created.<\/span><\/li>\n\n\n<li><span>Choose a PUBLIC subnet from that VPC.<\/span><\/li>\n\n\n<li><span>Enable <\/span><i><span>Auto-Assign IP Address<\/span><\/i><span>.<\/span><\/li>\n\n\n<li><span>Add a new <\/span><i><span>Custom TCP Rule <\/span><\/i><span>in <\/span><i><span>Security Groups<\/span><\/i><span> for Port Range 8091. Unencrypted connections to the Couchbase Server for Administration traffic use this port.<\/span><\/li>\n\n\n<li><span>Create or select a <\/span><i><span>Key Pair<\/span><\/i><span>, allowing you access to the machine when it has been created.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13127\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws4.jpg\" alt=\"Setting up VPC network and key pair in EC2\" width=\"531\" height=\"859\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Test the Connection to Couchbase (Public)<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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>nslookup<\/span><\/i><span> to see that private networking has been properly configured.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>After downloading the <\/span><i><span>Key Pair, <\/span><\/i><span>modify the <\/span><i><span>.pem<\/span><\/i><span> file permissions with the <\/span><i><span>chmod<\/span><\/i><span> command:<\/span>\n<ul>\n<li><i><span>chmod 400 mykeypair.pem<\/span><\/i><\/li>\n<\/ul>\n<\/li>\n\n\n<li><span>Grab the public IPv4 address of your EC2 instance.<\/span><\/li>\n\n\n<li><span>SSH into the machine.<\/span>\n<ul>\n<li><i><span>ssh -i mykeypair.pem ec2-user@0.0.0.0<\/span><\/i><\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><i><\/i><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13130\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws7-1024x85-1.jpg\" alt=\"Setting permissions on PEM file\" width=\"900\" height=\"75\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Head over to the Capella Cluster\u2019s <\/span><b>Connect <\/b><span>tab and copy the DNS SRV record.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13129\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws6.jpg\" alt=\"Testing connection to Capella cluster\" width=\"821\" height=\"387\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Run <\/span><i><span>nslookup <\/span><\/i><span>on the Capella Cluster\u2019s SRV DNS record for a list of the hostnames<\/span>\n<ul>\n<li><em><span>nslookup -type=SRV _couchbases._tcp.cb.xxxxxxxxxxxxxxxx.cloud.couchbase.com<\/span><\/em><\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13132\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws9-1024x198-1.jpg\" alt=\"\" width=\"900\" height=\"174\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Run <\/span><i><span>nslookup <\/span><\/i><span>on one of the hostnames to view the (public) IP address that we are connecting to.<\/span>\n<ul>\n<li><em><span>nslookup xxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx.cloud.couchbase.com<\/span><\/em><\/li>\n<li><span>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\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13131\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws8-1024x216-1.jpg\" alt=\"\" width=\"900\" height=\"190\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Creating the peering connection<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<ul class=\"wp-block-list\">\n<li><span>Verify that DNS Hostname and DNS Resolution are enabled in your AWS VPC<\/span>\n<ul>\n<li><b>Actions &gt; Edit DNS Hostname<\/b><span> \u2013 Enabled<\/span><\/li>\n<li><b>Actions &gt; Edit DNS Resolution<\/b><span> \u2013 Enabled<\/span><\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13135\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws12-1024x222-1.jpg\" alt=\"Enabling DNS hostname and resolution in AWS VPC\" width=\"900\" height=\"195\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Within the Couchbase Capella Cluster, go to the <\/span><b>Connect<\/b><span> tab and select <\/span><b>Manage Private Networks &gt; Setup Private Network<\/b>\n<ul>\n<li><span>Check both requirements and continue.<\/span><\/li>\n<li><span>Fill out the information for your peering connection:<\/span>\n<ul>\n<li><span>A <\/span><i><span>Name <\/span><\/i><span>for the connection<\/span><\/li>\n<li><i><span>AWS Account ID <\/span><\/i><span>= Owner ID<\/span><\/li>\n<li><i><span>Virtual Network ID <\/span><\/i><span>= VPC ID<\/span><\/li>\n<li><i><span>Available Regions <\/span><\/i><span>= VPC Region<\/span><\/li>\n<li><i><span>CIDR Block <\/span><\/i><span>= IPv4 CIDR Block<\/span><\/li>\n<li><span>Click <\/span><b>Link <\/b><span>to start the connection<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13133\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws10.jpg\" alt=\"setup private network in capella\" width=\"876\" height=\"618\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>After clicking the <\/span><b>Link <\/b><span>button, Capella will configure and create a peering connection request to your AWS VPC.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>AWS VPC final configuration<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>To facilitate communication through the new private network, we need to configure a few settings in your AWS VPC.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Accept the Peering Request<\/b><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Go to <\/span><b>VPC &gt; Peering Connections <\/b><span>in AWS and find the <\/span><i><span>pending <\/span><\/i><span>connection<\/span> <span>from the Capella Cluster. It may take a few minutes to appear after you initiated the original link from Capella.<\/span><\/li>\n\n\n<li><span>Select <\/span><b>Actions &gt; Accept Request<\/b><span>.<\/span><\/li>\n\n\n<li><span>Take note of the <\/span><i><span>Peering Connection ID <\/span><\/i><span>and <\/span><i><span>Requester\u2019s CIDR Block <\/span><\/i><span>values.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13134\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws11-1024x472-1.jpg\" alt=\"Accepting peering requests in AWS\" width=\"900\" height=\"415\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Associate VPC with Hosted Zone<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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>here<\/span><\/a><span>). 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\n\n\n<ul class=\"wp-block-list\">\n<li><span>On the Capella Cluster, goto <\/span><b>Connect\u00a0 &gt; Private Networks<\/b><span>.<\/span><\/li>\n\n\n<li><span>Click on the private network that has just been set up.<\/span><\/li>\n\n\n<li><span>Copy the second command.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13136\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws13-1024x501-1.jpg\" alt=\"Associate VPC with Hosted Zone\" width=\"900\" height=\"440\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Paste the command onto a machine with the AWS CLI setup.<\/span><\/li>\n\n\n<li><span>Execute the command, which associates the hosted zones between the VPCs.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13137\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws14-1024x331-1.jpg\" alt=\"Commands to associate hosted zones between VPCs\" width=\"900\" height=\"291\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Modify the Route Tables<\/b><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Goto <\/span><b>VPC &gt; Route Tables<\/b><span> in AWS.<\/span><\/li>\n\n\n<li><span>For each of the Route Tables associated with your VPC, complete the following steps:<\/span>\n<ul>\n<li><b>Actions &gt; Edit Routes<\/b><\/li>\n<li><b>Add Route<\/b>\n<ul>\n<li><span>Paste the <\/span><i><span>Requester CIDR Block <\/span><\/i><span>from your peering request<\/span><\/li>\n<li><span>In the <\/span><i><span>Target <\/span><\/i><span>box, select <\/span><i><span>Peering Connection<\/span><\/i><\/li>\n<li><span>Select from the dropdown the value that matches your <\/span><i><span>Peering Connection ID<\/span><\/i><span>.<\/span><\/li>\n<li><b>Save Changes<\/b><span>.<\/span><\/li>\n<li><span>Repeat the process for other route tables in use.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13138\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws15-1024x278-1.jpg\" alt=\"Modifying route tables in AWS VPC\" width=\"900\" height=\"244\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Test the Connection to Couchbase (Private)<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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>nslookup <\/span><\/i><span>command on the same hostname we had executed in the <\/span><i><span>public <\/span><\/i><span>connection test.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13139\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws16-1024x258-1.jpg\" alt=\"\" width=\"900\" height=\"227\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>The response should show us that we are communicating to the <\/span><i><span>machine&#8217;s private IP address <\/span><\/i><span>instead of the p<\/span><i><span>ublic <\/span><\/i><span>one. This validates that DNS resolution is working correctly.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>To further validate this, we can check the network connectivity between the application node and the Capella cluster using <\/span><i><span>traceroute<\/span><\/i><span>.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13140\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/vpc-peering-couchbase-aws17-1024x100-1.png\" alt=\"Test connection to Couchbase with traceroute\" width=\"900\" height=\"88\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>What next?<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\"><span>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\n\n\n<p class=\"wp-block-paragraph\"><span>Access the following resources to learn more about Couchbase Capella and how to get the help you need:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Review the comprehensive <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/index.html\"><span>Capella documentation<\/span><\/a><span>.<\/span><\/li>\n\n\n<li><span>Ask questions on the <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/forums\/\"><span>Couchbase Forums<\/span><\/a><span>.<\/span><\/li>\n\n\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-on-discord\/\"><span>Join us on Discord<\/span><\/a><span> to collaborate with others.<\/span><\/li>\n\n\n<li><span>Get <\/span><a href=\"https:\/\/support.couchbase.com\"><span>official support for Couchbase products<\/span><\/a><span>.<\/span><\/li>\n\n<\/ul>","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 a private network is more challenging. The need to connect over a private network from [&hellip;]<\/p>\n","protected":false},"author":74466,"featured_media":2182,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"categories":[301,54],"tags":[419,465,548,549,550],"ppma_author":[551],"class_list":["post-2185","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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\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\/pt\/vpc-peering-capella-aws\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\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\/pt\/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=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/partner-engage-3-copy-1.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 minutos\" \/>\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\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/vpc-peering-capella-aws\\\/\"},\"wordCount\":1362,\"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\\\/5\\\/2026\\\/05\\\/partner-engage-3-copy-1.jpg\",\"keywords\":[\"Amazon Web Services (AWS)\",\"Cloud-Native Database\",\"EC2\",\"VPC\",\"VPC Peering\"],\"articleSection\":[\"Couchbase Capella\",\"Couchbase Server\"],\"inLanguage\":\"pt-BR\",\"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\\\/5\\\/2026\\\/05\\\/partner-engage-3-copy-1.jpg\",\"datePublished\":\"2022-04-25T15:01:01+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\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/vpc-peering-capella-aws\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/vpc-peering-capella-aws\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/partner-engage-3-copy-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/partner-engage-3-copy-1.jpg\",\"width\":2048,\"height\":881},{\"@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\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"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\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g233d7fde737490a2693c30c8ed8167f1\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g\",\"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\\\/pt\\\/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\/pt\/vpc-peering-capella-aws\/","og_locale":"pt_BR","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\/pt\/vpc-peering-capella-aws\/","og_site_name":"The Couchbase Blog","article_published_time":"2022-04-25T15:01:01+00:00","og_image":[{"width":2048,"height":881,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/partner-engage-3-copy-1.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 minutos"},"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","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"},"wordCount":1362,"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\/5\/2026\/05\/partner-engage-3-copy-1.jpg","keywords":["Amazon Web Services (AWS)","Cloud-Native Database","EC2","VPC","VPC Peering"],"articleSection":["Couchbase Capella","Couchbase Server"],"inLanguage":"pt-BR","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\/5\/2026\/05\/partner-engage-3-copy-1.jpg","datePublished":"2022-04-25T15:01:01+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":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/partner-engage-3-copy-1.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/partner-engage-3-copy-1.jpg","width":2048,"height":881},{"@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":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","width":"1024","height":"1024","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":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g233d7fde737490a2693c30c8ed8167f1","url":"https:\/\/secure.gravatar.com\/avatar\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/08ed19d9416e94568ff47ec55a9738dfa0b3a89c3e6578105d0d7135f48032ef?s=96&d=mm&r=g","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\/pt\/author\/daniel-bull\/"}]}},"acf":[],"authors":[{"term_id":551,"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\/5\/2026\/05\/daniel-bull-couchbase-engineering-1.jpeg","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/daniel-bull-couchbase-engineering-1.jpeg"},"author_category":"","first_name":"Daniel","last_name":"Bull","user_url":"","job_title":"","description":"Daniel Bull is an Associate Solutions Engineer at Couchbase"}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/74466"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=2185"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2185\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/2182"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=2185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=2185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=2185"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=2185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}