Improving Database Performance with Amazon ElastiCache for Redis
Improving Database Performance with Amazon ElastiCache for Redis

CLOUD LABS

Improving Database Performance with Amazon ElastiCache for Redis

Learn to reduce your application latency and save costs by using Amazon ElastiCache as a cache with your database.

10 Tasks

intermediate

2hr

Certificate of Completion

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

Learning Objectives

An understanding of the advantages of using ElastiCache for Redis with a database
Hands-on experience creating an RDS database instance
Hands-on experience creating an ElastiCache for Redis node configured to be used with an RDS instance
The ability to use an ElastiCache for Redis node as cache with a database

Technologies
AWS logoAWS
ElastiCache
RDS
VPC
EC2
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

As databases grow in size and complexity, achieving optimal performance can be challenging. You can tackle this issue by using Amazon ElastiCache for Redis. 

You’ll start this Cloud Lab by creating the required network infrastructure and an EC2 instance, which will be used to populate your database. Then, you’ll create an RDS database instance, connect it with the EC2 instance, and populate it using a seed file. Once the database is populated, you’ll create an ElastiCache node, which will be used as a cache with your database. Next, you’ll create a Lambda function and configure it to read data from the RDS database with the ElastiCache node as its cache. After the set up, you will invoke the Lambda function to see how adding a cache improves the database performance.

By the end of this Cloud Lab, you’ll have a solid foundation in using ElastiCache for Redis to boost their database performance, reduce latency, and enhance the overall user experience.

Here is a high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Provision the Pre-Required Resources
Create a VPC
Launch an EC2 Instance
3.Create and Configure an RDS Instance
Create an RDS Database Instance
Populate the Database
4.Deploy and Use an ElastiCache Node
Create an ElastiCache for Redis Node
Set Up a Lambda Function
Query the Database
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