Skip to content

Commit

Permalink
Merge pull request #627 from wjohnsto/master
Browse files Browse the repository at this point in the history
REC -> RC, fixing build
  • Loading branch information
PrasanKumar93 committed Nov 20, 2023
2 parents 7731009 + b93b56c commit 03d7dc5
Show file tree
Hide file tree
Showing 65 changed files with 224 additions and 224 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ Ready to get started? Ok, let’s dive straight in.
- Install Node - v12.19.0
- Install NPM - v6.14.8

### Step 1. Sign up for a Free Redis Enterprise Cloud Account
### Step 1. Sign up for a Free Redis Cloud Account

[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Enterprise Cloud account.
[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Cloud account.

![image](analytics3.png)

Choose AWS as a Cloud vendor while creating your new subscription. At the end of the database creation process, you will get a Redis Enterprise CLoud database endpoint and password. You can save it for later use.
Choose AWS as a Cloud vendor while creating your new subscription. At the end of the database creation process, you will get a Redis Cloud database endpoint and password. You can save it for later use.

![image](analytics4.png)

Expand All @@ -66,7 +66,7 @@ Go to /server folder (cd ./server) and then execute the below command:
cp .env.example .env
```

Open .env file and add Redis Enterprise Cloud Database Endpoint URL, port and password as shown below:
Open .env file and add Redis Cloud Database Endpoint URL, port and password as shown below:

```
Expand Down
14 changes: 7 additions & 7 deletions docs/create/aws/bidding-on-aws/index-bidding-on-aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ Ready to get started? Ok, let’s dive straight in.

#### All auctions

NodeJS connects to the Redis Enterprise Cloud database.
NodeJS connects to the Redis Cloud database.

The frontend then communicates with the NodeJS backend through API calls.

`GET : /api/auctions` fetches all the keys from Auctions Hash.

NodeJS uses the Redis module to work with Redis Enterprise Cloud. The Redis client is then created using the Redis credentials and hmget(). This is the equivalent of the HMSET command that’s used to push data to the Redis database.
NodeJS uses the Redis module to work with Redis Cloud. The Redis client is then created using the Redis credentials and hmget(). This is the equivalent of the HMSET command that’s used to push data to the Redis database.

#### Each auction

Expand Down Expand Up @@ -85,13 +85,13 @@ NodeJS uses the Redis module to work with Redis Cloud. The Redis client is then
- [NodeJS](https://nodejs.org/en/)
- [NPM](https://www.npmjs.com/)

### Step 1. Sign up for a Free Redis Enterprise Cloud Account
### Step 1. Sign up for a Free Redis Cloud Account

[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Enterprise Cloud account.
[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Cloud account.

![image](sign3.png)

Choose AWS as a Cloud vendor while creating your new subscription. At the end of the database creation process, you will get a Redis Enterprise CLoud database endpoint and password. You can save it for later use.
Choose AWS as a Cloud vendor while creating your new subscription. At the end of the database creation process, you will get a Redis Cloud database endpoint and password. You can save it for later use.

![image](sign4.png)

Expand Down Expand Up @@ -173,7 +173,7 @@ npm start

### How data is stored

The [Redis Enterprise Cloud](https://redis.com/try-free) database with Redis Stack is what you’ll use to install the data.
The [Redis Cloud](https://redis.com/try-free) database with Redis Stack is what you’ll use to install the data.

### Auctions

Expand Down Expand Up @@ -288,4 +288,4 @@ But thanks to Redis, the components that made up the architecture system became

[NR-Digital-Auction](https://launchpad.redis.com/?id=project%3ANR-digital-auction-frontend) is a fantastic example of how innovations can be brought to life by using Redis. Everyday programmers are experimenting with Redis to build applications that are impacting everyday life from around the world and you can too!

So what can you build with Redis? For more inspiration, you can head over to the [Redis Launchpad](https://launchpad.redis.com/) to access an exciting range of applications. If you're ready to get started building, quickly spin up a free database [Redis Enterprise](https://redis.com/try-free/).
So what can you build with Redis? For more inspiration, you can head over to the [Redis Launchpad](https://launchpad.redis.com/) to access an exciting range of applications. If you're ready to get started building, quickly spin up a free database [Redis Cloud](https://redis.com/try-free/).
12 changes: 6 additions & 6 deletions docs/create/aws/chatapp/index-chatapp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ There’s been a rise in the number of social media apps that bring social eleme

### 1. What will you build?

In this tutorial, we will see how to build a realtime chat app built with Flask, Socket.IO and Redis Enterprise Cloud running on Amazon Web Services. This example uses pub/sub features combined with web-sockets for implementing the message communication between client and server.
In this tutorial, we will see how to build a realtime chat app built with Flask, Socket.IO and Redis Cloud running on Amazon Web Services. This example uses pub/sub features combined with web-sockets for implementing the message communication between client and server.

![image](chatapp2.png)

### 2. What will you need?

- Frontend - React, Socket.IO
- Backend - Python(Flask), Redis Enterprise Cloud hosted on AWS
- Backend - Python(Flask), Redis Cloud hosted on AWS

### 3. Getting Started

### Step 1. Sign up for a Free Redis Enterprise Cloud Account
### Step 1. Sign up for a Free Redis Cloud Account

[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Enterprise Cloud account.
[Follow this tutorial](https://developer.redis.com/create/aws/redis-on-aws) to sign up for a free Redis Cloud account.
If you already have an existing account, then all you need are your login credentials to access your subscription.

![image](chatapp3.png)

Choose AWS as the Cloud vendor while creating your new subscription. While creating a new database, ensure that you set your own password. At the end of the database creation process, you will get a Redis Enterprise Cloud database endpoint and port. Save these, you will need them later.
Choose AWS as the Cloud vendor while creating your new subscription. While creating a new database, ensure that you set your own password. At the end of the database creation process, you will get a Redis Cloud database endpoint and port. Save these, you will need them later.

![image](chatapp4.png)

:::tip
You don't need to create an AWS account for setting up your Redis database. Redis Enterprise Cloud on AWS is a fully managed database-as-a-service trusted by thousands of customers for high performance, infinite scalability, true high availability, and best-in-class support.
You don't need to create an AWS account for setting up your Redis database. Redis Cloud on AWS is a fully managed database-as-a-service trusted by thousands of customers for high performance, infinite scalability, true high availability, and best-in-class support.
:::

### Step 2. Clone the repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ import Authors from '@theme/Authors';

Most of the database migration tools available today are offline in nature. They are complex and require manual intervention.

If you want to migrate your data from Amazon ElastiCache to Redis Enterprise Cloud, for example, the usual process is to back up your ElastiCache data to an Amazon S3 bucket and then import your data using the Redis Enterprise Cloud UI. This process can require painful downtime and could result in data loss. Other available techniques include creating point-in-time snapshots of the source Redis server and applying the changes to the destination servers to keep both the servers in sync. That might sound like a good approach, but it can be challenging when you have to maintain dozens of scripts to implement the migration strategy.
If you want to migrate your data from Amazon ElastiCache to Redis Cloud, for example, the usual process is to back up your ElastiCache data to an Amazon S3 bucket and then import your data using the Redis Cloud UI. This process can require painful downtime and could result in data loss. Other available techniques include creating point-in-time snapshots of the source Redis server and applying the changes to the destination servers to keep both the servers in sync. That might sound like a good approach, but it can be challenging when you have to maintain dozens of scripts to implement the migration strategy.

So we’ve come up with a different approach:

## Introducing RIOT

![image](../../../../static/img/ajeet-riot-blog-1.png)

RIOT is an open source online migration tool built by Julien Ruaux, a Solution Architect at Redis. RIOT implements client-side replication using a producer/consumer approach. The producer is the combination of the key and value readers that have a connection to ElastiCache. The key reader component identifies keys to be replicated using scan and keyspace notifications. For each key, the value reader component performs a DUMP and handles the resulting key+bytes to the consumer (writer), which performs a RESTORE on the Redis Enterprise connection.
RIOT is an open source online migration tool built by Julien Ruaux, a Solution Architect at Redis. RIOT implements client-side replication using a producer/consumer approach. The producer is the combination of the key and value readers that have a connection to ElastiCache. The key reader component identifies keys to be replicated using scan and keyspace notifications. For each key, the value reader component performs a DUMP and handles the resulting key+bytes to the consumer (writer), which performs a RESTORE on the Redis Cloud connection.

This blog post will show how to perform a seamless online migration of databases from ElastiCache to Redis Enterprise Cloud.
This blog post will show how to perform a seamless online migration of databases from ElastiCache to Redis Cloud.

## Prerequisites:

You will require a few resources to use the migration tool:

- A Redis Enterprise Cloud subscription, sign up [here](https://redis.com/try-free/)
- A Redis Cloud subscription, sign up [here](https://redis.com/try-free/)
- Amazon ElastiCache (a primary endpoint in the case of a single-master EC and a configuration endpoint in the case of a clustered EC: Refer to Finding Connection Endpoints on the ElastiCache documentation to learn more)
- An Amazon EC2 instance based on Linux

Expand Down Expand Up @@ -119,14 +119,14 @@ Commands:
ping, p Execute PING command
```

Once Java and RIOT are installed, we are all set to begin the migration process with the command below, which replicates data directly from the source (ElastiCache) to the target (Redis Enterprise Cloud).
Once Java and RIOT are installed, we are all set to begin the migration process with the command below, which replicates data directly from the source (ElastiCache) to the target (Redis Cloud).

## Step 4 - Migrate the data

Finally, it’s time to replicate the data from ElastiCache to Redis Enterprise Cloud by running the following command:
Finally, it’s time to replicate the data from ElastiCache to Redis Cloud by running the following command:

```
sudo ./riot-redis -r redis://<source Elasticache endpoint>:6379 replicate -r redis://password@<Redis Enterprise Cloud endpoint>:port --live
sudo ./riot-redis -r redis://<source Elasticache endpoint>:6379 replicate -r redis://password@<Redis Cloud endpoint>:port --live
```

ElastiCache can be configured in two ways: clustered and non-clustered. In the chart below, the first row shows what commands you should perform for the non-clustered scenario, while the second row shows the command for the clustered scenario with a specific database namespace:
Expand All @@ -136,9 +136,9 @@ As you can see, whenever you have a clustered ElastiCache, you need to pass the
## Important notes

- Perform user acceptance testing of the migration before using it in production.
- Once the migration is complete, ensure that application traffic gets successfully redirected to the Redis Enterprise endpoint.
- Once the migration is complete, ensure that application traffic gets successfully redirected to the Redis Cloud endpoint.
- Perform the migration process during a period of low traffic to minimize the chance of data loss.

## Conclusion

If you’re looking for a simple and easy-to-use live migration tool that can help you move data from Amazon ElastiCache to Redis Enterprise Cloud with no downtime, RIOT is a promising option.
If you’re looking for a simple and easy-to-use live migration tool that can help you move data from Amazon ElastiCache to Redis Cloud with no downtime, RIOT is a promising option.
10 changes: 5 additions & 5 deletions docs/create/aws/redis-on-aws/index-redis-on-aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import Authors from '@theme/Authors';

<Authors frontMatter={frontMatter} />

Redis Enterprise Cloud on AWS is a fully Managed Redis Enterprise as a service. Designed for modern distributed applications, Redis Enterprise Cloud on AWS is known for its high performance, infinite scalability and true high availability.
Redis Cloud on AWS is fully managed Redis as a service. Designed for modern distributed applications, Redis Cloud on AWS is known for its high performance, infinite scalability and true high availability.

Follow the below steps to setup Redis Enterprise Cloud hosted over AWS Cloud:
Follow the below steps to setup Redis Cloud hosted over AWS Cloud:

### Step 1. Create free cloud account

Create your free <a href="https://redis.com/try-free/" target="_blank" rel="noopener">Redis Enterprise Cloud account</a>. Once you click on “Get Started”, you will receive an email with a link to activate your account and complete your signup process.
Create your free <a href="https://redis.com/try-free/" target="_blank" rel="noopener">Redis Cloud account</a>. Once you click on “Get Started”, you will receive an email with a link to activate your account and complete your signup process.

:::tip
For a limited time, use **TIGER200** to get **$200** credits on Redis Enterprise Cloud and try all the advanced capabilities!
For a limited time, use **TIGER200** to get **$200** credits on Redis Cloud and try all the advanced capabilities!

:tada: [Click here to sign up](https://redis.com/try-free)

Expand All @@ -29,7 +29,7 @@ For a limited time, use **TIGER200** to get **$200** credits on Redis Enterprise

### Step 2. Create Your subscription

Next, you will have to create Redis Enterprise Cloud subscription. In the Redis Enterprise Cloud menu, click "Create your Subscription".
Next, you will have to create Redis Cloud subscription. In the Redis Cloud menu, click "Create your Subscription".

![My Image](images/create_subscription.png)

Expand Down
Loading

0 comments on commit 03d7dc5

Please sign in to comment.