Skip to main content

Create database using Redis Enterprise Cloud


Profile picture for Ajeet Raina
Author:
Ajeet Raina, Former Developer Growth Manager at Redis

Redis Enterprise Cloud is a fully managed cloud service by Redis. Built for modern distributed applications, Redis Enterprise Cloud enables you to run any query, simple or complex, at sub-millisecond performance at virtually infinite scale without worrying about operational complexity or service availability. With modern probabilistic data structures and extensible data models, including Search, JSON, Graph, and Time Series, you can rely on Redis as your data-platform for all your real-time needs.

Step 1. Create a free Cloud account​

Create your free Redis Enterprise Cloud account. 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!

πŸŽ‰ Click here to sign up

Step 2. Create Your database​

Choose your preferred cloud vendor. Select the region and then click "Let's start free" to create your free database automatically.

tip

If you want to create a custom database with your preferred name and type of Redis, click "Create a custom database" option shown in the image.

create database

Step 3. Verify the database details​

You will be provided with Public endpoint URL and "Redis Stack" as the type of database with the list of modules that comes by default.

verify database

Step 4. Install RedisInsight​

RedisInsight is a visual tool that lets you do both GUI- and CLI-based interactions with your Redis database, and so much more when developing your Redis based application. It is a fully-featured pure Desktop GUI client that provides capabilities to design, develop and optimize your Redis application. It works with any cloud provider as long as you run it on a host with network access to your cloud-based Redis server. It makes it easy to discover cloud databases and configure connection details with a single click. It allows you to automatically add Redis Enterprise Software and Redis Enterprise Cloud databases.

You can install Redis Stack on your local system to get RedisInsight GUI tool up and running. Ensure that you have brew package installed in your Mac system.

 brew tap redis-stack/redis-stack
brew install --cask redis-stack
  ==> Installing Cask redis-stack-redisinsight
==> Moving App 'RedisInsight-preview.app' to '/Applications/RedisInsight-preview.app'
🍺 redis-stack-redisinsight was successfully installed!
==> Installing Cask redis-stack
🍺 redis-stack was successfully installed!

Go to Applications and click "RedisInsight-v2" to bring up the Redis Desktop GUI tool.

Step 5. Add Redis database​

access redisinsight

Step 6. Enter Redis Enterprise Cloud details​

Add the Redis Enterprise cloud database endpoint, port and password.

access redisinsight

Step 7. Verify the database under RedisInsight dashboard​

database details

Step 8. Try Redis Stack tutorials​

In this tutorial, we will go through an example of a bike shop. We will show the different capabilities of Redis Stack.

Choose "Redis Stack" in the left sidebar.

access json workbench

Step 9. Store and Manage JSON​

Let's examine the query for creating a single bike. Click "Create a bike" button:

access json keys

It will display a JSON.SET command with model, brand, price, type, specs and description details. bikes:1 is the name of the Redis key where the JSON is stored.

Step 10. Accessing parts of a stored JSON document​

Click "Get specific fields" to access part of a stored JSON document as shown in the following diagram:

access json keys

Next Steps​

Redis Launchpad