Achieving Ultra-Fast Performance Using Amazon MemoryDB for Redis
Achieving Ultra-Fast Performance Using Amazon MemoryDB for Redis

CLOUD LABS

Achieving Ultra-Fast Performance Using Amazon MemoryDB for Redis

In this Cloud Lab, you will learn to create MemoryDB for Redis cluster and use it in an application. You will also create an Aurora MySQL cluster and compare the data read time for both databases.

9 Tasks

beginner

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of core concepts related to MemoryDB for Redis
Working knowledge of accessing Aurora MySQL from an EC2 instance
Hands-on experience connecting a MemoryDB cluster with an EC2 instance
Hands-on experience using MemoryDB in an application

Technologies
AWS logoAWS
Aurora MySQL
EC2
MemoryDB
Cloud Lab Overview

MemoryDB for Redis is specifically designed to serve as a primary database for applications that require microseconds of read time. MemoryDB achieves this performance by storing data in memory instead of frequently accessing SSD storage.

In this Cloud Lab, you will focus on the performance enhancement offered by MemoryDB for Redis. To test the performance gains, you will first provision an EC2 instance and create a relational database using Aurora MySQL. Then you will create a security group and MemoryDB for Redis cluster. Moreover, you will set up some sample data for both Aurora MySQL and MemoryDB for Redis. You will deploy a demo application on the EC2 instance that will query both databases multiple times and show the performance graph.

After completing this Cloud Lab, you will be able to work with and integrate the MemoryDB database with your applications. The following is the high-level architecture diagram of the infrastructure that you will create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Aurora MySQL
Provision an EC2 Instance
Create an Aurora MySQL Cluster
3.MemoryDB for Redis Cluster
Create a Security Group for MemoryDB for Redis Cluster
Create MemoryDB for Redis Cluster
4.Performance Testing
Set Up Data
Put It All Together
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image