Рет қаралды 9,255
Welcome to The Quick Desk!
In this video tutorial we will setup Amazon Elasticache for Redis and will connect to it using the redis-cli. Here we will also go through with the process of installing redis-cli on Amazon Linux 2023 , using the latest package manager(dnf), we will do the installation from source and will configure the necessary security groups for establishing the connectivity to an EC2 instance. We will also show you how to use the Redis-cli tool to perform basic operations, such as setting and getting values. The process of installation is generalised so can be used on local sandbox also.
Amazon ElastiCache for Redis is a blazing fast in-memory data store that provides sub-millisecond latency to power internet-scale real-time applications. Built on open-source Redis and compatible with the Redis APIs, ElastiCache for Redis works with your Redis clients and uses the open Redis data format to store your data. Your self-managed Redis applications can work seamlessly with ElastiCache for Redis without any code changes. ElastiCache for Redis combines the speed, simplicity, and versatility of open-source Redis with manageability, security, and scalability from Amazon to power the most demanding real-time applications in Gaming, Ad-Tech, E-Commerce, Healthcare, Financial Services, and IoT.
Additional Information you can checkout the blog:
tqdread.colorw...
---------------------------------------------------------------------------
Commands used:
#necessary package for compiling
sudo dnf groupinstall "Development Tools"
sudo dnf install openssl-devel
Install Redis with TLS support from source
wget download.redis...
tar -xzvf redis-stable.tar.gz
cd redis-stable
sudo make BUILD_TLS=yes
make install
#Connecting from redis-cli
redis-cli -h xxyy.amazonelasticache.primary.endpoint.aws.amazon.com -a AUTH_TOKEN --tls -p Port_Number
#Basic Operations
set x Hello
get x
---------------------------------------------------------------------------
By the end of this video, you will have a clear understanding of setting up Amazon Elasticache for Redis in your own projects. Don't forget to like, comment, and subscribe to our channel for more helpful videos!