Reader small image

You're reading from  AWS Certified Database – Specialty (DBS-C01) Certification Guide

Product typeBook
Published inMay 2022
PublisherPackt
ISBN-139781803243108
Edition1st Edition
Right arrow
Author (1)
Kate Gawron
Kate Gawron
author image
Kate Gawron

Kate Gawron is a full-time senior database consultant and part-time future racing driver. She was a competitor in Formula Woman, and she aspires to become a professional Gran Turismo (GT) racing driver. Away from the racetrack, Kate has worked with Oracle databases for 18 years and AWS for five years. She holds four AWS certifications, including the AWS Certified Database – Specialty certification as well as two professional Oracle qualifications. Kate currently works as a senior database architect, where she works with customers to migrate and refactor their databases to work optimally within the AWS cloud.
Read more about Kate Gawron

Right arrow

Adding caching to a database system

In this hands-on lab, we are going to provision a Redis database to act as a cache for an existing RDS instance. We will create a Redis cluster and configure it to act as our cache, and then we will create and run some simple code on an EC2 instance that will connect to it to demonstrate the caching.

If you do not have an existing VPC and RDS MySQL database provisioned, then please create those first, following the guides from earlier chapters if required. The MySQL database should contain the Sakila sample tables.

Firstly, we are going to create our Redis cluster:

  1. Log in to the AWS Management Console as an admin user.
  2. Navigate to ElastiCache from the main menu.
  3. From the ElastiCache dashboard, select Get Started Now. If this page does not appear, you can select Redis from the left-hand menu and then click Create:

Figure 9.3 – Create ElastiCache

  1. Complete the form with the following options...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
AWS Certified Database – Specialty (DBS-C01) Certification Guide
Published in: May 2022Publisher: PacktISBN-13: 9781803243108

Author (1)

author image
Kate Gawron

Kate Gawron is a full-time senior database consultant and part-time future racing driver. She was a competitor in Formula Woman, and she aspires to become a professional Gran Turismo (GT) racing driver. Away from the racetrack, Kate has worked with Oracle databases for 18 years and AWS for five years. She holds four AWS certifications, including the AWS Certified Database – Specialty certification as well as two professional Oracle qualifications. Kate currently works as a senior database architect, where she works with customers to migrate and refactor their databases to work optimally within the AWS cloud.
Read more about Kate Gawron