Managed Database for Redis™ - Quickstart
Managed Database for Redis™ is a low-latency caching solution based on in-memory data storage. It allows you to easily set up a secure cache and lighten the load on your main database.
You may need certain IAM permissions to carry out some actions described on this page. This means:
- You have an account and are logged into the Scaleway console
Click Redis™ under Managed Databases on the side menu. If you do not have a Database Instance already created, the creation page displays.
Click Create Redis™ Database Instance. The creation wizard displays.
Complete the following steps in the wizard:
- Choose an Availability Zone. This is the geographical location where your database will be deployed.
Managed Database for Redis™ are available in PAR1, PAR2, AMS1, AMS2, WAW1 and WAW2.
- Select the version of Redis™ you wish to use on your Instance.
- Select a database configuration. You can choose between:
- Cluster mode: creates the database as a cluster composed of three or more nodes. The cluster uses partitioning to split the keyspace. Each partition is replicated and can be reassigned or elected as the primary when necessary.
- Standalone: creates a standalone database provisioned on a single node.
- Select a node type.
Configure your network. You can select either:
- Private Network: allows your databases to communicate in an isolated and secure network without the need for a public IP address. If you select this option you must: 1. select a Private Network to attach from the drop-down and 2. enter an IP address for each node in your Private Network. The IP addresses must belong to the same subnet. The mask you select applies to all IP addresses.
If you want to use Private Networks you must:
- select the option upon creation
- have an existing Private Network to select the option
It is not possible to add the Redis™ Database Instance to a Private Network once it has been created.Note:
While it is theoretically possible to use any IP range within your Private Network, it is not recommended to use any IP subnets that are publicly routed. Whilst the configuration may work for your Instances to communicate with each other, you might experience connectivity issues to machines on the public Internet within these ranges.
It is therefore recommended that you configure your Private Network using IPs from the following private IP ranges:
192.168.255.254(65,536 IP addresses) and
172.31.255.254(1,048,576 IP addresses)
You can use any subnet mask allowed by these ranges. All interfaces in the same Private Network must be configured with the same subnet mask. If you are not sure, use
/24for your Private Network. Using the
10.0.0.0/8private IP range is not recommended, as this block is used for infrastructure services. This is only recommended for expert users.Important:
- It is not possible to use a broadcast address (last address of the subnet, e.g.
192.168.0.255/24) or network address (first address of the subnet, e.g.
- It is also not possible to use the same IP twice in a Private Network.
- Public network: resources in a public network are publicly visible by default. The default Access Control List (ACL) settings allow anybody to connect to resources in your network. You can restrict access by configuring ACLs.
Complete the remaining steps in the creation wizard:
- Create credentials: add a name and set a password for your user.
Your username must adhere to specific criteria.
- Length must be between 1 and 63 characters
- First character must be an alphabetic character (a-Za-Z)
- It can not start with _rdb
- Only a-zA-Z0-9_$- characters are accepted
- Enter a name and optional tags for the database.
Click Create Redis™ Database Instance to confirm your choices and launch creation.
- Click Redis™ under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the database information page.
- Scroll down the page to the Delete Database Instance section and click Delete Database Instance. A pop-up appears to inform that:
This action is irreversible and will permanently delete the Database Instance and all its associated data.
- Type DELETE to confirm and click Delete Database Instance.
Alternatively, you can delete your database from your Database Instances list by clicking «See more Icon» next to the database name and then Delete.