Now, Amazon MemoryDB Multi-Region is widely accessible.
Why use Amazon MemoryDB?
A robust in-memory database service with lightning-fast speed, Amazon MemoryDB is compatible with Redis OSS and Valkey. It is specifically designed for contemporary apps that use microservices architectures.
Because it is compatible with Redis OSS and Valkey, users may easily create applications using the same user-friendly and adaptable Redis OSS and Valkey data structures, commands, and APIs that they now use. Because all of your data is kept in memory with MemoryDB, you can achieve high throughput and latency times of microseconds for reading and single-digit milliseconds for writing.
Additionally, it uses a distributed transactional log to store data durably across several Availability Zones (AZs) to facilitate node restarts, database recovery, and quick failover. It may be used as a high-speed primary database for your microservices applications, eliminating the need to manage a cache and durable database separately. It offers both in-memory performance and Multi-AZ durability. With the active-active, multi-Region database MemoryDB Multi-Region, you may create applications with single-digit millisecond write latency and up to 99.999% availability.
A typical problem for many customers is to provide highly availability applications while retaining low latency reads and writes across AWS Regions. A delay of hundreds of milliseconds may occur when accessing data from various regions as opposed to microseconds within the same region. Complex specialised solutions for data replication and dispute resolution may be required of developers, which could result in errors and increased operational workload. In addition to multi-region replication, these clients must support data consistency and recovery, as well as manual database failover protocols, in order to deliver highly available applications and data durability.
Amazon MemoryDB Multi-Region, a fully managed, active-active, multi-Region database, is now generally available. It allows you to create applications with up to 99.999 percent availability, microsecond read, and single-digit millisecond write latencies across multiple AWS Regions, according to a statement released today by Amazon Web Services (AWS).
It is compatible with Valkey, an Open Source Software (OSS) drop-in alternative for Redis that is supported by the Linux Foundation. By addressing these frequent issues that many customers encounter, this new capability expands on it’s already-existing advantages, such as multi-AZ durability and excellent throughput across various AWS Regions.
We go over the advantages of MemoryDB Multi-Region in this post and show you how to use the AWS Management Console and AWS Command Line Interface (AWS CLI) to get started.
Advantages
It offers clients the following advantages:
High availability and disaster recovery: You can create applications with up to 99.999 percent availability with Multi-Region. Additionally, it ensures that it can connect to MemoryDB from another AWS Regional endpoint with complete read and write access to the data in the event that an application cannot connect to MemoryDB in a local Region. It will automatically synchronize data across all AWS Regions when the application links back to the original MemoryDB Regional endpoint.
For distributed applications that are spread across multiple regions, it provides active-active replication, which enables you to serve reads and writes locally from the regions nearest to your clients has a single-digit millisecond writing latency at any scale and a microsecond read delay. Data usually propagates in less than a second because to its automated asynchronous data replication between AWS Regions.
Where data must be located in a certain geographic area, follow compliance and regulatory standards. Data must fall inside a specific geographic area due to compliance and regulatory restrictions. By letting users select the region in which they would like their data to be stored, MemoryDB Multi-Region can assist you in meeting these needs.
Getting started Amazon MemoryDB Multi-Region
Using the AWS Management Console, AWS SDK, or AWS CLI, MemoryDB Multi-Region setup is simple.
Launching MemoryDB Multi-Region through the console
Use the console to configure your MemoryDB Multi-Region cluster by following these steps:
Choose Clusters in the navigation pane of the MemoryDB console. Then, pick Create cluster, Multi-Region cluster for Cluster type, and Create new cluster for Cluster creation technique.
Depending on your workload requirements, you may choose the kind of node and the number of shards when configuring your multi-region cluster.
Within your Multi-Region cluster, create the Regional cluster using the proper cluster configurations.
After setting up the Multi-Region cluster and the first Regional cluster, you can add a second Regional cluster by selecting Add AWS region.
You can see that there are two Regional clusters inside the Multi-Region cluster once the cluster construction operation is complete.
Available now
The following AWS Regions offer Amazon MemoryDB Multi-Region: Asia Pacific (Mumbai, Seoul, Singapore, Sydney, Tokyo), Europe (Frankfurt, Ireland, London), US East (N. Virginia, Ohio), and US West (N. California, Oregon).
MemoryDB Pricing
Amazon MemoryDB is a robust, in-memory database that offers multi-AZ durability and lightning-fast performance, and it is compatible with Redis OSS and Valkey. There is no minimum cost when using Amazon MemoryDB; you simply pay for what you use. The smallest unit of a MemoryDB cluster is called a node. You can choose a node type according to your requirements, and each node supports different amounts of memory and compute capacity. Three factors determine how much you pay: the amount of data written to your cluster, the number of on-demand instance hours per node, and the amount of snapshot storage you utilise.
Compared to MemoryDB for Redis OSS, Amazon MemoryDB for Valkey is 30% less expensive. Up to 10 TB of data can be written for free each month using MemoryDB for Valkey. The cost of $0.04/GB for data written beyond 10 TB per month is 80% less than MemoryDB for Redis OSS.
Start using Amazon MemoryDB for free
You can begin using MemoryDB for free as part of the AWS Free Tier. When new users sign up, they get 20 GB of data per month for free for two months and 750 hours of MemoryDB on db.t4g.small instances.
All of worldwide locations’ participating services are eligible for the Amazon AWS Free Tier. Free usage does not accrue under the AWS Free Tier; instead, it is computed monthly across all locations and automatically applied to your payment. Currently, the AWS GovCloud (US) and China (Beijing) regions do not offer the AWS Free Tier. For more details visit the pricing page.