Questions tagged [amazon-memory-db]

MemoryDB for Redis is an in-memory database service that delivers ultra-fast performance, purpose-built for modern applications with microservices architectures.

MemoryDB is compatible with Redis, a popular open source data store, enabling you to quickly build applications using the same flexible and friendly Redis data structures, APIs, and commands that they already use today.

With MemoryDB, data is stored in memory, which enables you to achieve microsecond read and single-digit millisecond write latency and high throughput. MemoryDB also stores data durably across multiple Availability Zones (AZs) using a Multi-AZ transactional log to enable fast failover, database recovery, and node restarts.

See: What is MemoryDB for Redis?

22 questions
6
votes
1 answer

How do I install RediSearch into AWS ElastiCache or Amazon MemoryDB?

Is it possible to install RediSearch (Redis Module) either in AWS ElastiCache or MemoryDB? Creating inverted indexing manually can be a real pain and it would be nice to have this feature available in AWS. I've found a possible workaround to install…
6
votes
0 answers

Connection to AWS MemoryDB cluster sometimes fails

We have an application that is using AWS MemoryDB for Redis. We have setup a cluster with one shard and two nodes. One of the nodes (named 0001-001) is a primary read/write while the other one is a read replica (named 0001-002). After deploying the…
5
votes
1 answer

AWS Redis Cluster MOVED Error using redis node library

I have created a Redis MemoryDB cluster with 2 nodes in AWS: I connect to it using redis node library v4.0.0 like this: import { createCluster } from 'redis'; (async () => { const REDIS_USERNAME = 'test-username'; const REDIS_PASSWORD =…
elli
  • 497
  • 1
  • 3
  • 10
2
votes
0 answers

AWS MemoryDB: Is there any docker-image that emulates it so as to use it for development purposes on dev-machines?

I'm new to this AWS managed service so bare with me. Is it possible to run MemoryDB on localdev via some docker-image which offers a trimmed-down version of it and then connect to said docker-image using the official AWS drivers for golang: …
XDS
  • 3,786
  • 2
  • 36
  • 56
1
vote
1 answer

How to connect to Amazon MemoryDB for Redis from Node running in EC2/ECS?

Lately, I have struggled to connect to Amazon MemoryDB for Redis (cluster) from a Next.js app running in Amazon ECS! At first, I thought that my VPC and/or Security Group was misconfigured, but I double-checked, and both the Redis cluster and the…
Ahmed Kamal
  • 2,660
  • 3
  • 21
  • 36
1
vote
0 answers

Accessing Remote Region MemoryDB from VPC

I have a Lambda Function running in EU-WEST-2. The function is running in a VPC and it is attempting to access a MemoryDB cluster running in US-EAST-2. However, it fails to connect. The Lambda Function is running in a subnet that can route from the…
user2459291
1
vote
2 answers

Using AWS MemoryDB with Go Redis client

I am using go-redis library to use AWS MemoryDB cluster as a database. I am able to connect to cluster with VPN connection, however the following cli command connects to database: redis-cli --tls -u redis:// -p 6379 but the…
Harun Sasmaz
  • 119
  • 1
  • 1
  • 10
1
vote
0 answers

Does AWS MemoryDB supports Redis Search?

I'm planning to use AWS MemoryDB for reading and filtering out data from my JSON document using JSON commands https://docs.aws.amazon.com/memorydb/latest/devguide/json-document-overview.html I was able to perform search operations and get back data…
1
vote
0 answers

How to connect AWS Elastic Beanstalk Spring Boot app to MemoryDB Redis cluster?

I have the following AWS infrastructure, VPC ECS Fargate container running an ASP.net app MemoryDB Redis Cluster Elastic Beanstalk Spring Boot Web App using Spring Boot Redis The problem is the Elastic Beanstalk Spring Boot app cannot connect to…
1
vote
1 answer

Connecting to AWS MemoryDB

I started looking into AWS MemoryDB after spending sometime setting up a cluster. I was able to connect using redis-cli but couldn't connect using redis-py-cluster even though I used the same credentials. Below is my redis-cli command and python…
Ebuka
  • 75
  • 2
  • 7
0
votes
0 answers

MemoryDB intermittent data missing

I am seeing key data intermittently missing from the MemoryDB cluster. I have a cluster with 2 shards and some test keys set. I am seeing the behavior that sometimes data comes when I query KEYS and its values and sometimes it is returning empty and…
0
votes
1 answer

What's the recommended way to connect to Amazon MemoryDB for Redis programmatically?

I'm new to Redis and Amazon MemoryDB. Currently I'm able to spin up a Redis Cluster using Amazon MemoryDB, following the aws document. redis-cli works for me to link to my redis cluster (from another EC2 instance inside of the VPC): >> redis-cli -c…
0
votes
0 answers

AWS ElastiCache in-memory data migration to MemoryDB cluster

I have an ElastiCache cluster (AWS) and I want to migrate my data to a MemoryDB cluster (also in AWS). Seeding the MemoryDB cluster with a ElastiCache snapshot covers the persisted data, but not the in-memory data that was not yet persisted (and…
0
votes
1 answer

Connection Timed Out: MEMORYDB REDIS AWS (Node.js)

const worker = async () => { await mongoose.connect(MONGODB_CONNECTION_STRING); const client = createClient({ url: REDIS_URI, password: AWS_SECRET_KEY }); console.log(client); console.log('Startinggggggg'); await new…
0
votes
0 answers

AWS memorydb unusually high network read/write

We have a AWS memorydb (redis) setup that is in use. We see a strange behaviour on it. That is on a (roughly) daily basis, we see a very huge spike in network i/o. And when this happens, the cluster bound operations are blocked and the client…
Prasanna K Rao
  • 1,086
  • 2
  • 8
  • 18
1
2