Magento ElastiCache Magento ElastiCache

Using ElastiCache, Amazon’s fully managed, in-memory caching service, you can run your applications in real time with flexible and real-time use cases.

When you don’t require durability, ElastiCache can be used for caching, accelerating application and database performance, or even as your primary data store when you don’t need durability, such as for session stores, gaming leaderboards, streaming, and analytics.

In addition to Redis, the ElastiCache system is compatible with Memcached and Redis databases.

High Performance High Performance

High Performance

Boost Magento performance, reducing latency to microseconds.

Scalability Scalability

Scalability

Scale with only a few clicks and meet Magento’s high traffic demands.

Cost Optimisation Cost Optimisation

Cost Optimisation

Reduce costs and operational overheads of self-managed caching.

How it works

Amazon ElastiCache is a fully managed and in-memory caching service. It boosts Magento application and database performance. ElastiCache is a primary data store for cases that don’t require durability, like session stores, media streaming, and analytics.

Amazon ElastiCache Benefits Amazon ElastiCache Benefits

Benefits

Reliable Reliable

Reliable

ElastiCache for Redis supports enhanced failover logic. It offers automatic failover when the primary nodes for Redis cluster mode are unavailable.

Fully Managed Fully Managed

Fully Managed

Amazon ElastiCache for Redis comes as a fully managed service. There is no need for hardware provisioning, software patching, setup, configuration, or failure recovery.

Great Performance Great Performance

Great Performance

The ElastiCache service works as an in-memory data store. It supports the most demanding Magento applications that require sub-millisecond response times.

Highly Available Highly Available

Highly Available

Get support for Redis cluster and non-cluster modes that provide high availability with automatic failover. It detects primary node failures and promotes a replica to be primary with minimal impact.

Set up Scaling Quickly Set up Scaling Quickly

Set up Scaling Quickly

Setting up takes a few clicks in the AWS Management Console or CLI. Scale the Redis cluster environment up to 500 nodes and 500 shards.

Pay Only For What You Need Pay Only For What You Need

Pay Only For What You Need

Optimize cost efficiency and pay only for what is consumed. When demand drops, ElastiCache for Auto Scaling adjusts the clusters to avoid overspending.

FAQs

The in-memory caching improves latency and throughput for Magento application workloads. It stores critical pieces of data in memory for high-speed access. The cached information may include the results of I/O-intensive database queries of compute-intensive workloads.

Yes, ElastiCache for Redis is used as a primary in-memory key-value data store. It offers sub-millisecond Magento performance, high availability, and scalability.

It is possible to configure a 500-node cluster between 83 shards and 500 shards (single master and no replicas). It gives up to 340 TB of memory.

AWS CloudFormation offers templates for quick and reliable provisioning of services or applications.

It provides support for Amazon ElastiCache with templates to create clusters (both MemCached and Redis). The templates are up to date with the latest ElastiCache Redis for clustered Redis configuration. It offers flexibility and ease of use for customers.

A node is the smallest building block of the Amazon ElastiCache deployment. It is a fixed-size piece of secure, network-attached RAM.

Each node runs a Redis instance of the protocol-compliant service. It has its DNS name and port. It offers support for multiple types of nodes, each with associated memory.

A Redis shard is a subset of the cluster’s keyspace. It includes a primary node and zero or more read replicas. The shards add up to create a cluster.

Reserved Nodes or Reserved Instances offer discounts over on-demand usage. We have to commit to a one-year or three-year term.

Make a one-time, up-front payment to create a one or three-year reservation. Run the node in a specific Region. The customer receives a significant discount on the ongoing hourly usage charge.

When not using VPC, Amazon ElastiCache allows control access to the clusters via Cache Security Groups.

A Security Group acts like a firewall, controlling network access to the cluster. By default, network access is turned off to the clusters. It is possible to enable access from hosts in specific EC2 security groups.

It is possible to configure the Redis full-page cache and default caching. Magento 2 is shipped with Redis support out of the box. We use it for cache, session storage, and full-page cache.

It includes command line parameters such as cache-backend-redis-server. The command line is one configuration method. Is it possible to still edit the {Magento install dir}app/etc/env.php configuration file

Yes, Amazon ElastiCache for Redis creates a read replica in another AWS Availability Zone. If there is a failure of a node, we will provision a new node.

ElastiCache will automatically promote an existing read replica to the primary when the primary node fails.

Amazon ElastiCache for Redis makes it easy to run Redis protocol-compliant server nodes in the cloud.

The web service allows the management, monitoring, and operation of Redis nodes. We create, delete, and modify the nodes through the Amazon ElastiCache console, the CLI, or the web service APIs.

Amazon ElastiCache for Redis supports high-availability configurations. It includes Redis cluster mode enabled/disabled. The service provides auto-failover from primary to a replica.