Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in AWS by (5.6k points)
For my application, I'm using AWS API gateway, Lambda services, and DynamoDB. I want to use DAX(DynamoDB Accelerator to increase the performance. As per the documentation I need to create a DAX cluster and a VPC and then add both DAX cluster and lambda to VPC. It's quite confusing, Can anyone please provide me the detailed information on the steps to be followed?

1 Answer

0 votes
by (12.4k points)

DAX is used as a caching layer in front of DynamoDB, Since Dax is launched inside a VPC, the would-be as below:

 Create An Amazon VPC or you can use the existing one.

Launch DAX cluster in the VPC, applications can then access DynamoDB via DAX.

Instead of having an application access DAX, it seems that you want to use it from an AWS Lambda. So in such a case, Your Lambda function should be configured to connect to the same VPC. The Lambda function will then be able to access the DAX cluster within VPC and DAX itself will then connect to DynamoDB.

Want to learn more about AWS, then do check out AWS Course offered by Intellipaat. 

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)

Browse Categories

...