|
2 | 2 | :description: Guidelines for choosing CIDR ranges when VPC peering. |
3 | 3 | :page-aliases: deploy:deployment-option/cloud/cidr-ranges.adoc |
4 | 4 |
|
5 | | -Choosing Classless Inter-Domain Routing (CIDR) ranges is an essential part of the VPC peering process, required to ensure that data can transfer successfully between Redpanda and your cloud provider. Redpanda supports the RFC 1918 standard for IP addresses. RFC 1918 addresses are used in private networks, which are not available, or reachable, from the internet. |
| 5 | +Choosing appropriate Classless Inter-Domain Routing (CIDR) ranges is essential for successful VPC peering between Redpanda and your cloud provider. Redpanda uses RFC 1918 private IP address ranges, which are not accessible from the internet. |
6 | 6 |
|
7 | | -NOTE: These are general recommendations for choosing a CIDR range to peer. If you have a complex networking setup, work with a networking engineer to identify the Redpanda CIDRs that do not conflict with your existing VPCs. |
| 7 | +NOTE: These guidelines provide general recommendations for choosing non-conflicting CIDR ranges. If you have a complex networking setup, work with a networking engineer to identify Redpanda CIDRs that won't conflict with your existing VPCs. |
8 | 8 |
|
9 | 9 | == Prerequisites |
10 | 10 |
|
11 | | -* *VPC network*: Before setting up a peering connection in Redpanda Cloud, you must have another VPC to which Redpanda can connect. If you do not already have a network, create one in your cloud provider. |
| 11 | +* *VPC or virtual network (VNet)*: Before setting up a peering connection in Redpanda Cloud, you must have another VPC or VNet to which Redpanda can connect. If you do not already have a network, create one in your cloud provider. |
12 | 12 | * *Matching region*: VPC peering connections can only be established between networks created in the _same region_. Redpanda Cloud does not support inter-region VPC peering connections. |
13 | 13 |
|
14 | | -TIP: Consider adding an `rp-` prefix to the VPC name to indicate that the VPC is for deploying a Redpanda cluster. |
| 14 | +TIP: Consider adding an `rp-` prefix to the VPC or VNet name to indicate that it is for deploying a Redpanda cluster. |
15 | 15 |
|
16 | 16 | == What are CIDRs? |
17 | 17 |
|
18 | 18 | The following CIDR ranges are a critical part of Redpanda's BYOC configuration: |
19 | 19 |
|
20 | | -* Your existing (client) VPC CIDR |
| 20 | +* Your existing (client) VPC/VNet CIDR |
21 | 21 | * Your Redpanda cluster CIDR |
22 | 22 |
|
23 | 23 | It is important to ensure that these ranges do not overlap when setting up VPC peering. |
24 | 24 |
|
25 | 25 | == Choose the CIDR ranges |
26 | 26 |
|
27 | | -To choose a range for Redpanda, you must know your VPC CIDR: |
| 27 | +To choose a range for Redpanda, you must know your VPC/VNet CIDR: |
28 | 28 |
|
29 | 29 | * In AWS, find it in the VPC area of the AWS Management Console, labeled *IPv4 CIDRs*. |
30 | | -* In GCP, find it in the Details view of your VPC, and labeled *Internal IP Ranges*. |
| 30 | +* In Azure, find it in the Essentials view of your virtual network, labeled *Address space*. |
| 31 | +* In GCP, find it in the Details view of your VPC, labeled *Internal IP Ranges*. |
31 | 32 |
|
32 | 33 | You can check which IPs this range encompasses by using either the https://www.linux.com/topic/networking/how-calculate-network-addresses-ipcalc/[ipcalc^] command in your terminal or the https://www.ipaddressguide.com/cidr[CIDR calculation tool^]. For example, if your client's CIDR range is 10.0.0.0/20, run: |
33 | 34 |
|
@@ -60,9 +61,9 @@ A limited set of examples that work with `10.0.0.0/20` are `10.8.0.0/20`, `10.0. |
60 | 61 |
|
61 | 62 | Ranges like `10.0.0.6/20`, `10.0.8.0/20`, or `10.0.1.7/20` would not work. You can use http://trk.free.fr/ipcalc/tools.html[ipcalc^] to check for overlapping IPs. |
62 | 63 |
|
63 | | -== Multi-VPC example |
| 64 | +== Multi-VPC/VNet example |
64 | 65 |
|
65 | | -If you have many IP ranges allocated in a complex system, seek guidance from a network engineer who can help with IP allocation. Your Redpanda CIDR cannot overlap with any of your existing VPCs, nor can it overlap with the VPC you want to peer with. |
| 66 | +If you have many IP ranges allocated in a complex system, work with a network engineer who can help with IP allocation. Your Redpanda CIDR cannot overlap with any of your existing VPCs/VNets, nor can it overlap with the VPC/VNet you want to peer with. |
66 | 67 |
|
67 | 68 | Assume that the following example ranges are in use: |
68 | 69 |
|
|
0 commit comments