Getting Started with DynamoDB Accelerator (DAX)

Getting Started with DynamoDB Accelerator (DAX)
Getting Started with DynamoDB Accelerator (DAX)

CLOUD LABS

Getting Started with DynamoDB Accelerator (DAX)

In this Cloud Lab, you’ll learn how to improve the performance of DynamoDB reads by using the DynamoDB Accelerator (DAX).

11 Tasks

intermediate

2hr

Certificate of Completion

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

Learning Objectives

Working knowledge of creating and invoking the Lambda function
The ability to create a subnet group and a DAX cluster
The ability to improve the performance of DynamoDB reads using DAX
Hands-on experience in performance comparison of DynamoDB and DAX reads

Technologies
AWS logoAWS
DynamoDB logoDynamoDB
DAX
Lambda logoLambda
API Gateway logoAPI Gateway
VPC logoVPC
Cloud Lab Overview

Amazon DynamoDB Accelerator (DAX) is a fully AWS managed service. It is an in-memory cache that can be used with DynamoDB tables to improve their performance by up to ten times. It works as a cluster with resources provisioned in different availability zones, making it a highly available service. Moreover, it supports Amazon VPC service, providing secure and easy DAX access to existing applications.

DAX automatically handles cache invalidations, data population, and cluster management. It also supports the existing DynamoDB API calls, so users can focus on innovation without worrying about making significant changes to the application. Moreover, it also reduces the read load on the DynamoDB tables by enabling the retrieval of cached data from itself, which can reduce the overall operational cost.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

The architecture diagram
The architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.DynamoDB Table and Lambda
Create a DynamoDB Table
Create the Execution Roles
Create a Lambda Function
3.Set Up a DAX Cluster
Create a Subnet Group
Create a DAX Cluster
Create a Lambda Function for the DAX Cluster
4.Performance Comparison
Create a REST API
Performance Comparison of DAX and DynamoDB Reads
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