{"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\/es\/vpc-peering-capella-aws\/","title":{"rendered":"VPC Peering con Capella y AWS - un recorrido"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Una de las preguntas m\u00e1s frecuentes que recibimos de los nuevos usuarios del cl\u00faster Couchbase Capella es c\u00f3mo configurar y conectarse al servicio totalmente gestionado. La comunicaci\u00f3n entre su aplicaci\u00f3n y el cl\u00faster alojado en Internet es trivial, pero la conexi\u00f3n a trav\u00e9s de una red privada es m\u00e1s dif\u00edcil. La necesidad de conectarse a trav\u00e9s de una red privada desde su VPC de AWS a la VPC de Couchbase ser\u00e1 cada vez m\u00e1s cr\u00edtica para las aplicaciones de misi\u00f3n cr\u00edtica de alto rendimiento.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Puesta en marcha <\/span><b>VPC Peering <\/b><span style=\"font-weight: 400\">requiere una peque\u00f1a cantidad de trabajo en ambos lados de la red. Existe documentaci\u00f3n detallada en el sitio web de Couchbase <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/clouds\/private-network.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">sitio web<\/span><\/a><span style=\"font-weight: 400\">. Sin embargo, esperamos que esta gu\u00eda paso a paso haga las cosas un poco m\u00e1s f\u00e1ciles para el usuario novato. Partiremos de no tener ninguna de las dos VPC configuradas y construiremos desde cero. Es comprensible que la VPC de una aplicaci\u00f3n ya est\u00e9 configurada y no siga todos estos pasos, pero el recorrido deber\u00eda al menos darte una idea del proceso.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Creaci\u00f3n de un cl\u00faster Couchbase Capella en AWS<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Idealmente, la gente ya tendr\u00eda experiencia en la creaci\u00f3n de una base de datos Couchbase Capella en este punto. Si no, dir\u00edgete a <\/span><a href=\"https:\/\/cloud.couchbase.com\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">nube.couchbase.com<\/span><\/a><span style=\"font-weight: 400\"> y suscr\u00edbete a una prueba gratuita o crea un nuevo cl\u00faster con las especificaciones que necesites.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Hay dos aspectos esenciales a tener en cuenta a la hora de crear tu cluster. En primer lugar, la regi\u00f3n en la que despliegues tu cl\u00faster debe coincidir con la regi\u00f3n de AWS VPS que est\u00e9s utilizando.<\/span><\/p>\n<p><span style=\"font-weight: 400\">A continuaci\u00f3n, el bloque CIDR de su cl\u00faster desplegado <\/span><i><span style=\"font-weight: 400\">DEBE ser diferente <\/span><\/i><span style=\"font-weight: 400\">de la VPC de AWS. Tome nota del bloque CIDR <\/span><i><span style=\"font-weight: 400\">antes de pulsar<\/span><\/i> <b>Despliegue<\/b><span style=\"font-weight: 400\">. Si su AWS VPC ya existe con un bloque CIDR, puede personalizar Capella para evitar la duplicaci\u00f3n.<\/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\">Creaci\u00f3n de una VPC en AWS<\/span><\/h2>\n<p><span style=\"font-weight: 400\">En este tutorial crearemos una nueva VPC desde cero; sin embargo, como ya hemos dicho, es posible que su VPC ya exista. Si es as\u00ed, aseg\u00farese de que sigue estas directrices.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Visite la p\u00e1gina <\/span><b>VPC <\/b><span style=\"font-weight: 400\">de la consola de administraci\u00f3n de AWS y seleccione <\/span><b>Crear VPC.<\/b><\/p>\n<h3><b>Requisitos de configuraci\u00f3n de VPS para Couchbase Capella en 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\">La VPC debe existir en la misma regi\u00f3n que su Cluster Capella<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">VPC requiere una subred p\u00fablica<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">El Bloque CIDR IPv4 debe ser diferente del Cluster Capella<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Los nombres de host DNS deben estar activados<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">La resoluci\u00f3n DNS debe estar activada<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Para un ejemplo de despliegue, puede ver la configuraci\u00f3n que he creado a continuaci\u00f3n.<\/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\">Creaci\u00f3n de una instancia EC2 en su VPC<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Antes de elegir una instancia EC2 adecuada, revise las especificaciones recomendadas y las pr\u00e1cticas recomendadas para las configuraciones de servidor en el documento Couchbase <\/span><a href=\"https:\/\/docs.couchbase.com\/server\/current\/install\/pre-install.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">documentaci\u00f3n<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Visite la p\u00e1gina <\/span><b>CE2<\/b><span style=\"font-weight: 400\"> de la consola de administraci\u00f3n de AWS y seleccione <\/span><b>Instancia de lanzamiento.<\/b><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Elegimos el <\/span><i><span style=\"font-weight: 400\">Amazon Linux<\/span><\/i><span style=\"font-weight: 400\"> para este ejemplo.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Seleccione un <\/span><i><span style=\"font-weight: 400\">Tipo de instancia<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Crear un nuevo <\/span><i><span style=\"font-weight: 400\">Par de llaves<\/span><\/i><span style=\"font-weight: 400\"> y desc\u00e1rguela, o seleccione una credencial existente si ya tiene una.<\/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\">Aseg\u00farese de seleccionar la VPC que se ha creado.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Elija una subred P\u00daBLICA de esa VPC.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Activar <\/span><i><span style=\"font-weight: 400\">Asignaci\u00f3n autom\u00e1tica de direcci\u00f3n IP<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">A\u00f1adir un nuevo <\/span><i><span style=\"font-weight: 400\">Regla TCP personalizada <\/span><\/i><span style=\"font-weight: 400\">en <\/span><i><span style=\"font-weight: 400\">Grupos de seguridad<\/span><\/i><span style=\"font-weight: 400\"> para el rango de puertos 8091. Las conexiones no cifradas al servidor Couchbase para el tr\u00e1fico de administraci\u00f3n utilizan este puerto.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Cree o seleccione un <\/span><i><span style=\"font-weight: 400\">Par de llaves<\/span><\/i><span style=\"font-weight: 400\">, lo que le permitir\u00e1 acceder a la m\u00e1quina una vez creada.<\/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>Probar la conexi\u00f3n a Couchbase (p\u00fablica)<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Podemos comprobar que tenemos acceso p\u00fablico al cluster una vez desplegada la instancia EC2. M\u00e1s tarde, podemos comparar la direcci\u00f3n IP que recibimos de <\/span><i><span style=\"font-weight: 400\">nslookup<\/span><\/i><span style=\"font-weight: 400\"> para comprobar que la red privada se ha configurado correctamente.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tras descargar el <\/span><i><span style=\"font-weight: 400\">Par de llaves, <\/span><\/i><span style=\"font-weight: 400\">modificar el <\/span><i><span style=\"font-weight: 400\">.pem<\/span><\/i><span style=\"font-weight: 400\"> permisos de archivo con el <\/span><i><span style=\"font-weight: 400\">chmod<\/span><\/i><span style=\"font-weight: 400\"> mando:<\/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\">Obtenga la direcci\u00f3n IPv4 p\u00fablica de su instancia EC2.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">SSH en la m\u00e1quina.<\/span>\n<ul>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">ssh -i mipareclave.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\">Dir\u00edjase a Capella Cluster's <\/span><b>Conectar <\/b><span style=\"font-weight: 400\">y copie el registro DNS SRV.<\/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\">Ejecutar <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">en el registro DNS SRV del cl\u00faster Capella para obtener una lista de los nombres de host<\/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\">Ejecutar <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">en uno de los nombres de host para ver la direcci\u00f3n IP (p\u00fablica) a la que nos estamos conectando.<\/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\">Tome nota de esta direcci\u00f3n IP p\u00fablica, debe cambiar cuando VPC Peering se ha configurado y estamos utilizando 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\">Creaci\u00f3n de la conexi\u00f3n igualitaria<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Muchos de los pasos anteriores son precursores de la preparaci\u00f3n de redes privadas. En el mundo real, es probable que ya tengas clusters e instancias EC2 en funcionamiento. En ese caso, sigue los pasos a partir de aqu\u00ed. Sin embargo, merece la pena comprobar tu configuraci\u00f3n con los pasos anteriores para asegurarte de que todo lo necesario est\u00e1 configurado.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Compruebe que el nombre de host DNS y la resoluci\u00f3n DNS est\u00e1n habilitados en su VPC de AWS<\/span>\n<ul>\n<li style=\"font-weight: 400\"><b>Acciones &gt; Editar nombre de host DNS<\/b><span style=\"font-weight: 400\"> - Activado<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Acciones &gt; Editar resoluci\u00f3n DNS<\/b><span style=\"font-weight: 400\"> - Activado<\/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\">En el cl\u00faster Couchbase Capella, vaya a la secci\u00f3n <\/span><b>Conectar<\/b><span style=\"font-weight: 400\"> y seleccione <\/span><b>Gesti\u00f3n de Redes Privadas &gt; Configurar Red Privada<\/b>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Compruebe ambos requisitos y contin\u00fae.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Rellene la informaci\u00f3n de su conexi\u00f3n igualitaria:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">A <\/span><i><span style=\"font-weight: 400\">Nombre <\/span><\/i><span style=\"font-weight: 400\">para la conexi\u00f3n<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">ID de cuenta AWS <\/span><\/i><span style=\"font-weight: 400\">= ID de propietario<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">ID de red virtual <\/span><\/i><span style=\"font-weight: 400\">= ID DE VPC<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">Regiones disponibles <\/span><\/i><span style=\"font-weight: 400\">= Regi\u00f3n VPC<\/span><\/li>\n<li style=\"font-weight: 400\"><i><span style=\"font-weight: 400\">Bloque CIDR <\/span><\/i><span style=\"font-weight: 400\">= Bloque CIDR IPv4<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Haga clic en <\/span><b>Enlace <\/b><span style=\"font-weight: 400\">para iniciar la conexi\u00f3n<\/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\">Despu\u00e9s de pulsar el bot\u00f3n <\/span><b>Enlace <\/b><span style=\"font-weight: 400\">Capella configurar\u00e1 y crear\u00e1 una solicitud de conexi\u00f3n de peering a su AWS VPC.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Configuraci\u00f3n final de AWS VPC<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Para facilitar la comunicaci\u00f3n a trav\u00e9s de la nueva red privada, necesitamos configurar algunos ajustes en tu AWS VPC.<\/span><\/p>\n<h3><b>Aceptar la solicitud de interconexi\u00f3n<\/b><\/h3>\n<ol>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ir a <\/span><b>VPC &gt; Conexiones Peering <\/b><span style=\"font-weight: 400\">en AWS y encontrar el <\/span><i><span style=\"font-weight: 400\">pendiente <\/span><\/i><span style=\"font-weight: 400\">conexi\u00f3n<\/span> <span style=\"font-weight: 400\">desde el Cluster Capella. Puede tardar unos minutos en aparecer despu\u00e9s de haber iniciado el enlace original desde Capella.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Seleccione <\/span><b>Acciones &gt; Aceptar solicitud<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tome nota del <\/span><i><span style=\"font-weight: 400\">ID de conexi\u00f3n de peering <\/span><\/i><span style=\"font-weight: 400\">y <\/span><i><span style=\"font-weight: 400\">Bloque CIDR del solicitante <\/span><\/i><span style=\"font-weight: 400\">valores.<\/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>Asociar VPC con Zona Alojada<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Para el siguiente paso, utilice la herramienta CLI de AWS (encontrar\u00e1 consejos sobre c\u00f3mo configurarla en su equipo local <\/span><a href=\"https:\/\/aws.amazon.com\/cli\/\"><span style=\"font-weight: 400\">aqu\u00ed<\/span><\/a><span style=\"font-weight: 400\">). Aseg\u00farese de configurar la CLI de AWS para utilizar las credenciales de un usuario de AWS Identity and Access Management (IAM) que tenga acceso a Route 53.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">En el Cluster Capella, vaya a <\/span><b>Conectar &gt; Redes privadas<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Haga clic en la red privada que acaba de configurar.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Copia el segundo comando.<\/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\">Pega el comando en una m\u00e1quina con la configuraci\u00f3n de la CLI de AWS.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ejecute el comando, que asocia las zonas alojadas entre las VPC.<\/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>Modificar las tablas de rutas<\/b><\/h3>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ir a <\/span><b>VPC &gt; Tablas de rutas<\/b><span style=\"font-weight: 400\"> en AWS.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Para cada una de las Tablas de Ruta asociadas con su VPC, complete los siguientes pasos:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><b>Acciones &gt; Editar rutas<\/b><\/li>\n<li style=\"font-weight: 400\"><b>A\u00f1adir ruta<\/b>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Pegue el <\/span><i><span style=\"font-weight: 400\">Bloque CIDR del solicitante <\/span><\/i><span style=\"font-weight: 400\">de su solicitud de interconexi\u00f3n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">En el <\/span><i><span style=\"font-weight: 400\">Objetivo <\/span><\/i><span style=\"font-weight: 400\">seleccione <\/span><i><span style=\"font-weight: 400\">Conexi\u00f3n igualitaria<\/span><\/i><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Seleccione en el desplegable el valor que corresponda a su <\/span><i><span style=\"font-weight: 400\">ID de conexi\u00f3n de peering<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Guardar cambios<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Repita el proceso para otras tablas de rutas en uso.<\/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\">Probar la conexi\u00f3n a Couchbase (Privado)<\/span><\/h2>\n<p><span style=\"font-weight: 400\">En este punto, el VPC Peering est\u00e1 configurado con \u00e9xito entre el Cluster Couchbase y tu AWS VPC. Para verificar que tu instancia EC2 est\u00e1 ahora hablando en privado con el cluster, vuelve a ejecutar el comando <\/span><i><span style=\"font-weight: 400\">nslookup <\/span><\/i><span style=\"font-weight: 400\">en el mismo nombre de host que hab\u00edamos ejecutado en el comando <\/span><i><span style=\"font-weight: 400\">p\u00fablico <\/span><\/i><span style=\"font-weight: 400\">prueba de conexi\u00f3n.<\/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\">La respuesta debe mostrarnos que estamos comunicando al <\/span><i><span style=\"font-weight: 400\">direcci\u00f3n IP privada de la m\u00e1quina <\/span><\/i><span style=\"font-weight: 400\">en lugar del p<\/span><i><span style=\"font-weight: 400\">\u00fablico <\/span><\/i><span style=\"font-weight: 400\">uno. Esto valida que la resoluci\u00f3n DNS funciona correctamente.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Para validar esto a\u00fan m\u00e1s, podemos comprobar la conectividad de red entre el nodo de aplicaci\u00f3n y el cl\u00faster Capella utilizando <\/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\">Si la respuesta es r\u00e1pida y satisfactoria, podemos estar seguros de que el enrutamiento est\u00e1 configurado correctamente, ya que tocamos el puerto cifrado de Couchbase.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">\u00bfY ahora qu\u00e9?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hemos cubierto varios pasos para configurar el cl\u00faster y AWS antes de sumergirnos en el peering de la VPC. Si ya has configurado el cl\u00faster y AWS, solo tendr\u00e1s que seguir las \u00faltimas secciones que hemos compartido anteriormente.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Este post cubre uno de los muchos enfoques para el peering de VPC. Dado que cada persona tiene diferentes entornos AWS y restricciones, puede haber otras cuestiones que abordar en su caso de uso particular. Esperemos que esto le ayude a empezar en su b\u00fasqueda de VPC Peering en el futuro.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Acceda a los siguientes recursos para obtener m\u00e1s informaci\u00f3n sobre Couchbase Capella y c\u00f3mo obtener la ayuda que necesita:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Revisar el exhaustivo <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/index.html\"><span style=\"font-weight: 400\">Documentaci\u00f3n de Capella<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Haga preguntas sobre el <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/es\/forums\/\"><span style=\"font-weight: 400\">Foros de Couchbase<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/es\/couchbase-on-discord\/\"><span style=\"font-weight: 400\">\u00danase a nosotros en Discord<\/span><\/a><span style=\"font-weight: 400\"> colaborar con los dem\u00e1s.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Visite <\/span><a href=\"https:\/\/support.couchbase.com\"><span style=\"font-weight: 400\">soporte oficial para productos Couchbase<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ul>\n<\/li>\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 [&hellip;]<\/p>","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 v26.0 (Yoast SEO v26.0) - 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\/es\/vpc-peering-capella-aws\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\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\/es\/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 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\",\"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\":\"es\",\"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\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@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\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@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\":\"es\",\"@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\/es\/author\/daniel-bull\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"VPC Peering: A Walkthrough with Capella and AWS | Couchbase","description":"Configurar VPC Peering requiere una peque\u00f1a cantidad de trabajo en ambos lados de la red. Este es un sencillo paso a paso para el usuario novato.","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\/es\/vpc-peering-capella-aws\/","og_locale":"es_MX","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\/es\/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 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","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":"es","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":"Configurar VPC Peering requiere una peque\u00f1a cantidad de trabajo en ambos lados de la red. Este es un sencillo paso a paso para el usuario novato.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/vpc-peering-capella-aws\/"]}]},{"@type":"ImageObject","inLanguage":"es","@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":"El blog de Couchbase","description":"Couchbase, la base de datos NoSQL","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":"es"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"El blog de Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@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, Ingeniero de soluciones asociado","image":{"@type":"ImageObject","inLanguage":"es","@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 es Ingeniero de Soluciones Asociado en Couchbase","sameAs":["https:\/\/www.linkedin.com\/in\/daniel-bull-00a102b5\/"],"url":"https:\/\/www.couchbase.com\/blog\/es\/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 es Ingeniero de Soluciones Asociado en Couchbase"}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts\/13123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/users\/74466"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/comments?post=13123"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts\/13123\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/media\/4513"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/media?parent=13123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/categories?post=13123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/tags?post=13123"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/ppma_author?post=13123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}