-
Notifications
You must be signed in to change notification settings - Fork 465
Jira DOC-564: RS - Clarify how to enable public/private IP support #1611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
51 changes: 20 additions & 31 deletions
51
...nt/rs/administering/designing-production/networking/private-public-endpoints.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,41 @@ | ||
--- | ||
title: Private and Public Endpoints on Redis Enterprise Software | ||
description: | ||
linkTitle: Public and private endpoints | ||
description: Describes how to enable public and private endpoints for databases on a cluster. | ||
weight: $weight | ||
alwaysopen: false | ||
categories: ["RS"] | ||
--- | ||
The cluster can be configured to support both private and public IPs to | ||
connect to database endpoints through both public and private networks. | ||
The cluster can be configured to enable both access using private and public networks. | ||
|
||
In certain environments, and especially in cloud platforms, an instance | ||
can have both: | ||
|
||
- A private IP address that can be used only from within the internal | ||
network | ||
- Public IP addresses that can be used from the public network | ||
(Internet) | ||
- A private IP address available only within the internal network | ||
|
||
In this case, it is possible to configure Redis Enterprise Software to | ||
expose two sets of database endpoints in order to connect to the | ||
database through both the private and the public IP addresses. | ||
- Public IP addresses accessible from the Internet (public network) | ||
|
||
By default, Redis Enterprise Software databases expose a single endpoint. | ||
|
||
You can configure Redis Enterprise Software clusters to expose two endpoints. | ||
|
||
To enable this configuration you need to: | ||
|
||
- Make sure that the IPs are already bound to the server/instance. | ||
- Enable private and public endpoint support when the cluster is created, or | ||
use rladmin to enable support for an existing cluster. | ||
- Configure public IP of the machine to be used for external traffic | ||
in the node configuration. | ||
- Configure private IP to be used for both internal and external | ||
traffic in the node configuration so it can be used for private | ||
database endpoints. | ||
- Make sure that the IP addresses are already bound to the server/instance. | ||
|
||
Once this configuration is in place, both sets of endpoints are | ||
available for the databases in the cluster. | ||
- Select the **Enable private and public endpoint support** setting when creating the cluster. | ||
|
||
## Modifying an existing cluster | ||
This setting is available when you set up a cluster. It appears in the **Cluster configuration** section of the **Node configuration** screen. | ||
|
||
You can enable it by using the ***rladmin suffix add*** command. | ||
{{<image filename="images/rs/node-configuration-endpoint-support.png" alt="The endpoint support setting appears in the **Cluster configuration section** of the **Node configuration** screen." >}}{{< /image >}} | ||
|
||
To add an internal FQDN/IP to a cluster: | ||
If this setting is not enabled when the cluster is created, databases on the cluster support only a single endpoint. | ||
|
||
```sh | ||
rladmin suffix add name <internal.clustername.domain.com> internal | ||
``` | ||
- Configure the public IP of the machine to be used for external traffic | ||
in the node configuration. | ||
|
||
To add an internal FQDN/IP to a cluster, but signal to the cluster there | ||
is slave for DNS: | ||
- Configure private IP to be used for both internal and external | ||
traffic in the node configuration so it can be used for private | ||
database endpoints. | ||
|
||
```sh | ||
rladmin suffix add name <internal.clustername.domain.com> internal slave 10.0.1.1 | ||
``` | ||
When you finish, both sets of endpoints are available for databases in the cluster. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.