Is calling an AWS database such as Dynamo DB directly from the node.js application deployed on an Apigee proxy a good practice ?

Not applicable

I want to publish an API where I want to access data in my AWS dynamo DB tables. I wanted to know if calling Dynamo DB directly from my node.js application(deployed on an Apigee edge proxy) is a good idea ? I see that the architecture patterns that are commonly discussed are ,

  • Apigee Edge -> AWS Lambda ->Dynamo DB
  • Apigee Edge -> AWS API Gateway -> AWS Lambda ->Dynamo DB
0 2 642
2 REPLIES 2

Great Question @Hemanth Shetty , Welcome to Apigee Community.

Did you get a chance to see Edge integration with AWS, Apigee - AWS reference architecture docs ? You can also find webinar related to same here.

Keep us posted.

Not applicable

Thank you for your reply.I had a chance to go through the webinar. From what I could infer I have the option of calling a lambda function or calling the database directly. The presenter talked about calling the lambda function from our node.js code to leverage features such as autoscaling and saving cost. But wouldn't the same features be available to me if I chose to call Dynamo DB from my node.js application ?