hands-on lab

Implementing Caching Strategies with Amazon ElastiCache

Beginner
Up to 1h 20m
148
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Amazon ElastiCache is a fully-managed, in-memory caching offering from Amazon Web Services. It's primarily used to improve application and database performance and can also be used for storing ephemeral data such as sessions and analytics.

Learning how to implement different caching strategies using Amazon ElastiCache will make you more effective at building high-performance solutions on AWS.

In this lab, you will create a simple data access layer that stores data in an Amazon S3 bucket. You will then extend the data layer to cache the Amazon S3 in Amazon ElastiCache in order to improve performance.

Please note: this lab creates an Amazon ElastiCache cluster which can take up to fifteen minutes to complete. Please make sure you have enough time available before starting the lab.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Store and retrieve data in Amazon S3
  • Store and retrieve data in Amazon ElastiCache
  • Implement lazy loading and write-through caching strategies
  • Combine caching strategies to achieve better performance

Intended Audience

  • Candidates studying for the AWS Certified DevOps Engineer Professional certification
  • DevOps Engineers
  • Cloud Architects
  • Data Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Simple Storage Service (Amazon S3)
  • Amazon ElastiCache
  • The Python programming language

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

About the author

Students
68,297
Labs
169
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics

Lab steps

Putting Data into Amazon S3
Lazily Loading Data with Amazon ElastiCache
Implementing Write-Through Caching