Skip to content

Commit

Permalink
[doc][ybm] Change ybdb.io to yugabyte.cloud (#25045)
Browse files Browse the repository at this point in the history
* change ybdb.io to yugabyte.cloud

* edit
  • Loading branch information
ddhodge authored Nov 21, 2024
1 parent 07db279 commit f28ea76
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ The following example shows how to build a connection string for connecting to a

```csharp
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.Require;
connStringBuilder.Username = "admin";
Expand All @@ -198,7 +198,7 @@ The following example shows how to build a connection string for connecting to a

```csharp
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.VerifyCA;
//or connStringBuilder.SslMode = SslMode.VerifyFull;
Expand Down
4 changes: 2 additions & 2 deletions docs/content/preview/drivers-orms/csharp/postgres-npgsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The following is an example connection string for connecting to YugabyteDB using

```csharp
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.VerifyFull;
connStringBuilder.RootCertificate = "/root.crt"; //Provide full path to your root CA.
Expand Down Expand Up @@ -215,7 +215,7 @@ namespace Yugabyte_CSharp_Demo
static void Main(string[] args)
{
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.VerifyFull;
connStringBuilder.RootCertificate = "/root.crt" //Provide full path to your root CA.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ The following example shows how to build a connection string for connecting to a
```csharp
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.Require;
connStringBuilder.Username = "admin";
Expand All @@ -194,7 +194,7 @@ The following example shows how to build a connection string for connecting to a
```csharp
var connStringBuilder = new NpgsqlConnectionStringBuilder();
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io";
connStringBuilder.Host = "22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud";
connStringBuilder.Port = 5433;
connStringBuilder.SslMode = SslMode.VerifyCA;
//or connStringBuilder.SslMode = SslMode.VerifyFull;
Expand Down
2 changes: 1 addition & 1 deletion docs/content/preview/drivers-orms/java/ycql-ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ For example:
```sh
$ java -cp "target/hello-world-1.0.jar:target/lib/*" \
com.yugabyte.sample.apps.YBCqlHelloWorld \
42424242-42d0-4c1a-b424-d42424ab2f42.aws.ybdb.io \
42424242-42d0-4c1a-b424-d42424ab2f42.aws.yugabyte.cloud \
src/main/resources/root.crt admin qwerty
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const fs = require('fs');
const config = {
user: 'admin',
database: 'yugabyte',
host: '22420e3a-768b-43da-8dcb-xxxxxx.aws.ybdb.io',
host: '22420e3a-768b-43da-8dcb-xxxxxx.aws.yugabyte.cloud',
password: 'xxxxxx',
port: 5433,
// this object will be passed to the TLSSocket constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ For example:
```javascript
async function createConnection(i){
const config = {
connectionString: "postgresql://admin:[email protected].ybdb.io:5433/yugabyte?loadBalance=true",
connectionString: "postgresql://admin:[email protected].yugabyte.cloud:5433/yugabyte?loadBalance=true",
ssl: {
rejectUnauthorized: true,
ca: fs.readFileSync('./root.crt').toString(),
servername: 'us-west1.5afd2054-c213-4e53-9ec6-d15de0f2dcc5.aws.ybdb.io',
servername: 'us-west1.5afd2054-c213-4e53-9ec6-d15de0f2dcc5.aws.yugabyte.cloud',
},
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To create or edit a PSE, do the following:

The endpoints are displayed with the following values:

- **Host** - The host name of the PSE. You use this to [connect to your cluster](../../../cloud-connect/connect-applications/). The host name of a PSE for AWS always ends in `aws.ybdb.io`.
- **Host** - The host name of the PSE. You use this to [connect to your cluster](../../../cloud-connect/connect-applications/). The host name of a PSE for AWS always ends in `aws.yugabyte.cloud`.
- **Service Name** - You use this service name when creating the private endpoint in AWS.

You can also create the PSEs during [cluster creation](../../create-clusters/).
Expand Down Expand Up @@ -108,7 +108,7 @@ To create a PSE, do the following:

Note the following values:

- **Host** - The host name of the PSE. You will use this to [connect to your cluster](../../../cloud-connect/connect-applications/). The host name of a PSE for AWS always ends in `aws.ybdb.io`.
- **Host** - The host name of the PSE. You will use this to [connect to your cluster](../../../cloud-connect/connect-applications/). The host name of a PSE for AWS always ends in `aws.yugabyte.cloud`.
- **Service Name** - You will use this service name when creating the private endpoint in AWS.

To delete a PSE, enter the following command:
Expand Down Expand Up @@ -163,7 +163,7 @@ To create an interface endpoint to connect to your cluster PSE, do the following
The initial endpoint status is _Pending_. After the link is validated, the status is _Available_. The private DNS name may take a few minutes to propagate before you can connect.
You can now connect to your cluster from your application in AWS using your cluster PSE host address (for example, `pse-us-west-2.65f14618-f86a-41c2-a8c6-7004edbb965a.aws.ybdb.io`).
You can now connect to your cluster from your application in AWS using your cluster PSE host address (for example, `pse-us-west-2.65f14618-f86a-41c2-a8c6-7004edbb965a.aws.yugabyte.cloud`).
### Use AWS CLI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ To be able to send [replication commands](https://www.postgresql.org/docs/11/pro
To do this, [connect to your cluster](../../cloud-connect/connect-client-shell/) using a client shell as you normally would, and add `replication=database` to the connection string. For example:
```sh
./ysqlsh "host=740ce33e-4242-4242-a424-cc4242c4242b.aws.ybdb.io \
./ysqlsh "host=740ce33e-4242-4242-a424-cc4242c4242b.aws.yugabyte.cloud \
user=admin \
dbname=yugabyte \
sslmode=verify-full \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Select **Connection String** to display the string that YSQL applications can us
Here's an example of a generated `ysqlsh` string:

```sh
postgresql://<DB USER>:<DB PASSWORD>@us-west1.fa1b1ca1-b1c1-11a1-111b-ca111b1c1a11.aws.ybdb.io:5433/yugabyte? \
postgresql://<DB USER>:<DB PASSWORD>@us-west1.fa1b1ca1-b1c1-11a1-111b-ca111b1c1a11.aws.yugabyte.cloud:5433/yugabyte? \
ssl=true& \
sslmode=verify-full& \
sslrootcert=<ROOT_CERT_PATH>
Expand All @@ -97,7 +97,7 @@ To use the string in your application, replace the following:
For example:

```sh
postgresql://admin:[email protected].ybdb.io:5433/yugabyte?ssl=true& \
postgresql://admin:[email protected].yugabyte.cloud:5433/yugabyte?ssl=true& \
sslmode=verify-full&sslrootcert=~/.postgresql/root.crt
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To connect to a cluster using `ycqlsh`:
```sh
SSL_CERTFILE=<ROOT_CERT_PATH> \
./ycqlsh \
740ce33e-4242-4242-a424-cc4242c4242b.aws.ybdb.io 9042 \
740ce33e-4242-4242-a424-cc4242c4242b.aws.yugabyte.cloud 9042 \
-u <DB USER> \
--ssl
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To connect to a cluster using `ysqlsh`:
Here's an example of the generated `ysqlsh` command:

```sh
./ysqlsh "host=740ce33e-4242-4242-a424-cc4242c4242b.aws.ybdb.io \
./ysqlsh "host=740ce33e-4242-4242-a424-cc4242c4242b.aws.yugabyte.cloud \
user=<DB USER> \
dbname=yugabyte \
sslmode=verify-full \
Expand Down
4 changes: 2 additions & 2 deletions docs/content/preview/yugabyte-cloud/cloud-troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you are connecting to a cluster and the cluster does not respond, and the con

```output
ysqlsh: could not connect to server: Operation timed out
Is the server running on host "4477b44e-4f4c-4ee4-4f44-f44e4abf4f44.aws.ybdb.io" (44.144.244.144) and accepting
Is the server running on host "4477b44e-4f4c-4ee4-4f44-f44e4abf4f44.aws.yugabyte.cloud" (44.144.244.144) and accepting
TCP/IP connections on port 5433?
```

Expand All @@ -32,7 +32,7 @@ ysqlsh: could not connect to server: Operation timed out

- If your cluster is deployed in a VPC and you are trying to connect from a peered VPC, add one or more IP addresses from the peered VPC to the cluster IP allow list.

- If you are using a secure internet/web gateway or malware/threat blocking software, whitelist `*.ybdb.io` to allow access to clusters.
- If you are using a secure internet/web gateway or malware/threat blocking software, whitelist `*.yugabyte.cloud` to allow access to clusters.

### Connection closed in Cloud Shell

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ us-west-2 1 2 4GB 10GB
Endpoints
Region Accessibility State Host
us-west-2 PUBLIC ACTIVE us-west-2.000f20da-3000-40c0-b10f-ef20004a3000.aws.ybdb.io
us-west-2 PUBLIC ACTIVE us-west-2.000f20da-3000-40c0-b10f-ef20004a3000.aws.yugabyte.cloud
Network AllowList
Expand Down

0 comments on commit f28ea76

Please sign in to comment.