REDIS

  • Linux
Please feel free to contact us
Go

About

Redis refers to an open-source (BSD licensed), in-memory data structure that is used as a database, message broker, and cache. Also, it supports data structures including strings, lists, hashes, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams.

Niles Partners is launching a product that will configure and publish Redis which is embedded pre-configured tool with Ubuntu and ready-to-launch AMI on Amazon EC2 which contains LAMP.

One of the best aspects of Redis is that it has built-in replication, Lua scripting, transactions, LRU eviction, and multiple levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. Redis works with an in-memory dataset that depends on your use case, you can persist it either by often dumping the dataset to disk or by affixing each command to a log. Also, the persistence can be disabled that is totally optional if you require a feature-rich in-memory cache.

Also, Redis supports trivial-to-setup master-slave asynchronous replication, along with quick non-blocking first synchronization, auto-reconnection with partial resynchronization on netsplit. Some other features of Redis include the following:

Pub/Sub
Lua scripting
Keys with a limited time-to-live
Transactions
Automatic Failover
LRU eviction of keys

  1. Type virtual machines in the search.
  2. Under Services, select Virtual machines.
  3. In the Virtual machines page, select Add. The Create a virtual machine page opens.
  4. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type myResourceGroup for the name.*.
  5. Under Instance details, type myVM for the Virtual machine name, choose East US for your Region, and choose Ubuntu 18.04 LTS for your Image. Leave the other defaults.
  6. Under Administrator account, select SSH public key, type your user name, then paste in your public key. Remove any leading or trailing white space in your public key.
  7. Under Inbound port rules > Public inbound ports, choose Allow selected ports and then select SSH (22) and HTTP (80) from the drop-down.
  8. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  9. On the Create a virtual machine page, you can see the details about the VM you are about to create. When you are ready, select Create.

It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.

Connect to virtual machine

Create an SSH connection with the VM.

  1. Select the Connect button on the overview page for your VM.
  2. In the Connect to virtual machine page, keep the default options to connect by IP address over port 22. In Login using VM local account a connection command is shown. Select the button to copy the command. The following example shows what the SSH connection command looks like:

bashCopy

ssh azureuser@10.111.12.123

  1. Using the same bash shell you used to create your SSH key pair (you can reopen the Cloud Shell by selecting >_ again or going to https://shell.azure.com/bash), paste the SSH connection command into the shell to create an SSH session.

Usage/Deployment Instructions

Step 1: Access Redis from Azure Marketplace and click ON Get it now button.

Click on continue then on create;

Step 2: Now to create a virtual machine, enter or select appropriate values for zone, machine type, resource group and so on as per your choice.

Click on Create;

Once your Deployment is Complete, follow the below steps;

 

 

  • sudo su
  • systemctl restart redis-server
  • service redis status

https://www.cloud.miritech.com/images/CloudProducts/Redis/033845_r1.png

  • ufw allow proto tcp from <instance ip>/24 to any port 6379

https://www.cloud.miritech.com/images/CloudProducts/Redis/033917_r2.png

  • redis-cli -h <instance ip> ping

https://www.cloud.miritech.com/images/CloudProducts/Redis/033948_r3.png

 

Submit Your Request

Captcha

Highlights

  • Redis provides a number of features that are natural to search a database such as replication, tunable levels of durability, cluster, and high availability.
  • It is employed in multiple practical uses such as real-time analytics, job and queue management, high-speed transactions, time-series data, and so on.
  • The data structures of Redis offers built-in operations that process data optimally at the database level instead of application level.

Application Installed