Skip to content

Commit

Permalink
Follow-up to PR #1231; fixing assorted minor issues (#1311)
Browse files Browse the repository at this point in the history
* First set of quick fixes.

* More edits and updates, mainly to redirects.

* Updating python library to be more current.
  • Loading branch information
lanceleonard authored Apr 13, 2021
1 parent f48e34f commit 6f5dc9c
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 18 deletions.
10 changes: 6 additions & 4 deletions content/rc/databases/back-up-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ alwaysopen: false
categories: ["RC"]
linktitle: Back up data
aliases: /rv/administration/configure/backups/
/rc/administration/configure/backups/
/rv/administration/configuration/backups/
/rc/databases/backups/
/rc/administration/configure/backups/
/rv/administration/configuration/backups/
/rc/administration/configuration/backups/
/rc/databases/backups/
/rc/administration/configuration/backups.md
---

The back up process for Redis Enterprise Cloud data depends on your plan:

- Flexible and Annual can use the **Backup** icon on the View Database screen or schedule regular backups.
- Flexible and Annual can use the **Backup** icon on the **View Database** screen or schedule regular backups.

- Paid Fixed plans run scheduled backups every 24 hours.

Expand Down
3 changes: 2 additions & 1 deletion content/rc/databases/import-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ categories: ["RC"]
linktitle: Import data
aliases: /rv/how-to/importing-dataset-redis-cloud/
/rc/how-to/importing-dataset-redis-cloud/
/rc/how-to/importing-data-database/
/rv/how-to/importing-data-database/
/rc/how-to/importing-data-database/
/rc/how-to/importing-data-database.md
/rc/databases/import-data/
---
You can import an existing dataset into your Redis Cloud instance from an existing Redis server or an RDB file.
Expand Down
2 changes: 2 additions & 0 deletions content/rc/databases/view-edit-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ alwaysopen: false
categories: ["RC"]
aliases: /rc/administration/setup-and-editing/viewing-editing-database/
/rv/administration/setup_and_editing/viewing-editing-databases/
/rc/administration/setup/edit-database/
/rc/administration/setup/edit-database.md
---
To view the details of a database, select it from the database list:

Expand Down
27 changes: 15 additions & 12 deletions content/rc/rc-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ Next, we create a database.

4. Locate the **Activate** button near the bottom of the page and then select it.

5. You're taken to the Configuration tab of the View Database screen. In the upper corner, you'll see an orange box containing a rotating circle. This is the Pending status indicator and it means your database is still being created.
5. You're taken to the **Configuration** tab of the **View Database** screen. In the upper corner, you'll see an orange box containing a rotating circle. This is the Pending status indicator and it means your database is still being created.

Admin console operations are asychronous; they operate in the background. You can continue to use the admin console for other tasks, but your new database isn't available. When the icon changes to show a green box containing a checkmark, your database is ready to use.
![Pending icon](/images/rc/icon-pending.png#no-click "Pending icon")   ![Active icon](/images/rc/icon-active.png#no-click "Active icon")

Admin console operations are asychronous; they operate [in the background]({{< relref "/rc/api/concepts/provisioning-lifecycle.md" >}}). You can continue to use the admin console for other tasks, but your new database isn't available. When the icon changes to show a green box containing a checkmark, your database is ready to use.

## Connect to a database

At this point, you're at the View Database screen for your new database.
At this point, you're at the **View Database** screen for your new database.

To connect to your database, you need the following info:

Expand All @@ -99,9 +101,9 @@ Once you have the connection details, you can connect in a variety of ways, incl

Here's an example of each.

### Using redic-cli (via Docker){#using-rediscli}
### Using redis-cli (via Docker){#using-rediscli}

The `redis-cli` utility is installed when you install Redis.
The `redis-cli` utility is installed when you install Redis. It provides a command-line interface that lets you work with your database using core [Redis commands](https://redis.io/commands).

Docker provides a covenient way to run `redis-cli` without the full installation experience.

Expand All @@ -122,9 +124,9 @@ When you run the `redis` Docker image, you can open a bash shell instance and ru
xxx:yyy>
```

Replace `<endpoint>`, `<port>`, and `<password>` with the details copied from the **View Database** screen.
Replace `<endpoint>`, `<port>`, and `<password>` with the details copied earlier from the **View Database** screen.

3. You should now be connectde to your database and can perform basic Redis commands:
3. You should now be connectded to your database and can perform basic Redis commands:

``` sh
xxx:yyy> ping
Expand All @@ -139,19 +141,20 @@ When you run the `redis` Docker image, you can open a bash shell instance and ru

Different programming languages use different clients to interact with Redis databases.

Here's how to connect to your database using a client for Python.
Here's how to connect to your database using the `redis-py` library for Python.
1. If you don't already have the client installed:

```sh
sudo pip install redis-client
sudo pip install redis-py
```

2. The specific syntax vries according to the client:

```python
import redis-client
r = redis.Redis(host='<endpoint>', port=<port>, password='<password>')
import redis
r = redis.Redis(host='<endpoint>', port=<port>,
password='<password>')
r.set('hello', 'world')
print(r.get('hello'))
```
Expand All @@ -167,7 +170,7 @@ Here's how to connect to your database using a client for Python.

## More info

- [Manage Databases]({{< relref "/rs/databases/_index.md" >}})
- [Manage Databases]({{< relref "/rc/databases/_index.md" >}})
- [Data Persistence with Redis Cloud]({{< relref "rc/concepts/data-persistence.md" >}})
- [Secure Your Redis Cloud Database]({{< relref "/rc/administration/security/_index.md" >}})
- [Back-up Flexible databases]({{< relref "/rc/databases/back-up-data.md" >}})
Expand Down
2 changes: 2 additions & 0 deletions content/rc/security/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ weight: 51
alwaysopen: false
categories: ["RC"]
aliases: /rc/administration/security
/rs/administering/designing-production/security/

---
Redis Enterprise Cloud provides a number of ways to secure subscription and databases.

Expand Down
5 changes: 4 additions & 1 deletion content/rc/subscriptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ linktitle: Subscriptions
aliases: /rv/administration/setup_and_editing/
/rc/administration/setup-and-editing/
/rc/administration/setup-editing/
/rc/administration/setup/
/rc/administration/setup/_index.md
/rv/administration/setup_and_editing/create-subscription/
/rv/administration/setup_and_editing/creating-subscription/
/rc/administration/setup/create-subscription/

---

This page helps you manage your Redis Cloud subscriptions; it briefly compares available pland and shows where to find help wth common tasks.
This page helps you manage your Redis Cloud subscriptions; it briefly compares available plans and shows where to find help wth common tasks.

## Subscription plans

Expand Down
2 changes: 2 additions & 0 deletions content/rc/subscriptions/create-flexible-subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ weight: 30
alwaysopen: false
categories: ["RC"]
aliases: /rc/administration/customize-pro/
/rc/administration/customize-pro.md
/rc/administration/setup/customize-pro/
/rc/administration/setup/customize-pro.md
/rc/administration/setup/customize-flexible-plan/
---
Expand Down
3 changes: 3 additions & 0 deletions content/rc/subscriptions/view-fixed-subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ aliases: /rv/administration/setup_and_editing/view-edit-subscription/
/rc/administration/setup-and-editing/viewing-subscription/
/rc/administration/setup-and-editing/changing-subscription-plan/
/rc/administration/setup-and-editing/changing-subscription-plan/
/rc/administration/setup/edit-subscription/
/rc/administration/setup/edit-subscription.md

---
To view the details of a Fixed subscription:

Expand Down

0 comments on commit 6f5dc9c

Please sign in to comment.