{
  "schema_version": 3,
  "id": "operate/ultra/networking",
  "title": "Networks and VPC peering",
  "url": "https://redis.io/docs/latest/operate/ultra/networking/",
  "summary": "Create the network your databases run in, and peer it with a VPC in your AWS account.",
  "tags": [
    "docs",
    "operate",
    "ultra"
  ],
  "last_updated": "2026-11-30T14:50:39-08:00",
  "page_type": "content",
  "content_hash": "d9bae804e474f35bf842f6668b0d4631195e0ec32db2dbafce82dd283bce6e41",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "A network is a cloud, a region, and a Classless Inter-Domain Routing (CIDR) block that your databases run in. All the projects in your account share it. To reach your databases from a virtual private cloud (VPC) in your Amazon Web Services (AWS) account, peer the network with that VPC.\n\nYour account can have up to two networks during the preview."
    },
    {
      "id": "create-a-network",
      "title": "Create a network",
      "role": "content",
      "text": "The console creates a network for you the first time you create a database. To create one yourself:\n\n1. In the [Ultra console](https://cloud.redis.io/#/ultra), select **Networking**, then select **Create network**.\n1. Select a **Cloud vendor** and **Region**.\n1. Under **Allowed availability zones**, keep **No preference**, or select **Manual selection** and select the **Zone IDs**.\n1. Optional: enter a **Network name**. Use up to 64 letters, digits, spaces, hyphens, or underscores, starting and ending with a letter or digit.\n1. Optional: enter a **Deployment CIDR**. Leave it empty to have one assigned.\n1. Select **Create network**.\n\n\n\nA network with an assigned CIDR block is usually ready in seconds. A custom CIDR block takes 10 to 20 minutes to set up."
    },
    {
      "id": "deployment-cidr-rules",
      "title": "Deployment CIDR rules",
      "role": "content",
      "text": "A custom **Deployment CIDR** must be:\n\n- A /18 block, such as `10.0.0.0/18`. When you create the network from the database create page, enter the address only: the console adds `/18`.\n- In a private IPv4 range.\n- Aligned to its first address, such as `10.0.0.0`.\n\nYou can't change the CIDR block after the network is created. Choose one that doesn't overlap the VPCs you plan to peer with. The **CIDR** column on the **Networking** page shows the block a network uses."
    },
    {
      "id": "set-up-vpc-peering",
      "title": "Set up VPC peering",
      "role": "content",
      "text": "VPC peering connects the network to a VPC in your AWS account, so your applications can reach your databases' private endpoints. You can add VPC peering when the network's status is **Active**.\n\nBefore you begin, make sure your VPC has the `enableDnsHostnames` and `enableDnsSupport` attributes turned on, and that its CIDR block doesn't overlap the network's.\n\n1. Select **Networking**, then select the network.\n1. Select the **Attachments** tab, then select **Add VPC peering**.\n1. Enter your 12-digit **AWS account ID**.\n1. Enter the **VPC ID**, such as `vpc-0123456789abcdef0`.\n1. If the console shows **VPC region**, select your VPC's region.\n1. Enter the **VPC CIDR**: an IPv4 block from /16 to /28.\n1. Select **Add peering**.\n1. In your AWS account, accept the VPC peering request from Redis. The attachment shows **Provisioning** until you accept it and **Active** once the peering is up. If you reject the request or let it expire, the attachment fails.\n1. In your VPC's route tables, add a route to the network's CIDR block through the peering connection.\n1. Associate the database's private hosted zone with your VPC. Copy the **Private DNS hosted-zone ID** from the database's **Connectivity** tab, then run:\n\n    [code example]\n\n    Until you associate the zone, the private endpoint's name doesn't resolve from your VPC.\n\n\n\n\n\n\nYou can also set up VPC peering from the database's page: select **Set up VPC peering** in the database header. The console offers it when the database's AWS network has no VPC peering yet, and opens it for you after you create a database."
    },
    {
      "id": "remove-vpc-peering",
      "title": "Remove VPC peering",
      "role": "content",
      "text": "1. On the network's **Attachments** tab, open the menu on the peering's row and select **Remove**.\n1. Select **Remove** to confirm. Applications that use the peering lose access to the network's databases.\n\nYou can't remove VPC peering while the network has databases. Delete the databases first."
    },
    {
      "id": "rename-or-delete-a-network",
      "title": "Rename or delete a network",
      "role": "content",
      "text": "To rename a network, select **Rename** from its menu on the **Networking** page.\n\nTo delete a network, select **Delete** from its menu. You can't delete a network that still has databases. Delete them first."
    }
  ],
  "examples": [
    {
      "id": "set-up-vpc-peering-ex0",
      "language": "sh",
      "code": "aws route53 associate-vpc-with-hosted-zone \\\n      --hosted-zone-id <hosted-zone-id> \\\n      --vpc VPCRegion=<your-vpc-region>,VPCId=<your-vpc-id>",
      "section_id": "set-up-vpc-peering"
    }
  ]
}
